Skip to content

fix: prevent navigation flash and align Data Slot integrations - #184

Merged
silveltman merged 2 commits into
mainfrom
fix/data-slot-integrations
Sep 11, 2026
Merged

silveltman merged 2 commits into
mainfrom
fix/data-slot-integrations

Conversation

@silveltman

@silveltman silveltman commented Sep 11, 2026 •

Copy link
Copy Markdown
Collaborator

Closed navigation panels briefly appeared before JavaScript initialized. Render closed panels hidden and correct the concrete Data Slot contract mismatches found during the integration audit.

The release contains 36 changed files, including generated registry output. The only added release file is the patch changeset. The general Astro lifecycle helper, audit report, temporary fixtures and debug artifacts have been removed. Existing component initialization is retained.

Retained fixes and documentation

  • Initial visibility and indicator positioning use the Navigation Menu state/positioning contract. Accordion/Tabs initial hidden state and Switch/Toggle native initial states prevent the same pre-initialization mismatch.
  • Sheet uses Data Slot's native lockScroll; modal styles consume the documented stack-index variables. The CSS scale/base values are our visual styling, not a separate runtime manager.
  • Sidebar preserves the required tooltip-trigger/dialog-content slots and synchronizes its existing UI through documented dialog:change, tooltip:change and tooltip:set events. Conditional sidebar tooltips are necessary component-specific glue, not a copied Data Slot feature.
  • HoverCard's existing Astro open prop is passed to the documented createHoverCard(..., { open }) controlled option. The data attribute is only the small server-to-browser bridge; the runtime owns behavior.
  • String range sliders produce both documented thumbs. Combobox examples now place Empty inside List, matching the official markup; the additional sibling-layout workaround was removed.

All 18 package READMEs used in the audit were rechecked against this pinned official source and installed 0.2.166 runtime. These are documented API integrations with necessary Astro rendering/styling, not a claim that every line is copied verbatim from Data Slot.

Validation

  • Independent read-only Astra review of the cleaned diff passed.
  • pnpm build: passed, 80 pages.
  • pnpm check: passed, 0 errors/warnings and 3 existing unused-type/import hints.
  • Official registry regeneration and exact embedded-text/source comparison passed. No removed-helper references remain.
  • npm pack --dry-run: passed; audit, helper and unrelated share files are excluded.
  • Browser rechecks: navigation opens; initial menu content stays hidden with JavaScript disabled; Combobox shows empty results using the documented nesting; mobile Sidebar opens, locks scroll, closes with Escape and reopens. Browser overrides restored.
  • Prior validation of retained fixes also covered keyboard controls, initial states and nested Sheets.

Preview: https://deploy-preview-184--fulldev-ui.netlify.app/components/navigation-menu/

Release

Patch changeset for fulldev-ui 0.10.0 → 0.10.1. After merge, the existing Changesets workflow creates the version/changelog release PR; merging that PR runs publication. No release or production merge has been performed here.

Floating content inside modals remains a separate known layering issue. General ClientRouter lifecycle/state preservation is not added by this release.

@netlify

netlify Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for fulldev-ui ready!

Name Link
🔨 Latest commit 31de006
🔍 Latest deploy log https://app.netlify.com/projects/fulldev-ui/deploys/6aa40a2fd80f7900072208af
😎 Deploy Preview https://deploy-preview-184--fulldev-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@silveltman
silveltman merged commit b4c6557 into main Sep 11, 2026
5 checks passed
@silveltman
silveltman deleted the fix/data-slot-integrations branch September 11, 2026 16:11
@github-actions github-actions Bot mentioned this pull request Sep 11, 2026
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.

1 participant