Generic notes?
This is a proposal for a more generic note implementation (not the show note that is assigned to a timeslot but more like general remarks on $stuff). In order to avoid further confusion I call them remarks :)! I’m not sure it is needed but given the talks about the internal_note
that is provided with the show model I was wondering if we need a more flexible and powerful implementation. Feel free to close this issue, if what we have is all we need.
Remarks:
- can be assigned to any type of object [1]
- are ordered by their time of creation and their pinned state,
- are assigned to a profile that represents the user that has created the remark
- have a free text field for content
Things we could implement:
- Remarks could be bound to permissions. Admins see all notes, normal users see only their own and public remarks.
- file attachments
I’ve added a possible UI for this as part of the designs.
[1] This point is more about the architecture of the implementation. Django provides the contenttypes framework that let’s us implement generic relations to any type of object in the steering database. In which views and for which objects we would actually allow remarks to be created is a question of the dashboard interface. Just because every type of object can have notes, doesn’t mean it should.