-
Notifications
You must be signed in to change notification settings - Fork 4
Enhance error handling and user feedback across team settings routes with Suspense and Nimbus error boundaries #1633
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
base: 11-19-_ts-api-react-actions_enhance_error_handling_in_api_actions_and_hooks_with_user-facing_error_mapping
Are you sure you want to change the base?
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
bd556b5 to
f33adae
Compare
cd40580 to
5ac0d36
Compare
…with Suspense and Nimbus error boundaries
5ac0d36 to
de2572f
Compare
f33adae to
e89f0de
Compare
| import type { Route } from "./+types/Team"; | ||
| import "./Team.css"; | ||
| import { throwUserFacingPayloadResponse } from "cyberstorm/utils/errors/userFacingErrorResponse"; | ||
| import { handleLoaderError } from "cyberstorm/utils/errors/handleLoaderError"; |
Check failure
Code scanning / ESLint
Ensure code is properly formatted, use insertion, deletion, or replacement to obtain desired formatting. Error
| import "./Team.css"; | ||
| import { throwUserFacingPayloadResponse } from "cyberstorm/utils/errors/userFacingErrorResponse"; | ||
| import { handleLoaderError } from "cyberstorm/utils/errors/handleLoaderError"; | ||
| import { createNotFoundMapping } from "cyberstorm/utils/errors/loaderMappings"; |
Check failure
Code scanning / ESLint
Ensure code is properly formatted, use insertion, deletion, or replacement to obtain desired formatting. Error
| import { throwUserFacingPayloadResponse } from "cyberstorm/utils/errors/userFacingErrorResponse"; | ||
| import { handleLoaderError } from "cyberstorm/utils/errors/handleLoaderError"; | ||
| import { createNotFoundMapping } from "cyberstorm/utils/errors/loaderMappings"; | ||
| import { SkeletonBox } from "@thunderstore/cyberstorm"; |
Check failure
Code scanning / ESLint
Ensure code is properly formatted, use insertion, deletion, or replacement to obtain desired formatting. Error
| import { handleLoaderError } from "cyberstorm/utils/errors/handleLoaderError"; | ||
| import { createNotFoundMapping } from "cyberstorm/utils/errors/loaderMappings"; | ||
| import { SkeletonBox } from "@thunderstore/cyberstorm"; | ||
| import { Suspense } from "react"; |
Check failure
Code scanning / ESLint
Ensure code is properly formatted, use insertion, deletion, or replacement to obtain desired formatting. Error
| import { | ||
| NimbusAwaitErrorElement, | ||
| NimbusDefaultRouteErrorBoundary, | ||
| } from "cyberstorm/utils/errors/NimbusErrorBoundary"; |
Check failure
Code scanning / ESLint
Ensure code is properly formatted, use insertion, deletion, or replacement to obtain desired formatting. Error
| SkeletonBox, | ||
| useToast, | ||
| } from "@thunderstore/cyberstorm"; | ||
| import { |
Check failure
Code scanning / ESLint
Ensure code is properly formatted, use insertion, deletion, or replacement to obtain desired formatting. Error
| teamAddMember, | ||
| type TeamAddMemberRequestData, |
Check failure
Code scanning / ESLint
Ensure code is properly formatted, use insertion, deletion, or replacement to obtain desired formatting. Error
| teamRemoveMember, | ||
| UserFacingError, |
Check failure
Code scanning / ESLint
Ensure code is properly formatted, use insertion, deletion, or replacement to obtain desired formatting. Error
| teamRemoveMember, | ||
| UserFacingError, | ||
| formatUserFacingError, | ||
| } from "@thunderstore/thunderstore-api"; |
Check failure
Code scanning / ESLint
Ensure code is properly formatted, use insertion, deletion, or replacement to obtain desired formatting. Error
| import { type OutletContextShape } from "app/root"; | ||
| import { makeTeamSettingsTabLoader } from "cyberstorm/utils/getLoaderTools"; | ||
| import { useStrongForm } from "cyberstorm/utils/StrongForm/useStrongForm"; |
Check failure
Code scanning / ESLint
Ensure code is properly formatted, use insertion, deletion, or replacement to obtain desired formatting. Error

No description provided.