Version 8.8.0

All pages

Browsing and editing cards

The screens where a learner makes a deck, edits its cards, and looks through a library deck before importing it. A learner's own deck is edited only in the Browser.

The Studio does the same work in bulk. Routes are in routing.md; writing a card in Markdown is in markdown.md.

The deck creator

#/new-deck, from "Create deck" under the deck list, asks for the deck's name and the language it's in, which starts as the last one chosen on this device for a deck's text, else none (never guessed from the page). Creating a deck whose name has no language says so and focuses the language picker. A created deck is on the deck list (DeckCreatorScreen.tsx, DeckCreatorContainer.tsx).

The Browser

#/browse, from "Browser" on a deck's page (BrowserScreen.tsx, BrowserContainer.tsx). From the top:

The page and the filter are in the URL. Paging and filtering replace the history entry (Back leaves the Browser); opening a card pushes one (Back returns to the same page and filter). A page past the last shows the last (Pager.tsx).

The card creator

#/new-card, from Add card in the Browser (CardCreatorScreen.tsx, CardCreatorContainer.tsx, AddCardForm.tsx). Each side needs text, a picture (a web address), or both (CardContentFields.tsx).

A card's page

#/card, from a card's front in the Browser (CardScreen.tsx, CardContainer.tsx), shows the card as study shows it, then its editor: the card creator's fields and, under them, the card's wrong options. These are the other answers of a course's multiple-choice question on the card.

Save writes the card and its wrong options at once. "Remove card" asks first, then returns to the Browser. An unknown card falls back to the Browser.

Under the editor is the card's history: where it stands in each direction and its answers, newest first, up to the newest 1,000 (statistics.md). The statistics' leeches and hardest cards link here.

A library deck's cards

Before importing a library deck, a learner can look at it three read-only ways:

All three share one query that reads the release's cards once from the library (UseCases.listLibraryCards); a course's preview reads its outline with them, in a query of its own. A deck added from a link has none of them: the app reads it only to add it (deck-library.md).

How it is tested