Repository navigation
Add synced task sorting to lists and Today - #494
Merged
Merged
Conversation
Expose all five sort modes in the clients. Order tasks in the core and keep the manual arrangement of each Today group in its own register. Use the effective due date for Overdue across the native and web views. Cover sort modes, manual moves, undo, and sync in the store and clients. Document the Today behavior and its CalDAV metadata.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #491.
Make the current sort mode visible from Inbox, lists, and Today. Each list has its own choice. Today applies its choice inside Overdue and Today and syncs the manual arrangement of each group separately. Moving a task in Today preserves its position in its original list.
The Rust core now applies the same ordering and overdue rule on each client. The web view keeps tasks with a past start and no due date in Today. CalDAV carries the Today settings in the Inbox calendar metadata.
Verification
make test,make lint, andmake denypassed. The new tests cover ordering, Undo, a fresh-device sync, independent group changes, CalDAV, and JSON export and import.make apple-test,make apple-lint,make android, andmake android-lintpassed. A hidden macOS run moved a task within Overdue and rejected a move across groups. A headless Android emulator accepted a long-press drag within Today and kept the new order and Manual mode after restart. The physical drag gesture on macOS needs a visible window.