ns:2026:09-18-2114_test_project5
Различия
Показаны различия между двумя версиями страницы.
| ns:2026:09-18-2114_test_project5 [2026/09/18 21:14] – Создано по форме с lira:sga:members:2026:stutest:projects:newproject Антон Юдин | ns:2026:09-18-2114_test_project5 [2026/09/21 18:45] (текущий) – удалено - внешнее изменение (Дата неизвестна) 127.0.0.1 | ||
|---|---|---|---|
| Строка 1: | Строка 1: | ||
| - | ====== test_project5 ====== | ||
| - | |||
| - | ----- struct table ----- | ||
| - | schema: project_meta | ||
| - | cols: description, | ||
| - | filter: %pageid% = $ID$ | ||
| - | ----- | ||
| - | |||
| - | <WRAP box> | ||
| - | Explicit block, not automatic `bottomoutput`/ | ||
| - | automatic banner has a confirmed duplicate-rendering bug on this | ||
| - | release (full explanation: | ||
| - | 02-schema-reference.md`' | ||
| - | `struct-inpage-visibility-batch.sql` against `project_meta`** before or | ||
| - | immediately after adding this block, and purge the render cache — until | ||
| - | then this page briefly shows the data twice. | ||
| - | </ | ||
| - | |||
| - | ===== Sessions logged against this project ===== | ||
| - | |||
| - | ----- struct table ----- | ||
| - | schema: log_entry | ||
| - | cols: %pageid%, hit_a_wall, need_help | ||
| - | filter: project_link.project = $ID$ | ||
| - | ----- | ||
| - | |||
| - | <WRAP box> | ||
| - | `hit_a_wall`/ | ||
| - | `what_i_tried`/ | ||
| - | struct columns** and cannot appear in a `cols:` line — they'd render | ||
| - | silently empty, no error. The doubled-percent page-id column above | ||
| - | links each row through to the actual log entry for the free-form | ||
| - | narrative. Promoting those fields to | ||
| - | real struct columns for full narrative rollup is a schema-design | ||
| - | decision, not a template fix. | ||
| - | |||
| - | **`$ID$`, never `ns: | ||
| - | own `InlineConfigParser.php`, | ||
| - | filter (doubled percent signs around the column name, same as above) | ||
| - | as its own default — then verified live. `ns: | ||
| - | inside a namespace template at page-creation time; used here (a | ||
| - | bureaucracy-populated content template) it would save as the literal | ||
| - | text `ns: | ||
| - | forever with no error. Full mechanism and live-spike confirmation: | ||
| - | build log §T3. Never quote the filter value either. | ||
| - | </ | ||
| - | |||
| - | ===== "Log today' | ||
| - | |||
| - | **Corrected this session — the mechanism this relied on no longer | ||
| - | exists.** Logs stopped using `addnewpage`/ | ||
| - | session (`03-templates/ | ||
| - | has one persistent, reusable form page instead of a fresh page created | ||
| - | per entry, so there' | ||
| - | around here at all — and even before that change, the relative path | ||
| - | below this line was itself miscounted (two `..:` segments, landing at | ||
| - | `projects: | ||
| - | moot now, replaced rather than fixed in place). | ||
| - | |||
| - | The corrected link goes to the student' | ||
| - | log-start link matching their actual level already lives | ||
| - | (`06-buttons/ | ||
| - | |||
| - | [[..: | ||
| - | |||
| - | The student still picks this project manually from the struct | ||
| - | Page-type picker on the log form once there — that choice was already | ||
| - | decided as deliberately two-step, reasoning unchanged from before this | ||
| - | correction (see below). | ||
| - | |||
| - | **Decided: two-step, not one-click.** A genuine one-click mechanism | ||
| - | exists (bureaucracy' | ||
| - | `@log_entry_project@`) but wiring it up needs a custom HTML/JS block | ||
| - | per project page — several new, untested assumptions stacked at once. | ||
| - | Weighed against that: one extra manual selection on the log form, zero | ||
| - | new risk. Chosen deliberately — not a placeholder awaiting a better fix. | ||
| - | If a one-click experience becomes worth the complexity later, | ||
| - | `@log_entry_project@` is the confirmed starting point — not | ||
| - | `addnewpage`' | ||
| - | not carry arbitrary params through. | ||
ns/2026/09-18-2114_test_project5.1789766065.txt.gz · Последнее изменение: — Антон Юдин
