fix(site): tool-level module search and copyable commands - #7
Merged
Conversation
- Modules explorer now filters at the TOOL level: searching 'opencode' shows only the opencode card (was: the whole ai module, because the module-level haystack included descriptions that mention tool names). Module name/title matches still keep the entire group. - Every command on the modules page is copyable: one COPY button per tool card (zero install <cat> --<tool>) and one per module heading (zero install <cat>). - Packages explorer rows also get a COPY button for pkg install <name>. - Meta line now reports N of 99 tools (was 'of 9' modules). - jsdom harness: 24 checks, ALL PASS.
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.
Fixes the reported issues on the deployed site:
opencodepreviously showed all 36 tools of theaimodule — the module-level match haystack included descriptions that mention tool names. Now only the matching tool card is shown (module name/title matches still keep the whole group, soai→ the full ai module).zero install <cat> --<tool>and each module heading gets one forzero install <cat>.pkg install <name>.N of 99tools instead ofN of 9modules.Verified: validators pass; jsdom harness 24/24 PASS.