Card layout config #217
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
No assignees
3 participants
Notifications
Due date
No due date set.
Blocks
#218 Load grid layout through config
Andras/BoundlessFlowCampus2K
Reference
Andras/BoundlessFlowCampus2K#217
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?
To facilitate each user haveing their own unique and saveable layout/grid/window we need to be able to save the current layout and which cards contain which views. Some views (like the text/note card) will have additional data that needs to be saved. This config should then be saveable in a DB, but that is another issue.
To clarify, we need a JSON file that contain all cards, positions, card and grid settings.
Please refer to these issues when solving this: #173 #200
Related Issues: #218
I split up this issue into two parts:
Edit to 2: one can still download and input files, but extra user actions will be needed.
Very valid to split the issue.
Saving on refresh is necessary and would be very nice to implement early.
Clarification regarding second issue: since we currently don't have a DB to save the layout to, a separate file would be enough. We need to design and build the DB partly based on the structure of the data of the layout. Using JSON is not necessary, but the data will have to be somewhat parsed/grouped between the DB and react-grid-layout. You have full freedom in deciding the best way to do this.
Skipping the "JSON-step" could definitely be a solution once the database is in place.
Let me know if anything is unclear still.
The important part seems to be to create a format on how the data will look and create a way to easily work with it rather than exporting it. I have made two functions, one that stores and one that retrieves data in json format.
This issue is merged. I close this issue.