Skip to content

Commit

Permalink
BHBC-2145, 2087: Occurrence messaging refactoring; Submission message…
Browse files Browse the repository at this point in the history
… type for mismatched focal species (#913)

* BHBC-2145: Occurrence messaging refactoring; Submission message type for mismatched focal species.

* Refactored the way that submission messages are rendered by the SurveyOccurrences component

* Clean-up around SurveyOccurrences component logic + API queries

* Fixed a bug that persists a "Failed to get file from S3" submission message

* Amended messaging related to template species not matching the focal species of a survey
  • Loading branch information
curtisupshall authored Jan 26, 2023
1 parent 03b793f commit c2ddb87
Show file tree
Hide file tree
Showing 22 changed files with 1,877 additions and 1,063 deletions.
3 changes: 2 additions & 1 deletion api/src/constants/status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ export enum SUBMISSION_MESSAGE_TYPE {
'INVALID_MEDIA' = 'Media is invalid',
'INVALID_XLSX_CSV' = 'Media is not a valid XLSX CSV file.',
'UNSUPPORTED_FILE_TYPE' = 'File submitted is not a supported type',
'NON_UNIQUE_KEY' = 'Duplicate Key(s) found in file.'
'NON_UNIQUE_KEY' = 'Duplicate Key(s) found in file.',
'MISMATCHED_TEMPLATE_SURVEY_SPECIES' = 'Mismatched template with survey focal species'
}

export enum MESSAGE_CLASS_NAME {
Expand Down
Loading

0 comments on commit c2ddb87

Please sign in to comment.