Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Vocabulary #426

Open
gavia opened this issue Jun 9, 2018 · 0 comments
Open

Custom Vocabulary #426

gavia opened this issue Jun 9, 2018 · 0 comments

Comments

@gavia
Copy link

gavia commented Jun 9, 2018

Create a new feature that allows user's to add their own custom vocabulary.

Current Model
When a user signs up, a row in the User table is created, paired with a row in the Profile table. Profile holds everything you'd expect that isn't in User (i.e. WK API key, about information, user settings, etc.).

All of the WaniKani vocabulary words sit one-to-one in the Vocabulary table. Each row in the Vocabulary table has one or more entries in the Reading table. Vocabulary holds the word's meaning in English, whilst each Reading holds a reading in Japanese, including

  • character, the reading in Kanji/Hiragana/Katakana;
  • kana, the reading in Hiragana; and
  • level, the level that it corresponds to in WK.

Each entry in the UserSpecific table corresponds to an actual word that is being reviewed by a user. That is, it is basically the user's own record of each row in Vocabulary. This tracks everything about the user's word, such as when it's next up for review.

Custom Vocabulary Model
The data model for custom user vocabulary should look similar to the above. Specifically, the review information should be distinct from the actual vocabulary word, as this will facilitate potentially later adding functionality for reviewing words KW style.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant