Section templates not populating #48
Replies: 2 comments 1 reply
-
|
I think I see what's happening from your screenshots. Your section artifacts are actually being generated correctly — the repo view shows the expected files: product/sections/ spec.md data.json types.ts *.png previews But the Sections panel in the workflow UI only populates after the tool indexes those artifacts into the workflow graph. So what's likely happening is that the files exist, but the UI hasn’t registered them yet. A few things to try:
Since your files look correct, this is probably just the indexing step not running yet rather than a missing file. |
Beta Was this translation helpful? Give feedback.
-
|
Title: Section parser skips alphanumeric section numbers and generates wrong folder IDs Description Two bugs in src/lib/product-loader.ts (parseProductRoadmap) cause sections to silently disappear from the Bug 1: Regex rejects alphanumeric section numbers The section heading regex only matches pure integers: /### (\d+).\s*(.+)\n+.../g Any section numbered with a letter suffix (e.g. 3a, 3b, 3c) is silently skipped. This is a valid convention Fix: Change (\d+) to (\d+[a-z]?) in the regex. Bug 2: Parenthetical suffixes are included in the ID slug Section titles often include parenthetical notes for human readers, like: Individual Headshots (Service Page) The ID slug is generated from the full title including the parenthetical. This produces IDs like Fix: Strip parenthetical suffixes before slugifying: The title field should still store the full display title (with parenthetical) for the UI. Bug 3: Slugify converts / and & in titles, breaking folder lookups The slugify function converts & to -and- and replaces / with -. If a section title contains either Examples from this project: ┌──────────────────────────────────┬────────────────────────────┬────────────────────────┐ All three sections had full spec, data, screen design, and screenshot files, but showed as empty in the UI. Fix options:
In this project the titles were updated to match the existing folder names (Home (URL: /), Portfolio, Affected file: src/lib/product-loader.ts, function parseProductRoadmap (lines 131-144) Severity: High. Sections silently disappear from the list or show as having no files, even when all |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I'm just getting started, and this is a phenomenal app. It's amazing! One question I have, and it's probably something I'm doing wrong, absolutely, but the sections are not populating. What I mean by this is I'm filling out the sections, doing the design section or shape section process, and at the end it is taking the screenshot and doing all that, but the section on the design of the workflow kind of thing is not populating at all.
And it could absolutely be a step that I missed, because to be honest, I haven't watched the whole video. I jumped right in with both feet, like yeah, like that, so this could absolutely be something I'm doing wrong, but I appreciate any help.
Beta Was this translation helpful? Give feedback.
All reactions