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:
custom
⚠️ 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:
Write (default)
Write the <hiragana | katakana | kanji> for "<translation | pronunciation>"
Implement a view that respects the following design.
As a user, I want a question where I'm asked to draw a specific kana or kanji
Requirements
Implement a
DrawQuestion
model extendingQuestion
. The following instructions are supported:custom
⚠️ Schema incomplete
⚠️ 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 ```DrawQuestion
schemaPossible 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:
169
171
Parent of: