gitoria

layouts

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Main branchmain4099e64aMerge branch 'font-segoe-ui' into mainAtlasmain/docs/usage.md

4.1 KB

  1. # Where the shared pieces are used
  2. Kept by the WorldAPI conductor. **Before you change a component, the theme or the tokens, look here for who carries a copy;
  3. afterwards re-copy it into each of those apps (one worker per app, its gates on the new copy), then update this list.**
  4. Check with `tools/usage.sh` (exit 1 = some copy differs from its source).
  5. Sources: components → components.hybriel.worldapi.org `components/<name>/` · theme + tokens → layouts.worldapi.org
  6. `theme/`, `shared/tokens.hl` · old JS editor → worldapi-components `md-editor.js` (to be retired, creator: no hand-written JS).
  7. | app | carries | state 2026-10-18 | note |
  8. |---|---|---|---|
  9. | layouts.worldapi.org | all 10 components (`components/<name>/`, via `tools/sync-components.sh`), tokens | same (components.hybriel **3794c59**, 2026-10-21: MdEditor real-key fixes — table after a list or heading, Ctrl+K on a link, Ctrl+E, Enter twice leaves a code block, build on focus; before: 1442e58) | showcase; new page /components/files-upload-pick |
  10. | tracker.worldapi.org | theme/, modal.hl, pagination.hl, tokens | theme **76f99f6**, modal + pagination current (mission 040, branch w40-theme, not yet deployed) | tracker's own small buttons set to 44 px deliberately; **own current marker kept** (heading type → colour) until it takes main-menu.hl of layouts mission 011 (hybriel#197 is on master) |
  11. | calendar.worldapi.org | theme/ (layouts **dbe3de7**: ContentFirst shell, AppHeader, MainMenu + ☰ Sidebar, UserMenu with Log out / Log in), month-view (**fork**: + events editor, reminders; keeps only its own styles in styles.hl), tokens | theme dbe3de7 (mission 006, main ba9b495; deploy pending 2026-10-21); month-view fork | changes to month-view: port by hand; theme gate `node theme/check-theme.mjs .` 0 |
  12. | notes.worldapi.org | md-editor (components.hybriel 1442e58 via tools/sync-components.sh), tokens | same (2026-10-21, notes m010: md-editor.js removed) | theme move still open |
  13. | tickets.worldapi.org | comments, md-editor, files-upload (components.hybriel 1442e58 via tools/sync-components.sh), tokens | same (2026-10-20, m016/m017/m021) | theme move still open |
  14. | gitoria.worldapi.org | theme/ (layouts dbe3de7), tokens | same (2026-10-20, gitoria m007) | own ident-toggle rule kept |
  15. | ident.worldapi.org | tokens | same | no components, no theme yet |
  16. ## Forks (own copies on purpose — listed in tools/usage.sh FORKS)
  17. - calendar: month-view (adds the user's events, editor and reminders on the days).
  18. ## Planned (conductor, 2026-10-18, creator: yes)
  19. 1. ~~Tables in MdEditor~~ (a567b57, live 2026-10-19). 2. ~~notes, then tickets onto MdEditor; md-editor.js removed~~ (tickets m016 2026-10-20, notes m010 2026-10-21). Theme for notes + tickets still open.
  20. 3. tracker: re-copy modal + pagination. Then the other apps onto the theme, one by one.
  21. ## MainMenu marks the page from the route (layouts mission 011, Hybriel master 7f13a82f, hybriel#197)
  22. `theme/shell/main-menu.hl` declares `route = null`: every component that does gets `{ path, params, pattern }` of the matched route, also in the server's HTML — so the marked item is in the first paint (no flicker) and moves on a client click. It works for a MainMenu nested anywhere under the page/shell (checked in the tracker demo: header and phone sidebar). The one rule now: **give MainMenu no `current`** — a non-empty `current` still wins (the one-more-round fallback), then the route decides (exact href or a page below it).
  23. What each app changes after it re-copies `theme/shell/main-menu.hl` (+ needs hl:web from hybriel ≥ 7f13a82f):
  24. - **tickets**: delete the browser-side marker (the script / own code that sets the current item) and `MainMenu { current = … }`; keep `count = n` on the item (the "Inbox (n)" label becomes `label = 'Inbox' count = n`).
  25. - **gitoria, notes** (current = true on an item, or `current = "/x"` on the menu): remove them; keep `current = "/docs"` or `current = true` only where the route does not tell (a page that lives under another item's path, e.g. /read/x under Docs).
  26. - **calendar**: nothing to remove (no marker of its own); drop `current = …` from MainMenu.
  27. - **tracker**: drop its own heading-type marker and use the theme's.
  28. - Items with `current = true` keep working.

Branches

Latest commits

  • 4099e64aMerge branch 'font-segoe-ui' into mainAtlas
  • e14fb795|||PR Theme font: Segoe UI first (his choice 2026-11-19)Atlas
  • 44071d2cMerge branch 'hl-standard-5' into mainAtlas
  • 5ea64202|||PR Gate: count the new-tab check's console errors tooAtlas
  • 2752ceddMerge branch 'hl-standard-4' into mainAtlas
  • ac552b81|||PR Gate: keyboard (Tab/Enter/Space) and Back/Forward/reload/new-tab checks (HL-STANDARD F5, F21)Atlas
  • 8cddcaa9Merge branch 'hl-standard-2' into mainAtlas
  • 2b480a64|||PR Type the route parameter of main-menu build (HL-STANDARD L10)Atlas
  • ab54a39dMerge branch 'hl-standard' into mainAtlas
  • 04d36fcf|||PR Type function parameters and drop unneeded let (HL-STANDARD L2, L10)Atlas
  • 220c8fa4Merge branch 'readme-audit' into mainAtlas
  • b78fb85a|||PR README matches the codemre
  • 9f351699Preserve comments and nest supported selectors without changing rendered outputmre
  • 97110ad9WIP: nest accepted layout selectors; stopped at startup parse failuremre
  • ce4a0baeKeep caller slot styles whole so minimal shell apps startmre
  • 12cd3992Re-vendor complete Hybriel plugins and runtime to day44mre
  • b05c20feBackup tar: --hard-dereference, so mpackdb sidecars are never stored as hard links (Tracker's finding)mre
  • 8d9ed0b8Re-vendor complete Hybriel plugins and runtime to day39mre
  • ebd00b6cNest caller slot styles in three-panemre
  • 009991efNest caller slot styles in list-firstmre