First-run onboarding wizard
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 48/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- accessibility, frontend, internationalization, web-dev
Direzione di ricerca
Inizia leggendo src/app/App.tsx, src/app/lib/store.ts, SettingsPanel.tsx, i componenti dei campi dell’Editor e useIsMobile in src/app/lib/utils.ts. Segui il pattern esistente dei flag persistenti e dei file di localizzazione, quindi esamina le aspettative sull’accessibilità in #646. Il lavoro è completato quando tutti i criteri di accettazione sono soddisfatti per il primo avvio, la riproduzione, l’uso da tastiera e con screen reader, il layout mobile, le ancore e ogni lingua supportata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Context
Derived from requirement RF-PCE-005
Scope
A first-time visitor lands on a long form with no explanation of what publiccode.yml
is for, how the left panel relates to the YAML on the right, or where to start. Add an
onboarding tutorial that runs on first launch and walks the user through using the form.
Shown once, on first launch — not on every visit.
Two things the requirement does not say, but that the feature needs to be usable:
- A way to dismiss it. Someone who already knows the tool should be able to leave
the tutorial immediately, at any step. - A way to bring it back. Once "first launch" has passed it never returns, so a user
who dismissed it by reflex has no path back. It should be reachable again from the UI
— the settings panel is the natural place.
Worth being explicit about what "first launch" can mean here: the editor is a static SPA
with no accounts, so the only place to record it is browser storage. The tutorial will
reappear in a private window, on another device, or after the user clears site data.
That is acceptable, but it should be a deliberate choice rather than a surprise.
Affected areas
src/app/App.tsx— the root component, where the tutorial would mount over the
two-panel layout.src/app/lib/store.ts— a new persisted flag, following the existing pattern of
useITCountrySpecific(Zustandpersistwithpartialize, its own storage name).src/app/components/Editor.tsxand theEditor*.tsxfield components — whatever the
tutorial points at needs stable anchors.src/app/components/SettingsPanel.tsx— entry point for replaying the tutorial.src/app/lib/utils.ts—useIsMobile, since the mobile layout stacks the panels and
the tour has to make sense there too.src/i18n/locales/*.json— tutorial copy.
Non-functional constraints
- RNF-PCE-004 — Standards and compliance: an overlay tour is a well-known
accessibility trap. It must be operable by keyboard alone, trap and restore focus
correctly, be dismissible with Escape, and announce step changes to assistive
technology. This has to hold jointly with #646 — a tutorial that breaks keyboard
navigation would undo that work. - RNF-PCE-006 — Long-term sustainability: tutorial content describes a form that
will change, in particular through #653 and the redesign of field grouping. It needs
to be maintainable — copy in the locale files, anchors that fail loudly when the
element they point at is gone, rather than a tour that silently drifts out of date.
Acceptance criteria
- On first launch the tutorial is shown, explaining how to fill in the form and how
the YAML preview relates to it - It is not shown again on subsequent visits
- It can be dismissed at any step
- It can be replayed from the UI after being dismissed or completed
- Fully operable by keyboard: focus is trapped while open, restored on close, Escape
dismisses - Step changes are announced to screen readers
- Works in the mobile stacked layout, not only on desktop
- All copy lives in the locale files and is translated in every supported language
- An anchor pointing at an element that no longer exists fails visibly rather than
silently skipping
Related
- #646 — accessibility conformance; the tutorial must not regress it
- #647 — new locales; the tutorial copy needs to land there too
- #451 — UX of the always-visible YAML panel, which the tutorial has to explain
- Lingua principale
- TypeScript
- Stelle
- 33
- Fork
- 34
- Merge medio
- 10h 50m
- PR unite (30g)
- 13
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di italia/publiccode-editor
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
italia/publiccode-editor#509 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
italia/publiccode-editor#702 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
italia/publiccode-editor#701 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 75/100
italia/publiccode-editor#691 ·
I maintainer di solito rispondono entro 1 giorno
-
Support to publiccode v0.8.0Apertaenhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
italia/publiccode-editor#666 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di italia/publiccode-editor
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
earendil-works/gondolin#222 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
endora-commerce/endora-commerce#2203 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement priority:medium ready-for-human
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
wondermoney/wondermoney#1079 ·
I maintainer di solito rispondono entro 1 giorno