Skip to content

feat: update dropdown icons, move last-updated to header with commit link#70

Merged
darcyclarke merged 2 commits intovltpkg:mainfrom
vltbaudbot:feat/ui-header-icons
Mar 11, 2026
Merged

feat: update dropdown icons, move last-updated to header with commit link#70
darcyclarke merged 2 commits intovltpkg:mainfrom
vltbaudbot:feat/ui-header-icons

Conversation

@vltbaudbot
Copy link
Contributor

Icon changes

  • Tools dropdown: replaced ListFilter (lucide) with Geist terminal-window icon
  • Fixtures dropdown: replaced Package icon with Geist briefcase icon
  • New icon components: TerminalWindow, Briefcase (16×16 SVG, sourced from Geist Icons)

Last updated + commit hash in header

  • Moved last updated date from footer → header, shown as small muted text to the right of "Benchmarks" (hidden on mobile)
  • Added commit SHA as a clickable 7-char hash linking to github.com/vltpkg/benchmarks/commit/{sha}
  • Format: Benchmarks · Feb 28, 2026 · abc1234
  • generate-chart.js accepts optional commit SHA (2nd arg), emits commitSha in chart-data.json
  • process-results.sh passes $GITHUB_SHA (with git rev-parse HEAD fallback) to the chart generator
  • BenchmarkChartData type now includes optional commitSha: string

Footer cleanup

  • Removed date display from footer
  • Kept methodology section, environment details, and theme switcher

…link

## Icon changes
- Tools dropdown: replaced ListFilter (lucide) with Geist terminal-window icon
- Fixtures dropdown: replaced Package icon with Geist briefcase icon
- New icon components: TerminalWindow, Briefcase (16×16 SVG from Geist icons)

## Last updated + commit hash
- Moved 'last updated' date from footer to header, displayed as small text
  to the right of the 'Benchmarks' title (hidden on mobile to save space)
- Added commit SHA link (short 7-char hash) that links to the GitHub commit
  associated with the benchmark run
- generate-chart.js now accepts an optional commit SHA as second argument
  and includes it as `commitSha` in chart-data.json
- process-results.sh passes GITHUB_SHA (or git rev-parse HEAD as fallback)
  to generate-chart.js
- BenchmarkChartData type updated with optional `commitSha` field
- Footer simplified: removed date display, kept methodology + theme switcher
Replace custom Geist SVG icons with lucide-react equivalents:
- Tools dropdown: Hammer (lucide) instead of custom TerminalWindow
- Fixtures dropdown: BriefcaseBusiness (lucide) instead of custom Briefcase
- Removed unused briefcase.tsx and terminal-window.tsx icon files
@darcyclarke darcyclarke merged commit b25cbce into vltpkg:main Mar 11, 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.

3 participants