Skip to content

feat: add favorites management to the notes list#190

Draft
juliusknorr wants to merge 2 commits into
feature/swiftui-notes-listfrom
favorites
Draft

feat: add favorites management to the notes list#190
juliusknorr wants to merge 2 commits into
feature/swiftui-notes-listfrom
favorites

Conversation

@juliusknorr

Copy link
Copy Markdown
Member

Implements favorites management in the SwiftUI notes list (#52):

  • Toggle a note's favorite state via a leading swipe action and the context menu
  • Sort favorites to the top within the current sort mode (top of the list when sorting by most recent, first within each category when grouped)
  • The favorite indicator was already rendered per row

The data model, persistence and network payloads already carried favorite, so this is UI-only.

Stacked on #189 (SwiftUI notes list redesign); please merge that first. Base this PR against feature/swiftui-notes-list.

Closes #52

@juliusknorr juliusknorr added the enhancement New feature or request label Jul 9, 2026
@juliusknorr juliusknorr marked this pull request as draft July 9, 2026 13:28
@juliusknorr juliusknorr force-pushed the feature/swiftui-notes-list branch from 14d1da5 to ced7cf6 Compare July 9, 2026 20:28
@juliusknorr juliusknorr force-pushed the favorites branch 3 times, most recently from 7b7130e to 3456b77 Compare July 9, 2026 20:41
@juliusknorr juliusknorr force-pushed the feature/swiftui-notes-list branch from 798bfbe to b1dfbb8 Compare July 9, 2026 20:57
@juliusknorr juliusknorr force-pushed the favorites branch 2 times, most recently from 28e1bc7 to 581a11c Compare July 9, 2026 21:28
@juliusknorr juliusknorr force-pushed the feature/swiftui-notes-list branch from a4c63e4 to b1dfbb8 Compare July 10, 2026 13:55
Add a favorite toggle via leading swipe action and context menu, and
sort favorites to the top within the current sort mode.

Closes #52

Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-4-8
Toggling favorite went through the generic update path, which stamped the
note with the current time. In a date-sorted list that made the row jump and
re-render a second time after the sync round-trip. Pass updateModified: false
so a favorite toggle preserves the existing modification date.

Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-4-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant