mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-26 20:45:37 +02:00
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:
@@ -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>
|
||||
}
|
||||
/>
|
||||
|
||||
@@ -68,6 +68,7 @@
|
||||
},
|
||||
"display": {
|
||||
"tooltip": "Display settings",
|
||||
"button": "Display",
|
||||
"grouping_section": "Grouping",
|
||||
"ordering_section": "Ordering",
|
||||
"card_properties_section": "Card properties",
|
||||
|
||||
@@ -66,6 +66,7 @@
|
||||
},
|
||||
"display": {
|
||||
"tooltip": "表示設定",
|
||||
"button": "表示",
|
||||
"grouping_section": "グループ化",
|
||||
"ordering_section": "並び替え",
|
||||
"card_properties_section": "カードのプロパティ",
|
||||
|
||||
@@ -66,6 +66,7 @@
|
||||
},
|
||||
"display": {
|
||||
"tooltip": "보기 설정",
|
||||
"button": "보기",
|
||||
"grouping_section": "그룹화",
|
||||
"ordering_section": "정렬",
|
||||
"card_properties_section": "카드 속성",
|
||||
|
||||
@@ -66,6 +66,7 @@
|
||||
},
|
||||
"display": {
|
||||
"tooltip": "显示设置",
|
||||
"button": "显示",
|
||||
"grouping_section": "分组",
|
||||
"ordering_section": "排序",
|
||||
"card_properties_section": "卡片属性",
|
||||
|
||||
Reference in New Issue
Block a user