-
Notifications
You must be signed in to change notification settings - Fork 106
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
chore(Cross): [IOAPPX-369] Add support for enableDiscreteTransition
to the useHeaderSecondLevel
hook
#6170
chore(Cross): [IOAPPX-369] Add support for enableDiscreteTransition
to the useHeaderSecondLevel
hook
#6170
Conversation
…-header-2ndlevel-hook
enableDiscreteTransition
to the useHeaderSecondLevel
hookenableDiscreteTransition
to the useHeaderSecondLevel
hook
Affected stories
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6170 +/- ##
==========================================
- Coverage 48.42% 47.77% -0.66%
==========================================
Files 1488 1746 +258
Lines 31617 35095 +3478
Branches 7669 8382 +713
==========================================
+ Hits 15311 16767 +1456
- Misses 16238 18270 +2032
+ Partials 68 58 -10
... and 1230 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
…-header-2ndlevel-hook
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
…rdScreenComponent` (#6171) > [!note] > This PR depends on: > * #6170 ## Short description This PR enables discrete transition in the `BonusCardScreenComponent` thanks to the new updated `useHeaderSecondLevel` hook. ## List of changes proposed in this pull request - Add support for `enableDiscreteTransition` to the `BonusCardScreenComponent` - Partially refactor `CgnDetailScreen` to improve compatibility with the `IOScrollView` (cc @freddi301 @Hantex9) - Add dark mode support to the `BonusCardShape` component - Add some documentation to the `IOScrollView` component ### Preview https://github.com/user-attachments/assets/4b03a3da-1444-4d25-bbc2-31eeedd6994e ## How to test 1. Locally launch the app 2. Go to the **DS → Bonus Card Screen** or go the **CGN** main screen
Short description
This PR adds support for
enableDiscreteTransition
to theuseHeaderSecondLevel
hook. If you want to learn more about this prop, please refer to the following PR:enableDiscreteTransition
toHeaderSecondLevel
to allow transition even iftriggerOffset
is not set io-app-design-system#323List of changes proposed in this pull request
enableDiscreteTransition
propcanGoBack
declarations when they are set to true (it is alreadytrue
by default)How to test
Run all the tests provided by default