Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix error messages in workspacesXService #3096

Closed
Labels
siteArea: frontend dashboardstaleThis issue is like stale bread.
@presleyp

Description

@presleyp

Problem

The frontend does not always display the error messages sent from the backend, and even when it does, it does not display thedetail that is sometimes sent along with it.

Definition of done

  • There are no uses ofdisplayError in this XService. To replace the error snackbar, renderErrorSummary in the relevant components with thedismissible prop. This way, the user can expand the error detail if desired without the snackbar disappearing too soon.
  • There are no uses ofgetFormHelpers in the components that consume errors from this XService. Switch togetFormHelpersWithError even if no error. (We will eventually rename it to replace the originalgetFormHelpers.)
  • The XService alwaysassigns the API error, rather than a hard-coded error message. If a hard-coded error message is needed as a fallback, send it as a prop toErrorSummary.
  • Errors are only unpacked/transformed inErrorSummary andgetFormHelpersWithError.
  • Storybook has a story for when the error(s) are showing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    siteArea: frontend dashboardstaleThis issue is like stale bread.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp