Skip to content

Conversation

Feromond
Copy link
Owner

Added Advanced Filtering

This PR is related to #4

Closes #4

I added an advanced filter view and functionality. This means filtering goes beyond the simple and quick description based filter to allow for filtering to specific bits of data. The filters that get set can impact the other views, and they can also be reset easily.

There was some cleanup also added in there to organize a few sections slightly better. The logic for the filtering is similar to the edit/add transaction but I avoided re-using as there are some major differences that need to be distinct from each other for now.

There needs to for sure be some major cleanup done to breakup the UI and app files into smaller chunks in the near future here.

- Introduced new `AdvancedFiltering` mode and related state management for advanced filtering options.
- Added methods for starting, canceling, and finishing advanced filtering, along with character input handling for various fields.
- Added support for advanced filtering mode, allowing users to apply filters based on multiple criteria.
- Implemented keyboard shortcuts for starting and clearing advanced filters, as well as navigation within the filter fields.
- Updated UI rendering to accommodate the new advanced filter form and selection popups, improving user experience during filtering operations.
- Bumped the version of the `budget_tracker_tui` package from 0.1.3 to 0.2.0 in both Cargo.toml and Cargo.lock files, reflecting the latest changes and improvements.
@Feromond Feromond added the enhancement New feature or request label Apr 22, 2025
@Feromond Feromond self-assigned this Apr 22, 2025
@Feromond Feromond merged commit 2286c6d into main Apr 22, 2025
3 checks passed
@Feromond Feromond deleted the feat_adding_advanced_filtering branch April 22, 2025 06:50
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.

[Feature Request] Implement Advanced filtering beyond just description filters
1 participant