-
Notifications
You must be signed in to change notification settings - Fork 50
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
#269 First iteration of Scribe-Data data contracts #293
Conversation
Thank you for the pull request!The Scribe team will do our best to address your contribution as soon as we can. The 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 :) If you're not already a member of our public Matrix community, please consider joining! We'd suggest using Element as your Matrix client, and definitely join the General and Android rooms once you're in. Also consider joining our bi-weekly Saturday dev syncs. It'd be great to have you! Maintainer checklist |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 forgit config user.email
in their local Scribe-Android repo (can be set withgit config --global user.email "GITHUB_EMAIL"
)
Code Coverage
|
Again the goal of this is that we get rid of as much of the "command variables" files from Scribe-iOS that are hard coded. Noun gender annotation:
Plural command:
Conjugate command:
Translate command:
CC @axif0 as well as this effects Scribe-Data work to come :) |
@henrikth93 and @Jag-Marcel: You two having worked on iOS the most, basically mapping out files like Scribe-iOS/Keyboards/LanguageKeyboards/English/ENCommandVariables.swift. Not all of those files will be put into the contract, but everything that can change with the data :) |
I feel the formatting is quite good for now. As far as the experimentation I have with finding the gender of a word. I think this contract makes it easier and proper column would be used for the word depending on the data available. |
Could we have the naming to be capital for the language codes since we have the same format for the SQLite database naming as well ? |
Coming back to this just now, @angrezichatterbox. I guess for now can we leave them as lower case? There's something about the Scribe-i18n JSONs being the lower case language code and these ones being upper case that just doesn't look right to me 🤔 That and that these files are an extension of the Scribe-Data metadata files that are also lower case and will be generated in Scribe-Data really pushes for as it is :) Hope this makes sense! Thanks for the feedback and all the planning that went into this 😊 |
Merging this in 😊 |
Contributor checklist
./gradlew lintKotlin detekt test
command as directed in the testing section of the contributing guideDescription
As discussed in #269 and in recent syncs, we need to set up data contracts that will determine how the end applications present the data coming in from Scribe-Data. This PR sends along my first ideas on them based on the call we had yesterday.
A short synopsis of this:
Discussed solution:
Feedback is very welcome on the above! 🙏
Related issue