Repository navigation
fix(brochure): make the registry picker's save and remove actions legible - #4706
Closed
JesseMarkowitz wants to merge 1 commit into
Closed
JesseMarkowitz wants to merge 1 commit into
JesseMarkowitz wants to merge 1 commit into
Conversation
…ible
On marketplace.start9.com, removing a saved registry asked "Are you
sure you want to delete this registry?", which a registry's operator
can read as deleting the registry itself. The trash was a bare
clickable tui-icon with no name, and the registry being viewed was
listed under "Saved Registries" before it was saved.
- Reword the confirmation with the wording System > Registries uses
("Remove registry?" / Remove) and say that only this browser's list
changes.
- Make the trash a labelled tuiIconButton with a hint, a sibling of the
option rather than an icon inside it, placed after the selected check.
- Show the unsaved registry above the "Saved Registries" heading, with
the subtitle "Save to this browser".
The in-OS picker renders none of these rows and is unchanged.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RJjVAyh6KUv2wu6dsrqUaf
Member
|
Thanks for the detailed report and both PRs. We went a different direction in #4724: the website's picker no longer keeps a saved list at all. It shows the Start9 and Community registries plus one Custom slot that remembers the last custom registry you viewed. With nothing to save or remove, the delete dialog, the trash button and the "Saved Registries" heading are gone, so this PR's changes no longer apply. Closing in favour of #4724. |
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.
Closes #4705
What this changes
On marketplace.start9.com, removing a saved registry asked "Are you sure you want to delete this registry?". The action only edits a list in
localStorage, but a registry's operator, who lands here from the registry's own URL, can read that as deleting the registry itself.The fix uses what the web apps already have: the "Remove registry?" / Remove strings from System → Registries, and the labelled
tuiIconButtonwith[tuiHint]that every other icon button uses.tuiIconButtonlabelled "Remove" with a hint, a sibling of the option instead of a bare<tui-icon>with a click handler nested inside it. It now sits after the selected check, so the two no longer read as a pair.Scope: only the rows the website renders. With
manageRegistriesLinkset (the in-OS picker) the template is unchanged. Two i18n keys are added in all five dictionaries, and the two keys this leaves unused are removed. No changelog fragment: the brochure has no changelog, and StartOS behavior does not change. The user-guide section for the website's picker is a separate PR againstlive-docs.The new i18n ids are 1113 and 1114, the next free ids on
master. #4700 and #4688 claim the same ids, so I'll renumber on rebase if either merges first.Verification
npm run check:i18n,check:shared,check:marketplace,check:brochure,check:ui,check:setup: pass.npm run build:brochure(production build): completes._startos/customRegistries;buttonnamed "Remove"; nobuttonis nested in abutton;button "Remove", a sibling of the row'soption.Not changed, and worth knowing: inside the open list, Tab still leaves the dropdown (Taiga's data list returns focus to its origin), so the keyboard path to removal is still Delete / Backspace on the row.
Not tested: a real screen reader. I wrote the German, Spanish, French and Polish strings and they have not had a native check.
🤖 Generated with Claude Code
https://claude.ai/code/session_01RJjVAyh6KUv2wu6dsrqUaf