Keep global actions visible and follow each platform's title bar
Phase 5-4. - The workspace button sits at the left end of the header. It shows the workspace name and opens the workspace list below it. - The left ribbon is always present: plugin views at the top, Help and Settings at the bottom. The left pane footer is gone. - Tabs keep 120 pixels and scroll. Fades show tabs out of view, and a list button names all tabs, with pinned and unsaved marks. The active tab now scrolls into view with its close button. - A drag area of 120 pixels follows the tabs. In a narrow header, the tabs shrink first, and the drag area keeps at least 48 pixels. - Caption buttons are square, 46 pixels wide, and full height. When the pointer rests on maximize, the new window_snap_layouts command opens Snap Layouts with Win+Z for the focused window. - macOS keeps its native traffic lights: tauri.macos.conf.json and the runtime window builders use an overlay title bar. Title bars leave --rs-titlebar-inset-start free for the traffic lights. - 3 new catalog rows and 1 removed row, in French, Japanese, and Simplified Chinese. - Docs: UI-050, the user guide, and ui-design.md. Tests: the new layout/titleBar. Tests that used the left pane footer, the rounded caption buttons, the 600-pixel theme editor pane, or a ribbon of no width now follow the new layout.
This commit is contained in:
@@ -941,12 +941,6 @@ export const messageRows: [string, string, string, string][] = [
|
||||
"フォルダーを開く",
|
||||
"打开文件夹"
|
||||
],
|
||||
[
|
||||
"No workspace",
|
||||
"Aucun espace de travail",
|
||||
"ワークスペースなし",
|
||||
"无工作区"
|
||||
],
|
||||
[
|
||||
"Help and about ({shortcut})",
|
||||
"Aide et à propos ({shortcut})",
|
||||
@@ -3464,6 +3458,9 @@ export const messageRows: [string, string, string, string][] = [
|
||||
["Split: Read beside the editor", "Diviser : Lire à côté de l’éditeur", "分割: エディターの横に閲覧を表示", "分栏:在编辑器旁显示阅读"],
|
||||
["Switch between Write and Source", "Alterner entre Écrire et Source", "「書く」と「ソース」を切り替え", "在写作和源码之间切换"],
|
||||
["Switch between Read and the editor", "Alterner entre Lire et l’éditeur", "「閲覧」とエディターを切り替え", "在阅读和编辑器之间切换"],
|
||||
["Unsaved", "Non enregistré", "未保存", "未保存"],
|
||||
["All tabs", "Tous les onglets", "すべてのタブ", "所有标签页"],
|
||||
["Open folder ({shortcut})", "Ouvrir un dossier ({shortcut})", "フォルダーを開く ({shortcut})", "打开文件夹 ({shortcut})"],
|
||||
];
|
||||
export const catalogs: Record<Exclude<Locale, 'en'>, Record<string, string>> = {
|
||||
fr: Object.fromEntries(messageRows.map(row => [row[0], row[1]])),
|
||||
|
||||
Reference in New Issue
Block a user