refactor(site): modernize create organization page - #27914
Conversation
Documentation CheckUpdates Needed
Automated review via Coder Agents |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: aa1084fbe6
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <Link to="/organizations"> | ||
| <Button variant="outline" type="button"> | ||
| Cancel |
There was a problem hiding this comment.
Render the cancel link as the button root
When keyboard or screen-reader users reach the form actions, this renders a focusable <button> inside a focusable <a>, producing invalid nested interactive markup and two tab stops for the same action. Use the same Button asChild pattern as the back link so the router link itself receives the button styling.
AGENTS.md reference: site/AGENTS.md:L18-L19
Useful? React with 👍 / 👎.
|
@jakehwll could you include the Figma link in the description? |
There is no Figma, im just aligning to the rest of the "Create" pages 🙂 |
|
@jakehwll regarding the back button placement, I think the create workspace page is a better pattern to follow. When there is no left sidebar, I think having the back button use that space is a bit more consistent. |
Modernizes the create organization page to match the AI Providers / OAuth2 create-page pattern.
The page is now a thin permission shell; the view owns the create mutation, uses
SettingsHeaderwith a live icon preview,IconPickerField, field descriptions, and a bordered form card in a centered container. Storybook play coverage and e2e selectors are updated for the new submit label. Unentitled deployments still hitPaywallPremium.