Implement Conjugate App Scribe-Server data download functionality (#565)#608
Implement Conjugate App Scribe-Server data download functionality (#565)#608prince-0408 wants to merge 1 commit into
Conversation
…ribe-org#565) - Create ConjugateDataDownloadViewModel for verb-specific downloads - Add ConjugateDynamicDbHelper for verb-only database creation - Update DatabaseFileManager with getConjugateDatabase() method - Modify ConjugateDataManager to use conjugate-specific databases - Update App.kt to integrate conjugate download actions - Implement separate state tracking for conjugate vs keyboard apps - Support verb-only downloads with smaller database files - Maintain shared API infrastructure while filtering for verbs Resolves: scribe-org#565
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 :)
|
There was a problem hiding this comment.
First PR Commit Check
- The commit messages for the remote branch should be checked to make sure the contributor's email is set up correctly so that they receive credit for their contribution
- The contributor's name and icon in remote commits should be the same as what appears in the PR
- If there's a mismatch, the contributor needs to make sure that the email they use for GitHub matches what they have for
git config user.emailin their local Scribe-Android repo (can be set withgit config --global user.email "GITHUB_EMAIL")
Summary
This PR implements the Conjugate App Scribe-Server data download functionality as requested in issue #565. The implementation allows the Conjugate app to download only verb data (instead of full language data) while maintaining shared infrastructure with the Keyboard app.
Key Changes
{LANG}ConjugateData.sqlitefiles containing only theverbstablescribe_conjugate_prefs) to track conjugate-specific updates/data/{lang}endpoint but filters for verb data onlyFiles Added
Files Modified
Implementation Details
{LANG}LanguageData.sqlite(all data), Conjugate app uses{LANG}ConjugateData.sqlite(verbs only)Testing
Resolves
Note
This implementation builds on the UI foundation from issue #564 and maintains compatibility with existing Keyboard app functionality while providing optimized verb-only downloads for the Conjugate app.
Screenshots
Conjugate App Main Screen
Download Screen - After English Download