davidsansome / tsurukame

Tsurukame is an unofficial WaniKani app for iOS. It helps you learn Japanese Kanji.
https://tsurukame.app
Apache License 2.0
249 stars 58 forks source link

Feature: Add lesson picker #701

Closed Deadpikle closed 3 months ago

Deadpikle commented 3 months ago

Allows user to choose which lessons they want to do next. Based on feature from WK website. Lesson picker only shows up if user has available lessons and hasn't hit their apprentice count. Separates lessons by level and lesson type (radical vs kanji vs vocab).

Made some minor tweaks to the SubjectModelItem class to support using those types of cells with checkmarks. Added a new LessonPickerViewController. Other than that, pretty standard minor changes (new segues, main menu table cell item, etc.).

Note: Does not currently perform checks to see if user has selected more lessons to do than (current apprentice count + number of lessons selected to do).

Simulator Screenshot - iPhone SE (3rd generation) - 2024-03-21 at 19 17 46

Deadpikle commented 3 months ago

Added # of lessons picked to the Begin button so that you can see how many you've picked. (The WK website has the same.)

Simulator Screenshot - iPhone SE (3rd generation) - 2024-03-31 at 19 41 04