feat(activity): update summary cards to toggles and introduce export menu
This commit is contained in:
1 parent
73f4b539fe
commit
03b39e64f2
30 files changed
+2376
-238
No files matched your search
@@ -271,10 +271,17 @@ Feature: The back-office keeps an append-only activity log that owners can read
|
||||
| range=today | events since 00:00 UTC today |
|
||||
| range=7d | events of the last 7 days |
|
||||
| range=30d | events of the last 30 days |
|
||||
| range=all | every event, whatever its age |
|
||||
| range=custom&from=2026-09-01&to=2026-09-30 | events from 1 to 30 September 2026 UTC |
|
||||
| page=2&size=50 | the second page of 50 |
|
||||
| size=5 | the first page of 5 |
|
||||
|
||||
Scenario: range=all covers every event
|
||||
Given events 2 days old and 90 days old
|
||||
When the owner sends GET /v1/activity?range=all
|
||||
Then both events are listed
|
||||
And the summary and the export with range=all cover both events too
|
||||
|
||||
Scenario: Omitting range means 7 days
|
||||
Given events 2 days old and 10 days old
|
||||
When the owner sends GET /v1/activity
|
||||
|
||||
Reference in new issue
Block a user