feat: create conjugation selection UI page with dummy data (#567)#614
feat: create conjugation selection UI page with dummy data (#567)#614prince-0408 wants to merge 2 commits into
Conversation
Thank you for the pull request! 💙🩵The Scribe-Android team will do our best to address your contribution as soon as we can. The following are some important points:
Note Scribe uses Conventional Comments in reviews to make sure that communication is as clear as possible. |
Maintainer ChecklistThe following is a checklist for maintainers to make sure this process goes as well as possible. Feel free to address the points below yourself in further commits if you realize that actions are needed :)
|
…in ConjugateScreen
|
Amazing to have this, @prince-0408! @angrezichatterbox and I will get to the review in the coming days :) |
Description
Closes #567 , #568
Creates the conjugation selection UI page for the Conjugate app . The page displays dummy conjugation tables for a selected verb and is linked directly from the Conjugate tab.
Changes
New file
ConjugationSelectionScreen.kt— new screen that displays dummy conjugation tables (Indicative, Subjunctive, Imperative) for a selected verb. The page header showsverb (Language)based on the option the user selected, as specified in the Figma designs.Modified files
Screen.kt— addedConjugationSelectionrouteApp.kt— added import, navigation callback inConjugateScreen, and the newcomposabledestination forConjugationSelectionScreenConjugateScreen.kt—onNavigateToConjugationSelectioncallbacklaufenshowslaufen (Deutsch),laufen (Español), etc.) — each row navigates toConjugationSelectionScreenConjugateViewModel.kt—isDummyflag toConjugateSearchResultdisplayResultsStateFlow with dummy fallback when DB data is not yet availableonVerbSelectedto always persist selections to recently conjugatedNotes
Screenshots
Testing
ConjugationSelectionScreenopens with headerverb (Deutsch)<query> (Deutsch),<query> (Español), etc.ConjugationSelectionScreenwith correct header