Onboarding / WebsitePro
Onboarding / Website, step 1 of 4: the sites the assistant learns from. A field with Add and Continue cleans what you type (no https://, www. or paths) and checks it; each site is read with progress in the preview's Knowledge table, a private address fails with Retry, and Continue needs one readable site.
oxyn add onboarding-websiteWhat's your company's website?
Your assistant learns from it. Add your docs or help centre as well.
- Kkestrel.exampleYours32 pages
The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.
Rendered from Rust at build time · goes live when visible
When to use
- Step 1 of 4: tell the assistant which sites to learn from: the company's own site, then docs or a help centre.
When not to use
- Mail folders with counts and labels beside a message list: use Inbox sidebar instead.
- The app frame: use App shell instead.
- An assistant docked beside a page: use AI side panel instead.
Installation
Onboarding / Website is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.
oxyn add onboarding-websiteUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Sample
Sample data, the dashboard preview as an inset panel.
What's your company's website?
Your assistant learns from it. Add your docs or help centre as well.
- Kkestrel.exampleYours32 pages
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Flat
The same step with the preview edge to edge.
What's your company's website?
Your assistant learns from it. Add your docs or help centre as well.
- Kkestrel.exampleYours32 pages
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Loading
Skeletons in the form and the preview.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Empty
A first visit: nothing filled in, Continue explains what is missing.
What's your company's website?
Your assistant learns from it. Add your docs or help centre as well.
Nothing added yet. Start with your main site; we clean up https://, www. and paths for you.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Fetching
Two more sites being read: progress, then pages learned.
What's your company's website?
Your assistant learns from it. Add your docs or help centre as well.
- Kkestrel.exampleYours32 pages
- Ddocs.kestrel.exampleLearning 50%
- Hhelp.kestrel.exampleQueued
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
X1
Oxyn: each step named under its dash; done steps can be revisited.
What's your company's website?
Your assistant learns from it. Add your docs or help centre as well.
- Kkestrel.exampleYours32 pages
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
X2
Oxyn: the form alone, centred, without the preview.
What's your company's website?
Your assistant learns from it. Add your docs or help centre as well.
- Kkestrel.exampleYours32 pages
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| Enter | Add the address; on an empty field, Continue |
| Escape | Clear the field |
| Tab | Add, Continue, then each site's Retry and Remove |
Accessibility
- The steps are an ordered list; the current one has aria-current=step and each is named “Step n of 4: …”.
- Fields have labels; a problem sets aria-invalid and shows its message as an alert beside the field.
- Colour, mark, tone and length are radiogroups; the handover is a switch.
- The preview is decorative (aria-hidden); everything it shows is also in the form. Every action reports in a polite live region.
Responsive behaviour
- Authored on the 1440 × 900 canvas: a 720 px form column and a 720 px preview.
- Under 960 px the preview leaves the page and opens over the form from Preview in the top bar.
- Under 620 px the signed-in address hides, marks go two by two and the summary tightens.
Edge cases (spec)
Authored on the 1440 × 900 stage (rule R1) and scaled to its column; the full view (/screens/onboarding-website/full) renders at the real viewport with the state bar under it (R2). Under 960 px the preview leaves the page and opens over the form from Preview in the top bar (with Close). Under 620 px the signed-in address hides, marks go two by two and summary rows tighten. Labels ellipsise in flex children with min-width 0 (R5); scripts/ovl.py finds no text overlap at 1440, 768 and 390 in light and dark.
Notes for AI
- Import
OnboardingWebsiteScreenfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
OnboardingWebsiteElinoxyn_gpui. - Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.