fix(issues): label board display-settings button as Display (MUL-5011) (#5664)

The display-settings trigger showed the current sort mode (e.g. "Manual")
as its label, which reads as an unclear button name. Show a fixed
"Display" label with the sliders icon instead, matching the existing
"Display settings" tooltip. The sort mode remains visible inside the
popover's Ordering section.

Co-authored-by: Bohan-J <bohan@devv.ai>
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
Bohan Jiang
2026-07-20 14:49:12 +08:00
committed by GitHub
parent 099e145611
commit 1be1fd3be1
5 changed files with 6 additions and 8 deletions

View File

@@ -1332,14 +1332,8 @@ export function IssueDisplayControls({
<TooltipTrigger
render={
<Button variant="outline" size="sm" className={controlButtonClass}>
{sortBy === "position" ? (
<SlidersHorizontal className="size-3.5" />
) : sortDirection === "asc" ? (
<ArrowUp className="size-3.5" />
) : (
<ArrowDown className="size-3.5" />
)}
<span className="hidden md:inline">{sortLabel}</span>
<SlidersHorizontal className="size-3.5" />
<span className="hidden md:inline">{t(($) => $.display.button)}</span>
</Button>
}
/>

View File

@@ -68,6 +68,7 @@
},
"display": {
"tooltip": "Display settings",
"button": "Display",
"grouping_section": "Grouping",
"ordering_section": "Ordering",
"card_properties_section": "Card properties",

View File

@@ -66,6 +66,7 @@
},
"display": {
"tooltip": "表示設定",
"button": "表示",
"grouping_section": "グループ化",
"ordering_section": "並び替え",
"card_properties_section": "カードのプロパティ",

View File

@@ -66,6 +66,7 @@
},
"display": {
"tooltip": "보기 설정",
"button": "보기",
"grouping_section": "그룹화",
"ordering_section": "정렬",
"card_properties_section": "카드 속성",

View File

@@ -66,6 +66,7 @@
},
"display": {
"tooltip": "显示设置",
"button": "显示",
"grouping_section": "分组",
"ordering_section": "排序",
"card_properties_section": "卡片属性",