AmmarAbouZor / tui-journal

Your journal app if you live in a terminal
https://crates.io/crates/tui-journal
MIT License
350 stars 12 forks source link

Added: Support Cycling Through Tags via Keybinding #468

Closed AmmarAbouZor closed 1 week ago

AmmarAbouZor commented 1 week ago

This PR close #407. This PR continues the great work of #458

The whole feature will allow users to cycle through tags from the main view with the keybinding This was implemented in the PR #458 at first then I continue working to it to cover some edge cases when there is already a filter applied and added unit tests.

The cycle will now respect the current filter and only change that tags their with the following logic:

Also the case if the current entry has unsaved changes is considered

Dependencies have been updated here as well