Skip to content

Review follow-up: upstream Nimbus scaffold bugs declined in apps/docs #158

Open

Description

@amondnet

Summary

cubic's review of #155 flagged 17 bugs in Nimbus starter and registry components that the docs site (apps/docs) copies in but does not render or cannot trigger. They were declined in #155. Patching unedited scaffold files locally stops nimbus-docs add --overwrite and diff --apply from updating them, and these bugs don't affect the site today. They belong upstream in @cloudflare/nimbus-docs.

Reviewer: cubic-dev-ai
PR: #155
Decision: Declined. Not reachable on this site; fix upstream, then pull the fix with nimbus-docs outdated / diff --apply / add --overwrite.

Findings

Each row has a cubic review thread on #155 at the same file and line.

File (apps/docs/src/…) Finding Why it doesn't hit this site
components/ui/collapsible/CollapsibleContent.astro:19 inert set once at render; the parent's open never reaches the panel Collapsible isn't rendered
components/ui/image-zoom/image-zoom.client.ts:39 an inline-block image gets a block trigger no images in content
styles/prose.css:21 unlayered prose rules beat Tailwind v4 utilities; should be @layer components cascade change across every page; needs a visual pass
components/ui/tabs/TabsList.astro:42 edge fade overlaps the scrolled-in active tab our tab strips don't overflow
components/ui/switch/Switch.astro:66 focus ring hardcodes oklch instead of outline-ring Switch isn't rendered
components/ui/package-managers/package-managers.client.ts:38 copy result via aria-label isn't announced; use a role="status" region PackageManagers unused in content
components/ui/package-managers/PackageManagers.astro:40 restore script isn't is:inline, so the default tab can paint first PackageManagers unused in content
components/Render.astro:45 a partial without params skips validation, unlike params: [] no partials
components/ui/tabs/Tabs.astro:27 nested <Tabs> in intro text breaks manual-mode detection no nested tabs
layouts/BaseLayout.astro:122 readPref keeps returning unsaved after a later successful write needs a refused then successful localStorage write
components/Header.astro:76 section tab row (24px) crops the 27px tab pill section tabs not rendered
components/Header.astro:53 a single API entry ignores its configured label no API reference
components/ui/code/index.ts:1 Code is neither imported nor registered for MDX unused, not bundled
components/ui/banner/banner.client.ts:40 dismissing drops focus to <body>; move it to #main-content no banner configured
components/ui/pagination/pagination.client.ts:51 onLeave hides the highlight while a link inside still has focus hover-only detail
components/ui/tabs/tabs.client.ts:55-59 the synthesized path overwrites an author-supplied TabItem id no TabItem ids
lib/variants.ts:28 unknown variant values break compound matching all call sites pass known values

Next steps

  • Report the still-valid ones upstream to @cloudflare/nimbus-docs.
  • When a new Nimbus release lands, run npx @cloudflare/nimbus-docs outdated and pull the fixes with diff --apply / add --overwrite.
  • Fix one locally only if it starts affecting this site (for example, once content uses an image or PackageManagers).

Activity

  1. added
    dedupe-checked
    on Nov 23, 2026
  2. added theissue type on Nov 23, 2026
  3. amondnet commented on Nov 23, 2026

    @amondnet
    ContributorAuthor

    Two more from gemini-code-assist's re-review of #155, declined for the same reason:

    File (apps/docs/src/…) Finding Why it doesn't hit this site
    components/ui/toc/toc.client.ts:58-108 getTotalLength() per segment forces a layout on each; compute lengths in JS runs only on resize / ResizeObserver, already linear in headings, and our pages have few headings
    components/ui/banner/Banner.astro:59-77 the inline dismissal script relies on document.currentScript, which is null after a ClientRouter swap no banner configured
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dedupe-checked

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions