This issue documents and tracks the work done in PR #4755: Addition of Saving and Loading of Filter Presets.
Summary
This feature introduces the ability to save and load filter presets in CodeChecker, allowing users to create, manage, and apply named collections of filter configurations for analysis results.
Main Changes
- Implemented a new
FilterPreset struct and API endpoints (storeFilterPreset, getFilterPreset, deleteFilterPreset, listFilterPreset) in report_server.thrift for filter preset management.
- Added UI components (menus, buttons) in the Products section to apply filter presets.
- Updated the CLI (
cmd.py) to support filter-preset subcommands (list, new, delete) and allow applying presets with a --filter-preset argument.
- Enhanced logic to combine server presets and CLI arguments, prioritizing CLI input.
- Introduced client helper methods in
results.py for new API calls.
- Bumped version numbers to
6.68.0 for API and packages.
Motivation
This feature improves workflow for users who often need to switch between different sets of result filters, increasing productivity and consistency across CLI, UI, and server usage scenarios.
Relevant PR
This issue documents and tracks the work done in PR #4755: Addition of Saving and Loading of Filter Presets.
Summary
This feature introduces the ability to save and load filter presets in CodeChecker, allowing users to create, manage, and apply named collections of filter configurations for analysis results.
Main Changes
FilterPresetstruct and API endpoints (storeFilterPreset,getFilterPreset,deleteFilterPreset,listFilterPreset) inreport_server.thriftfor filter preset management.cmd.py) to supportfilter-presetsubcommands (list,new,delete) and allow applying presets with a--filter-presetargument.results.pyfor new API calls.6.68.0for API and packages.Motivation
This feature improves workflow for users who often need to switch between different sets of result filters, increasing productivity and consistency across CLI, UI, and server usage scenarios.
Relevant PR