RoadTripMoustache / kana_to_kanji

Simple application to learn Japanese kana (hiragana, katakana) and kanji
5 stars 1 forks source link

feat: Implement a draw question format 🚧 #201

Open apomalyn opened 2 months ago

apomalyn commented 2 months ago

As a user, I want a question where I'm asked to draw a specific kana or kanji

Requirements

Implement a DrawQuestion model extending Question. The following instructions are supported:

⚠️ Schema incomplete

DrawQuestion schema ⚠️ OpenAPI spec is used for simplicity only ```yaml DrawQuestion: allOf: - refs: "#/components/schemas/Question" - type: object property: instructionOverride: type: string description: Instruction to display. example: Write the hiragana for "ka" hideSubject: type: boolean default: false description: | Indique if the subject needs to be hidden. This can happen if the instruction override contains all the necessary information paths: type: array # Items to determine required: - paths ```

Possible instruction overrides are:

Implement a view that respects the following design.

Design

Question flow ![image](https://github.com/RoadTripMoustache/kana_to_kanji/assets/22211097/baaadb80-755e-4e81-b6b0-59b92d0172f2)

Dependencies

Child of #160

Depends on:

Parent of: