Skip to content

FlutterBench leaderboard table component - #14170

Open
ericwindmill wants to merge 3 commits into
fb/2-page-shellfrom
fb/3-table
Open

ericwindmill wants to merge 3 commits into
fb/2-page-shellfrom
fb/3-table

Conversation

@ericwindmill

@ericwindmill ericwindmill commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Description of what this PR is changing or adding, and why:

Adds the FlutterBench leaderboard table component to /flutterbench. It will not display results for now.

  • components/flutterbench/flutterbench_interactive.dart: the client-hydrated FlutterBenchInteractive component.
  • Accessible sorting: each header holds a <button>, the active column has aria-sort, and buttons show a focus ring.
  • `_flutterbench-table.scss

Presubmit checklist

  • If you are unwilling, or unable, to sign the CLA, even for a tiny, one-word PR, please file an issue instead of a PR.
  • If this PR is not meant to land until a future stable release, mark it as draft with an explanation.
  • This PR follows the Google Developer Documentation Style Guidelines—for example, it doesn't use i.e. or e.g., and it avoids I and we (first-person pronouns).
  • This PR uses semantic line breaks
    of 80 characters or fewer.

@ericwindmill ericwindmill mentioned this pull request Dec 4, 2026
4 tasks done

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces an interactive, client-hydrated leaderboard (FlutterBenchInteractive and BenchTable) for the FlutterBench page, allowing users to sort benchmark results by various metrics. It also registers the new client/server options and adds corresponding styles. The review comments identify a few key issues: a compilation error in Dart 3.13 due to invalid null-aware map entry syntax (?title), an accessibility improvement to explicitly set aria-sort to 'none' for unsorted columns, and a stability issue where sorting identical or missing values can lead to non-deterministic row ordering.

@flutter-website-bot

flutter-website-bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator

Staged preview of the updated flutter.dev site (updated for commit d6def26):

https://flutter-dev-230821--www-pr14170-fb-3-table-e7y20s0m.web.app

@ericwindmill
ericwindmill added this pull request to stack #14173 December 4, 2026 20:29
@ericwindmill ericwindmill changed the title FlutterBench leaderboard table FlutterBench leaderboard table component Dec 4, 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