halkyon/halkyon_learn_server/migrations/20261002211346701-learning-paths
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tizian 「ティツィアーン」 91f6376b93
feat: learning paths in studysets, synced, with progress and tags
Server: five synced tables, only additions (migration
20261002211346701-learning-paths):
- `learning_path`: its studyset, a fractional position, and its own
  content in the payload {title, secondaryTitle, description}, the last
  writer winning, as a studyset's;
- `learning_path_step`: its path, a position, and its kind ('info',
  'singleChoice', 'multipleChoice', 'dragAndDrop', 'fillInTheBlank'),
  fixed once created;
- `learning_path_step_revision`: a step's content as append-only
  revisions, as a card's: {title, body, exercise, rightFeedback,
  wrongFeedback, sources};
- `learning_path_answer`: an append-only log (right, wrong, continued,
  reset), as reviews are, so answers from two devices never conflict;
- `learning_path_tag`: one row per assignment, as `card_tag`.

App, `feature/learning_path`: the five exercises and their JSON, grading
that marks only the learner's own wrong picks, progress worked out from
the log (a step is done once answered right since its last fresh start),
`LearningPathRepository` (steps saved on what they started from, merged
per field) and `PathProgressRepository` (answers, resets with Undo, the
times steps were done). Paths share the person's tags; deleting a path
or a step can be undone for a moment, and a studyset's deletion takes
its paths. Tests: models, codecs, repositories, tags, the device
migration guard, and sync tests against the server (four).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-10-02 23:31:20 +02:00
..
definition.json feat: learning paths in studysets, synced, with progress and tags 2026-10-02 23:31:20 +02:00
definition.sql feat: learning paths in studysets, synced, with progress and tags 2026-10-02 23:31:20 +02:00
definition_project.json feat: learning paths in studysets, synced, with progress and tags 2026-10-02 23:31:20 +02:00
migration.json feat: learning paths in studysets, synced, with progress and tags 2026-10-02 23:31:20 +02:00
migration.sql feat: learning paths in studysets, synced, with progress and tags 2026-10-02 23:31:20 +02:00