Skip to content

Track 'Filter Preset' Feature: Saving and Loading (PR #4755) #4803

@feyruzb

Description

@feyruzb

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

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions