Skip to content

Add optional name-row slot to the Nexus form - #3969

Merged
KATIETOLER merged 14 commits into
mainfrom
nexus-form-name-row-slot/kt
Oct 6, 2026
Merged

KATIETOLER merged 14 commits into
mainfrom
nexus-form-name-row-slot/kt

Conversation

@KATIETOLER

@KATIETOLER KATIETOLER commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Description & motivation

Cloud's Create Nexus Endpoint page needs a Project dropdown on the same row as Endpoint Name. This adds optional props to NexusForm, passed through by NexusCreateEndpoint.

  • nameLeading renders a snippet beside the name input. The row splits 1/3 and 2/3 from sm up, with a / separator to show hierarchy. The fields stack on mobile.
  • fieldsInert locks every field except the snippet and disables Create. Cancel stays usable. Cloud uses it until a project is picked.
  • class merges with the form's default layout classes. Cloud uses it to override xl:w-1/2 and cap the form width.
  • card wraps the fields in a holocene Card, with the actions below it.
  • submitDisabled disables Create and skips submission without locking any fields. Cloud uses it until a project is picked.
  • submitButtonText (on NexusCreateEndpoint) overrides the Create button label. It defaults to "Create Nexus Endpoint".

Without these props the form renders as before. OSS and the edit page are unchanged.

Screenshots (if applicable) 📸

Screenshot 2026-09-30 at 2 22 35 PM

Design Considerations

Layout and the / separator were approved by design.

Testing

How was this tested 👻

  • Manual testing
  • E2E tests added
  • Unit tests added

Built with svelte-package and loaded into cloud-ui locally. Checked the name row at mobile and desktop widths, and the locked state before a project is picked. The cloud-ui integration tests for the selector pass against this build.

Steps for others to test:

Existing Nexus create and edit pages should look and behave the same. The new props are exercised by the dependent cloud-ui PR.

@vercel

vercel Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
holocene Ready Ready Preview Oct 6, 2026 3:47pm UTC

Request Review

@andrewzamojc andrewzamojc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

KATIETOLER and others added 14 commits October 6, 2026 11:46
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… slot

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… slot is passed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… and 2/3 split.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@KATIETOLER
KATIETOLER force-pushed the nexus-form-name-row-slot/kt branch from a64f11f to 085b15e Compare October 6, 2026 15:46
@KATIETOLER
KATIETOLER merged commit d077ea3 into main Oct 6, 2026
17 checks passed
@KATIETOLER
KATIETOLER deleted the nexus-form-name-row-slot/kt branch October 6, 2026 16:21

This branch was successfully deployed

1 active deployment
Preview — 085b15e9 Deployed Oct 6, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants