welcome page: the heading duplicates the step-4 label verbatim #120
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-web#120
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
/welcomerenders the phrase "Start using Bitborg" twice, once as step 4 of the journey list and again immediately below as the page heading.welcome.title(src/i18n/ui.ts) duplicatessignup.step.startverbatim in both languages:Rendered, the page reads:
Two costs. Visually it looks like a mistake. And the two strings must now be kept in sync by hand for no reason: change the step label and the heading silently disagrees with it, which is the same class of duplication the step model exists to prevent.
Options
t("signup.step.start")for the<h1>and deletewelcome.title. Guarantees they agree. But a page heading and a step label want different registers; "Start using Bitborg" is fine for both here, which may be luck rather than design.Option 2 reads better and keeps
<title>distinct from the step vocabulary. Either way one of the two strings should stop existing in its current form.Done when
/welcomedoes not print the same sentence twice.