Commit graph

72 commits

Author SHA1 Message Date
Tolaria
51b4c7ca97 Pages updates with references and edits
All checks were successful
Deploy Docs / deploy (push) Successful in 14s
2026-06-05 13:49:57 +08:00
Tolaria
de2d06d3a1 Pages updates with references and edits
All checks were successful
Deploy Docs / deploy (push) Successful in 14s
2026-06-05 13:29:55 +08:00
Tolaria
6bd35e5160 Pages updates with references and edits
All checks were successful
Deploy Docs / deploy (push) Successful in 29s
2026-06-05 12:21:31 +08:00
Tolaria
458dc41147 Pages updates
All checks were successful
Deploy Docs / deploy (push) Successful in 14s
2026-06-04 21:51:52 +08:00
Tolaria
e8a54bd396 Add action items + mark sprout read checkboxes to all article pages; fix 9 typos; regenerate manifest
All checks were successful
Deploy Docs / deploy (push) Successful in 14s
2026-06-04 20:54:48 +08:00
Tolaria
b9975435c2 Pages updates
All checks were successful
Deploy Docs / deploy (push) Successful in 14s
2026-06-04 20:29:39 +08:00
Tolaria
9f179b1ead Pages and keep in touch updates
All checks were successful
Deploy Docs / deploy (push) Successful in 14s
2026-06-04 20:22:49 +08:00
Tolaria
7db03ad35e edits to daily sadhana text
All checks were successful
Deploy Docs / deploy (push) Successful in 28s
2026-06-04 13:33:40 +08:00
Tolaria
11921aa07a fix the menu blur overlay issue 2026-06-04 13:33:25 +08:00
Tolaria
ec88d58e05 gitignore 2026-06-04 12:44:31 +08:00
Tolaria
9fa33e81c2 update pyproject 2026-06-04 12:43:46 +08:00
Tolaria
1b1e4dc154 update contributing docs 2026-06-04 12:43:21 +08:00
Tolaria
4421378529 Merge action-points feature: interactive checklist w/ kill switch
All checks were successful
Deploy Docs / deploy (push) Successful in 14s
Brings in the interactive action-points checklist (nav badges, heading
pills, first-load totals manifest, confetti) with:
- a zensical.toml kill switch ([project.extra.action_points] enabled)
- perf fixes (store cache, in-place badge updates, pooled confetti)
- white-on-green legibility fix

Conflicts resolved below.

# Conflicts:
#	.forgejo/workflows/docs.yml
#	docs/stylesheets/extra.css
2026-06-03 23:48:33 +08:00
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
Tolaria
5e0f482db1 ci: use uv to provision Python 3.12, fixing zensical build on py3.9 runner
All checks were successful
Deploy Docs / deploy (push) Successful in 14s
2026-06-03 23:24:07 +08:00
Tolaria
fbc488cc95 perf(action-points): pool confetti into one shared canvas + single rAF
Each section/page completion previously appended a new full-viewport
(100vw x 100vh, z-index 99999) canvas with its own requestAnimationFrame
loop. Completing several sections in a row stacked multiple fullscreen
layers, each independently repainting the whole viewport at 60fps — the
real cause of click-induced slowdown (the change handler itself is ~1ms).

Now: one shared canvas, one rAF loop, particles pooled across completions.
The loop stops and the canvas is removed once no particles remain, so
there is no idle fullscreen compositing layer. Resize keeps it sized.

Verified live: 1 canvas after two back-to-back section completions,
0 canvases after the animation ends, green pills still white-on-green.
2026-06-03 23:17:44 +08:00
Tolaria
69f69be5e4 fix(action-points): correct nav badges, first-load totals, legibility
- Fix nav badge mis-targeting: scope to .md-nav--primary, skip #anchor
  (TOC) links so 'On this page' entries no longer show the page total;
  detect active-leaf sections via md-nav__item--nested instead of the
  secondary (TOC) nav, so the active page gets its own badge.
- Add build-time totals manifest (main.py -> docs/javascripts/toa-totals.json)
  so nav badges show correct totals on first load before a user has
  visited each page. Fetched once, browser-cached, zero runtime cost.
  Wired into CI before zensical build.
- Exclude fenced code blocks when counting tasks, so the Markdown
  reference doc's example checkboxes don't produce a phantom 0/3 badge.
- Force white text (#fff !important) on completed green pills/badges,
  incl. badge-inside-complete-link, to beat the nav link's green color.
- Convert prose practice/strategy steps into interactive tasklist items.
- Add action-points PRD under planning/.
2026-06-03 23:03:17 +08:00
Tolaria
4b4425a2d9 chore: relax Python requirement to >=3.9 for runner compatibility
Some checks failed
Deploy Docs / deploy (push) Failing after 25s
2026-06-03 23:01:24 +08:00
Tolaria
f7abb6bf42 ci: install python3-venv inside python:3.12 container
Some checks failed
Deploy Docs / deploy (push) Failing after 26s
2026-06-03 22:56:04 +08:00
Tolaria
6e1cdf4018 ci: use python:3.12 container to satisfy >=3.12
Some checks failed
Deploy Docs / deploy (push) Failing after 17s
2026-06-03 22:55:03 +08:00
Tolaria
a3ec22a70a ci: pin runner to node:22 and drop apt-get bootstrap
Some checks are pending
Deploy Docs / deploy (push) Waiting to run
2026-06-03 22:54:09 +08:00
Tolaria
3aade4630b card design
Some checks failed
Deploy Docs / deploy (push) Failing after 23s
2026-06-03 22:36:25 +08:00
Tolaria
06f0c739df card design 2026-06-03 22:24:49 +08:00
Tolaria
c4d21b72ea fix: repair corrupted markdown.md brackets; grounding adds wiki link to Nourishing the Body
Some checks failed
Deploy Docs / deploy (push) Failing after 24s
2026-06-03 20:47:55 +08:00
Tolaria
aac22735e4 fix: wiki links now display clean page title instead of raw path
Some checks failed
Deploy Docs / deploy (push) Failing after 23s
[[docs/contributing/index]] → displays as 'Contributing' (not 'docs/contributing/index')
[[docs/strategies/collective-awakening]] → displays as 'Collective Awakening'
Pipe syntax still overrides: [[page|custom text]] uses the custom text.
Images keep raw filename as alt text.
2026-06-03 20:42:06 +08:00
Tolaria
a1db08f32e fix: wiki links now root-relative — handles Tolaria [[docs/path/to/page]] format
Some checks failed
Deploy Docs / deploy (push) Failing after 23s
Strips docs/ prefix from Tolaria-generated links, collapses /index suffixes,
removes .md extensions, and produces root-relative URLs (/page/path/) that
work from any page regardless of depth. Images get root-relative asset paths.
2026-06-03 20:38:15 +08:00
Tolaria
fa0b34c3c2 fix: correct wiki link in markdown.md — use [[Contributing]] not [[docs/contributing/index]]
Some checks failed
Deploy Docs / deploy (push) Failing after 23s
2026-06-03 20:32:47 +08:00
Tolaria
2b2edc7505 Merge: Cusdis comments on every page + instant-nav fix
Some checks failed
Deploy Docs / deploy (push) Failing after 24s
2026-06-03 20:28:42 +08:00
Tolaria
5b0ff60ac8 feat: add Cusdis comments to every page, fix instant-navigation re-render 2026-06-03 20:28:34 +08:00
Tolaria
69119f347d feat: add wiki link support ([[page]]) via custom Python-Markdown extension
Some checks failed
Deploy Docs / deploy (push) Failing after 24s
- New package _extensions/wikilinks.py: preprocessor that converts
  [[Page Name]], [[Page|Text]], [[Page#anchor|Text]], and ![[img]]
  to standard Markdown links before parsing
- Skips wiki links inside fenced/inline code blocks
- Slugifies targets: lowercase, spaces→hyphens
- Registered as markdown extension in zensical.toml
- Updated CI workflow to pip install -e . for the _extensions package
- First usage: [[docs/contributing/index]] in markdown.md
2026-06-03 20:07:25 +08:00
Tolaria
d1f405bde1 fix: force comments iframe to 500px min-height
All checks were successful
Deploy Docs / deploy (push) Successful in 24s
2026-06-03 19:44:45 +08:00
Tolaria
0871b22709 refactor: rewrite homepage, rename Teachings→Strategies, move Spiritual Hygiene
- Rewrite index.md with human intro on consciousness, ascension, group origins
- Rename docs/teachings/ → docs/strategies/
- Move Spiritual Hygiene from strategies to practices
- Update all cross-references (teachings→strategies, inter-practice links)
- Update both index pages with new content and card grids
2026-06-03 19:40:40 +08:00
Tolaria
a31d6ac095 update comments plugin display
All checks were successful
Deploy Docs / deploy (push) Successful in 23s
2026-06-03 19:34:36 +08:00
Tolaria
f6f7bd7115 fix: update Cusdis app_id to new instance
All checks were successful
Deploy Docs / deploy (push) Successful in 39s
2026-06-03 19:26:31 +08:00
Tolaria
95d04f7a0e fix: remove broken hero.jpg reference from homepage 2026-06-03 19:03:06 +08:00
Tolaria
7d58c330a6 update comments plugin
All checks were successful
Deploy Docs / deploy (push) Successful in 23s
2026-06-03 18:52:11 +08:00
Tolaria
2537e4d5af fix: switch Cusdis to iframe embed to avoid CORS
All checks were successful
Deploy Docs / deploy (push) Successful in 24s
- Replace <script src> approach with programmatic iframe creation
- No cross-origin script loading — avoids CORS blocks entirely
- Guard against missing container with null check
2026-06-03 18:40:04 +08:00
Tolaria
0fbe169815 update
All checks were successful
Deploy Docs / deploy (push) Successful in 23s
2026-06-03 18:29:35 +08:00
Tolaria
dd37f2ea40 contributing heart icon 2026-06-03 18:29:22 +08:00
Tolaria
7c1143befc fix: use venv for pip install to avoid externally-managed-environment
All checks were successful
Deploy Docs / deploy (push) Successful in 23s
2026-06-03 18:17:17 +08:00
Tolaria
cff4e8c8ee merge: pages → main — images, Cusdis comments, footer polish, cleanup
Some checks failed
Deploy Docs / deploy (push) Failing after 12s
2026-06-03 18:12:52 +08:00
Tolaria
9bc2a55251 merge: images-work — hero images, footer polish, caption overlays 2026-06-03 18:12:06 +08:00
Tolaria
b1e129ed6e chore: add Cusdis comments, clean up build artifacts
- Add Cusdis comment integration (zensical.toml + overrides partial)
- Add comments:true to homepage frontmatter
- Gitignore codedb.snapshot and old root build artifacts
- Remove tracked old build files (site/ is the new build output)
2026-06-03 18:12:01 +08:00
Tolaria
bc94fb954c ci: trigger forgejo runner test
Some checks failed
Deploy Docs / deploy (push) Failing after 17s
2026-06-03 18:10:23 +08:00
Tolaria
8491b0f751 fix: install python3 via apt in node:22 runner image
Some checks failed
Deploy Docs / deploy (push) Failing after 11s
2026-06-03 17:59:43 +08:00
Tolaria
2eb1170992 refactor: remove all AI-generated images, use nature_bathing.jpg
- Delete all AI-generated PNGs (hero images + infographics)
- Strip <figure> references from 5 pages that had AI hero images
- Strip <figure> references from 4 pages that had AI infographics
- Grounding in Nature now uses nature_bathing.jpg (credit: Adamu)
- Remaining images are Unsplash-sourced only
2026-06-03 17:58:58 +08:00
Tolaria
b042f43cdd fix: use system python3 instead of setup-python action
Some checks failed
Deploy Docs / deploy (push) Failing after 4s
2026-06-03 17:40:53 +08:00
Tolaria
1ca6266464 fix: change runs-on to ubuntu-latest to match runner label
Some checks failed
Deploy Docs / deploy (push) Failing after 41s
2026-06-03 17:37:06 +08:00
Tolaria
6fea770e71 feat: add zensical config and theme overrides
Some checks are pending
Deploy Docs / deploy (push) Waiting to run
2026-06-03 17:35:10 +08:00
Tolaria
d399f510b7 feat: port zensical source content from pages branch 2026-06-03 17:32:27 +08:00