feat(settings): Group page description, collapsed page tree and a seamless title bar

- Group pages open with a short description and list their pages as
  indented links.
- The page tree starts collapsed, expanding only the current page's
  ancestors.
- The Settings window title bar sits on the dialog surface without a
  hairline.
Цей коміт міститься в:
l0ng-ai committed 2026-10-28 10:20:26 +08:00
1 джерело c6a4361513
коміт b3b4cbbe1a
5 files changed
+66 -17

No files matched your search

+5
Переглянути файл
@@ -19,6 +19,11 @@
background: var(--bg-elev);
box-shadow: inset 0 -1px 0 var(--border);
}
/* Dialog window (Settings): the title sits on the dialog surface, no hairline. */
.dialogBar {
background: var(--bg-dialog, var(--bg-elev));
box-shadow: none;
}
.windowTitle {
min-width: 0;
overflow: hidden;
+1 -1
Переглянути файл
@@ -292,7 +292,7 @@ export function TitleBar({
const entry = (id: string) => <ToolbarEntry key={id} id={id} items={map} />;
return (
<header
className={clsx(className, minimal && styles.minimal)}
className={clsx(className, minimal && styles.minimal, dialog && styles.dialogBar)}
data-tauri-drag-region
onContextMenu={(e) => {
if (minimal || e.defaultPrevented) return;