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

Feature/homepage dashboard ms2 view lessons #258

Merged
merged 83 commits into from
Apr 26, 2022

Conversation

fabd
Copy link
Owner

@fabd fabd commented Apr 26, 2022

Implement top portion (Study & Review), and middle portion (Current Lesson view) of the new homepage prototype:

#241

There are still minor issues but it should be fully functional.

Known issues:

  • not optimized for smartphones
  • able to click on new / due cards when the count is zero
  • doesn't show progress for RTK3
  • doesn't show a lesson for RTK Old Edition - Supplement (3008-3030)

fabd added 30 commits March 30, 2022 12:25
`ko-` prefix is fairly unique and works really well when searching\
the codebase.
- add margins to ko-SrsIso so the root element size is the correct
  size, helps layout
- tweak spacings on dashboard
If we want to re-introduce filtering the chart someday (RTK1, RTK3, ...)
we should do it from the Vue template.
...based on the first uninterrupted range of flashcards from 1 to X
fabd added 28 commits April 14, 2022 11:46
…file

Since we already have a string of all kanjis in sequential order (in
the "keywords" file used by the Study page) we can create an index map
from that, no need to output on the php end.

- add `rtk.ts` helpers to handle conversion between RTK & UCS indexes
- fix Recognition page to use new helpers
- feed kanji card data into lesson view
- display colored tag on the card ("Restudy", "Box 2" etc)
- use custom keywords map + RTK keywords from keywords file,
  using helpers in `rtk.ts`
…thod

Issue console.assert only if the value is not set AND no default is
provided.
@fabd fabd merged commit 25dc0b6 into master Apr 26, 2022
@fabd fabd deleted the feature/homepage-dashboard-ms2--view-lessons branch May 17, 2022 09:41
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

Successfully merging this pull request may close these issues.

1 participant