Commit Graph

11 Commits

Author SHA1 Message Date
Matthieu f6d37e4667 fix(api) : register #[ApiFilter] services by mapping module entity paths
Pull Request — Quality gate / Backend (PHP CS + PHPUnit) (pull_request) Successful in 1m9s
Pull Request — Quality gate / Frontend (build) (pull_request) Successful in 1m20s
Modular monolith moved entities out of src/Entity into src/Module/*/Domain/Entity
without configuring api_platform.mapping.paths. Resources stayed discoverable via
service autoconfiguration, but annotated filter services were registered only for
classes found in resource_class_directories (the now-empty default src/Entity and
src/ApiResource), so every #[ApiFilter] (SearchFilter, BooleanFilter, OrderFilter,
DateFilter) was silently ignored across the whole API — collection filters never
narrowed results (my-tasks showed all users' tasks, time entries leaked across
users, directory would leak per-client data).

Declare the seven module entity directories under mapping.paths so the annotated
filter services are generated again.
2026-06-22 17:28:07 +02:00
Matthieu 21eeb36766 feat(directory) : open detail page on row click, drop inline address from drawers 2026-06-22 13:46:05 +02:00
Matthieu fb8cc790d7 feat(directory) : add prospect detail page with contact/address/report tabs 2026-06-22 13:42:57 +02:00
Matthieu e19e392adb feat(directory) : add client detail page with contact/address/report tabs 2026-06-22 13:42:47 +02:00
Matthieu bf7253c52f feat(directory) : add commercial report tab (list, form, documents) 2026-06-22 13:39:34 +02:00
Matthieu f90d30975e feat(directory) : add report document upload/list components 2026-06-22 13:38:08 +02:00
Matthieu 00b9677e8e feat(directory) : add repeatable address block component 2026-06-22 13:37:20 +02:00
Matthieu 1bd9d5bc56 feat(directory) : add repeatable contact block component 2026-06-22 13:37:10 +02:00
Matthieu dd78f6c275 feat(directory) : add frontend services for contacts, addresses, reports, documents 2026-06-22 13:34:51 +02:00
Matthieu bc9c036d1f feat(directory) : add frontend DTOs for contacts, addresses, reports 2026-06-22 13:34:41 +02:00
Matthieu 57ccd9a740 feat(directory) : add Clients/Prospects repertoire front layer
LST-58 (2.4) front. Completes the Directory module.

- New frontend/modules/directory/ layer (auto-detected): /directory page with
  Clients and Prospects tabs.
- Client front moved into the layer (clients service + client DTO +
  ClientDrawer). New prospects service, prospect DTO and ProspectDrawer (with
  a "Convert to client" action calling POST /prospects/{id}/convert).
- Consumers repointed to ~/modules/directory/... (admin client tab, PM project
  drawer + project pages + project DTO, time-tracking page + export drawer).
- Sidebar admin item /directory gated by the directory module; /directory
  protected by the admin middleware. i18n keys added (directory.*, prospects.*).

nuxt build passes; routes preserved.

Adds the 2.4 plan doc.
2026-06-20 19:18:09 +02:00