Commit Graph

61 Commits

Author SHA1 Message Date
a69b8f029b Improve PDF export error handling and logging
Add detailed logging for file-saver failures and fallback download
attempts. Wrap fallback logic in try-catch to handle edge cases where
manual download also fails, providing better debugging and user-facing
error messages.
2025-11-25 00:37:49 -05:00
fd6b490de1 Remove debug logging and simplify error handling 2025-11-24 21:47:47 -05:00
843f9ceed0 Add fallback download method with MIME type handling
Implement a downloadBlob utility function that provides browser
compatibility by falling back to manual blob download when file-saver
fails. Explicitly set MIME type to application/pdf and add debugging
logging throughout the PDF generation and download process.
2025-11-24 21:47:04 -05:00
543c553786 Update Next.js to version 15.4.2 and refactor invoice pages
- Upgrade Next.js and related packages for improved performance and security
- Refactor invoice-related pages to streamline navigation and enhance user experience
- Consolidate invoice editing and viewing functionality into a single page
- Remove deprecated edit page and implement a new view page for invoices
- Update links and routing for consistency across the dashboard
2025-08-11 22:37:40 -04:00
a270f6c1e5 Add user-controlled animation preferences and reduce motion support
- Persist prefersReducedMotion and animationSpeedMultiplier in user
profile - Provide UI controls to toggle reduce motion and adjust
animation speed globally - Centralize animation preferences via provider
and useAnimationPreferences hook - Apply preferences to charts’
animations (duration, enabled/disabled) - Inline script in layout to
apply preferences early and avoid FOUC - Update CSS to respect user
preference with reduced motion overrides and variable animation speeds
2025-08-11 17:54:53 -04:00
46767ca7e2 Improve input validation and data sanitization
The changes add consistent string trimming, better null handling, and
improved validation logic across the business and client forms.
2025-08-11 02:48:24 -04:00
a680f89a46 Add business nickname support across app and API 2025-08-11 01:50:20 -04:00
93ffdf3c86 Add global animation system and entrance effects to UI 2025-08-01 14:21:10 -04:00
eaf185d89e Responsive flow for mobile updates 2025-08-01 13:51:41 -04:00
4fbb12643c Disable a11y alt-text rule for footer logo image 2025-08-01 03:49:35 -04:00
bb99809b4f Fix PDF pagination and logo rendering issues
Keep content from breaking across pages and adjust logo display in the
invoice footer. Make height calculations more conservative to avoid
content overlapping.
2025-08-01 03:48:02 -04:00
4f249fc777 Refactor data export logic and fix whitespace in styles
The message body wasn't needed since the subject line adequately
describes the changes: refactoring the data export handling into a
separate callback function and fixing extra whitespace in CSS class
names.
2025-08-01 03:42:32 -04:00
f87cc2f295 Update defaultHourlyRate dependency array in InvoiceForm 2025-08-01 03:39:23 -04:00
9de86df070 Fix edit invoice initialization and routing
The form initialization logic for editing invoices was improved to
handle route changes correctly. The edit link path was fixed and cache
invalidation was added to ensure fresh data on navigation.
2025-08-01 03:33:19 -04:00
5e30d338af Prevent defaultHourlyRate from overwriting edited first item 2025-08-01 00:31:39 -04:00
e8fb8fa21c Add eslint-disable for useEffect dependency warning 2025-08-01 00:22:59 -04:00
e53d5944d0 Graph styling 2025-08-01 00:18:11 -04:00
22bbe3a1ed Remove unused pool timeout configuration options 2025-07-31 23:13:49 -04:00
43b8fd6c9e Use theme-aware chart colors and update color variables 2025-07-31 23:10:55 -04:00
8c8f09dab9 Update invoice-form.tsx 2025-07-31 19:14:11 -04:00
2eac74ea0c Default hourly 2025-07-31 19:14:01 -04:00
d9515f7723 Make hourly rate optional for clients and invoices 2025-07-31 19:11:20 -04:00
817689001c New invoice bug fix 2025-07-31 18:54:24 -04:00
cd062d6670 Update pdf-export.tsx 2025-07-31 18:48:25 -04:00
860693edcd Update favicon.ico 2025-07-31 18:41:10 -04:00
2a4f78a762 Theme overhaul - missing files 2025-07-31 18:37:45 -04:00
8a2565adad Theme overhaul 2025-07-31 18:37:33 -04:00
a1616b161d Add flashy UI animations and enhance PDF invoice layout
- Adds CSS animations for buttons, cards, icons, and text - Improves
homepage with animated elements and interactive effects - Refines PDF
export: better notes/totals layout, colors, and spacing - Updates styles
for more engaging user experience
2025-07-30 21:28:59 -04:00
0040fae499 Use transition-colors for brand buttons
Adjust PDF export pagination for better orphan handling

Increase dense header space to 300px for PDF export

Prevent orphan pages with fewer than 2 items in PDF export
2025-07-30 20:39:06 -04:00
acc8731e09 Add confirmation dialog before sending invoice email
The commit adds a confirmation dialog when sending invoices, improves
error handling with retries, and refines email-related UI text.
2025-07-29 20:15:40 -04:00
8cd9035f3c Add Vercel Analytics and improve PDF export layout
The main changes are: - Add Vercel Analytics to track site usage -
Improve PDF invoice layout and pagination: - Better line height and
padding for description text - Dynamic row height based on content
length - More accurate pagination calculations - Prevent orphaned items
on last page - Clean up formatting and spacing - Remove database backup
and Docker files
2025-07-29 19:48:57 -04:00
9370d5c935 Build fixes, email preview system 2025-07-29 19:45:38 -04:00
e6791f8cb8 Update README.md 2025-07-29 19:11:34 -04:00
51872a3277 Convert invoice view to client component
This conversion enables client-side features like delete functionality
with confirmation dialog and live data updates through React Query
2025-07-20 03:57:33 -04:00
d5f9d1f583 Add invoice deletion functionality
The changes implement deletion capabilities for invoices with proper UI
feedback and confirmation dialogs.
2025-07-20 03:51:34 -04:00
3ac6e4d5b8 Update Next.js to version 15.4.2 and refactor invoice pages
- Upgrade Next.js and related packages for improved performance and security
- Refactor invoice-related pages to streamline navigation and enhance user experience
- Consolidate invoice editing and viewing functionality into a single page
- Remove deprecated edit page and implement a new view page for invoices
- Update links and routing for consistency across the dashboard
2025-07-18 20:18:43 -04:00
505d47918e Colors! 2025-07-17 02:27:36 -04:00
e9eb9c03eb Badge colors! 2025-07-17 02:08:27 -04:00
5f02bc1ff3 Refactor import page and add password change feature
This commit overhauls the invoice import UI and adds password
management. The changes:

- Replace custom import UI with reusable CSVImportPage component
- Add password change functionality with validation
- Improve form styling and accessibility
- Update import instructions for simplified CSV format
- Add client selection and validation
2025-07-16 14:40:15 -04:00
1023bc0c2b Rebrand color scheme from emerald/green to teal/blue 2025-07-16 14:30:01 -04:00
b5784061eb Refactor clients section to use client components
The commit makes several updates to the client-related pages in the
dashboard:

- Convert client edit/new pages to client components
- Remove server-side rendering wrappers
- Update client detail page styling and layout
- Add back button to client detail page
- Fix ID param handling in edit page
- Adjust visual styles and spacing

I focused on capturing the key changes while staying within the 50
character limit for the subject line and using the imperative mood. The
subject line alone adequately describes the core change without needing
a message body.
2025-07-16 14:19:50 -04:00
4976c13f32 Improve business details page layout and styling
The changes focus on improving the layout, styling and UX of the
business details pages by:
- Streamlining the edit page layout
- Adding consistent card styling and spacing
- Improving header structure and actions
- Enhancing content organization with separators
- Updating icon styles and colors
- Refining typography and spacing
2025-07-16 13:43:45 -04:00
572a10f30f Fix escaped quotes in CSV sample and data loading 2025-07-16 13:22:53 -04:00
c2fdcabac8 Dark theme tuning 2025-07-16 03:49:05 -04:00
c6fa9c4ac1 Update date picker, mobile styling 2025-07-16 03:27:56 -04:00
76711d2c10 Update invoice page layout and mobile styling
- Improve responsive layout and spacing for better mobile experience
- Refactor invoice skeleton loader for consistent appearance
- Revise padding and spacing for better content hierarchy
- Add sticky header navigation and floating action bar
- Update icon sizes and button styles for better touch targets
2025-07-15 23:59:35 -04:00
f505c9ff33 Update homepage design with gradients and styling 2025-07-15 20:31:28 -04:00
064db6c58b Logo update 2025-07-15 20:24:50 -04:00
61733979cb Add default hourly rate to client model
The changes add a new defaultHourlyRate field to clients, including form
updates and automatic rate propagation to invoices. Add default hourly
rate for clients

The subject line you provided already clearly expresses the changes, and
no additional context is needed in the body, so I'll keep just the
subject line.
2025-07-15 20:24:43 -04:00
0d2b5de740 Adjust save button icon spacing for mobile screens 2025-07-15 20:08:25 -04:00