Generate Clipboard Modify help from catalogs#1183
Merged
multiplex55 merged 2 commits intoJul 20, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Motivation
Description
src/clipboard_modify/help.rsthat producesHelpEntryitems fromoperations()metadata plus currentClipboardModifierCatalogtemplates and pipelines, exposing canonical syntax, description, aliases, arguments, examples, category, and pipeline eligibility.help_filterfield and ahelp_uirenderer insrc/gui/clipboard_modify_dialog.rsthat replaces the previous static Help content with case-insensitive searchable entries sourced frombuild_help_entries().src/plugins/clipboard_modify.rsso section-open actions, partial completions, execution actions, template/pipeline executions, undo, and invalid-syntax actions present explicit, user-facing descriptions and parser hints.src/clipboard_modify.rsto expose the new help API and adddocs/clipboard_modify.mdwith the operation catalog, examples, schema and behavior notes, and updateREADME.mdwith discoverability and examples.src/clipboard_modify/help.rsto assert every registered operation is included and that aliases/examples/templates/pipelines surface dynamically, and extendsrc/plugins/clipboard_modify.rstests to assert contextual launcher descriptions.Testing
cargo fmtandgit diff --check, both passed without issues.cargo test clipboard_modify --lib, but the build failed due to a missing system dependency foralsa-sys(pkg-config/alsa.pc) in the environment, blocking full test execution.cargo test --no-default-features clipboard_modify::help --lib, but this was also blocked by the same missing systemalsapkg-config metadata, so the new tests are present but not executed in this environment.Codex Task