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/issue 251 improve learned list #255

Merged
merged 69 commits into from
Mar 29, 2022

Conversation

fabd
Copy link
Owner

@fabd fabd commented Mar 9, 2022

...

This feature includes substantial refactors I didn't manage to put in separate branches:

  • Bootstrap buttons has been removed entirely
  • new custom buttons ( .ko-Btn .ko-Btn--success .ko-Btn--large etc ) which will work better with tailwind, and is compatible with using element-plus buttons should we need them
  • added a styleguide at /ux which demo all the button styles!
  • use FontAwesome 5 Pro full in dev, and subset fonts in production - no longer use FA4 Free CDN version

@fabd fabd linked an issue Mar 9, 2022 that may be closed by this pull request
fabd added 24 commits March 9, 2022 17:04
No idea why this was ever conditional to the API (KanjiRyokucha)...

The list is no longer cleared at end of SRS review. Learned kanji
remain Indefinitely unless user explicitly clears the list, or during
review.

If kanji is forgotten, it needs to be re-learned, so clear flag.

If kanji is remembered, it is no longer in the Restudy list, clear flag.
- replace lots of Bootstrap buttons to new `.ko-Btn` classes
- remove "button with icon" helper (simplify)
Old site has 14px, but our body font size now defaults to 16.
fabd added 28 commits March 25, 2022 11:43
Show the "Learned 0 of X" pane after user clicks "Begin Restudy".

If user moves to another kanji, then the pane goes back to "Restudy"
(red) - until there is at least one kanji in the learned list, in which
case the "Learned" pane is shown.
Attempt to improve the flow, if the user doesn't use "Continue Restudy"
but instead wants to pick from the list. The "Study" link will return
the user to the Restudy List, after they select "Add to learned list"
on the Study page.
…arned"

Avoid confusing UX where two buttons with different styles end up
doing the same thing when in this state (user now should pick
"Review Learned Kanji")
... attempt to fix error when running vue-tsc, stopped working for
whatever reason. Still doesn't work.
@fabd fabd merged commit 183327c into master Mar 29, 2022
@fabd fabd deleted the feature/issue-251-improve-learned-list branch October 24, 2022 09:51
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.

Learned list clears itself
1 participant