Wizard
Every job done in steps: the pieces, and signing in to a service.
Wizard
Every job done in steps: first-run set-up, upgrades, restores and migrations. The rules are in docs/WIZARD.md. Beside the step are two review aids, What happens next and the decision tree: they are for testing only, shown while an app's testing setting is on, never in the finished product.
- Torrent, done
- Usenet, current part
- Download options
Choose a Usenet app
The Usenet app fetches what the app finds, from your Usenet provider.
After it is installed, SABnzbd is at http://192.0.2.10:8080 (opens in a new tab)
docker compose up -d sabnzbd- Download apps: qBittorrent and SABnzbdChange them in Settings, Download apps.
- Requests: skippedSet them up later in Settings, Requests.
What is Usenet?
Usenet is a network of servers that keep copies of files people post. You pay a Usenet provider for access, and an indexer lists what is there.
What you need
- A Usenet provider, which you pay for each month.
- An indexer, which lists the files.
- A Usenet app, such as SABnzbd, which fetches them.
What this step does
It installs the Usenet app and connects it to the app, so each download goes into the right folder.
Help is a slide-out: the step stays in view beside it. Only this text scrolls; the heading, Close and Back to set-up stay in view. A press outside closes it.
Shape
- Progress bar, then the step bar for a step in parts, then the step. The step bar is as wide as the progress bar, with a line between parts; parts are numbered 1, 2, 3 and each is a step in the count (here steps 6 to 8 of 18). On phones only the numbers show, with ticks for done parts.
- Review aids (What happens next, decision tree) only while testing: beside the step from 1100px, under it on narrower screens. Without them the step has the whole width.
- The first question asks which job (new install, restore, migration); each has its own wizard (
.wizard-paths).
Steps
- One question per step; steps that do not apply are left out, and the tree says why.
- Option cards, one marked "(recommended)" with the reason. Never "easiest".
- Continue first, then Back, then Skip this step.
Help
- "What is…" links at the end of the part they explain, with the square help icon, opening a slide-out about half the screen wide (
.side-panel--wide), so the step stays in view beside the help. The step's own help, with Help with this step, sits at the bottom of the step. - Addresses are links with a copy button; commands have a labelled copy button. Copying works on plain http.
Classes
.wizard-layout,.wizard-main,.wizard-aside,.wizard-progress,.steps--sub,.wizard-paths,.wizard-next,.wizard-tree,.help-links,.help-link,.address,.copy-btn--label,.side-panel,.wizard-summary
Wizard pieces
Choosing an outside service, a required field, a job's bar with its count, and the check before anything is written (docs/WIZARD.md, sections 5 and 9).
| What | Your answer | Change |
|---|---|---|
| Media folder | /srv/media | |
| VPN | Example VPN, WireGuard |
*= Required (shown at the bottom of the help slide-out, not in the form)
Outside services
- At most six, spelt as on their own sites, each with its site as a new-tab link and the
external-linkicon; then Another one. Nothing chosen the first time.
Required
- A * after the label; the control is
required. The key goes in the help slide-out.
Job count
- After the timer: installed, then running, counted from Docker.
Classes
.option-cards--row,.field__required,.required-key,.segmented,.meter,.table--middle
Wizard variants
There is one wizard. Its variants add to it and never replace it: the same steps, words, buttons and progress in every one. docs/WIZARD.md, Variants, says when to use each. Each example here works: use Continue, Back and the browser's Back button.
Check your answers
The end of every wizard: one row for each answer, a Change link that returns to that step and then to the answers, and a button that names what it does.
- Style
- Things in a break
- Channels
- Check your answers
What should play between programmes?
Pick the style that fits. You can change it later in Settings.
How many things play in each break?
Each break picks this many from the ones you chose.
Which channels use this?
A channel can have its own later.
Check your answers
Run again
Used when someone runs a set-up that has been done before. Each choice says which one is current, the summary lists only what changes with the old words, and what stays the same is folded away.
Run again for the Comedy channel
- Style
- Things in a break
- Channels
- Check your answers
What should play between programmes?
Pick the style that fits. You can change it later in Settings.
How many things play in each break?
Each break picks this many from the ones you chose.
Which channels use this?
A channel can have its own later.
Check your answers
Preview beside the step
A picture or a drawing made of styles shows what the choice appears. It never plays video. The caption is read once after a change, never when the page opens, and nothing moves when less motion is asked for.
- Style
- Things in a break
- Channels
- Check your answers
What should play between programmes?
Pick the style that fits. You can change it later in Settings.
How many things play in each break?
Each break picks this many from the ones you chose.
Which channels use this?
A channel can have its own later.
Check your answers
What a break appears
Media cards in option cards
For choosing files by sight and sound. The small picture is made once and kept. A short preview plays only when Play preview is pressed, one at a time.
- Clips
- Check your answers
Which clips should play?
Tick the ones you want. Play preview plays a few seconds, and only when you press it.
Check your answers
A step that needs an answer
A question that must be answered has no Skip and shows the error summary, "There is a problem", with a link to the field. A question that can be skipped says (optional) in its heading, never an asterisk.
- Name
- Check your answers
What is the channel called?
Is there a note for the guide?
Check your answers
Desktop only notice
An option for a wizard whose pages cannot work on a phone. It is hidden at 768 pixels and wider, so make the window narrower to try it. Every other wizard is made for phones.
This page is for a computer screen. It is not made for phones.
On a narrow window the notice shows before this line.
Classes
.wizard[data-wizard](withdata-modeanddata-finish),.wizard__step,.wizard__q,.wizard__check,.wizard-summary--check,.wizard__tag,.wizard__optional,.wizard__change,.wizard-preview,.option-card--media,.desktop-notice.- Parts:
wizard-steps(needserror-summary),wizard-preview,option-media,desktop-notice(styles only).
Accessibility
- Focus goes to the step's question when a step changes, and the step number and name are said once in a polite status.
- The browser's Back button goes step to step, to the step as it was left.
- Change links are named for the answer ("Change Style"). Play preview is named "Play preview of Station title". Targets are at least 24 pixels.
- Current and Recommended are words, not colour. The preview is a picture or styles, with a text caption.
Signing in to an outside service
A wizard step that signs in to a cloud service on its own page (docs/WIZARD.md, section 9). Two ways to finish, the same weight: on a phone with a QR code and a short code, waiting by itself; or in this browser with a link, then the address the sign-in ends on pasted back. Then the test's checks, and Test connection's result beside a place.
Open the sign-in page and sign in.
Your browser then shows a page that does not load. Its address starts like this:
http://127.0.0.1:53682/?state=…&code=…
- Reach the folderDone
- Write a small test fileDone
- Read it backDid not work
- Remove itNot tried
ConnectedTested 16 Nov, 10:40
Two ways
- Option cards, the same weight. The phone only where the service has a device flow; otherwise the link alone.
QR code
- Dark on white in every theme. Never alone: the page and the code are written out, each with Copy.
Waiting
- A polite live region with the words and the time left; a time limit, then Try again.
Classes
.signin-card,.signin-steps,.signin-example,.qr-card,.device-code,.signin-wait,.test-checks,.tested