Commit Graph

114 Commits

Author SHA1 Message Date
5eef5accf0 entry template picker and save-as-template in entries view 2026-02-20 15:09:37 +02:00
0a18c4cf2e entry templates pinia store 2026-02-20 15:07:18 +02:00
5fff21fc96 entry templates CRUD backend 2026-02-20 15:06:50 +02:00
115b22ca47 cascade delete dialog for clients with dependency counts 2026-02-20 15:02:39 +02:00
e2d1b0aa4a client cascade delete with dependency counts 2026-02-20 15:01:33 +02:00
a6d1c6fba5 smart timer safety net - save dialog on stop without project 2026-02-20 14:58:02 +02:00
68826529e4 timer save dialog for no-project and long-timer scenarios 2026-02-20 14:56:17 +02:00
0ff3260e8d use batch save for invoice items 2026-02-20 14:55:17 +02:00
882fee1209 batch invoice items save with transaction 2026-02-20 14:54:37 +02:00
ad8184bb65 independent try/catch per onboarding detection call 2026-02-20 14:47:26 +02:00
79211cac83 standardize error handling across all stores 2026-02-20 14:46:56 +02:00
c6e241ba09 use unified error handler in entries store 2026-02-20 14:43:10 +02:00
7bb62ee6aa unified error handler with retry for transient errors 2026-02-20 14:42:30 +02:00
039cfd518a persistent notifications toggle in settings 2026-02-20 14:40:50 +02:00
4e1ca8fd27 toast undo button and hover/focus pause 2026-02-20 14:38:34 +02:00
98b78106d2 toast auto-dismiss with undo and pause support 2026-02-20 14:38:08 +02:00
0f529793a3 enhancement round 2 implementation plan - 34 tasks
Phase 1: Toast auto-dismiss/undo, unified error handling, onboarding
resilience, invoice batch save, smart timer safety net.
Phase 2: Client cascade delete, entry templates, timesheet persistence,
global quick entry, receipt management.
Phase 3: Dashboard comparison, project health, heatmap, rounding
visibility, complete export with auto-backup.
2026-02-20 14:29:25 +02:00
5713a9d50f enhancement round 2 design - 15 feature proposals
Covers smart timer safety net, toast undo system, unified error
handling, onboarding resilience, invoice save reliability, global
quick entry, entry templates, timesheet persistence, client cascade,
receipt management, weekly comparison, project health cards, time
heatmap, rounding preview, and export scheduling. All features
designed for WCAG 2.2 AAA compliance.
2026-02-20 14:22:01 +02:00
c187c67b06 add tour store for guided walkthrough state 2026-02-20 09:36:26 +02:00
9f44a1a697 tidy up project structure and normalize formatting 2026-02-19 22:43:14 +02:00
99be86a860 mini timer renders via window label instead of hash routing
The mini timer window was blank because hash-based routing
(createWebHashHistory) doesn't work with Tauri's WebviewUrl path.
Now App.vue detects the mini timer by checking getCurrentWindow().label
=== 'mini-timer' and renders the MiniTimer component directly,
bypassing the router entirely.
2026-02-18 15:26:44 +02:00
813411078d mini timer window blank due to hash routing mismatch
The app uses createWebHashHistory but the mini timer window was
opened with WebviewUrl::App("/mini-timer") which sets the URL path,
not the hash fragment. Vue Router never matched the route, so the
Dashboard rendered in a 300x64 window (appearing blank). Now loads
root URL and sets window.location.hash via eval. Also shows/focuses
the main window when closing the mini timer.
2026-02-18 15:23:20 +02:00
ffbbfe0df1 load invoice templates from JSON files via backend
Templates are now loaded dynamically from data/templates/*.json
via the get_invoice_templates Tauri command instead of being
hardcoded in TypeScript. Preview and PDF renderer switch on
template.layout instead of template.id, allowing custom templates
to reuse built-in layouts with different colors.
2026-02-18 15:17:54 +02:00
b722ee684c load invoice templates from JSON files in data/templates directory 2026-02-18 15:12:30 +02:00
32fc45f111 delete invoice_items before invoice to prevent FK constraint failure 2026-02-18 15:07:43 +02:00
aa031f6103 make template picker full-screen with fixed positioning so buttons are visible 2026-02-18 15:05:02 +02:00
391c4cf49c rewrite InvoicePreview with 15 unique typographic layouts 2026-02-18 14:50:49 +02:00
e8a57397c0 rewrite PDF renderer with 15 unique typographic layouts 2026-02-18 14:45:38 +02:00
85aec09d1a add two-step invoice flow with full-screen template picker 2026-02-18 14:43:55 +02:00
b78c796d55 update invoicePdf wrapper with new default template ID 2026-02-18 14:41:23 +02:00
2278534afe rewrite invoice template configs with design-doc IDs and colors 2026-02-18 14:39:01 +02:00
6320b6d13c add template_id to Invoice interface and updateInvoiceTemplate action 2026-02-18 14:38:14 +02:00
a0f4815103 add template_id column to invoices table and update_invoice_template command 2026-02-18 14:37:26 +02:00
dfbeb1a57f add invoice templates v2 implementation plan 2026-02-18 14:32:38 +02:00
f1121b5a02 add invoice templates v2 complete redesign design doc 2026-02-18 14:28:41 +02:00
098751b741 integrate template picker into invoice create and preview views 2026-02-18 13:35:11 +02:00
2aa3b2950b add business identity settings for invoice branding 2026-02-18 13:34:44 +02:00
c63e8577d6 add InvoicePreview.vue with all 7 header styles and 5 table styles 2026-02-18 13:30:27 +02:00
e35077aeb3 add InvoiceTemplatePicker split-pane component 2026-02-18 13:28:40 +02:00
bd9166a2f5 add config-driven jsPDF invoice renderer with all header and table styles 2026-02-18 13:26:11 +02:00
1ca757f8e1 add 15 invoice template configs and registry 2026-02-18 13:16:36 +02:00
f7e4a29513 add invoice templates implementation plan
9-task plan covering template config types, jsPDF renderer,
HTML preview component, template picker UI, Invoices.vue
integration, business identity settings, and polish passes.
2026-02-18 13:12:37 +02:00
755ab470b1 add invoice templates design document
15 visually distinct templates across 4 tiers (Professional
Essentials, Creative & Modern, Warm & Distinctive, Premium &
Specialized) with template config schema, picker UI design,
shared renderer architecture, and business identity support.
2026-02-18 13:07:39 +02:00
69130dcd86 migrate remaining dialogs to Vue Transition, remove old keyframes
Convert Settings, Invoices, IdlePrompt, AppTrackingPrompt, and
AppDiscard dialogs from animate-modal-enter CSS class to proper
<Transition name="modal"> wrappers for enter/leave animations.
Remove unused animate-modal-enter and animate-dropdown-enter keyframes.
2026-02-18 11:36:35 +02:00
bb40e381da add transitions and micro-interactions across all views
- Page transitions with slide-up/fade on route changes (App.vue)
- NavRail sliding active indicator with spring-like easing
- List enter/leave/move animations on Entries, Projects, Clients, Timer
- Modal enter/leave transitions with scale+fade on all dialogs
- Dropdown transitions with overshoot on all select/picker components
- Button feedback (scale on hover/active), card hover lift effects
- Timer pulse on start, glow on stop, floating empty state icons
- Content fade-in on Dashboard, Reports, Calendar, Timesheet
- Tag chip enter/leave animations in AppTagInput
- Progress bar smooth width transitions
- Implementation plan document
2026-02-18 11:33:58 +02:00
71f1702340 add animation CSS classes, keyframes, and reduced-motion support 2026-02-18 11:22:32 +02:00
2a60f71c56 install @vueuse/motion and create spring presets 2026-02-18 11:19:52 +02:00
d3a36b76c9 add motion system design for animations and micro-interactions 2026-02-18 11:07:57 +02:00
1e2d775e63 add daily/weekly goals, streaks, and time rounding
Settings Timer tab now has daily/weekly goal hour inputs. Dashboard
shows goal progress bars and streak counter. Settings Billing tab
has rounding toggle with increment and method selectors. New
rounding.ts utility for nearest/up/down time rounding.
2026-02-18 10:51:56 +02:00
731ed0219c add budget progress indicators to Projects and Dashboard
Project edit dialog includes budget hours and amount fields. Project
cards show progress bars with color-coded status. Dashboard displays
budget alerts section for projects exceeding 75% of budget.
2026-02-18 10:51:47 +02:00