Skip to content

fix(ui): say the target limit was removed in the Skills toasts - #929

Merged
runkids merged 1 commit into
mainfrom
runkids/no-limit-toast
Nov 16, 2026
Merged

runkids merged 1 commit into
mainfrom
runkids/no-limit-toast

Conversation

@runkids

@runkids runkids commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Type

  • Bug fix
  • Small improvement (docs, typo, minor refactor)
  • Feature proposal (proposals/ only — see CONTRIBUTING.md)
  • Approved feature or large change (the linked issue has the approved label)

Linked Issue

Refs #925 (already closed by #928; this is the toast that PR listed under "Not covered").

What was wrong

#928 renamed the option that clears a skill's own targets: field from "All" to "No limit". The three success toasts shown after choosing it still read "… now available in All", because they substituted the old resources.targets.all label into the "available in {target}" sentence.

Change

When no target is chosen, each toast shows its own sentence:

Case Before After
One skill demo now available in All demo is no longer limited to a target
Folder 3 skill(s) in coding/ now available in All 3 skill(s) in coding/ no longer limited to a target
Selection 3 skills now available in All 3 skills are no longer limited to a target

The sentences for a chosen target are unchanged. All 11 locales have the new keys (resources.toast.limitRemoved, resources.folder.limitRemoved, resources.bulk.limitRemoved.one/.other), and the now-unused resources.targets.all is removed.

Checks

  • npx vitest run in ui/ (devcontainer): 112 files, 959 tests passed, including the locale key checks.
  • tsc -b: no errors. eslint .: 0 errors (53 existing react-refresh warnings).
  • Not run: make check, the toasts in a browser. No new test: this is copy only, covered by the existing key checks.

Checklist

  • I've read CONTRIBUTING.md, including its AI-assisted contributions section
  • I've reviewed every line of the diff and can explain it
  • Tests included and passing (make check) — UI tests, type check and lint passed; make check itself was not run
  • No unrelated changes in the diff
  • Scope is focused — one concern per PR

Choosing "No limit" for a skill, a folder or a selection still showed
"… now available in All": the toasts put the old "All" label into the
"available in {target}" sentence. That is the wording #925 found
misleading, and it no longer matches the option's name.

Give the no-limit case its own sentence in each of the three toasts
and drop the "All" label nothing else uses.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T15:57:25.287169Z e252ae3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@runkids
runkids merged commit 4d50226 into main Nov 16, 2026
9 checks passed
@runkids
runkids deleted the runkids/no-limit-toast branch November 16, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant