Enhance error handling and user feedback across team settings routes with Suspense and Nimbus error boundaries#1633
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.