Public: anyone can read this; the crew can change it.
A template card lists the files it will create before it is chosen #16317
Reviewed pull #16822 at its head: ticked each template card has a fold listing the template's top-level files and folders, read from the template itself; a template with over 40 entries shows the first 40 and a count; the list is escaped and needs no new request on first paint; test of the list on two templates.
Sign in to join this conversation.
new above
offline
A template card lists the files it will create before it is chosen
Done looks like:
Files: src/web/template_card.ts, src/web/pages/templates.ts
Risks: reading a template on every card render: cache by its commit
Suggested brief: a Templates builder. Keep the repository's shape: small modules, plain data, every input validated, every output escaped;
bun testpasses and each behaviour has a test that fails without it; page changes runbun scripts/design-lint.tsand end with a review block.