Repository navigation
fix(ui): show a target with skills off as off on the skill page - #927
Merged
Merged
Conversation
The sync matrix reports a target as `na` both when it is in symlink mode and when skills are switched off for it. The skill detail page read every `na` as symlink mode, so a skills-off target showed "Symlink mode, filters do not apply" with its switch on and counted toward "4 of 4", although nothing syncs there. Next to a Skills list that shows only the targets the skill reaches, the two pages contradicted each other (#925). Use receivesSkill, the rule the Sync page already applies, so only a symlinked folder counts as carrying the skill, and label the other case "Skills off".
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. |
This was referenced Nov 16, 2026
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
Refs #925. Not "Closes": the wording of "All" in the Set targets menu, which the reporter also found confusing, is still open.
What was wrong
The sync matrix reports a target as
nain two cases: it is in symlink mode, or skills are switched off for it. The skill detail page read everynaas symlink mode. A target with skills off showed "Symlink mode, filters do not apply" with its switch on and counted toward "4 of 4", although skillshare writes nothing there. The Skills list shows only the targets a skill reaches, so the two pages contradicted each other.Response from a real dashboard server with one target of each kind:
Change
The detail page now uses
receivesSkill, the rule the Sync page already applies: only a symlinked folder counts as carrying the skill. A target with skills off shows "Skills off" (existingtargets.skillsOffkey), with its switch off and out of the count. The per-project count on the same page follows the same rule. Symlink-mode targets and agents are unchanged.Checks
npx vitest runinui/(devcontainer): 111 files, 922 tests passed.tsc -b: no errors.eslinton the changed files: no warnings.wiki/frontend.mdkeeps rendered tests for user data; the committed test pinsreceivesSkillinstead.make check, the fulleslint ., a browser screenshot.Not covered
na(symlink-mode targets missing from the Targets column): Skills list ignores symlink-mode targets #926.Checklist
make check) — UI tests, type check and lint of the changed files passed;make checkitself was not run