Skip to content

feat(home): redesign landing page and align application shell - #582

Open
KartikP wants to merge 19 commits into
masterfrom
kp/landing-dashboard-and-shell
Open

KartikP wants to merge 19 commits into
masterfrom
kp/landing-dashboard-and-shell

Conversation

@KartikP

@KartikP KartikP commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Combines the stacked pull requests #550 and #551 into one pull request, merged onto the latest master. Supersedes #550 and #551.

Part 1: Landing page dashboard (from #550)

Summary

  • redesign the homepage around recent platform updates and public model submissions
  • add a full-width two-dimensional PCA preview of high-level vision benchmark scores beside a live leaderboard preview
  • let visitors toggle the PCA preview between the default 2D view and an interactive 3D view
  • add benchmark and model comparison entry points plus local usage and community calls to action
  • use contributor initials as an avatar-ready placeholder because the current user schema has no profile-image field
image

Implementation

  • derive three PCA components from V1, V2, V4, IT, and behavioral aggregate scores in the existing materialized model context
  • keep the original full-width 2D composition as the initial view and reuse the same data for the opt-in 3D projection
  • cache landing dashboard data for 15 minutes and fail gracefully when the database is unavailable
  • render the PCA with responsive SVG and omit Plotly, D3, Chart.js, and jStat from the homepage
  • require no database or schema changes

Validation

  • landing-page and homepage tests
  • complete Sass bundle compilation
  • JavaScript syntax validation
  • compressed asset build
  • live local homepage and static-asset checks
  • measured landing-data preparation at about 0.84 seconds cold and 0.002 seconds cached

Part 2: Application shell theme (from #551)

Summary

  • add a scoped application-shell theme for the main Brain-Score product pages
  • carry the landing page's background, green-topped panels, controls, and typography into the shared page shell
  • update the sidebar, page banners, cards, buttons, forms, tabs, tables, and notifications without changing page-specific analytics
  • leave standalone competition and authentication layouts isolated from these overrides

Verification

  • compiled the complete Sass bundle
  • ran landing-page tests
  • ran representative Compare, Explore, Leaderboard, and Community page tests
  • verified the new compiled stylesheet is served by the local application

Merge notes

  • one conflict in static/benchmarks/css/main.sass: kept both @import "model-card" (from master) and @import "app-shell", with app-shell last so its overrides apply
  • after the merge: the complete Sass bundle compiles, landing-dashboard.js passes node --check, and benchmarks.tests.test_landing passes (3/3)
  • benchmarks.tests.test_views: the new tests pass; 5 remaining failures also fail on clean master with the same local setup (fixture data not present)

KartikP added 19 commits August 5, 2026 09:40
# Conflicts:
#	static/benchmarks/css/main.sass
The preview used only the 80 highest-ranked models, which left out
420 models with complete scores. Bump the cache key so a shared cache
does not serve the old 80-model data after deploy.
Opacity follows a wide sigmoid of the share of visible neural and
behavioral leaf benchmarks a model has scores on: about solid above 80%,
about 0.15 below 30%. A legend row and a tooltip completion bar explain
the encoding.
The merge of master and the app shell branch left two body_class blocks
in model.html, which raised a TemplateSyntaxError on every model page.
Add a test that compiles every template so this fails without a
database.
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