Create / Update Banner in Ministry Portal
- 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.
### **Acceptance Criteria**
- [ ] new nav menu item for "Notifications" _see bottom left of Fig 1_
- [ ] new page displaying all banners (historical and active/scheduled/draft) _see Fig 1_
- [ ] Main dashboard has a button to create banners "Add Notification" which goes to the create screen _see Fig 2_
- [ ] Add Notification Banner form has 6 fields:
- Name _(required, not unique)_
- Portal _(minimum one required, can select all)_
- Start Date _(required)_
- Message _(required): Maximum of 250 characters. Please include simple formatting options like bold/italics and hyperlinks. (not shown in mock-up, please add/enable)._
- [ ] 5 different portals that banners can be shown in:
- authenticated institution portal - "Institution"
- unauthenticated student portal - "Unverified Student"
- authenticated student portal - "Student"
- authenticated ministry portal - "Ministry"
- supporting user portal - "Supporting User"
- [ ] notification banner statuses:
- Active (start date today or in the future)
- Scheduled (we are not at the start date)
- Inactive (has been deactivated)
- [ ] When **Creating** a banner (Fig 2) there are three actions at the bottom of the form:
- Cancel: This discards any changes and returns to the main dashboard (Fig 1)
- Publish: This will save the notification and make it Active or Scheduled depending on the start date.
- [ ] When **Editing** a banner (Fig 3) there are four actions at the bottom of the form:
- Cancel: This discards any changes and returns to the main dashboard (Fig 1)
- Deactivate: This creates a modal pop-up (Fig 4) and will effectively delete any Draft or Scheduled banner and change any Active banner to "Inactive" and return to the main dashboard (Fig 1)
- Publish: This will save any changes to the details and make it Active or Scheduled depending on the start date.
- [ ] When Editing a banner that is "Active" (Not Draft or Scheduled) disable the Start Date field as we cannot enforce no backdated start dates.
- [ ] Banners can be published with a future start date, any "Scheduled" banners, will automatically become active on the start date.
**Business Context**
_Fig 1:_
_Fig 2:_
_Fig 3:_
_Fig 4:_

**Institution Banner Location**

**Student Portal Announcements**

**Unverified Student Announcements**

**Supporting Users Account**
/image.png" alt="image.png" />
**Ministry Announcements**

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