Contact Notes Widget
Component Detail
User Interface
medium complexity
mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Scrollable timeline widget that renders chronological notes tied to a contact, showing author, timestamp, and note body. Provides inline add-note functionality and handles role-based visibility so only authorised users within the same organisation see sensitive notes.
contact-notes-widget
Responsibilities
- Render chronological list of notes with metadata
- Provide inline note creation form
- Enforce role-based visibility rules
- Support delete and edit of own notes
Interfaces
loadNotes(contactId: String)
addNote(contactId: String, body: String)
editNote(noteId: String, body: String)
deleteNote(noteId: String)
canViewNote(note: ContactNote, user: AppUser)
renderNoteItem(note: ContactNote)