Addition of Saving and Loading of Filter Presets [WIP] #4744
+1,033
−13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new "Filter Preset" feature to the CodeChecker API, allowing users to save, retrieve, list, and delete reusable report filter configurations. It also updates the API version to 6.67.0 and adds a script for rebuilding Thrift files. These changes involve updates to the Thrift API, backend implementation, client helpers, and database models.
New Filter Preset Feature:
FilterPresetstruct to the Thrift API (report_server.thrift) for storing named report filter configurations, and introduced related API endpoints:storeFilterPreset,getFilterPreset,deleteFilterPreset, andlistFilterPreset. [1] [2]report_server.pyto handle storing, retrieving, deleting, and listing filter presets, including serialization/deserialization of filter data and basic error handling.Utility and Maintenance Improvements:
getNameByValueForFilterto map enum values to user-friendly strings for UI display. [1] [2]completly-rebuild-thrift.sh) to automate the Thrift rebuild process for the API.Versioning Updates:
version.py. [1] [2] [3] [4]Other:
FilterPresettype.