Skip to content

fix(brochure): make the registry picker's save and remove actions legible - #4706

Closed
JesseMarkowitz wants to merge 1 commit into
Start9Labs:masterfrom
JesseMarkowitz:fix/brochure-registry-picker
Closed

JesseMarkowitz wants to merge 1 commit into
Start9Labs:masterfrom
JesseMarkowitz:fix/brochure-registry-picker

Conversation

@JesseMarkowitz

@JesseMarkowitz JesseMarkowitz commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

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 tuiIconButton with [tuiHint] that every other icon button uses.

pr-before-after
  • Confirmation: "Remove registry?" with Remove, plus one line: "This only removes the registry from the list saved in this browser. The registry itself is not affected." The loader reads "Removing".
  • Trash: a tuiIconButton labelled "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.
  • Unsaved registry: shown above the Saved Registries heading, with the subtitle "Save to this browser".

Scope: only the rows the website renders. With manageRegistriesLink set (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 against live-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.
  • Prettier check on the changed files: clean.
  • Driven against the mock dev server in Chromium, Firefox and WebKit at 1280×800, and in Chromium at 390×780 with touch. Every run passed all of these:
    • the unsaved row renders above the heading, and selecting it writes _startos/customRegistries;
    • the saved row shows the check, then the trash; the trash is a button named "Remove"; no button is nested in a button;
    • hovering the trash shows "Remove" (desktop runs);
    • the trash and the Delete key on the row both open the new confirmation;
    • Remove empties the stored list, and the row returns to its unsaved state;
    • the open list fits the viewport with no horizontal scroll, and there are no console errors.
  • Accessibility tree, same three engines: the trash is exposed as button "Remove", a sibling of the row's option.
  • The "after" screenshots above come from a local production-mode build reading a real self-hosted registry.

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

…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
@MattDHill

Copy link
Copy Markdown
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.

@MattDHill MattDHill closed this Nov 13, 2026
@JesseMarkowitz
JesseMarkowitz deleted the fix/brochure-registry-picker branch November 13, 2026 22:02
@MattDHill MattDHill added brochure Brochure marketplace patch labels Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

brochure Brochure marketplace patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Marketplace website: removing a saved registry asks to "delete this registry", and the picker's icons have no labels

2 participants