Krao Hasanee
e3b2df6e2c
fix: restore popupOverlayStyle import in ExternalMyInvoices
...
Removed during popup refactor but still used by +Invoice form popup.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-08 14:16:11 -04:00
Krao Hasanee
6e4e99c33c
feat: unify all invoice popups to shared InvoiceDetailPopup shell
...
All invoice popup modals (team invoice, sub-invoice team, client invoice,
external sub-invoice) now share InvoiceDetailPopup + SubcontractorInvoiceDetailView.
Same overlay, header, scroll body, footer action row — just different data per role.
- New InvoiceDetailPopup component (overlay shell, header, scrollable body, footer)
- SubcontractorInvoiceDetailView: respects item._inferredType if pre-set
- ClientInvoiceModal: uses shared components, adds sortable headers
- TeamInvoiceDetailPanel embedded: uses shared components, keeps edit-dates/email/company
- TeamInvoices sub-invoice popup: uses shared components, cleans descriptions
- ExternalMyInvoices popup: uses shared components, fixes detailSort vars (was unused)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-08 13:46:08 -04:00
Krao Hasanee
04e0911e9f
fix: crash bugs in TeamInvoices + faster load
...
Bug fixes:
- TeamInvoices: add useAuth import/currentUser (invoice-create crash)
- TeamInvoices: setChartYear -> setExportYear (year-dropdown crash)
- TeamDashboard: drop redundant setState-in-effect (cascading renders)
- Companies: delete dead _UnusedClientCompanies (illegal hook calls)
- annotate intentional empty PDF-fallback catches
Load speed:
- preconnect/dns-prefetch to Supabase origin
- lazy-load heic-to in Converters: page chunk 2737KB -> 9KB
- split recharts into its own 'charts' vendor chunk
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-08 12:59:11 -04:00
Krao Hasanee
0b4705311b
Session 2026-05-30: task detail page overhaul
...
- New TaskDetail replaces /tasks/:id (was v2 at /requests/:id/v2)
- Overview tab: R00 request info, Requested By/Date/Sign Count inline row, Notes, Sign Family, files, amendments
- Revisions tab: R01+ from submissions, newest first, same layout as overview, per-entry Amend button
- Comments tab: single-line input, post on Enter, delete own comments, Supabase task_comments table
- Folder tab: placeholder for file sharing
- Tab badges showing revision/comment counts
- Amend Request modal: drag-drop file zone, popupOverlayStyle/Surface, Save+Cancel buttons
- Request Revision modal for clients on approved/invoiced/paid tasks
- JSZip download-all with progress popup for submission files
- Upload progress popup for Add Task and amend file uploads
- FileAttachment drop zone: 8px radius, transparent bg, label style fix (no all-caps override)
- PageLoader on task detail load
- task_comments migration with RLS policies
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-30 22:44:57 -04:00
Krao Hasanee
565d2ed4bc
Session 2026-05-20: UI fixes, invoice filtering, file browser, request approvals, sub invoice task scope
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-20 21:32:55 -04:00
Krao Hasanee
c32f9d1366
Add Project Files section and show company name for external users on project detail
2026-05-14 15:01:32 -04:00
Krao Hasanee
eee0885811
Fix file sharing load speed and move error; misc updates
...
- Remove recursive directory size calculations (single Seafile API call per list)
- Remove 'Used in this location' usage display
- Fix move using v2 per-type endpoints instead of broken batch endpoint
- Send entry type from frontend for correct move routing
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-13 14:20:38 -04:00
Krao Hasanee
719209fa25
Refactor: clients → companies schema v2
2026-03-26 23:42:06 -04:00