Skip to content

Renaming functionality for Filter-presets#4861

Open
feyruzb wants to merge 4 commits into
Ericsson:masterfrom
feyruzb:refactor/rename-filter-presets-button
Open

Renaming functionality for Filter-presets#4861
feyruzb wants to merge 4 commits into
Ericsson:masterfrom
feyruzb:refactor/rename-filter-presets-button

Conversation

@feyruzb
Copy link
Copy Markdown
Collaborator

@feyruzb feyruzb commented May 23, 2026

This pull request adds the ability to rename filter presets throughout the CodeChecker system. It introduces a new backend API for renaming presets, updates the command-line interface and web UI to support this feature, and provides comprehensive tests for the new functionality. Additionally, the API and client versions are bumped to 6.71.0.

Rename filter preset feature:

  • Added a new renameFilterPreset RPC method to the codeCheckerDBAccess Thrift service, allowing filter presets to be renamed by ID. The method validates the new name, checks for duplicate names, and ensures the preset exists.
  • Implemented the renameFilterPreset method in the Python client and added a corresponding CLI command (filter-preset rename) with arguments for preset ID and new name.
  • Updated the Vue web UI to allow users to rename filter presets via a dialog, including UI changes and the necessary API call.

Testing improvements:

  • Added extensive functional tests for the new rename command, including tests for success, duplicate names, empty names, nonexistent IDs, and verifying the rename is reflected in the preset list.

Version bumps:

  • Bumped the API and client versions to 6.71.0 to reflect the new feature.

@feyruzb feyruzb added this to the release 6.29.0 milestone May 23, 2026
@feyruzb feyruzb self-assigned this May 23, 2026
@feyruzb feyruzb requested review from bruntib and vodorok as code owners May 23, 2026 23:53
@feyruzb feyruzb added API change 📄 Content of patch changes API! usability 👍 Usability-related features new feature 👍 New feature request labels May 23, 2026
@feyruzb feyruzb changed the title Refactor/rename filter presets button Renaming functionality for Filter-presets May 23, 2026
@dkrupp dkrupp modified the milestones: release 6.29.0, 6.28.1 May 26, 2026
@feyruzb feyruzb force-pushed the refactor/rename-filter-presets-button branch from ef6bb2a to 69b6af3 Compare May 26, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API change 📄 Content of patch changes API! new feature 👍 New feature request usability 👍 Usability-related features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants