Skip to content

BRD - Add an error dialog when the action buttons fail #26607

Closed

Description

@JazzarKarim

When user clicks on Register now for example, if the call to https://legal-api-dev.apps.silver.devops.gov.bc.ca/api/v2/businesses?draft=true fails for whatever reason, we want to show an error dialog or some sort of error. Right now nothing happens.

Design: https://www.figma.com/design/6MBqd7QAijpl6OXLvLXmos/Errors?node-id=89-71&p=f&m=dev

Activity

  1. added
    Entities Team
    on Mar 19, 2025
  2. JazzarKarim commented on Mar 28, 2025

    @JazzarKarim
    CollaboratorAuthor

    UX/QA Notes

    Go to: https://business-registry-dev--pr-93-v2wi2vsr.web.app

    Try any action like "Register Now" or "Continue In Now":
    image.png

  3. janisrogers commented on Mar 31, 2025

    @janisrogers
    Collaborator

    @JazzarKarim The design does not have the X in the top right corner. (Our newer modals do, but this is using the older modal design)

  4. JazzarKarim commented on Mar 31, 2025

    @JazzarKarim
    CollaboratorAuthor

    @JazzarKarim The design does not have the X in the top right corner. (Our newer modals do, but this is using the older modal design)

    All the other dialogs have the X in the corner. Shall I remove it from here and all the other dialogs? The X is used as part of a common component between all the dialogs.

  5. janisrogers commented on Mar 31, 2025

    @janisrogers
    Collaborator

    I am basing this on Jacqueline's designs. I would prefer the newer designs that don't have the exclamation mark at the top. Can this wait until Jacqueline is back tomorrow? If not, can the X be in line with the exclamation mark instead of above it?

    Here is the design I am looking at:

    image.png

    Here is what a standard confimation modal usually looks like:

    image.png

  6. JazzarKarim commented on Mar 31, 2025

    @JazzarKarim
    CollaboratorAuthor

    I see. Yes, this for sure can wait for tomorrow. If you're OK with it, let's wait for tomorrow and see what she says.

  7. jacqueline-williams-549 commented on Apr 1, 2025

    @jacqueline-williams-549

    Decision to make the close (x) icon inline with the round warning icon

  8. JazzarKarim commented on Apr 1, 2025

    @JazzarKarim
    CollaboratorAuthor
  9. jacqueline-williams-549 commented on Apr 1, 2025

    @jacqueline-williams-549

    I removed the last comment because I tested with the wrong link, this looks amazing. Thank you Karim!

    Screenshot 2025-04-01 at 4.15.46 PM.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Entities Team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions