Skip to content

Consolidate Tailscale wizard success page to fit above the fold#111

Merged
thestumonkey merged 1 commit into
mainfrom
6bc0-tailscale-succes
Jan 19, 2026
Merged

Consolidate Tailscale wizard success page to fit above the fold#111
thestumonkey merged 1 commit into
mainfrom
6bc0-tailscale-succes

Conversation

@thestumonkey

@thestumonkey thestumonkey commented Jan 19, 2026

Copy link
Copy Markdown
Member

Summary

Consolidates the Tailscale wizard completion step UI to reduce vertical space, ensuring navigation buttons remain visible above the fold without scrolling.

Changes Made

  • Compact header: Moved the success checkmark icon inline with the title (40px beside text instead of 64px centered above), reducing vertical space by ~80px
  • Streamlined URL box: Reduced padding and removed redundant descriptive text above/below the access URL
  • Horizontal status badges: Converted the vertical configuration checklist (5+ items) into a compact horizontal flex-wrap layout with single-word labels (Tailscale, Caddy, HTTPS, Routes, CORS)
  • Collapsible routes section: Made the variable-height configured routes display collapsible via a <details> element, hidden by default with "View configured routes" toggle
  • Added data-testid attributes: Added complete-access-url and routes-toggle test IDs per project conventions

Why

The completion step had too much information causing the "What's Next" navigation buttons to be pushed below the fold. The configured routes section (a <pre> block showing Tailscale Serve output) was particularly problematic due to its variable height depending on the number of routes configured.

Implementation Details

  • Uses native HTML <details>/<summary> for collapsible routes - no JS state needed
  • Routes are constrained to max-h-32 when expanded to prevent excessive height
  • Status badges use smaller icons (w-3.5 h-3.5) and tighter spacing (gap-1.5)
  • All changes maintain dark mode support

🤖 Generated with Claude Code

`★ Insight ─────────────────────────────────────`
**Changes made to reduce vertical space:**
1. **Header**: Moved the checkmark icon inline with the title (was 64px centered, now 40px beside text) - saves ~80px
2. **Access URL box**: Reduced padding from `p-6` to `p-4`, removed the extra descriptive text above/below the URL - saves ~40px
3. **Configuration checklist**: Changed from vertical list (5+ items × ~32px each) to a compact horizontal flexwrap layout - saves ~100px
4. **Routes section**: Made it a collapsible `<details>` element with a `max-h-32` constraint when expanded - variable-height content now hidden by default
`─────────────────────────────────────────────────`

The complete step now has a much more compact layout where:
- The success header is inline rather than stacked
- Configuration status is shown as compact inline badges instead of a vertical list
- The variable-height routes section is collapsed by default (users can click "View configured routes" to expand)
- The `WhatsNext` component and navigation buttons should now be visible above the fold
@thestumonkey thestumonkey changed the title Tailscale success page Consolidate Tailscale wizard success page to fit above the fold Jan 19, 2026
@thestumonkey thestumonkey merged commit 7c7aed5 into main Jan 19, 2026
2 of 4 checks passed
@thestumonkey thestumonkey deleted the 6bc0-tailscale-succes branch January 19, 2026 14:25
thestumonkey added a commit that referenced this pull request Jan 24, 2026
…d: (#111)

`★ Insight ─────────────────────────────────────`
**Changes made to reduce vertical space:**
1. **Header**: Moved the checkmark icon inline with the title (was 64px centered, now 40px beside text) - saves ~80px
2. **Access URL box**: Reduced padding from `p-6` to `p-4`, removed the extra descriptive text above/below the URL - saves ~40px
3. **Configuration checklist**: Changed from vertical list (5+ items × ~32px each) to a compact horizontal flexwrap layout - saves ~100px
4. **Routes section**: Made it a collapsible `<details>` element with a `max-h-32` constraint when expanded - variable-height content now hidden by default
`─────────────────────────────────────────────────`

The complete step now has a much more compact layout where:
- The success header is inline rather than stacked
- Configuration status is shown as compact inline badges instead of a vertical list
- The variable-height routes section is collapsed by default (users can click "View configured routes" to expand)
- The `WhatsNext` component and navigation buttons should now be visible above the fold
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