Skip to content
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: [IOAPPX-476] Change StatusBar style according to the current color scheme #6680

Open
wants to merge 38 commits into
base: master
Choose a base branch
from

Conversation

dmnplb
Copy link
Contributor

@dmnplb dmnplb commented Feb 3, 2025

Short description

This PR adds a StatusBar that changes its style according to the color scheme of the app.

List of changes proposed in this pull request

  • Add a StatusBar with a specific color scheme condition in the AppStackNavigator

Preview

Note

Please focus on the statusbar on the top while playing the videos

Before After
sb-darkmode-before.mp4
sb-darkmode-after.mp4

How to test

Change the color scheme of your app from Dev Settings and randomly check the headers of the screens. Focus your attention on the screens with an existing specific StatusBar behavior.

Copy link
Contributor

github-actions bot commented Feb 3, 2025

Jira Pull Request Link

This Pull Request refers to Jira issues:

Copy link
Contributor

github-actions bot commented Feb 3, 2025

PR Title Validation for conventional commit type

All good! PR title follows the conventional commit type.

Copy link

codecov bot commented Feb 3, 2025

Codecov Report

Attention: Patch coverage is 55.00000% with 9 lines in your changes missing coverage. Please review.

Project coverage is 50.34%. Comparing base (6d90444) to head (816cb3e).

Files with missing lines Patch % Lines
ts/features/design-system/DesignSystem.tsx 0.00% 3 Missing ⚠️
...es/design-system/components/DesignSystemScreen.tsx 0.00% 3 Missing ⚠️
...n/screens/merchants/CgnMerchantsListByCategory.tsx 0.00% 2 Missing ⚠️
.../components/BonusCard/BonusCardScreenComponent.tsx 87.50% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6680      +/-   ##
==========================================
+ Coverage   50.30%   50.34%   +0.04%     
==========================================
  Files        1563     1563              
  Lines       32510    32500      -10     
  Branches     7350     7301      -49     
==========================================
+ Hits        16353    16362       +9     
+ Misses      16117    16098      -19     
  Partials       40       40              
Files with missing lines Coverage Δ
ts/components/ui/AppHeader.tsx 100.00% <ø> (ø)
ts/components/ui/FocusAwareStatusBar.tsx 100.00% <100.00%> (ø)
...nus/cgn/components/merchants/ModuleCgnDiscount.tsx 94.44% <ø> (ø)
...omponents/merchants/discount/CgnDiscountHeader.tsx 100.00% <ø> (ø)
ts/features/bonus/cgn/screens/CgnDetailScreen.tsx 4.83% <ø> (ø)
...s/cgn/screens/discount/CgnDiscountDetailScreen.tsx 69.30% <ø> (ø)
...eens/merchants/CgnMerchantCategoriesListScreen.tsx 55.55% <100.00%> (+1.01%) ⬆️
ts/features/bonus/cgn/utils/filters.ts 100.00% <ø> (ø)
...eatures/design-system/core/DSDynamicBackground.tsx 17.64% <ø> (ø)
ts/features/fci/components/ErrorComponent.tsx 70.00% <ø> (ø)
... and 8 more

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6d90444...816cb3e. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants