Skip to content

Redesign docs site home and examples pages#2421

Merged
keller-mark merged 7 commits intomainfrom
website-february-2026
Feb 23, 2026
Merged

Redesign docs site home and examples pages#2421
keller-mark merged 7 commits intomainfrom
website-february-2026

Conversation

@ngehlenborg
Copy link
Copy Markdown
Member

@ngehlenborg ngehlenborg commented Feb 20, 2026

Towards #2416

Summary

  • Fixed the CSS selector in AppStyles that was incorrectly highlighting the "Examples" navbar item instead of "Playground" when on the Playground page (/#?edit=true)
  • Added activeBasePath for the Examples navbar link to scope its active state correctly

Test plan

  • Navigate to /#?edit=true (Playground) and verify "Playground" is highlighted, not "Examples"
  • Navigate to /examples/ and verify "Examples" is highlighted
  • Navigate to /#?dataset=<demo> and verify "Playground" is highlighted

🤖 Generated with Claude Code

ngehlenborg and others added 2 commits February 20, 2026 12:09
- Rewrite homepage with split hero layout (dark bg), features strip,
  randomized examples mosaic, platforms section, and publication section
  with Nature Methods paper PDF cover and abstract
- Add theme-aware example screenshots (light/dark, 1920x800) generated
  via Playwright script
- Redesign examples page with grid layout, tag filtering, and
  theme-aware screenshot thumbnails
- Modernize footer with citation, contact info, and cleaner layout
- Update navbar: reorder items, rename App to Playground
- Refresh design tokens and typography (Inter font, teal accent)
- Add SVG feature icons and placeholder image

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The AppStyles CSS selector was targeting the first navbar link (Examples)
instead of the second (Playground). Updated the selector to use the
adjacent sibling combinator twice to correctly highlight the Playground
item. Also added activeBasePath for the Examples link.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 20, 2026

Size Change: 0 B

Total Size: 7.44 MB

ℹ️ View Unchanged
Filename Size
./packages/main/prod/dist/blosc-********.js 612 kB
./packages/main/prod/dist/chunk-INHXZS53-********.js 558 B
./packages/main/prod/dist/deflate-********.js 208 B
./packages/main/prod/dist/higlass-********.js 3.57 MB
./packages/main/prod/dist/index-********.js 235 kB
./packages/main/prod/dist/index.min.js 1.38 kB
./packages/main/prod/dist/jpeg-********.js 15.6 kB
./packages/main/prod/dist/lerc-********.js 89.3 kB
./packages/main/prod/dist/lz4-********.js 43.9 kB
./packages/main/prod/dist/lzw-********.js 2.07 kB
./packages/main/prod/dist/OrbitControls-********.js 229 kB
./packages/main/prod/dist/packbits-********.js 541 B
./packages/main/prod/dist/pako.esm-********.js 37.1 kB
./packages/main/prod/dist/raw-********.js 133 B
./packages/main/prod/dist/ReactNeuroglancer-********.js 1.67 MB
./packages/main/prod/dist/troika-three-text.esm-********.js 179 kB
./packages/main/prod/dist/webimage-********.js 801 B
./packages/main/prod/dist/zstd-********.js 754 kB

compressed-size-action

@keller-mark keller-mark changed the title Fix navbar highlighting for Playground link Redesign docs site home and examples pages Feb 21, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 23, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 12.93% 9181 / 70981
🔵 Statements 12.93% 9181 / 70981
🔵 Functions 48.68% 537 / 1103
🔵 Branches 67.27% 1406 / 2090
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
sites/docs/src/pages/_DemoList.js 0% 0% 0% 0% 1-196
sites/docs/src/pages/_FeatureIcons.js 0% 0% 0% 0% 1-52
sites/docs/src/pages/_Home.js 0% 100% 100% 0% 2-372
sites/docs/src/pages/_ScreenshotImage.js 0% 0% 0% 0% 1-21
sites/docs/src/pages/examples.js 0% 100% 100% 0% 2-24
sites/docs/src/theme/Footer/index.js 0% 100% 100% 0% 3-163
Generated in workflow #4854 for commit 6a46e2c by the Vitest Coverage Report Action

@keller-mark keller-mark merged commit ef67e8b into main Feb 23, 2026
7 checks passed
@keller-mark keller-mark deleted the website-february-2026 branch February 23, 2026 19:53
@github-actions github-actions bot mentioned this pull request Feb 23, 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.

2 participants