- Quick Setup's done state offers Start onboarding interview next to Open organization. It opens a conversation with the assistant and sends the template's first message; Open organization skips it. - The project overview offers the interview while the north star is the init template, then shows the assistant's draft with Approve as north star and the equivalent CLI command. - GET /api/onboarding/interview serves the template and the assistant instance. POST /api/north-star/approve runs approveNorthStarDraft with the save's boundary (header user, exact Origin, same-origin Fetch Metadata, strict JSON). In an organization it is the one project write the fence lets through; the tester and granted users never reach it. /api/config says northStarApprove where the route can pass. - GET /api/project-file adds `committed`, the file's last commit time; `at` stays the read time.
13 lines
965 B
CSS
13 lines
965 B
CSS
/* F2: the onboarding interview offer and the north-star draft on the project page. */
|
|
.onboarding-panel { max-width:100%; }
|
|
.onboarding-panel p { max-width:72ch; }
|
|
.onboarding-questions { margin:8px 0 12px; padding-left:22px; }
|
|
.onboarding-questions li { margin:4px 0; }
|
|
.onboarding-actions { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 4px; }
|
|
.onboarding-actions .btn { display:inline-flex; align-items:center; min-height:44px; text-decoration:none; }
|
|
.onboarding-draft { max-height:320px; overflow:auto; border:1px solid var(--line); border-radius:8px; padding:12px 16px; margin:8px 0; overflow-wrap:anywhere; }
|
|
.onboarding-draft:focus-visible { outline:2px solid var(--action, currentColor); outline-offset:2px; }
|
|
.onboarding-verb, .onboarding-status { color:var(--muted); font-size:13px; overflow-wrap:anywhere; }
|
|
.onboarding-status:empty { display:none; }
|
|
@media (max-width:699px) { .onboarding-actions .btn { width:100%; justify-content:center; } }
|