Skip to content

feat(mobile): add connection drag-to-reorder#652

Merged
datlechin merged 2 commits intomainfrom
feat/ios-connection-drag-to-reorder
Apr 9, 2026
Merged

feat(mobile): add connection drag-to-reorder#652
datlechin merged 2 commits intomainfrom
feat/ios-connection-drag-to-reorder

Conversation

@datlechin
Copy link
Copy Markdown
Collaborator

Summary

  • Add drag-to-reorder for connections in the iOS app using native List + EditButton + .onMove pattern
  • Sort connections by (sortOrder, name) instead of alphabetical-only, enabling manual ordering
  • Support reorder in both flat mode and grouped mode (within group sections)
  • Use manual edit mode toggle button for NavigationSplitView compatibility
  • Grouped mode uses global sortOrder renumbering to prevent cross-group collisions
  • Hide edit button when tag filter is active; reset edit mode on filter/group toggle changes

Test plan

  • Flat mode: enter edit mode → drag connections → exit → verify order persists across restart
  • Grouped mode: enter edit mode → drag within a group section → verify order persists
  • Tag filter active → verify Edit button is hidden
  • Toggle "Group by Folder" while in edit mode → verify edit mode resets
  • Existing data (all sortOrder 0) → verify connections appear alphabetically (no change)
  • Widget still shows connections in custom order after reorder
  • iCloud sync: reorder → verify sortOrder syncs to other devices

@datlechin datlechin merged commit 7e0570c into main Apr 9, 2026
2 checks passed
@datlechin datlechin deleted the feat/ios-connection-drag-to-reorder branch April 9, 2026 14:04
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.

1 participant