Repository navigation
fix(ui): say the target limit was removed in the Skills toasts - #929
Merged
Merged
Conversation
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.
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 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 (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 oldresources.targets.alllabel into the "available in {target}" sentence.Change
When no target is chosen, each toast shows its own sentence:
demo now available in Alldemo is no longer limited to a target3 skill(s) in coding/ now available in All3 skill(s) in coding/ no longer limited to a target3 skills now available in All3 skills are no longer limited to a targetThe 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-unusedresources.targets.allis removed.Checks
npx vitest runinui/(devcontainer): 112 files, 959 tests passed, including the locale key checks.tsc -b: no errors.eslint .: 0 errors (53 existingreact-refreshwarnings).make check, the toasts in a browser. No new test: this is copy only, covered by the existing key checks.Checklist
make check) — UI tests, type check and lint passed;make checkitself was not run