Incidents: add the ability to document notes on a reported incident
See original GitHub issue🚀 Feature Proposal
Add the ability to document notes onto a reported incident.
Motivation
During the incident’s lifespan, there will be need to add multiple notes relating to the incident.
Technical Details
Incident Model
Add an optional notes field which hold multiple notes objects
notes?: Note[]
Note Model
Add an optional givenBy field which will store the currently logged in user writing the note.
givenBy?: string
Incident View/Edit
On the incident view/edit form, at the bottom
- Add a Notes sections
In the notes section:
- Add a “+ Add New Note” button which opens a popup to add a new note to the incident
- Display a table of already existing notes, showing the following fields: date, givenBy, note, actions
- The Actions column will have buttons to Edit or Delete the note
NOTE: See patient view’s add note popup for an example of how this should look/work.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Are You Filing Incident Reports Properly? - NSO
Filling Out an Effective Incident Report Include the full names of those involved and any witnesses, as well as any information you have...
Read more >Incident Report | Free Risks & Hazards Forms - SafetyCulture
An incident report is a tool that documents any event that may or may not have caused injuries to a person or damage...
Read more >Incident Report: What is it & How to Write it the Right Way!
An incident report is a document that formally records all data related to all workplace accidents, illnesses, injuries, damages, and even near misses....
Read more >How To Document An Incident Efficiently and Effectively
Email is the best way to document an incident, so that you will have a record of your documentation. It is also best...
Read more >How to Write an Effective Incident Report [Templates]
This ultimate guide (with templates) explains what an incident report is, the information to include in an incident report and how to format ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Good idea. That would be great for UX consistency; We will log a separate issue for it.
You can get the current user from the redux store, which currently has mock data inside of it. You can see an example of how to do that in the report incident functionality.