ui: reorder product switcher dropdown with divider before Fern CLI/Dashboard#5492
Open
kgowru wants to merge 1 commit into
Open
ui: reorder product switcher dropdown with divider before Fern CLI/Dashboard#5492kgowru wants to merge 1 commit into
kgowru wants to merge 1 commit into
Conversation
…shboard Co-Authored-By: Kapil Gowru <k.gowru@gmail.com>
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Contributor
Contributor
Test results — all passedTested the new product switcher dropdown on the Vercel preview (open) by clicking the header product switcher and visually verifying the grid layout.
Evidence (open)Full dropdown Left/middle columns zoomed — order + divider Right column zoomed — specs unchanged |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reorders the product switcher dropdown on
buildwithfern.com/learnso theprimary products (Home, SDKs, Docs, CLI Generator) appear first, followed
by a divider, then secondary products (Fern CLI, Dashboard). The specs
column (OpenAPI, AsyncAPI, OpenRPC, gRPC) on the right is unchanged.
Layout
Desktop (≥1024px) grid:
Mobile / tablet (<1024px) stacks vertically in the same order with a
thin rule above Fern CLI to mirror the divider.
Changes
fern/docs.yml: reorder theproductslist to: Home → SDKs → Docs →CLI Generator → Fern CLI → Dashboard (specs entries unchanged).
fern/assets/styles.css:and Fern CLI+Dashboard occupy row 3.
::afterpseudo-element on.fern-product-selector-radio-groupthat draws a 1px divider in the gap between row 2 and row 3,
spanning columns 1 and 2 only.
border-topdivider above Fern CLI for stacked layouts.Review & Testing Checklist for Human
header on a desktop viewport, and verify the order matches the
layout above with the divider visible between row 2 and row 3.
gRPC) looks visually identical to today.
the stacked dropdown still shows a divider above Fern CLI.
subtle hairline (uses
--grayscale-5).Notes
The divider is drawn purely in CSS — no schema or component changes are
required. The math for the desktop divider position is keyed to the
existing
height: 248px,padding: 1.25rem, andgap: 1.5remon theradio group; if those values change the divider position may need to be
retuned.
Link to Devin session: https://app.devin.ai/sessions/8b89134331b8478fa7ab28ecd2091911
Requested by: @kgowru