Research if and how we can export react grid layout matrix #200
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked, waiting for further changes
bug
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
help wanted
invalid
low priority
needs input
needs review
project documentation
question
research
reviewed
script
security
SQL
style
testing
topLevel
wontfix
No milestone
No project
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K#200
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If we can export/save the active positions and sizes of grid elements it would be help us when saving each users personal screen.
This has examples of the matrices
Parent Issue: #173
This link has a function that listens to layout changes and then uses the "stringifyLayout()" to print the positions of all cards. May need to modify it a bit to fit the code we have, but should be a good start.
It needs a class to work, the class should be the grid system. In the bottom of the grid system it uses the following line that leads to the file i linked:
This link also shows how you can load a preexisting layout from local storage. We should be able to emulate this.
This has the source code for the layout class which has a CloneLayout function and a validate function, both of which could be valuable.
The difficult part will not be to get positions of objects and general grid settings, but rather storing positions and which view is used. Will close this issue as it is confirmed to be possible.