Appearance
Global calendar
The most important part. Everything time-bound is an event on one global calendar. Each user sees a filtered view of it. The calendar is tied to outputs: if it is not on the calendar, nobody will do it.
Event types declare who can see them
event_type is a table (owner-editable in Settings), not an enum in code:
| Field | Meaning |
|---|---|
key, label, colour, icon | Display |
visible_to | Roles that can ever see this type |
scope | Which events of this type a viewer sees: all, assigned_crew (crew assigned to the event's client/video), own_client (the client business it belongs to), own_sales (the salesperson who owns the lead) |
client_visible_fields | What a client sees (internal notes, crew names, lead links are always redacted for clients) |
generated | True if the system creates/moves it from a rule (Content schedule) rather than a person |
Clarification (spec 1.0.0 notes)
The scope list above has no value for "own" rows such as payday and personal unavailability, which belong to one user. The code adds own_user for them. Seed data: packages/domain/src/events.ts.
Starting event types:
| Type | Owner | Sales | Videographer | Editor | Client |
|---|---|---|---|---|---|
| Discovery call (booked from the form) | ✓ | own | |||
| Shoot day | ✓ | assigned | assigned | own | |
| Script delivery (shoot − 4 days) | ✓ | assigned | assigned | own | |
| Script approval / change deadline (shoot − 3 days) | ✓ | assigned | own | ||
| Footage hand-off (videographer → editor) | ✓ | assigned | assigned | ||
| Edit due | ✓ | assigned | |||
| Internal review due | ✓ | assigned | assigned | ||
| Release to client | ✓ | assigned | assigned | own | |
| Client review deadline (release + 2 days) | ✓ | assigned | assigned | own | |
| Approved / success marker | ✓ | assigned | assigned | own | |
| Posting date | ✓ | own | |||
| Payday / payout | ✓ | own | own | own | |
| Contract renewal | ✓ | own | |||
| Client's own to-do items with a date | own | ||||
| Personal / unavailable (crew) | ✓ | own | own |
Calendar behaviour
- Views: month, week, agenda (list). Agenda is the default on phones.
- An event can link to a client, a lead, a video and several assignees at once.
- Generated events move with their anchor: move the shoot day and its script-delivery and approval-deadline events move too. Manually edited generated events are marked "overridden" and stop following the rule.
- Owner can drag to reschedule. Clients and crew cannot move events; they can only see them (and crew can mark unavailable days).
- When an event is created or moved, every affected user gets an in-app notification and an email (Notifications and jobs).
- Optional later: iCal feed per user (read-only, token URL).