shoc-frontend-new/src/app/(protected)/workorders/_components
Arthur Bassi f35fce9bd5
feat(work-orders): comment @mentions autocomplete (SH-217) (#91)
* docs(work-orders): add pending BE contract checklist for design parity gaps

* feat(work-orders): add mentions in work-order comments composer

* docs(work-orders): align pr description with jira and qa residuals

* refactor(workorders): split work order view page into view components

* fix(work-orders): export comment assignment vendor input types for view hook

* fix(work-orders): drop preferredContact from vendor update payload

Align with WorkOrderVendorUpdatePayload on current dev so the mentions branch typechecks.

* fix(work-orders): remove Preferred Contact from WO vendor editor (SH-180)

EOF

* fix(work-orders): harden comment mentions and clear draft on success

* fix(work-orders): harden mention highlight boundary and submit catch [SH-217]

* fix(work-orders): keep mention cursor sync on current value [SH-217]

* fix(work-orders): keep mention menu open after typing @

Pass live text into syncCursor instead of a render-time valueRef.
Add a composer interaction regression for @ autocomplete visibility.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Alexandre Brandizzi <alex_brandizzi@hotmail.com>
2026-08-11 14:07:02 -03:00
..
dispatch/dispatch-detail refactor: enforce dispatch detail quality gates 2026-07-24 18:51:50 -03:00
list feat(work-orders): draft technician until vendor dialog save (SH-193) (#89) 2026-08-11 14:01:31 -03:00
loading chore: integrate current dev into board foundation 2026-07-24 18:43:22 -03:00
media chore(work-orders): merge origin/dev into pr39 integration branch 2026-07-24 13:45:16 -03:00
view feat(work-orders): comment @mentions autocomplete (SH-217) (#91) 2026-08-11 14:07:02 -03:00
wizard feat(work-orders): SH-132 FE — Due Date distinct from Schedule On + Emergency calendar modal (#82) 2026-08-11 13:49:41 -03:00
dispatch-create-modal.tsx refactor(ui): enforce maintainable conditional feedback 2026-07-24 11:32:58 -03:00
dispatch-detail-modal.tsx refactor(ui): enforce maintainable conditional feedback 2026-07-24 11:32:58 -03:00
use-vendor-editor.ts fix(vendors): remove preferred contact and fix trade ordering (#63) 2026-08-03 17:53:39 -03:00
vendor-assignment-section.tsx Complete vendor operations roadmap frontend (#52) 2026-07-24 18:10:45 -03:00
vendor-editor-dialog.tsx fix(vendors): remove preferred contact and fix trade ordering (#63) 2026-08-03 17:53:39 -03:00
work-order-activity.tsx fix(vendors): remove preferred contact and fix trade ordering (#63) 2026-08-03 17:53:39 -03:00
work-order-fields.tsx Complete vendor operations roadmap frontend (#52) 2026-07-24 18:10:45 -03:00
work-order-form.tsx Complete vendor operations roadmap frontend (#52) 2026-07-24 18:10:45 -03:00
work-order-view-sections.tsx fix(vendors): remove preferred contact and fix trade ordering (#63) 2026-08-03 17:53:39 -03:00