-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add board custom card order #788
Conversation
* multi line card titles caused wrong card size, since id is replaced by placeholder on drag
* allows views to sort unsorted record arrays according to the current sort criteria
* allows views to get a record, even if it is not in their current data frame due to filtering
* allows views to react if the frame is sorted or filtered
From `copyRecordWithValues` to `updateRecordValues`
Stop the complaining about type instantiation too deep. Apply prettier
Like this detail!
Will take board views into account if file rename event detected.
Yes this seems reasonable because the sync-binding field can be modified by each view. Locking a field for only one view is a good proposal but for now, we need to access the complete project from the view level to achieve this. I'm imagining a centric way managing fields, maybe this is where we can mark a field as
Agree. Just leave the priorityField there won't cause problems. Back to the deprecation of priority fields in #584, there was no operations on this either. Thanks you so much for implementing this! I've learnt a lot from going through these changes. |
In Board Settings, "Sync card order with field" is disabled. How can I enable it? |
Restores the ability to change card order within columns via drag and drop 🎉 (as discussed in #586). Also, fixed one or two bugs and did some minor refactoring. What exactly should be clear from the commit history.
✨ What's new?
Cards can now be reordered within and across columns. The cards in the board and the records in the config are inserted according to the logic below (see table & examples).
The order is persisted in the view config. Optionally, the
syncOrderField
can be set in the board settings menu to additionally store card positions in the file properties (like the formerpriorityField
). Only numeric fields are allowed.For better feedback, the column in which the card will be inserted has a slightly different background and light shadow. This is especially needed for long lists with sorting enabled since the card position can be out of view without feedback from shifting cards.
Else if there is a card after the drag position, insert before that record.
Else insert at the end.
Example: Default
Example: Sorted
Example: Filtered
🚧 Limitations
File Renaming
Same sync field for different boards
🏗️ ToDo
priorityField
toorderSyncField
?