layouts
All repositories: gitoria
4.1 KB
# Where the shared pieces are usedKept by the WorldAPI conductor. **Before you change a component, the theme or the tokens, look here for who carries a copy;afterwards re-copy it into each of those apps (one worker per app, its gates on the new copy), then update this list.**Check with `tools/usage.sh` (exit 1 = some copy differs from its source).Sources: components → components.hybriel.worldapi.org `components/<name>/` · theme + tokens → layouts.worldapi.org`theme/`, `shared/tokens.hl` · old JS editor → worldapi-components `md-editor.js` (to be retired, creator: no hand-written JS).| app | carries | state 2026-10-18 | note ||---|---|---|---|| 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 || 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) || 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 || 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 || 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 || gitoria.worldapi.org | theme/ (layouts dbe3de7), tokens | same (2026-10-20, gitoria m007) | own ident-toggle rule kept || ident.worldapi.org | tokens | same | no components, no theme yet |## Forks (own copies on purpose — listed in tools/usage.sh FORKS)- calendar: month-view (adds the user's events, editor and reminders on the days).## Planned (conductor, 2026-10-18, creator: yes)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.3. tracker: re-copy modal + pagination. Then the other apps onto the theme, one by one.## MainMenu marks the page from the route (layouts mission 011, Hybriel master 7f13a82f, hybriel#197)`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).What each app changes after it re-copies `theme/shell/main-menu.hl` (+ needs hl:web from hybriel ≥ 7f13a82f):- **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`).- **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).- **calendar**: nothing to remove (no marker of its own); drop `current = …` from MainMenu.- **tracker**: drop its own heading-type marker and use the theme's.- 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