Skip to content

Commit b6f196c

Browse files
committed
feat(screenshots): data-driven page with latest shots, per-view version slider, and web-sized images
The page is now generated from _data/screenshots.yml: a Latest section (filled by ActivityWatch/activitywatch scripts/screenshots.py), a 'How it has evolved' slider per view across versions, and the community competition gallery with credits. Displays downscaled WebP copies (36 MB -> 1.5 MB) and links the full PNGs.
1 parent 8d416d4 commit b6f196c

20 files changed

Lines changed: 183 additions & 107 deletions

‎_data/screenshots.yml‎

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# Screenshots page data (rendered by screenshots.pug).
2+
#
3+
# `src` is relative to /img/screenshots/; a downscaled copy for display lives at
4+
# /img/screenshots/web/<src with / replaced by _>.webp, and the full PNG is linked.
5+
#
6+
# latest: regenerate with `scripts/screenshots.py` in ActivityWatch/activitywatch
7+
# (demo data, isolated server), then move the previous `latest` shots into
8+
# `evolution` so the history keeps growing.
9+
10+
latest:
11+
version: v0.14.0
12+
shots: []
13+
14+
# One entry per view, oldest first. Each shot is that view as it looked in a version.
15+
evolution:
16+
- view: Activity
17+
shots:
18+
- version: v0.8.0dev
19+
year: 2018
20+
src: screenshot-v0.8.0dev-activity.png
21+
- version: v0.8.0b9
22+
year: 2019
23+
src: screenshot-v0.8.0b9-today.png
24+
note: The “Today” view, before it became Activity
25+
- version: v0.9.3
26+
year: 2020
27+
src: screenshot-v0.9.3-activity.png
28+
- version: v0.12.0b2
29+
year: 2022
30+
src: BelKed/screenshot-v0.12.0b2-activity.png
31+
by: BelKed
32+
note: Dark mode
33+
- version: v0.12
34+
year: 2023
35+
src: realhyperchango/activity-productivity.png
36+
by: realhyperchango
37+
note: Productivity categories
38+
- version: v0.14.0b8
39+
year: 2026
40+
src: screenshot-v0.14.0b8-aw-tauri-activity.png
41+
note: The new Tauri app
42+
- view: Timeline
43+
shots:
44+
- version: v0.8.0b9
45+
year: 2019
46+
src: screenshot-v0.8.0b9-timeline.png
47+
- version: v0.12
48+
year: 2023
49+
src: thelifeimliving/timeline-dark.png
50+
by: thelifeimliving
51+
note: Dark mode
52+
53+
# Screenshot competition entries (github.com/ActivityWatch/activitywatch/discussions/741).
54+
community:
55+
version: v0.12
56+
shots:
57+
- title: Activity
58+
src: [thelifeimliving/activity.png]
59+
by: thelifeimliving
60+
- title: Activity with productivity categories
61+
src: [realhyperchango/activity-productivity.png]
62+
by: realhyperchango
63+
- title: Activity (dark)
64+
src: [BelKed/screenshot-v0.12.0b2-activity.png]
65+
by: BelKed
66+
- title: Timeline (dark)
67+
src: [thelifeimliving/timeline-dark.png]
68+
by: thelifeimliving
69+
- title: Month view
70+
src: [maholli/month.png]
71+
by: maholli
72+
- title: Search
73+
src: [thelifeimliving/search.png]
74+
by: thelifeimliving
75+
- title: Stopwatch
76+
src: [thelifeimliving/stopwatch.png, thelifeimliving/stopwatch-dark.png]
77+
by: thelifeimliving
78+
- title: Query explorer
79+
src: [thelifeimliving/query-explorer.png, thelifeimliving/query-explorer-dark.png]
80+
by: thelifeimliving
81+
- title: Settings
82+
src: [thelifeimliving/settings.png, thelifeimliving/settings-dark.png]
83+
by: thelifeimliving
92.5 KB
Loading
47.6 KB
Loading
30.9 KB
Loading
49.1 KB
Loading
53.6 KB
Loading
45.1 KB
Loading
62.1 KB
Loading
114 KB
Loading
83.5 KB
Loading

0 commit comments

Comments
 (0)