Skip to content
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

Marketplace Pages - Error Handling unavailable #890

Closed
jjeroch opened this issue Jun 25, 2024 · 1 comment
Closed

Marketplace Pages - Error Handling unavailable #890

jjeroch opened this issue Jun 25, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jjeroch
Copy link
Contributor

jjeroch commented Jun 25, 2024

Description:

Enhancement of the existing App and Service Marketplace Page handling for the case of an API error.
The frontend component should be able to detect and properly handle the following error responses from the API:

  1. Empty API Response - When the API returns an empty api response, the UI should inform the user that no data is available instead of displaying a blank page or a broken component. `//Please check, likely this is already implemented

  2. API Response 401 Error (Unauthorized) - Upon receiving a 401 error, the UI should prompt the user the info that the API load was unsuccessful

image
  1. API Response 403 Error (Forbidden) - If a 403 error is encountered, the UI should prompt the user the info that the API load was unsuccessful due to missing permission. Example design see below - NOTE: dont provide a reload
image
  1. API Response 50x Errors (Server Errors) - The UI should handle server-side errors by displaying a user-friendly message that an error has occurred and offer to retry the request or return to a previous stable state.

    • Implement a catch-all error handler for all 50x server errors to display a generic "Something went wrong" message.
    • Provide the user with the option to retry the action that caused the error or to report the issue.
image

As-Is

image image
@jjeroch jjeroch added the bug Something isn't working label Jun 25, 2024
@jjeroch jjeroch added this to the Release 2.1.0 milestone Jun 25, 2024
@jjeroch jjeroch added this to Portal Jun 25, 2024
@github-project-automation github-project-automation bot moved this to NEW USER REQUEST in Portal Jun 25, 2024
@jjeroch jjeroch moved this from NEW USER REQUEST to BACKLOG in Portal Jun 25, 2024
@jjeroch
Copy link
Contributor Author

jjeroch commented Jun 25, 2024

Linked ticket: #888

@lavanya-bmw lavanya-bmw self-assigned this Jun 26, 2024
@lavanya-bmw lavanya-bmw moved this from BACKLOG to IN PROGRESS in Portal Jun 28, 2024
@lavanya-bmw lavanya-bmw moved this from IN PROGRESS to IN REVIEW in Portal Jul 17, 2024
@evegufy evegufy closed this as completed Oct 24, 2024
@github-project-automation github-project-automation bot moved this from IN REVIEW to USER READY in Portal Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants