Commit Graph

94 Commits

Author SHA1 Message Date
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
13c2e04d70 integrate tags in Timer and Entries views
Timer shows tag selector below description, saves tags on stop.
Entries table displays tag chips per row with color coding.
Tags loaded from store on mount.
2026-02-18 10:51:39 +02:00
8d910495f3 add data import from CSV and JSON
Import utility with CSV parser, Toggl/Clockify format mapping, and
generic CSV column mapping. Settings Data tab has import UI with
file picker, format selector, preview table, and import execution.
2026-02-18 10:46:33 +02:00
03080e3d6b enhance floating mini timer with controls and pop-out button
MiniTimer shows project color dot, name, elapsed time, stop button,
and expand-to-main button. Timer.vue has pop-out button when running.
2026-02-18 10:46:25 +02:00
21c98f1cb2 add global keyboard shortcuts for timer toggle and show app
Register CmdOrCtrl+Shift+T (toggle timer) and CmdOrCtrl+Shift+Z
(show app) via tauri-plugin-global-shortcut. Shortcut keys are
configurable in Settings Timer tab. Shortcuts re-register on change.
2026-02-18 10:46:18 +02:00
c28c7371bb add profitability tab and favorites strip
Reports view now has Hours/Profitability tabs with per-project revenue
table. Timer view shows favorites strip for quick project selection
and a Save as Favorite button next to the description input.
2026-02-18 10:46:10 +02:00
c0cfd8848a add Calendar, Timesheet, and MiniTimer views
Calendar shows weekly time-block layout with hour rows, entry positioning,
current time indicator, and week navigation. Timesheet provides a weekly
grid with project/task rows, day columns, totals, and add-row functionality.
MiniTimer is a minimal always-on-top timer display for the floating window.
2026-02-18 10:39:08 +02:00
ca57ff2d6d add AppTagInput multi-select tag component 2026-02-18 10:35:18 +02:00
be48a44a6a add markdown rendering for entry descriptions 2026-02-18 10:35:12 +02:00
997e4b2a80 add duplicate, copy previous day/week, and repeat entry 2026-02-18 10:35:06 +02:00
3b7b02abaf add theme customization with accent colors and light mode 2026-02-18 10:34:59 +02:00
5c0dccf133 add global-shortcut plugin and mini timer window commands 2026-02-18 02:06:07 +02:00
f4d9a70e2e add goals, profitability, timesheet, and import commands 2026-02-18 02:04:10 +02:00
28ec9e66f7 add favorites table, CRUD commands, and Pinia store 2026-02-18 02:02:57 +02:00
1a4f2421f8 add project budgets and rounding override columns 2026-02-18 02:02:13 +02:00
7416e4b49a add tags table, CRUD commands, and Pinia store 2026-02-18 02:01:04 +02:00
0d792ef880 dynamic currency symbols and integrated datetime picker
- Replace all hardcoded prefix="$" with :prefix="getCurrencySymbol()"
  in Settings, Projects, and Invoices views
- Replace hardcoded ($) labels with dynamic currency symbol
- Extend AppDatePicker with showTime prop + hour/minute v-models
  for integrated date+time selection
- Simplify Entries.vue to use single AppDatePicker with showTime
  instead of separate hour/minute inputs
2026-02-17 23:53:45 +02:00
242a97baa9 add viewport margin to all modal dialogs 2026-02-17 23:41:59 +02:00
6b05f5112a replace native datetime-local with custom date picker + time inputs 2026-02-17 23:41:24 +02:00
2763ea4cd7 replace all hardcoded en-US and $ formatting with locale-aware helpers 2026-02-17 23:39:31 +02:00
235499e50c replace native number inputs with AppNumberInput across all views 2026-02-17 23:36:02 +02:00