feat: add vertical input for Stackbit 1248#862
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #862 +/- ##
===========================================
+ Coverage 97.30% 97.35% +0.05%
===========================================
Files 83 83
Lines 10798 10973 +175
===========================================
+ Hits 10507 10683 +176
+ Misses 291 290 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
73e2c55 to
ab698b7
Compare
|
Should these changes be added to the changelog? If so, for the May release? |
For now make it drat and make changes on |
|
As the form factor allows, try to increase grid size and better use screen surface, making it easier to type. |
1e11ac2 to
70f6ffb
Compare
Done, updated the PR Device image tho! |
qlrd
left a comment
There was a problem hiding this comment.
LGTM, but if possible, i would check the uncovered lines. Saw them and found weird that they aren't covered. Either untested by some case or those pieces receive more love.
joaozinhom
left a comment
There was a problem hiding this comment.
LGTM, there are some uncovered lines to review but i think its a simple mock test work, in my view the uncovered lines are in the following functions:
_toggle_bit_vertical;
_index_vertical;
One thing that i learned here is that we have potential dead codes, @bitcoisas check if they're dead codes or just need mock like @joaozinhom says |
i will work on the coverage later today, checking if we have dead code and also writing some new unit tests too! Thanks again team learning a lot with your guidance! :) |
e6c5070 to
22e2533
Compare
Good catch @qlrd and @joaozinhom ! The Added unit tests for the remaining paths: early return for invalid cells and forward navigation in Now we have the 100% coverage and a cleaner code. Thank you again for the reviews. |
|
Two last commits could go as one |
22e2533 to
459abe5
Compare
Done, squashed into one! |
477bd0e to
cffc8af
Compare
| [BUTTON_ENTER] # Select "Standard" from Standard/Vertical submenu | ||
| + ( |
There was a problem hiding this comment.
This extra button is required because our PR added a Standard/Vertical orientation selector before entering the 1248 grid
|
Just a FUP, i'm working on the updates that you suggested/asked to change here @qlrd. And thank you very much to make me level up every day! :) |
cffc8af to
970d311
Compare
419a5f1 to
70b6152
Compare
70b6152 to
5bb237a
Compare
What is this PR for?
This PR adds vertical layout support for Stackbit 1248 seed input, covering the input/loading side of #834.
A "Vertical" option is added to the "Load from 1248" submenu alongside the existing "Standard" layout. Also, this PR complement this other one: #847 (backup side).
Closes input part of #834
Changes made to:
Did you build the code and tested on device?
What is the purpose of this pull request?
Screenshots: