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

nada/fix: handle tab switching when changing language #106

Merged
merged 1 commit into from
Jun 7, 2024
Merged

nada/fix: handle tab switching when changing language #106

merged 1 commit into from
Jun 7, 2024

Conversation

nada-deriv
Copy link
Contributor

@nada-deriv nada-deriv commented Jun 7, 2024

Screen.Recording.2024-06-07.at.12.19.50.PM.mov

Since the tab title is localized, and the tab components takes the tab title as the active tab, when switching the language, the tab doesn't work properly. hence need to pass the localized active tab to the tab component instead of the direct tab string.

this is a temporary fix, since changing the tab component to accept the index might affect the other apps.

@nada-deriv nada-deriv changed the title fix: handle tab switching when changing language nada/fix: handle tab switching when changing language Jun 7, 2024
Copy link

github-actions bot commented Jun 7, 2024

Preview Link: https://nada-tab-switch-issu.deriv-p2p-app.pages.dev

Name Result
Build status Completed ✅
Preview URL Visit Preview
Action URL Visit Action

@coveralls
Copy link

coveralls commented Jun 7, 2024

Pull Request Test Coverage Report for Build 9414017046

Details

  • 5 of 5 (100.0%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 75.266%

Totals Coverage Status
Change from base Build 9412921424: 0.01%
Covered Lines: 4392
Relevant Lines: 5285

💛 - Coveralls

@coveralls
Copy link

coveralls commented Jun 7, 2024

Pull Request Test Coverage Report for Build 9414015516

Details

  • 5 of 5 (100.0%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 75.266%

Totals Coverage Status
Change from base Build 9412921424: 0.01%
Covered Lines: 4392
Relevant Lines: 5285

💛 - Coveralls

@coveralls
Copy link

coveralls commented Jun 7, 2024

Pull Request Test Coverage Report for Build 9414051224

Details

  • 5 of 5 (100.0%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 75.266%

Totals Coverage Status
Change from base Build 9412921424: 0.01%
Covered Lines: 4392
Relevant Lines: 5285

💛 - Coveralls

@farrah-deriv farrah-deriv merged commit 8d502a2 into deriv-com:master Jun 7, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants