Commit Graph

12 Commits

Author SHA1 Message Date
279468eddc Add device management and database-backed desktop settings
This update migrates desktop grid settings from localStorage to the database
and introduces a comprehensive device management system.

Features:
- New haex_devices table for device identification and naming
- Device-specific settings with foreign key relationships
- Preset-based icon sizes (Small, Medium, Large, Extra Large)
- Grid positioning improvements to prevent dragging behind PageHeader
- Dynamic icon sizing based on database settings

Database Changes:
- Created haex_devices table with deviceId (UUID) and name columns
- Modified haex_settings to include device_id FK and updated unique constraint
- Migration 0002_loose_quasimodo.sql for schema changes

Technical Improvements:
- Replaced arbitrary icon size slider (60-200px) with preset system
- Icons use actual measured dimensions for proper grid centering
- Settings sync on vault mount for cross-device consistency
- Proper bounds checking during icon drag operations

Bump version to 0.1.7
2025-11-04 16:04:38 +01:00
6a7f58a513 Fix production build crash by resolving circular import dependency
Moved database schemas from src-tauri/database/schemas/ to src/database/schemas/
to fix bundling issues and resolved circular import dependency that caused
"Cannot access uninitialized variable" error in production builds.

Key changes:
- Moved crdtColumnNames definition into haex.ts to break circular dependency
- Restored .$defaultFn(() => crypto.randomUUID()) calls
- Kept AnySQLiteColumn type annotations
- Removed obsolete TDZ fix script (no longer needed)
- Updated all import paths across stores and configuration files
2025-11-02 00:57:03 +01:00
ef225b281f refactored design 2025-10-28 14:16:17 +01:00
5fdea155d1 removed logs 2025-10-25 08:14:59 +02:00
4f839aa856 fixed trigger 2025-10-23 13:17:58 +02:00
f70e924cc3 refatored rust sql and drizzle 2025-10-22 15:05:36 +02:00
a291619f63 add desktop 2025-10-16 20:56:21 +02:00
fc841f238b generate table structs from ts in rust 2025-10-02 14:31:47 +02:00
0a7de8b78b switch to nuxt ui 2025-09-11 00:58:55 +02:00
62ddc33290 fix submit handler 2025-06-18 16:00:20 +02:00
e33fa804fa implemented device name 2025-06-17 16:46:44 +02:00
066b8171bf restructured vault settings 2025-06-17 11:51:00 +02:00