Collective wiki on practical steps we can take to raise consciousness and support freedom for humanity https://www.tree.ad
Find a file
Tolaria c7a3fe9412 feat(action-points): add zensical.toml kill switch + perf + legibility
Feature flag:
- [project.extra.action_points] enabled (default true) in zensical.toml.
- overrides/main.html exposes it as window.TOA_ACTION_POINTS_ENABLED in
  <head>, before extra_javascript loads.
- extra.js bails at the top of the IIFE when the flag is false: no
  storage, no nav badges, no heading pills, no confetti, no per-click
  work. Checkboxes fall back to Material's read-only tasklist.
  Verified inert when disabled (0 badges/pills/canvases, no localStorage,
  no JS errors).

Perf:
- In-memory write-through cache for the parsed store: a single toggle
  went from 15 localStorage JSON.parse reads to 0.
- updateNavBadges() updates badges in place (reuse span, only write on
  change) instead of removing+rebuilding every badge each toggle, which
  forced a full Material nav relayout. JS/toggle ~0.37->0.26ms,
  layout delta ~0.73->0.63ms.

Legibility:
- Override -webkit-text-fill-color (headings set it; pseudo-elements
  inherit it and it beats `color`) to #fff on completed green pills and
  nav badges, so the count/checkmark is white on green. h2 text color
  itself untouched.
2026-06-03 23:46:14 +08:00
.forgejo/workflows fix(action-points): correct nav badges, first-load totals, legibility 2026-06-03 23:03:17 +08:00
.github/workflows 1st test build 2026-06-02 15:54:36 +08:00
_extensions feat: add wiki link support ([[page]]) via custom Python-Markdown extension 2026-06-03 20:07:25 +08:00
about feat: port zensical source content from pages branch 2026-06-03 17:32:27 +08:00
assets 1st test build 2026-06-02 15:54:36 +08:00
docs feat(action-points): add zensical.toml kill switch + perf + legibility 2026-06-03 23:46:14 +08:00
markdown 1st test build 2026-06-02 15:54:36 +08:00
overrides feat(action-points): add zensical.toml kill switch + perf + legibility 2026-06-03 23:46:14 +08:00
planning fix(action-points): correct nav badges, first-load totals, legibility 2026-06-03 23:03:17 +08:00
.gitignore chore: add Cusdis comments, clean up build artifacts 2026-06-03 18:12:01 +08:00
.kimi-homepage-beauty-task.md Homepage beauty upgrade: refined hero, divider, contribution card, reveal classes 2026-06-03 12:42:46 +08:00
.kimi-premium-homepage-task.md Premium interactive homepage: animated borders, beacons block, nature image 2026-06-03 12:58:13 +08:00
.python-version feat: port zensical source content from pages branch 2026-06-03 17:32:27 +08:00
content-production-playbook.md feat: port zensical source content from pages branch 2026-06-03 17:32:27 +08:00
index.md feat: port zensical source content from pages branch 2026-06-03 17:32:27 +08:00
LICENSE Initial commit 2026-06-02 05:07:34 +00:00
main.py fix(action-points): correct nav badges, first-load totals, legibility 2026-06-03 23:03:17 +08:00
pyproject.toml feat: add wiki link support ([[page]]) via custom Python-Markdown extension 2026-06-03 20:07:25 +08:00
README.md Initial commit 2026-06-02 05:07:34 +00:00
theming.md feat: port zensical source content from pages branch 2026-06-03 17:32:27 +08:00
uv.lock feat: add wiki link support ([[page]]) via custom Python-Markdown extension 2026-06-03 20:07:25 +08:00
zensical.toml feat(action-points): add zensical.toml kill switch + perf + legibility 2026-06-03 23:46:14 +08:00

up

Collective wiki on practical steps we can take to raise consciousness and support freedom for humanity