-
Notifications
You must be signed in to change notification settings - Fork 105
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
feat(Firma con IO): [SFEQS-2083] Replace abort bottom sheet with alert #5425
Conversation
Affected stories
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5425 +/- ##
=======================================
Coverage 47.82% 47.83%
=======================================
Files 1418 1418
Lines 30704 30710 +6
Branches 7467 7467
=======================================
+ Hits 14685 14689 +4
- Misses 15960 15962 +2
Partials 59 59
Continue to review 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
e81edac
to
2fc1faf
Compare
Short description
This PR replaces the abort bottom sheet with an alert when using the new design system, according to this FIGMA.
The shown alert is just a placeholder for a nativa alert, thus we are leaving Apple and OEMs for Android to decide how it looks on each device, including the order of the buttons.
On iOS the
style: 'cancel'
prop places the button as second when text requires wrapping. On Android, two buttons meansnegative
,positive
and are placed accordingly (ref).List of changes proposed in this pull request
present
function of the bottom sheet to show an alert instead if the experimental design is enabled.This allows us to use an alert without changing single components which use the hook.
The bottom sheet will be removed once the experimental design is enabled by default (SFEQS-2090).
How to test
Open a signature flow either in production or with
io-dev-api-server
by setting the flagwaitForSignatureCount: 1
. Then try to abort it. Either a bottom sheet or an alert should be displayed if the experimental design system is disabled or not.