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

feat: make the "loading" message be accurate #188

Conversation

deborahgu
Copy link
Member

@deborahgu deborahgu commented Sep 29, 2023

  • While a program record is loading we now get a loading message instead of an error message
  • spun off a second private ticket APER-2924, to fix the API problem which makes it impossible to accurately report that a URL is invalid
  • Left translation strings in place because that method theoretically will be replaced in the follow-up ticket

FIXES: APER-2190

* While a program record is loading we now get a loading message
* spun off a second private ticket APER-2924, to fix the API problem
  which makes it impossible to accurately report that a URL is invalid
* Left the stub method in place because I didn't want to lose the
  translation strings people have made.

FIXES: APER-2190
* Getting rid of the 404 test with the old error message
* replacing with a no return test with the new loading message

FIXES: APER-2190
@codecov
Copy link

codecov bot commented Sep 29, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (944cbde) 69.60% compared to head (56130ed) 69.60%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #188   +/-   ##
=======================================
  Coverage   69.60%   69.60%           
=======================================
  Files          27       27           
  Lines         408      408           
  Branches       90       90           
=======================================
  Hits          284      284           
  Misses        123      123           
  Partials        1        1           
Files Coverage Δ
src/components/ProgramRecord/ProgramRecord.jsx 84.31% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@MaxFrank13 MaxFrank13 left a comment

Choose a reason for hiding this comment

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

This looks great! Thanks for addressing this. One minor suggestion that is not blocking is to use the Paragon Spinner component if you want to get a little fancy with it.

@deborahgu deborahgu merged commit 962f686 into master Oct 2, 2023
7 checks passed
@deborahgu deborahgu deleted the dkaplan1/APER-2190_page-you're-looking-for-is-unavailable-error-flashes-on-lr-mfe-before-program-record-has-rendered branch October 2, 2023 14:30
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.

2 participants