Accuracy pass: preview_data registry, clock->rwb rename, missing sections
Architecture.md / Writing-a-Module.md:
- Document the new preview_data + PREVIEW_RENDERERS registry mechanism
(replaces the old single-consumer preview_tables field) - the actual
reason this wiki run happened. New subsection in Architecture.md,
new "Richer content in the preview panel" section in
Writing-a-Module.md with a worked example.
- Fixed every reference to a standalone clock.py module - it was
renamed to rwb.py once weather.py gave it a second thing to show,
months ago, but the wiki never caught up. Kept the teaching example
in Writing-a-Module.md (still pedagogically useful as a minimal
module) but corrected its false claims about a real shipped file.
- Module lists updated to include rwb/bars/sysmon, which existed
nowhere in Architecture.md or Writing-a-Module.md at all despite
being real, shipped, default-preset modules.
Config-Reference.md:
- Added scan/wifi_forget/wifi_connect_hidden/wifi_power_toggle to
[navigation.keys] - the entire WiFi/Bluetooth browsing key set was
completely undocumented.
- Replaced the stale [clock] section with [rwb] (correct section name)
plus a new [weather] section - weather config (lat/lon/geoclue/
ip_approx/name/code) didn't exist in the wiki at all despite being a
real, substantial opt-in feature.
- Fixed two false "not shown in the default layout preset" claims for
control and sysmon - both are actually placed in the default preset
today, contradicting what the page said.
Home.md: Status blurb updated to mention what's actually landed since
the last pass (sysmon, bars, the connectivity D-Bus agent overhaul),
not just control toggles + media.
Writing a Module: fix stale ctx.connectivity/ConnectivityWorker, add control/media/cava, document the two-level browsing/expanded pattern
Writing a Module: should_exit -> should_dismiss, name dismiss_after_confirm
- handle() example and its explanation updated for the dismiss vs.
quit model (Provider.dismiss_self(), Ctrl+C is the only real quit)
- Name the pending-confirm dict's key explicitly as dismiss_after_confirm
- Reword the NavItem.rect explanation: it drives tab_order(), not a
separate spatial/geometric navigation system (removed)
Writing a Module/WM Provider: drop stale layout-field mention, soften intro phrasing
Document ctx.selected_item on RenderContext
Added in tuicc commit 0d1ba07 alongside NavItem.preview_text, so
preview.py can show what a selected power_menu/quick_actions entry
would run without needing to know anything about those modules.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Updated Writing a Module (markdown)
Updated Writing a Module (markdown)
Created Writing a Module (markdown)