chore: groundwork for activity page
This commit is contained in:
1 parent
dc5d12348c
commit
8907bb49fe
11 files changed
+732
-2
No files matched your search
@@ -305,3 +305,23 @@ Added by the Media screens, none of which exist yet:
|
||||
| Unattended run | Settings | No toast. Updated on next visit |
|
||||
|
||||
401 and 403 are global and have no local copy.
|
||||
|
||||
## Added with Activity
|
||||
### Activity
|
||||
| State | Surface | Behaviour |
|
||||
|---|---|---|
|
||||
| Default | `/activity` | Strip, filters, day-grouped table, pagination |
|
||||
| Loading | `/activity` | Skeleton strip and rows after 150 ms |
|
||||
| Zero-value strip | `/activity` | Failed and Security show a calm 0 |
|
||||
| Filtered | `/activity` | Chips and "Clear all"; a strip card applies its filter |
|
||||
| Empty, no activity | `/activity` | "No activity yet"; Export disabled |
|
||||
| Empty, no match | `/activity` | "No activity matches these filters" with "Clear filters" |
|
||||
| Error | `/activity` | "Couldn't load activity" with "Try again"; the strip may still show |
|
||||
| Forbidden (403) | `/activity` | "You can't view this activity." with "Back to home" |
|
||||
| Details | Slide-over / bottom sheet | Sentence, time, actor, source, target, reason, changes, previous and next |
|
||||
| My activity | `/activity` | No strip, Person filter or Export; own events only |
|
||||
| Export | Header button, toasts | "Preparing file…", then "Export started. Your file will download shortly." or "Couldn't export activity. Try again." |
|
||||
| Home card | `/home` | Owner or admin, regular user, loading, error, empty |
|
||||
| Retention | `/settings` | Default, shortening (confirm), Forever, save error |
|
||||
|
||||
401 is global. The 403 on `/activity` has local copy because the page itself is refused; the 403 on the summary or export of a non-admin is never shown, since the controls are hidden.
|
||||
Reference in new issue
Block a user