Krao Hasanee
8f8b2090f6
Raise file upload limit to 50 MB
...
Was 10 MB — blocked zip files at or near that size. Supabase storage
supports up to 50 MB; mime-type restrictions were already removed.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-13 11:31:51 -04:00
Krao Hasanee
d6e49a4c67
Add Stripe fee tracking on paid invoices + backfill function
...
- Store stripe_fee on invoices when webhook receives checkout.session.completed
- Display Stripe fee and net received in InvoiceDetail when paid via Stripe
- Add backfill-stripe-fees edge function to populate fee on existing paid invoices
- Migration: add stripe_fee column to invoices table
- Includes all pending portal changes (brand book, sign survey, task/project/company updates, etc.)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-14 12:16:22 -04:00
Krao Hasanee
8034f15fb5
Full codebase cleanup and optimization pass
...
- Fix all hardcoded light colors breaking dark mode (FileAttachment, TaskDetail, RequestDetail)
- Parallelize sequential DB fetches in TaskDetail, CompanyDetail, MyProjects
- Add error handling: NewRequest project/file upload, MyCompany update, CompanyDetail prices, AuthContext profile fetch
- Fix currentUser.company_id → currentUser.company?.id in NewRequest
- Remove stale company.email references from InvoiceDetail, ProjectDetail, TaskDetail
- Clean up dead email field from Companies form reset
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-27 14:46:08 -04:00
Krao Hasanee
65b8b2ce2c
Mark superseded request versions as completed on Requests page
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-27 01:08:24 -04:00
Krao Hasanee
0371e3eba5
Newest version first in history, remove nav section labels
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-27 00:55:00 -04:00
Krao Hasanee
2c4f42ea55
Add client dashboard page, restore MyCompany to people+edit only
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-27 00:52:52 -04:00
Krao Hasanee
aeaf6558ac
Fix dark mode light boxes, add client dashboard stats, reorder nav
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-27 00:47:06 -04:00
Krao Hasanee
989ebcb024
Add company/user filters to Requests, move Companies to bottom of nav
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-27 00:36:11 -04:00
Krao Hasanee
585cb154ba
Amended request creates new submission entry with 'Amended Request' label
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-27 00:09:23 -04:00
Krao Hasanee
1e1e29ad99
Add client company dashboard as landing page
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-27 00:04:49 -04:00
Krao Hasanee
719209fa25
Refactor: clients → companies schema v2
2026-03-26 23:42:06 -04:00