Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
8c03d4d
style(benchmarks): Comparison as one card, icon-only column pickers
mariana953 Nov 10, 2026
76bcd54
style(benchmarks): open library list, Select folder in the header
mariana953 Nov 10, 2026
2b4b909
style(benchmarks): platform palette, no divider lines
mariana953 Nov 10, 2026
b962521
style(benchmarks): drop amber from the series palette
mariana953 Nov 10, 2026
f239d50
style(benchmarks): page title like Builds and Apps, comparison in one…
mariana953 Nov 11, 2026
44baf07
style(benchmarks): card fill for panels
mariana953 Nov 11, 2026
845c889
Merge base branch #1981 into mar/benchmarks-layout
mariana953 Nov 11, 2026
502983b
test: benchmarks header has no description
mariana953 Nov 11, 2026
dcf62dd
feat(benchmarks): group results by workflow with inline comparison
mariana953 Nov 11, 2026
a86b807
style(benchmarks): filters fit on one line
mariana953 Nov 11, 2026
6380d42
style(benchmarks): calmer group cards
mariana953 Nov 11, 2026
fb2df68
style(benchmarks): toolbar like Apps and Builds, no floating summary
mariana953 Nov 11, 2026
481bdd0
style(benchmarks): group title on the page, table in its own card
mariana953 Nov 11, 2026
7226c68
feat(benchmarks): shared select with inline label, table like the oth…
mariana953 Nov 11, 2026
9730f8b
fix(benchmarks): toolbar icons at 15px like the proto
mariana953 Nov 11, 2026
2235213
feat(benchmarks): filter menus use the same Menu as Apps
mariana953 Nov 11, 2026
af95619
feat(benchmarks): collapsed groups become slim cards
mariana953 Nov 11, 2026
59033df
feat(benchmarks): empty, error and no-match states like Apps
mariana953 Nov 11, 2026
b033fa2
style(benchmarks): white selection bar, no sideways scroll on narrow …
mariana953 Nov 11, 2026
1683ef3
style(benchmarks): row and group menus use the filter menu style
mariana953 Nov 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 40 additions & 23 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1643,16 +1643,10 @@
},
"benchmarks": {
"title": "Benchmarks",
"description": "Compare results from your performance tests.",
"runsLibrary": "Runs library",
"openFolder": "Select folder",
"refresh": "Refresh sessions",
"searchPlaceholder": "Search runs...",
"allWorkspaces": "All workspaces",
"allInstances": "All builds",
"allHardware": "All hardware",
"allWorkflows": "All workflows",
"columns": "Properties",
"columns": "Columns",
"columnsToDisplay": "Columns to display",
"unmanagedWorkspace": "Unmanaged",
"unknownHardware": "Unknown hardware",
Expand All @@ -1668,8 +1662,7 @@
"median": "Median",
"slowest": "Slowest",
"measuredRuns": "Measured runs",
"selectVisible": "Select all visible runs",
"selectRun": "Select {workflow}",
"selectRun": "Select session {session}",
"actions": "Actions",
"deleteRecord": "Delete {workflow} benchmark",
"deleteConfirmTitle": "Delete {workflow}?",
Expand All @@ -1682,35 +1675,59 @@
"renameErrorTitle": "Could not rename session",
"renameErrorMessage": "The session folder could not be renamed.",
"sessionNameRequired": "Enter a session name.",
"comparison": "Comparison",
"sortComparison": "Sort comparison",
"manualSort": "Manual sort",
"switchSortAscending": "Switch to ascending sort",
"switchSortDescending": "Switch to descending sort",
"reorderComparisonColumn": "Reorder {workflow} comparison column",
"manualSort": "Manual",
"reorderComparisonHint": "Drag to reorder. You can also press Alt+Left or Alt+Right.",
"comparisonImageTitle": "Benchmark Comparison",
"exportResultsImage": "Export results",
"exportingImage": "Exporting image...",
"exportImageFailed": "Could not export the comparison image.",
"metric": "Metric",
"baseline": "Baseline",
"selectBaseline": "Use {workflow}, session {session}, as the baseline",
"visualization": "Comparison visualization",
"speed": "Speed",
"relativePerformance": "Relative speed",
"relativePerformanceHint": "Choose a baseline. Relative speed factor = baseline duration / run duration.",
"faster": "Faster",
"slower": "Slower",
"same": "Same speed",
"missing": "Unavailable",
"duration": "Duration",
"durationRange": "Duration range (min → max)",
"durationRangeHint": "Each line shows the fastest and slowest run, with the average marked.",
"selectPrompt": "Select runs from the library to compare them.",
"empty": "No performance test results yet. Complete a Performance Test to add a run.",
"noMatches": "No runs match these filters.",
"loadError": "Could not load performance test results."
"noMatches": "No runs match these filters",
"loadError": "Could not load performance test results",
"loadErrorHint": "Check the folder and try again.",
"refreshButton": "Refresh",
"emptyTitle": "No performance test results yet",
"emptyHint": "Complete a Performance Test to add a run.",
"openPerformanceTest": "Open Performance Test",
"noMatchesHint": "Try another search or filter.",
"filterAll": "All",
"filterWorkspace": "Workspace",
"filterBuild": "Build",
"filterHardware": "Hardware",
"filterWorkflow": "Workflow",
"compareBy": "Compare by",
"groupMeta": "{hardware} · {sessions} · {runs}",
"sessionCount": "{count} session | {count} sessions",
"runCount": "{count} run | {count} runs",
"groupActions": "More actions for {workflow}",
"selectGroup": "Select all runs",
"exportGroup": "Export this group",
"singleRun": "Only one build ran this workflow here. Run it on another build to compare.",
"metricAndRange": "{metric} and range",
"vsFastest": "Vs fastest",
"vsBaseline": "Vs baseline",
"selection": "Selected runs",
"reorderRun": "Reorder session {session}",
"noMeasuredRuns": "No measured runs",
"timesFaster": "{factor}× faster",
"timesSlower": "{factor}× slower",
"moreActions": "More actions for session {session}",
"setBaseline": "Set as baseline",
"renameSession": "Rename session",
"speedFormula": "Speed = baseline time ÷ run time",
"resetBaseline": "Reset baseline",
"selectedCount": "{count} selected",
"exportLimit": "Up to {max} runs",
"clearSelection": "Clear selection"
},
"downloadsPopup": {
"title": "Downloads",
Expand Down
63 changes: 40 additions & 23 deletions locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -1643,16 +1643,10 @@
},
"benchmarks": {
"title": "性能比较",
"description": "比较性能测试结果。",
"runsLibrary": "运行记录",
"openFolder": "选择文件夹",
"refresh": "刷新会话",
"searchPlaceholder": "搜索工作流、构建或硬件...",
"allWorkspaces": "所有工作区",
"allInstances": "所有构建",
"allHardware": "所有硬件",
"allWorkflows": "所有工作流",
"columns": "属性",
"columns": "列",
"columnsToDisplay": "要显示的列",
"unmanagedWorkspace": "未管理",
"unknownHardware": "未知硬件",
Expand All @@ -1668,8 +1662,7 @@
"median": "中位数",
"slowest": "最慢",
"measuredRuns": "测量运行",
"selectVisible": "选择所有可见运行",
"selectRun": "选择 {workflow}",
"selectRun": "选择会话 {session}",
"actions": "操作",
"deleteRecord": "删除 {workflow} 基准测试",
"deleteConfirmTitle": "删除 {workflow}?",
Expand All @@ -1682,35 +1675,59 @@
"renameErrorTitle": "无法重命名会话",
"renameErrorMessage": "无法重命名会话文件夹。",
"sessionNameRequired": "请输入会话名称。",
"comparison": "比较",
"sortComparison": "排序比较",
"manualSort": "手动排序",
"switchSortAscending": "切换为升序",
"switchSortDescending": "切换为降序",
"reorderComparisonColumn": "重新排列 {workflow} 比较列",
"manualSort": "手动",
"reorderComparisonHint": "拖动以重新排序。也可以按 Alt+左箭头或 Alt+右箭头。",
"comparisonImageTitle": "基准比较",
"exportResultsImage": "导出结果",
"exportingImage": "正在导出图像...",
"exportImageFailed": "无法导出比较图像。",
"metric": "指标",
"baseline": "基准",
"selectBaseline": "将 {workflow}(会话 {session})设为基准",
"visualization": "比较可视化",
"speed": "速度",
"relativePerformance": "相对速度",
"relativePerformanceHint": "选择基准。相对速度系数 = 基准耗时 / 运行耗时。",
"faster": "更快",
"slower": "更慢",
"same": "速度相同",
"missing": "不可用",
"duration": "耗时",
"durationRange": "耗时范围(最短 → 最长)",
"durationRangeHint": "每条线显示最快和最慢运行,并标记平均值。",
"selectPrompt": "从运行记录中选择要比较的运行。",
"empty": "暂无性能测试结果。请完成一次性能测试以添加运行记录。",
"noMatches": "没有符合筛选条件的运行。",
"loadError": "无法加载性能测试结果。"
"noMatches": "没有符合筛选条件的运行",
"loadError": "无法加载性能测试结果",
"loadErrorHint": "请检查文件夹后重试。",
"refreshButton": "刷新",
"emptyTitle": "暂无性能测试结果",
"emptyHint": "完成一次性能测试以添加运行记录。",
"openPerformanceTest": "打开性能测试",
"noMatchesHint": "请尝试其他搜索或筛选条件。",
"filterAll": "全部",
"filterWorkspace": "工作区",
"filterBuild": "构建",
"filterHardware": "硬件",
"filterWorkflow": "工作流",
"compareBy": "比较依据",
"groupMeta": "{hardware} · {sessions} · {runs}",
"sessionCount": "{count} 个会话 | {count} 个会话",
"runCount": "{count} 次运行 | {count} 次运行",
"groupActions": "{workflow} 的更多操作",
"selectGroup": "选择所有运行",
"exportGroup": "导出此组",
"singleRun": "此处只有一个构建运行过此工作流。在另一个构建上运行它即可比较。",
"metricAndRange": "{metric}及范围",
"vsFastest": "对比最快",
"vsBaseline": "对比基准",
"selection": "已选运行",
"reorderRun": "重新排列会话 {session}",
"noMeasuredRuns": "没有测量的运行",
"timesFaster": "快 {factor}×",
"timesSlower": "慢 {factor}×",
"moreActions": "会话 {session} 的更多操作",
"setBaseline": "设为基准",
"renameSession": "重命名会话",
"speedFormula": "速度 = 基准耗时 ÷ 运行耗时",
"resetBaseline": "重置基准",
"selectedCount": "已选择 {count} 项",
"exportLimit": "最多 {max} 次运行",
"clearSelection": "清除选择"
},
"downloadsPopup": {
"title": "下载",
Expand Down
19 changes: 14 additions & 5 deletions src/renderer/src/components/BrandedPageHeader.vue
Original file line number Diff line number Diff line change
@@ -1,19 +1,28 @@
<script setup lang="ts">
defineProps<{
title: string
description: string
description?: string
}>()
</script>

<template>
<header
class="branded-page-header box-border flex w-full items-center gap-7 @max-[700px]:flex-col @max-[700px]:items-start @max-[700px]:gap-2"
class="branded-page-header box-border flex w-full items-end justify-between gap-6 @max-[700px]:flex-col @max-[700px]:items-start @max-[700px]:gap-3"
>
<div>
<h1 class="m-0 mb-1 text-[24px] leading-[1.2] font-semibold text-neutral-100">{{ title }}</h1>
<p class="branded-page-header__description m-0 text-[14px] text-text-muted">
<div class="min-w-0">
<h1 class="m-0 font-display text-display font-semibold text-foreground">{{ title }}</h1>
<p
v-if="description"
class="branded-page-header__description m-0 mt-1 text-[14px] text-text-muted"
>
{{ description }}
</p>
</div>
<div
v-if="$slots.actions"
class="branded-page-header__actions flex flex-none items-center gap-2"
>
<slot name="actions" />
</div>
</header>
</template>
4 changes: 1 addition & 3 deletions src/renderer/src/panel/PanelApp.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -604,9 +604,7 @@ describe('PanelApp', () => {

expect(wrapper.find('[data-testid="benchmarks"]').exists()).toBe(true)
expect(wrapper.get('.branded-page-header h1').text()).toBe('Benchmarks')
expect(wrapper.get('.branded-page-header__description').text()).toBe(
'Compare results from your performance tests.'
)
expect(wrapper.find('.branded-page-header__description').exists()).toBe(false)
})

it('preserves the dashboard workspace when opening Performance Test', async () => {
Expand Down
Loading
Loading