Skip to content

feat(nexus-operations): add loading state to standalone nexus operation details page#3649

Merged
rossedfort merged 1 commit into
mainfrom
SANO-details-loading
Jul 8, 2026
Merged

feat(nexus-operations): add loading state to standalone nexus operation details page#3649
rossedfort merged 1 commit into
mainfrom
SANO-details-loading

Conversation

@rossedfort

@rossedfort rossedfort commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Description & motivation 💭

The standalone nexus operation details page showed a blank page between navigation and first API data load. This PR adds a skeleton loading UI so users see structural feedback immediately.

The loading skeleton is scoped appropriately: tabs are derived purely from route params (namespace, operationId, runId) and are always available, so they render immediately as real UI. Only the header area (which depends on the API response) and the details tab content area are skeletonized during load.

Two new skeleton components:

  • nexus-operation-header-loading.svelte — mirrors the header area (status badge, title, action buttons, detail list)
  • nexus-operation-details-loading.svelte — mirrors the details tab content (input/output grid + card sections)

The layout is restructured so back link and tabs are always visible, while header and content each independently transition from skeleton → real UI once data arrives. The loading state does not reappear when new updates to the standalone nexus operation are returned from the server via polling, only on initial load.

Screenshots (if applicable) 📸

Screen.Recording.2026-07-08.at.3.52.46.PM.mov

Design Considerations 🎨

None — follows the established skeleton pattern from #3643.

Testing 🧪

How was this tested 👻

  • Manual testing

Steps for others to test: 🚶🏽‍♂️🚶🏽‍♀️

  1. Navigate to a standalone nexus operation details page
  2. Observe: back link and tabs render immediately; header and content area show animated skeleton during load
  3. Once data loads: real header and content replace skeletons without layout shift
  4. With an invalid operationId/runId: back link and tabs remain; error component renders in the content area

Checklists

Draft Checklist

Merge Checklist

Issue(s) closed

Docs

Any docs updates needed?

No.

…on details page

Show skeleton UI during data load instead of a blank page. Tabs are always visible since they derive from route params; only the header area and details tab content are skeletonized.
@rossedfort
rossedfort requested a review from a team as a code owner July 8, 2026 21:54
@vercel

vercel Bot commented Jul 8, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
holocene Ready Ready Preview, Comment Jul 8, 2026 9:55pm

Request Review

@rossedfort
rossedfort enabled auto-merge (squash) July 8, 2026 22:02
@rossedfort
rossedfort merged commit 9627a41 into main Jul 8, 2026
20 checks passed
@rossedfort
rossedfort deleted the SANO-details-loading branch July 8, 2026 22:03
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