feat: custom scrollbars, portable storage, window state persistence

- Custom scrollbar CSS using ::-webkit-scrollbar for Tauri's Chromium WebView
- Portable storage: all data written next to exe in data/ folder instead of AppData
- Rust get_portable_data_dir command with runtime FS scope for exe directory
- Window size/position/maximized saved to settings on close, restored on startup
This commit is contained in:
Your Name
2026-02-15 22:18:50 +02:00
parent bc12b5569a
commit c6fea186ef
8 changed files with 130 additions and 9 deletions

View File

@@ -1,5 +1,13 @@
import type { ColumnWidth } from "./board";
export interface WindowState {
x: number;
y: number;
width: number;
height: number;
maximized: boolean;
}
export interface AppSettings {
theme: "light" | "dark" | "system";
dataDirectory: string | null;
@@ -8,4 +16,5 @@ export interface AppSettings {
uiZoom: number;
density: "compact" | "comfortable" | "spacious";
defaultColumnWidth: ColumnWidth;
windowState: WindowState | null;
}