Skip to content

Drag to reorder active tracking categories (v0.22.0-beta.1)#89

Closed
mapgie wants to merge 2 commits into
mainfrom
claude/goflo-sprint-4b-v3
Closed

Drag to reorder active tracking categories (v0.22.0-beta.1)#89
mapgie wants to merge 2 commits into
mainfrom
claude/goflo-sprint-4b-v3

Conversation

@mapgie
Copy link
Copy Markdown
Owner

@mapgie mapgie commented Jun 2, 2026

Summary

  • Long-press the drag handle on any active tracking category to pick it up and drag it to a new position
  • Items animate smoothly into place as you drag
  • New order is written to displayOrder on release and persists across app restarts
  • Works alongside the existing swipe-to-archive and swipe-to-delete gestures
  • No DB migration needed: displayOrder column already exists on TrackingCategory

Rebased onto current main (v0.21.2-beta.1). Supersedes #82.

Note: Both this PR and #88 use versionCode 58. Whoever merges second should bump versionCode to 59.

Test plan

  • Long-press a drag handle and drag up/down — categories swap positions
  • Release drag — order persists after closing and reopening the screen
  • Swipe-to-archive and swipe-to-delete still work after reordering
  • Archived categories section is unaffected by drag
  • No regression in bottom nav or other screens

https://claude.ai/code/session_01AGmvoYfqqkLA9SUWV6myXW


Generated by Claude Code

claude and others added 2 commits June 2, 2026 08:17
Long-press the drag handle on any active tracking category to pick it
up and drag it to a new position. Items animate into place as you drag.
The new order is written to displayOrder on release and persists across
app restarts. Works alongside the existing swipe-to-archive / delete
gestures.

https://claude.ai/code/session_01AGmvoYfqqkLA9SUWV6myXW
@mapgie mapgie closed this Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants