Commit graph

139 commits

Author SHA1 Message Date
Arthur Bassi
588a765089 feat(auth): add getPrimaryUserRole helper for header display 2026-06-17 17:41:29 -03:00
Arthur Bassi
5ec91d5c35 chore(deps): add lucide-react for layout icon migration 2026-06-17 17:40:25 -03:00
Arthur Bassi
43b53bb610 test(api): cover API URL contract and prefix resolution 2026-06-17 09:35:56 -03:00
Arthur Bassi
74b73620b3 feat(build): fail build on misconfigured absolute VITE_API_URL 2026-06-17 09:35:34 -03:00
Arthur Bassi
b0ce047154 refactor(api): extract shared API prefix URL resolution 2026-06-17 09:34:39 -03:00
Arthur Bassi
503aefa09a docs(env): document VITE_API_URL must include /api suffix 2026-06-17 09:32:43 -03:00
Arthur Bassi
06d0a8ecf4 fix(pm-schedules): gate edit/delete for Dev API contract
Production Dev API exposes only GetList and Save.

Hide unsupported edit/delete UI and block the edit route.

Add regression tests for disabled actions.
2026-06-16 17:03:07 -03:00
Arthur Bassi
2a210eeab0 fix(employees,pm-schedules): align forms with backend API contracts
Align PM Schedule form and save payload with PMSchedule_DTO fields.
Bind employee Job Title select to jobTitleId for create/update payloads.
Add regression tests for both flows.
2026-06-16 14:50:42 -03:00
Arthur Bassi
708d946399 fix(api): align frontend contracts with backend review findings
Correct Work Order getById query param, asset site options via Location API,
Employee JobTitleId payload, and remove stale API paths.
2026-06-16 11:52:39 -03:00
Arthur Bassi
2a60c525ac chore(env): switch tracked env vars to Vite prefixes 2026-06-16 09:15:31 -03:00
Arthur Bassi
ba34a3eb8e chore(calendar): disable routes until backend exists 2026-06-16 09:15:03 -03:00
Arthur Bassi
0187556d03 fix(employees): add fallbacks for detail and dropdown calls 2026-06-16 09:12:32 -03:00
Arthur Bassi
6beba0ba93 fix(pm-schedules): handle empty save and delete responses 2026-06-16 09:11:58 -03:00
Arthur Bassi
42a8c752cc fix(vendors): delete vendors via REST route 2026-06-16 09:11:36 -03:00
Arthur Bassi
e4a1435f3c fix(work-orders): align routes, delete body, and create payload 2026-06-16 09:11:00 -03:00
Arthur Bassi
b4873cf1f8 fix(contacts): resolve detail via GetContacts and map address DTOs 2026-06-16 09:10:38 -03:00
Arthur Bassi
786e588623 fix(accounts): align detail and mutation payloads with backend 2026-06-16 09:10:11 -03:00
Arthur Bassi
a1ed14538c fix(api): add no-content helpers and align paths with backend 2026-06-16 09:07:30 -03:00
Arthur Bassi
4a67d6b16f fix(auth): restore JWT and align CRUD with backend routes 2026-06-15 11:17:40 -03:00
Arthur Bassi
7be969951c chore: remove migration scripts and unused generouted router 2026-06-15 10:18:23 -03:00
Arthur Bassi
96059ee53f fix(build): use mjs router script for Node 20 CI compatibility 2026-06-15 10:13:42 -03:00
Arthur Bassi
3b39b858c1 fix(ci): fix login e2e session mock and prettier formatting 2026-06-15 10:03:02 -03:00
Arthur Bassi
c7787bda98 docs: translate pt-BR docs and Cursor rules to English 2026-06-15 09:59:40 -03:00
Arthur Bassi
d27a13fe23 chore: update gitignore and env example for Vite 2026-06-12 11:57:11 -03:00
Arthur Bassi
fac35319e5 chore: remove legacy CRA pages, Redux store and JS hooks 2026-06-12 11:57:07 -03:00
Arthur Bassi
7af4a56d04 test: add Vitest setup and Playwright login e2e spec 2026-06-12 11:56:51 -03:00
Arthur Bassi
668dd69df2 feat: add vendor portal routes and signature capture 2026-06-12 11:56:41 -03:00
Arthur Bassi
6672d09e1f feat: add settings for dropdowns and task templates 2026-06-12 11:56:32 -03:00
Arthur Bassi
48f1685e4d feat: add uplifts queue module 2026-06-12 11:56:22 -03:00
Arthur Bassi
1c474914f2 feat: add vendor purchase orders module 2026-06-12 11:55:14 -03:00
Arthur Bassi
f01a502956 feat: add vendors CRUD and portal token panel 2026-06-12 11:55:04 -03:00
Arthur Bassi
a27e7607d3 feat: add work orders module with dispatch modals 2026-06-12 11:54:52 -03:00
Arthur Bassi
77e128af5a feat: add PM schedules CRUD module 2026-06-12 11:54:42 -03:00
Arthur Bassi
66c8c7cb4a feat: add follow-ups CRUD module 2026-06-12 11:54:30 -03:00
Arthur Bassi
09a2468ab0 feat: add calendar events module 2026-06-12 11:54:21 -03:00
Arthur Bassi
f7adadffbe feat: add locations CRUD module 2026-06-12 11:53:41 -03:00
Arthur Bassi
a60da31f4c feat: add employees CRUD module 2026-06-12 11:53:32 -03:00
Arthur Bassi
ef5c73fca3 feat: add contacts CRUD module 2026-06-12 11:53:22 -03:00
Arthur Bassi
8cf6aa0902 feat: add assets CRUD module 2026-06-12 11:53:12 -03:00
Arthur Bassi
24b123225c feat: add accounts CRUD module 2026-06-12 11:53:01 -03:00
Arthur Bassi
60572c7e96 feat: add protected layout and dashboard module 2026-06-12 11:52:50 -03:00
Arthur Bassi
33a902034c feat: add app shell, file-based routing and bootstrap 2026-06-12 11:52:25 -03:00
Arthur Bassi
7967f7e4c5 feat: add auth domain, provider and login page 2026-06-12 11:52:16 -03:00
Arthur Bassi
ddc174c204 feat: add shared UI, layout and domain badge components 2026-06-12 11:52:07 -03:00
Arthur Bassi
49fbc98dd0 feat: add theme system and global application styles 2026-06-12 11:44:36 -03:00
Arthur Bassi
5c8a3443f7 feat: add HTTP client, query cache and shared utilities 2026-06-12 11:44:13 -03:00
Arthur Bassi
d07ff67a94 fix: scope ESLint to new components and hooks directories 2026-06-12 11:43:33 -03:00
Arthur Bassi
d3076f6d88 docs: add architecture plan and design system documentation 2026-06-12 11:41:07 -03:00
Arthur Bassi
0451788764 build: migrate from CRA to Vite with TypeScript config 2026-06-12 11:41:03 -03:00
Arthur Bassi
bb11aab86c ci: add GitHub Actions workflow for lint and build 2026-06-12 11:41:00 -03:00