{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-article-a-predictable-folder-structure-1",
  "type": "registry:block",
  "title": "A predictable folder structure",
  "description": "Workspace card from the overtrue/ui workspace examples. Editable source, scoped styles, and demo interactions.",
  "categories": [
    "cards",
    "workspace"
  ],
  "registryDependencies": [
    "https://ui.overtrue.xyz/r/overtrue-card-foundation.json"
  ],
  "files": [
    {
      "path": "src/blocks/registry/article-a-predictable-folder-structure-1.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/article-a-predictable-folder-structure-1.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/components/overtrue/scenes/knowledge.tsx:298.\nimport { documents } from \"./runtime/data/workspace/studio\";\nimport { useSearchParams } from \"react-router-dom\";\nimport { Pill, Person } from \"./runtime/components/overtrue/scenes/shared\";\nconst guideSections = [\n  [\n    [\n      \"Start with the context\",\n      \"A good handover explains what changed, why it changed, and what matters next. Connect the final deliverables to the decisions that shaped them. Someone who wasn’t in the room should still be able to understand the result.\",\n      \"Name the audience, the agreed outcome, and the constraints that still matter. Link to the original brief for the longer story.\",\n    ],\n    [\n      \"Make the files easy to use\",\n      \"Separate source files from ready-to-use exports. Use names that describe what a file contains. Include the formats people will actually need.\",\n      \"Add a short readme, approved artwork, usage permissions, and a named contact for questions. Check that links work for the people receiving them.\",\n    ],\n    [\n      \"Keep decisions close\",\n      \"Record choices that are expensive to rediscover: why a direction was selected, what was left out, and which assumptions still need testing.\",\n      \"A short decision record is more useful than a transcript of every meeting. Include the decision, its owner, and the evidence behind it.\",\n    ],\n    [\n      \"Agree on the next step\",\n      \"Walk through the handover with the people who will use it. Ask them to find a file, explain a decision, and describe the next step.\",\n      \"Treat any hesitation as a chance to make the handover clearer. Agree who maintains the work after delivery.\",\n    ],\n  ],\n  [\n    [\n      \"Bring one question\",\n      \"A useful review starts with a decision. Tell the team what you need help with before showing the work.\",\n      \"Share the material in advance and identify the audience, constraints, and current uncertainty.\",\n    ],\n    [\n      \"Show the work in context\",\n      \"Walk through the task your audience needs to complete. Show the current design and the alternatives you considered.\",\n      \"Keep the review focused on the agreed question. Put unrelated ideas in a follow-up list.\",\n    ],\n    [\n      \"Separate observations from suggestions\",\n      \"First describe what you noticed and why it matters. Then discuss possible changes.\",\n      \"Use the project goals to evaluate feedback. A preference is useful context, but it is not automatically a requirement.\",\n    ],\n    [\n      \"Leave with an owner\",\n      \"Write down the decision, the next action, and who will take it forward.\",\n      \"At the next review, begin with the changes made since the previous conversation.\",\n    ],\n  ],\n  [\n    [\n      \"Start with the task\",\n      \"Decide what the client needs to do: read a status update, review a deliverable, or contribute directly to the project.\",\n      \"Give them the smallest view that supports that task without exposing unrelated work.\",\n    ],\n    [\n      \"Choose an access level\",\n      \"A review link suits a single decision. A project invitation suits ongoing collaboration. Workspace membership is for the internal team.\",\n      \"Check whether the client needs to comment or edit before sending the invitation.\",\n    ],\n    [\n      \"Check the shared material\",\n      \"Open the project as a reviewer. Confirm that files load and that internal notes stay private.\",\n      \"Keep approved deliverables together and explain which version is ready for feedback.\",\n    ],\n    [\n      \"Review access after delivery\",\n      \"Confirm who should retain access when the engagement ends. Remove temporary invitations and record the handover contact.\",\n      \"Review permissions again whenever a project owner or client contact changes.\",\n    ],\n  ],\n  [\n    [\n      \"Define the outcome\",\n      \"Write down what the client needs to achieve and what is outside the initial scope.\",\n      \"Separate known work from assumptions. A short discovery phase can turn the biggest unknowns into a reliable plan.\",\n    ],\n    [\n      \"Break the work into deliverables\",\n      \"Estimate concrete outputs such as a tested prototype, a content model, or an approved artwork package.\",\n      \"Include review time, revisions, and handover work alongside production time.\",\n    ],\n    [\n      \"Make uncertainty visible\",\n      \"Use a range while the scope is still changing. Explain which assumptions would move the estimate.\",\n      \"Check team availability and external dependencies before committing to a delivery date.\",\n    ],\n    [\n      \"Agree the review point\",\n      \"Confirm the estimate with the client and choose a point to review actual progress.\",\n      \"Record scope changes with their time and budget impact so everyone sees the same expectation.\",\n    ],\n  ],\n];\nfunction CardExample({ id = \"prose\" }: { id?: string } = {}) {\n  const [params] = useSearchParams();\n  const requested = Number(params.get(\"guide\") ?? 0);\n  const guide =\n    Number.isInteger(requested) &&\n    requested >= 0 &&\n    requested < documents.length\n      ? requested\n      : 0;\n  const document = documents[guide];\n  const sections = guideSections[guide];\n  const ids = [\"context\", \"files\", \"decisions\", \"next\"];\n\n  return (\n    <>\n      <div className=\"overtrue-block-content\" data-workspace-page={id}>\n        <article className=\"scene-article scene-handbook-article\">\n          <div className=\"scene-document-byline\">\n            <Person name=\"Nora Jensen\" subtitle=\"Content strategy\" />\n            <Pill>Published</Pill>\n          </div>\n          <p className=\"scene-lead\">{document.summary}</p>\n          {sections.map(([title, first, second], index) => (\n            <section key={title}>\n              <h2 id={ids[index]}>{title}</h2>\n              <p>{first}</p>\n              <p>{second}</p>\n            </section>\n          ))}\n          {guide === 0 && (\n            <>\n              <blockquote>\n                Leave the work in a state that makes the next step obvious.\n              </blockquote>\n              <h3>A predictable folder structure</h3>\n              <pre className=\"showcase-code\">\n                <code>\n                  {\n                    \"handover/\\n  README.md\\n  source/\\n  exports/\\n    print/\\n    digital/\\n  guidelines/\"\n                  }\n                </code>\n              </pre>\n            </>\n          )}\n          <hr />\n          <p className=\"scene-article-note\">\n            Original sample content for the Acme Studio workspace.\n          </p>\n        </article>\n      </div>\n    </>\n  );\n}\n\nexport default function Block() { return <BlockFrame><CardExample /></BlockFrame>; }\n"
    }
  ],
  "docs": "Documentation: https://ui.overtrue.xyz/blocks/article-a-predictable-folder-structure-1. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
