Repository navigation
fix(ui): count symlink-mode targets in the Skills list - #928
Merged
Merged
Conversation
A symlink-mode target links the whole source folder, so every skill is live there. The skill detail page and the Sync page count it, but the Skills list read only `synced` matrix entries: the Targets column, the tree pane and the target filter left such a target out, and the Agents page reported a symlink-mode agent target as not supporting agents. A skill whose targets all had skills switched off was labelled "No agent targets", wording meant for agents. It now reads "Skills off". Nothing else reaches that label any more, so the key is removed. The list now applies receivesSkill, the same rule as the other pages. Closes #926
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
5 of 9 tasks
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.
Type
proposals/only — see CONTRIBUTING.md)approvedlabel)Linked Issue
Closes #926
Closes #925
What was wrong
The sync matrix reports a target as
nain two cases: it is in symlink mode (the item is live there) or skills are switched off for it (nothing syncs). #927 taught the skill detail page the difference. The Skills list still read onlysyncedentries:Separately (#925), the option that clears a skill's own
targets:field was labelled "All". Next to a single target icon it read as "synced to every target".Change
receivesSkill, the rule the detail page and Sync page use. The per-item logic is a plain function,targetReach.targets.skillsOffkey). Nothing reaches "No agent targets" any more, so that key is removed from every locale.Checks
npx vitest runinui/(devcontainer): 112 files, 959 tests passed, including new input/output tests forsyncedByTargetandtargetReach.tsc -b: no errors.eslint .: 0 errors (53 existingreact-refreshwarnings, none in the changed files).make check, a browser screenshot.Not covered
resources.targets.all). "available in No limit" does not read, so that sentence needs its own rewording.Checklist
make check) — UI tests, type check and lint passed;make checkitself was not run