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

fix: add ErrorBoundary on main layout when error occurred during fetching TOTP checker #2380

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

lizable
Copy link
Contributor

@lizable lizable commented Apr 29, 2024

This PR resolves error handling strategy to show "custom error boundary" rather than default error boundary page provided by react-router.

Checklist: (if applicable)

  • Mention to the original issue
  • Documentation
  • Minimum required manager version
  • Specific setting for review (eg., KB link, endpoint or how to setup)
  • Minimum requirements to check during review
  • Test case(s) to demonstrate the difference of before/after

@lizable lizable requested a review from yomybaby April 29, 2024 03:16
@lizable lizable self-assigned this Apr 29, 2024
@github-actions github-actions bot added the size:XS ~10 LoC label Apr 29, 2024
@lizable lizable added type:fix Fix features that are not working impact:visible This change is visible to users. urgency:blocker IT SHOULD BE RESOLVED BEFORE DISTRIBUTING and removed size:XS ~10 LoC labels Apr 29, 2024
Copy link

github-actions bot commented Apr 29, 2024

Coverage report for ./react

St.
Category Percentage Covered / Total
🔴 Statements
3% (+0% 🔼)
118/3939
🔴 Branches
3.27% (+0.02% 🔼)
87/2662
🔴 Functions
1.46% (+0% 🔼)
19/1304
🔴 Lines
2.95% (+0% 🔼)
114/3862

Test suite run success

32 tests passing in 4 suites.

Report generated by 🧪jest coverage report action from 19758a8

@lizable lizable added this to the 23.09 milestone Apr 29, 2024
@lizable lizable marked this pull request as ready for review April 30, 2024 01:36
@github-actions github-actions bot added the size:L 100~500 LoC label Apr 30, 2024
Copy link
Member

@yomybaby yomybaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yomybaby yomybaby merged commit a70951d into main Apr 30, 2024
7 checks passed
@yomybaby yomybaby deleted the fix/set-error-boundary-on-fetching-force-totp-checking branch April 30, 2024 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact:visible This change is visible to users. size:L 100~500 LoC type:fix Fix features that are not working urgency:blocker IT SHOULD BE RESOLVED BEFORE DISTRIBUTING
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants