-
Notifications
You must be signed in to change notification settings - Fork 24
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
(BSR) fix(venueMap): filters modal presentation #7305
Conversation
d7fd441
to
83b5058
Compare
|
||
export const VenueMapFiltersStackNavigator = () => { | ||
useWhiteStatusBar() |
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.
Pour ma compréhension ça fait quoi ça ?
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.
C'est un hook qui force la status bar en theme light quand le screen est focus et qui la remet en theme dark quand on sort de ce même screen.
import { StackNavigationOptions, TransitionPresets, TransitionSpecs } from '@react-navigation/stack' | ||
|
||
export const FILTERS_MODAL_NAV_OPTIONS: StackNavigationOptions = { | ||
...TransitionPresets.ModalSlideFromBottomIOS, |
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.
C'est Ok pour Android aussi ?
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.
J'ai fait quelques tests de mon côté, ça me paraissait correct. Mais 2 avis valent mieux qu'un 😃
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.
C'est dans cette partie que tu as réussi à te débarrasser du petit espace iOS ?
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.
b96a6dd
to
889b1a1
Compare
889b1a1
to
97946ad
Compare
Quality Gate passedIssues Measures |
Quality Gate passedIssues Measures |
import { StackNavigationOptions, TransitionPresets, TransitionSpecs } from '@react-navigation/stack' | ||
|
||
export const FILTERS_MODAL_NAV_OPTIONS: StackNavigationOptions = { | ||
...TransitionPresets.ModalSlideFromBottomIOS, |
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.
C'est dans cette partie que tu as réussi à te débarrasser du petit espace iOS ?
@@ -29,8 +28,6 @@ export const SearchCustomModalHeader: React.FC<Props> = ({ | |||
shouldDisplayCloseButton, | |||
onClose, | |||
}) => { | |||
useWhiteStatusBar() |
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.
Le fait que tu retires l'utilisation du hook ici n'a pas d'impact sur la recherche ?
Pour faire en sorte de faire apparaitre la modale react-navigation comme les autres modales react-native
Flakiness
If I had to re-run tests in the CI due to flakiness, I add the incident on Notion
Checklist
I have:
Screenshots
Android
Kapture.2024-11-29.at.09.40.26.mp4
iOS
Kapture.2024-11-29.at.14.58.13.mp4
Best Practices
Click to expand
!
when you know that the value can’t benull
orundefined
).Test specific:
user
tofireEvent
.