Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add version picker #1724

Merged
merged 15 commits into from
Apr 26, 2024
Merged

add version picker #1724

merged 15 commits into from
Apr 26, 2024

Conversation

nahoc
Copy link
Contributor

@nahoc nahoc commented Apr 25, 2024

Adds a version picker to the benchmarks site

image

the source of truth for versions lives in web/apps/benchmarks-and-reports/src/versions.js:

export const VERSIONS = [
  {
    label: "next",
    value: "main", // value is the branch name on github
  },
  {
    label: "release-0.21",
    value: "release-0.21", // value is the branch name on github
    latest: true,
  },
];

@nahoc nahoc self-assigned this Apr 25, 2024
Copy link

vercel bot commented Apr 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs-website ✅ Ready (Inspect) Visit Preview Apr 25, 2024 11:35pm
reports-and-benchmarks ✅ Ready (Inspect) Visit Preview Apr 25, 2024 11:35pm

Comment on lines +4 to +14
export const VERSIONS = [
{
label: "next",
value: "main", // value is the branch name on github
},
{
label: "release-0.21",
value: "release-0.21", // value is the branch name on github
latest: true,
},
];
Copy link
Member

Choose a reason for hiding this comment

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

Perfect!

@flaub flaub changed the title feat(benchmarks): add version picker add version picker Apr 25, 2024
@flaub flaub merged commit f0fbbcd into main Apr 26, 2024
29 checks passed
@flaub flaub deleted the nahoc/version-picker branch April 26, 2024 00:05
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.

None yet

2 participants