System Announcements - UI - Pages, Dashboards, and Forms 3/3 (Edit)
- Dominant language
- TypeScript
- Stars
- 29
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
As a Ministry user, I need to be able to publish banners on the various SIMS sites for different users, to notify about system changes or outages. These can be shown prior to users being authenticated on the login pages for Supporting Users, Students, and Institutions. They can also be shown to authenticated users after login: Institutions, Ministry, Students (not Supporting users). This announcement will be on the page on login (Home), it is not dismissible, but does not follow the user as they navigate. There can be multiple announcements within the same banner for each portal.
See also #3172 and #3175. Examples of announcements in the epic.
## **Acceptance Criteria**
### Edit Page
- [ ] Should be the same form as on the create notification page _Fig1_
- [ ] Instead of "Create Notification", it should say "Edit Announcement"
- [ ] If the start date is in the past or today's date (Active status),
- [ ] start date must be disabled
- [ ] show a red Deactivate button at the bottom of the form beside cancel (IGNORE EDIT DRAFT) _Fig2_
- [ ] If the start date is in the future (Scheduled), allow the start date to be changed and enforce no backdating (today but not yesterday)
- [ ] Deactivating pops up a modal to have the user confirm. _Fig 3_
> Please confirm you no longer require this system announcement.
> Confirming deactivation will have the following effect:
> Scheduled announcements will no longer be accessible or listed under Historical announcements.
> Active announcements will become inactive in the Historical announcements and no longer appear in the portal(s) it was published to.
**Business Context**
_Fig 1:_

_Fig 2:_
_Fig 3:_

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.