-
Notifications
You must be signed in to change notification settings - Fork 155
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
Create UserStoryFlowPage #1737
Create UserStoryFlowPage #1737
Conversation
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #1737 +/- ##
===========================================
+ Coverage 63.33% 63.34% +0.01%
===========================================
Files 1286 1287 +1
Lines 33421 33360 -61
Branches 6962 6946 -16
===========================================
- Hits 21167 21133 -34
+ Misses 9057 9049 -8
+ Partials 3197 3178 -19
☔ View full report in Codecov by Sentry. |
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.
LGTM, thanks for the changes. I have a suggestion for the back button.
canGoBack: Boolean, | ||
onBackClicked: () -> Unit, |
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.
Maybe making onBackClicked
nullable would be enough? If it's present, we display the back button and set it up to use the lambda, otherwise we do nothing.
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.
Yes, good point, 7bd2ccd
As for the name, would something like |
This will reduce some boilerplate and copy pasting we have in the codebase.
ff2e300
to
b8957c4
Compare
Rename UserStoryFlowPage to FlowStepPage
b8957c4
to
7bd2ccd
Compare
Yes, it's better! Done in 163bc87 |
Kudos, SonarCloud Quality Gate passed! |
Type of change
Content
Add a Page UserStoryFlowPage to our library to avoid duplicated code. Use it where appropriate.
Note: if reviewer can suggest a better name for this page, it will be welcome!
Motivation and context
Clean code, develop faster new UI with same wireframe.
Screenshots / GIFs
Tests
Tested devices
Checklist