-
Notifications
You must be signed in to change notification settings - Fork 83
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
Switch case from conditional statement to determine keyboard width #526
Switch case from conditional statement to determine keyboard width #526
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 iOS 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 for
git config user.email
in their local Scribe-iOS repo (can be set withgit config --global user.email "GITHUB_EMAIL"
)
Thanks much for the PR! Could you do a refactor to make sure that we don't have "return" in two different switch cases, @mcrkgus? We should be good to go at that point :) |
@andrewtavis |
Fantastic, @mcrkgus! I'm for a few days till the 26th, so I won't be able to do a final review until then. @Jag-Marcel, if you have a moment, would you be able to take a look at this? If you're ok with it I can then merge, or feel free to @mcrkgus, from here you'd be welcome to continue any further work for #399 and #525. What are the next steps you're planning? |
I'll take a look tomorrow morning 👍 |
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.
All looks good to me, works fine on all keyboards still and this is much simpler and easier to read, good work @mcrkgus!
@andrewtavis I think this is good to be merged
@andrewtavis On a more unrelated note, I noticed that on iPad, the key width in landscape is all over the place. If you start a keyboard on landscape, the keys change width slightly when switching from letter keys to symbols. If you start on portrait, all special keys remain weirdly thin in landscape, the regular keys start out normal albeit with more space between them, but when you switch to symbols they are really thin. Is there already an issue for this that I missed, or do you want me to make one? |
There's no issue for this so far, @Jag-Marcel :) Would be great if you made one and included some screenshots. |
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.
Thanks for the great first contribution, @mcrkgus! Hope we can get another PR from you again soon :) Please let us know what the next steps are for the issues you're working on 😊
Contributor checklist
xcodebuild
andswiftlint --strict
commands as directed in the testing section of the contributing guideDescription
Switch from conditional statements to switch and case statements to determine the keyboard width.
Related issue