Deck management UI #36

Open
opened 2026-09-26 13:58:39 +00:00 by belvedere · 0 comments
Collaborator

Objective: The user can create, configure and archive decks without a console.

Files:

  • Create: lib/first_thousand_words_web/live/deck_live/index.ex
  • Create: lib/first_thousand_words_web/live/deck_live/form.ex

Steps:

  1. List decks with card counts and due counts.
  2. Create form: name, source language, target language, daily limits. Use <.form for={@form}>
    with a to_form/2 assign and the <.input> component.
  3. Guard against picking the same language on both sides.
  4. Show generation status: "412 of 1000 cards created — 588 concepts lacked a translation."

Verify: create a deck in the browser; a card count appears.

**Objective:** The user can create, configure and archive decks without a console. **Files:** - Create: `lib/first_thousand_words_web/live/deck_live/index.ex` - Create: `lib/first_thousand_words_web/live/deck_live/form.ex` **Steps:** 1. List decks with card counts and due counts. 2. Create form: name, source language, target language, daily limits. Use `<.form for={@form}>` with a `to_form/2` assign and the `<.input>` component. 3. Guard against picking the same language on both sides. 4. Show generation status: "412 of 1000 cards created — 588 concepts lacked a translation." **Verify:** create a deck in the browser; a card count appears.
Sign in to join this conversation.
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nickkeers/first-thousand-words#36
No description provided.