Skip to content

Business Dashboard: should handle error if business id is invalid #26289

Closed

Activity

  1. added
    bug
    Entities Team
    on Mar 4, 2025
  2. Rajandeep98 commented on Mar 10, 2025

    @Rajandeep98
    Collaborator

    @jacqueline-williams-549 hey jacqueline, could you please validate the error dialog text for this ticket. ty
    image.png

  3. jacqueline-williams-549 commented on Mar 10, 2025

    @jacqueline-williams-549

    @Rajandeep98

    Sure, no problem.

    The only scenario in which this error displays is when the someone enters a URL with an invalid business ID?
    Screenshot 2025-03-10 at 4.42.10 PM.png

  4. Rajandeep98 commented on Mar 11, 2025

    @Rajandeep98
    Collaborator
  5. severinbeauvais commented on Mar 11, 2025

    @severinbeauvais
    CollaboratorAuthor

    Rajan, what dialog is displayed if there's a failure to fetch business contact info, or any data from Legal API?

  6. Rajandeep98 commented on Mar 11, 2025

    @Rajandeep98
    Collaborator

    @severinbeauvais can we use the same dialog but pull message from the error to somehow show to the user for more clarification?

  7. severinbeauvais commented on Mar 11, 2025

    @severinbeauvais
    CollaboratorAuthor

    What dialog is currently being displayed for fetch errors, if any?

    We could use the same dialog, or another dialog, but we should absolutely tell the user there's an error and tell them what they can do.

    I'll leave it up to @jacqueline-williams-549 whether a general error message, or more specific error messages, are appropriate. Note that we have locales with EN and FR language strings that should be used.

  8. severinbeauvais commented on Mar 12, 2025

    @severinbeauvais
    CollaboratorAuthor

    I increased the estimate as we're looking how other errors are handled and may tie into that or have separate dialogs. (If estimate is insufficient, let's discuss as we may want to break this down into separate tickets.)

    See update UI designs for the errors we detect and the dialogs that are displayed.

  9. jacqueline-williams-549 commented on Mar 12, 2025

    @jacqueline-williams-549

    Design Link - Updated on March 12, 2025

    Severin has reviewed designs and updates were made based on feedback.

    @Rajandeep98 - Please call or message me if you have questions. I have split it out into 3 modals - the scenarios are explained below each design

    @Mihai-QuickSilverDev - Mihai if you would like to review the language I have tagged you here. This has only been reviewed with Severin so far. Please let me know if anyone else needs eyes on this.

  10. Rajandeep98 commented on Mar 14, 2025

    @Rajandeep98
    Collaborator

    image.png

  11. severinbeauvais commented on Mar 18, 2025

    @severinbeauvais
    CollaboratorAuthor

    Test Notes

    The following scenarios should display an error. See UI design (link above) for various dialogs.

    1. missing business id in URL
    2. invalid business id in URL (eg, BCabcdefg)
    3. a valid business id that my current account isn't authorized to see
    4. a valid business id that isn't in this database (eg, looking for a Test business in Dev)
    5. if any fetch/get calls fails for any reason
    6. possibly, if the response from a successful call is invalid (eg, expected data not found) -- I don't know if this app has any of these
    7. anything else you can think of

    Rajan, please provide a set of test URLs to demonstrate the above, and whether we need to be logged in with a particular account or staff. Thanks.

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

Metadata

Metadata

Labels

Entities TeamPriority3bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions