react-navigation / react-navigation

Compare e77a5ab ... +1 ... e947943

Coverage Reach
core/src/useNavigationBuilder.tsx core/src/getStateFromPath.tsx core/src/BaseNavigationContainer.tsx core/src/getPathFromState.tsx core/src/getActionFromState.tsx core/src/__tests__/__fixtures__/MockRouter.tsx core/src/useEventEmitter.tsx core/src/useNavigationCache.tsx core/src/useOnAction.tsx core/src/createNavigationContainerRef.tsx core/src/useOptionsGetters.tsx core/src/useFocusEffect.tsx core/src/useSyncState.tsx core/src/SceneView.tsx core/src/useDescriptors.tsx core/src/checkSerializable.tsx core/src/useOnPreventRemove.tsx core/src/useNavigationHelpers.tsx core/src/useFocusEvents.tsx core/src/EnsureSingleNavigator.tsx core/src/useOnGetState.tsx core/src/useIsFocused.tsx core/src/checkDuplicateRouteNames.tsx core/src/useRouteCache.tsx core/src/validatePathConfig.tsx core/src/useFocusedListenersChildrenAdapter.tsx core/src/getFocusedRouteNameFromRoute.tsx core/src/StaticContainer.tsx core/src/NavigationStateContext.tsx core/src/useNavigationState.tsx core/src/useComponent.tsx core/src/useRegisterNavigator.tsx core/src/useScheduleUpdate.tsx core/src/useOnRouteFocus.tsx core/src/useChildListeners.tsx core/src/useKeyedChildListeners.tsx core/src/isRecordEqual.tsx core/src/useNavigation.tsx core/src/isArrayEqual.tsx core/src/findFocusedRoute.tsx core/src/fromEntries.tsx core/src/createNavigatorFactory.tsx core/src/useRoute.tsx core/src/useNavigationContainerRef.tsx core/src/useCurrentRender.tsx core/src/NavigationBuilderContext.tsx core/src/NavigationContext.tsx core/src/NavigationContainerRefContext.tsx core/src/UnhandledActionContext.tsx core/src/Group.tsx core/src/NavigationRouteContext.tsx core/src/NavigationHelpersContext.tsx core/src/CurrentRenderContext.tsx core/src/Screen.tsx stack/src/views/Stack/CardStack.tsx stack/src/views/Stack/Card.tsx stack/src/views/Stack/StackView.tsx stack/src/views/Stack/CardContainer.tsx stack/src/views/Stack/CardSheet.tsx stack/src/views/Header/HeaderContainer.tsx stack/src/views/Header/HeaderSegment.tsx stack/src/views/Header/Header.tsx stack/src/views/ModalStatusBarManager.tsx stack/src/views/Screens.tsx stack/src/views/GestureHandlerNative.tsx stack/src/TransitionConfigs/CardStyleInterpolators.tsx stack/src/TransitionConfigs/HeaderStyleInterpolators.tsx stack/src/TransitionConfigs/TransitionPresets.tsx stack/src/TransitionConfigs/TransitionSpecs.tsx stack/src/utils/useKeyboardManager.tsx stack/src/utils/memoize.tsx stack/src/utils/getInvertedMultiplier.tsx stack/src/utils/getDistanceForDirection.tsx stack/src/utils/debounce.tsx stack/src/utils/useCardAnimation.tsx stack/src/utils/useGestureHandlerRef.tsx stack/src/utils/conditional.tsx stack/src/utils/ModalPresentationContext.tsx stack/src/navigators/createStackNavigator.tsx native/src/useLinking.tsx native/src/useLinking.native.tsx native/src/useLinkProps.tsx native/src/useScrollToTop.tsx native/src/NavigationContainer.tsx native/src/useLinkBuilder.tsx native/src/useLinkTo.tsx native/src/useThenable.tsx native/src/ServerContainer.tsx native/src/useBackButton.tsx native/src/extractPathFromURL.tsx native/src/theming/useTheme.tsx native/src/theming/ThemeContext.tsx native/src/theming/ThemeProvider.tsx native/src/theming/DarkTheme.tsx native/src/theming/DefaultTheme.tsx native/src/Link.tsx native/src/LinkingContext.tsx native/src/useDocumentTitle.native.tsx native/src/ServerContext.tsx routers/src/StackRouter.tsx routers/src/TabRouter.tsx routers/src/DrawerRouter.tsx routers/src/BaseRouter.tsx routers/src/CommonActions.tsx drawer/src/views/legacy/Drawer.tsx drawer/src/views/legacy/Overlay.tsx drawer/src/views/DrawerView.tsx drawer/src/views/DrawerItem.tsx drawer/src/views/DrawerItemList.tsx drawer/src/views/ScreenFallback.tsx drawer/src/views/DrawerContentScrollView.tsx drawer/src/views/DrawerContent.tsx drawer/src/views/DrawerToggleButton.tsx drawer/src/views/GestureHandlerNative.tsx drawer/src/views/assets/toggle-drawer-icon.png drawer/src/navigators/createDrawerNavigator.tsx drawer/src/utils/getDrawerStatusFromState.tsx drawer/src/utils/useDrawerProgress.tsx drawer/src/utils/useDrawerStatus.tsx drawer/src/utils/DrawerStatusContext.tsx bottom-tabs/src/views/BottomTabBar.tsx bottom-tabs/src/views/BottomTabItem.tsx bottom-tabs/src/views/BottomTabView.tsx bottom-tabs/src/views/Badge.tsx bottom-tabs/src/views/ScreenFallback.tsx bottom-tabs/src/views/TabBarIcon.tsx bottom-tabs/src/navigators/createBottomTabNavigator.tsx bottom-tabs/src/utils/useIsKeyboardShown.tsx bottom-tabs/src/utils/useBottomTabBarHeight.tsx elements/src/Header/Header.tsx elements/src/Header/HeaderBackButton.tsx elements/src/Header/getDefaultHeaderHeight.tsx elements/src/Header/getHeaderTitle.tsx elements/src/Header/HeaderTitle.tsx elements/src/Header/useHeaderHeight.tsx elements/src/Header/HeaderBackground.tsx elements/src/Header/HeaderBackContext.tsx elements/src/Header/HeaderHeightContext.tsx elements/src/Header/HeaderShownContext.tsx elements/src/PlatformPressable.tsx elements/src/Screen.tsx elements/src/ResourceSavingView.tsx elements/src/SafeAreaProviderCompat.tsx elements/src/getNamedContext.tsx elements/src/MaskedViewNative.tsx elements/src/Background.tsx elements/src/MissingIcon.tsx elements/src/assets/back-icon-mask.png elements/src/assets/back-icon.png elements/src/index.tsx native-stack/src/views/NativeStackView.native.tsx native-stack/src/views/HeaderConfig.tsx native-stack/src/views/DebugContainer.native.tsx native-stack/src/views/FontProcessor.native.tsx native-stack/src/navigators/createNativeStackNavigator.tsx material-top-tabs/src/views/MaterialTopTabBar.tsx material-top-tabs/src/views/MaterialTopTabView.tsx material-top-tabs/src/navigators/createMaterialTopTabNavigator.tsx material-bottom-tabs/src/views/MaterialBottomTabView.tsx material-bottom-tabs/src/navigators/createMaterialBottomTabNavigator.tsx

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 3 files from the diff.

@@ -142,7 +142,7 @@
Loading
142 142
    gestureEnabled,
143 143
    header,
144 144
    headerShown,
145 -
    animationTypeForReplace = 'pop',
145 +
    animationTypeForReplace = 'push',
146 146
    animation,
147 147
    orientation,
148 148
    statusBarAnimation,
@@ -162,8 +162,9 @@
Loading
162 162
    ? headerShown
163 163
    : presentation === 'card' && headerShown !== false;
164 164
165 -
  const isParentHeaderShown = React.useContext(HeaderShownContext);
166 165
  const insets = useSafeAreaInsets();
166 +
167 +
  const isParentHeaderShown = React.useContext(HeaderShownContext);
167 168
  const parentHeaderHeight = React.useContext(HeaderHeightContext);
168 169
  const headerHeight = getDefaultHeaderHeight(
169 170
    useSafeAreaFrame(),

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
packages 74.43%
Project Totals (160 files) 74.43%
Loading