-
Notifications
You must be signed in to change notification settings - Fork 17
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: informative errors on failure to download or create shared record #472
The head ref may contain hidden characters: "dkaplan1/APER-3170_silent-failure-attempting-to-click-\u201Ccreate-program-record-link\u201D"
feat: informative errors on failure to download or create shared record #472
Conversation
Adds user-facing errors if errors appear on download or creation of shared program record. FIXES: APER-3170
lint errors
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #472 +/- ##
==========================================
+ Coverage 70.87% 73.25% +2.37%
==========================================
Files 28 28
Lines 412 415 +3
Branches 89 89
==========================================
+ Hits 292 304 +12
+ Misses 119 110 -9
Partials 1 1 ☔ View full report in Codecov by Sentry. |
FIXES: APER-3170
@@ -268,7 +286,7 @@ ProgramRecordActions.propTypes = { | |||
renderBackButton: PropTypes.func.isRequired, | |||
username: PropTypes.string.isRequired, | |||
programUUID: PropTypes.string.isRequired, | |||
sharedRecordUUID: PropTypes.string.isRequired, | |||
sharedRecordUUID: PropTypes.string, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we make this not required, it is probably good to have it default to an empty string. We can do that with defaultProps
. Here is an example in the ProgramRecordAlert component.
Apologies for not catching this last week!
per code review
missing semicolon
Adds user-facing errors if errors appear on download or creation of shared program record.
FIXES: APER-3170