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

[Institution profile] Page-level error for API issues #1031

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

meissadia
Copy link
Collaborator

@meissadia meissadia commented Oct 28, 2024

Closes #1030

Changes

  • Render page-level error alert for API errors, as opposed to rendering a separate 500 page

How to test this PR

  1. Block API requests from the following source in Chrome dev tools:
    1. localhost:8881/v1/institutions/123456789TESTBANK123
  2. Visit http://localhost:8899/institution/123456789TESTBANK123
  3. Observe that things reflect the screenshot below.

Screenshots

Screenshot 2024-11-07 at 3 05 43 PM

@meissadia meissadia changed the title 1030 institution profile page level error [Institution profile] Page-level error for API issues Oct 28, 2024
@natalia-fitzgerald
Copy link

@meissadia
Can we update this error to show this?
Screenshot 2024-11-06 at 10 58 46 AM

@meissadia meissadia force-pushed the 1030-institution_profile-page_level_error branch from b83c959 to 76edbea Compare November 6, 2024 23:59
@meissadia meissadia marked this pull request as ready for review November 7, 2024 00:00
@meissadia
Copy link
Collaborator Author

@natalia-fitzgerald Implementation updated to match you mockup. Screenshot updated above.

@natalia-fitzgerald
Copy link

@meissadia
The screenshot looks good - just need to add the underline to the link.

Copy link

@natalia-fitzgerald natalia-fitzgerald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@meissadia
The only small change I have is to add the underline to the link. Looks good!

@meissadia
Copy link
Collaborator Author

Updated to address missing underline for email link. Screenshot updated to show latest state.

@meissadia meissadia merged commit e0a550a into main Nov 7, 2024
10 checks passed
@meissadia meissadia deleted the 1030-institution_profile-page_level_error branch November 7, 2024 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[View Institution profile] Page level error alerts
2 participants