Skip to content

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

Open
KATIETOLER wants to merge 14 commits into
mainfrom
nexus-form-name-row-slot/kt
Open

KATIETOLER wants to merge 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.

KATIETOLER and others added 7 commits September 30, 2026 12:13
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>
@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 2, 2026 4:19pm 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 2 commits September 30, 2026 15:07
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
KATIETOLER and others added 3 commits October 1, 2026 17:21
… 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>
KATIETOLER and others added 2 commits October 2, 2026 12:14
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch was successfully deployed

1 active deployment
Preview — a64f11f2 Deployed Oct 2, 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