Skip to content

feat: add persistent sorting#109

Merged
edfloreshz merged 1 commit intomainfrom
fix/sort-checkmark
May 4, 2026
Merged

feat: add persistent sorting#109
edfloreshz merged 1 commit intomainfrom
fix/sort-checkmark

Conversation

@edfloreshz
Copy link
Copy Markdown
Member

This PR correctly reflects the active sort option using a checkmark. Additionally, the selected sort option is retained after restarting the application and resets to the default.

  • Added SortBy enum.
  • Added sort_by to AppConfig.
  • Replace SortType with crate::config::SortBy.
  • Change menu items to CheckBox and persist selection.
  • Fixed a bug with config persistence, version was not specified.

Closes #89

- Add SortBy enum
- Add `sort_by` to AppConfig
- Replace pages' SortType with crate::config::SortBy
- Change menu items to CheckBox and persist selection
@edfloreshz edfloreshz self-assigned this May 4, 2026
@edfloreshz edfloreshz added the enhancement New feature or request label May 4, 2026
@edfloreshz edfloreshz merged commit 44083c0 into main May 4, 2026
3 checks passed
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.

[Enhancement] No checkmark for sort menu and sort preferance is not retained after restart

1 participant