diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-16 19:17:49 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-16 19:17:49 +0200 |
| commit | 913104adfb31aa96407ea7f02ca2871eebda2064 (patch) | |
| tree | 82a5da70b982487bb41c67f6d73367a4a3de383f /test/test_data.lua | |
| parent | 85807e963e8483dae83dbf59112eabc1a7964387 (diff) | |
| download | conky-theme-udt-913104adfb31aa96407ea7f02ca2871eebda2064.tar.gz conky-theme-udt-913104adfb31aa96407ea7f02ca2871eebda2064.zip | |
docs: add implementation plan for the Lua dashboard
Ten tasks, TDD where there is logic to test. Ordered so nothing
half-built touches the working desktop: pure Lua and its tests first,
then pixels, then the palette and the widget, then window placement,
and only last does UDT switch over to this repo's template.
Leads with the platform facts verified during design, because each one
invalidates the approach an implementer would otherwise reach for:
conky_surface() instead of the Xlib idiom on Wayland, own_window_type
normal rather than desktop, a Lua fault presenting as a blank screen,
grim capturing screen coordinates so it needs the dashboard's workspace
active, and Cairo having no Black font weight.
The pcall error overlay is built before any widget and verified by
injecting a deliberate fault, since it is the only channel that makes a
later mistake visible.
Fixture arithmetic in the parser tests is checked rather than asserted
from memory: a wrong expected value sends the implementer chasing a bug
that is not there.
Paths are ~-relative throughout, so the plan does not pin to one home
directory.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'test/test_data.lua')
0 files changed, 0 insertions, 0 deletions
