You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is intended as a tracker for the idea and implementation of the logbook feature.
My current idea was:
Add Logbook interface to /api/event, which will contain the current set of logbook entries
A photo type for /api/upload, which takes a photo which then gets stored on the server. This endpoint would return a Photo ID.
A logbook-entry type for /api/upload, with fields for subject, message, senior_only, photos and notify. notify would have a value of "nobody", "senior" or "everyone". On finish, the server may notify the people requested about the new logbook entry (but whether this is implemented depends on the server).
A logbook-viewed type for /api/upload, with a field for entryID, which would make the server mark that the user viewed a particular logbook entry.
The Logbook interface for /api/event would contain a list of logbook entries, where each has fields for entry ID, subject, message, senior_only, photos and viewedBy. Where the viewedBy value is a list of userTokens who have viewed the entry, possibly filtered by the server.
This issue is intended as a tracker for the idea and implementation of the logbook feature.
My current idea was:
Logbookinterface to/api/event, which will contain the current set of logbook entriesphototype for/api/upload, which takes a photo which then gets stored on the server. This endpoint would return a Photo ID.logbook-entrytype for/api/upload, with fields forsubject,message,senior_only,photosandnotify.notifywould have a value of "nobody", "senior" or "everyone". On finish, the server may notify the people requested about the new logbook entry (but whether this is implemented depends on the server).logbook-viewedtype for/api/upload, with a field forentryID, which would make the server mark that the user viewed a particular logbook entry.The
Logbookinterface for/api/eventwould contain a list of logbook entries, where each has fields forentry ID,subject,message,senior_only,photosandviewedBy. Where theviewedByvalue is a list ofuserTokens who have viewed the entry, possibly filtered by the server.What do you think?