bcgov / bcgov/SIMS

Toast message: Duplicate offerings error warning required

Open
#6,223 3 comments 0 reactions 2 assignees Claimed by @Joshua-Lakusta View on GitHub
Business Institution
Dominant language
TypeScript
Stars
29
Forks
15
PR merge metrics
No merged PRs in 30d

Description

As an institution user, I want to have a more intuitive toast message when a duplicate offering is created

When an offering with the same name, year of study, study start date and study end date has occurred.

A user friendly error message such as: "Duplication error: An offering with the same name, year of study, study start date and study end date has occurred. Please review and fix the error."

#### Acceptance Criteria

- [ ] Create a new red failure toast message to display when there is duplicate offering that has the same name, year of study, study start date and study end date to the following:

> Duplication error: An offering with the same name, year of study, study start date and study end date has occurred.

Current:
Red warning: "Unexpected error happening while creating the offering" is displayed

image.png

Developer tools item
image.png

Context:
SBST - 4704
-Manual offering with same offering name, year of study, study start date and study end date that are the exact same will display the error.

-Bulk upload: Institution uploads a file with the wrong date and changes the dates another offering

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.