pelagia-portal/App/components/ui
Claude (auto-fix) c503f839e8
All checks were successful
PR checks / checks (pull_request) Successful in 46s
PR checks / integration (pull_request) Successful in 31s
feat(po): make vendor field a searchable combobox
The vendor field on the PO forms was a plain native <select>, forcing
users to scroll the full vendor list. Mirror the item-search UX with a
searchable combobox that filters by vendor name and formal code
(vendorId), case-insensitively. The vendor list is already client-side,
so this is a pure in-memory filter — no API or DB change.

New VendorSelect component (components/ui/vendor-select.tsx) is a
self-contained portal-rendered combobox posting a hidden vendorId input,
so it drops into all three PO forms unchanged on the server:
- po/new/new-po-form
- po/[id]/edit/edit-po-form
- approvals/[id]/manager-edit-po-form

Preserves the optional field, "No vendor selected" empty option, and the
"{name} (CODE)" / "(unverified)" label. Unverified vendors (null code)
remain findable by name. Adds unit tests for the filter logic and
component behaviour.

Fixes #109
2026-06-24 05:16:57 +05:30
..
admin-dialog.tsx chore: restructure repo — flatten App/pelagia-portal to App, rename Prototype→Wireframe and Spec→Design 2026-05-18 23:18:58 +05:30
badge.tsx chore: restructure repo — flatten App/pelagia-portal to App, rename Prototype→Wireframe and Spec→Design 2026-05-18 23:18:58 +05:30
button.tsx chore: restructure repo — flatten App/pelagia-portal to App, rename Prototype→Wireframe and Spec→Design 2026-05-18 23:18:58 +05:30
card.tsx chore: restructure repo — flatten App/pelagia-portal to App, rename Prototype→Wireframe and Spec→Design 2026-05-18 23:18:58 +05:30
confirm-delete-button.tsx fix(ui): use defined theme colors for danger/warning buttons 2026-05-27 13:11:10 +05:30
confirm-dialog.tsx feat(admin): confirm activate/deactivate via modal popup across all tables 2026-05-29 03:07:04 +05:30
delete-confirm-dialog.tsx feat(admin): collapse row actions into ⋯ dropdown menu 2026-05-29 02:58:54 +05:30
input.tsx chore: restructure repo — flatten App/pelagia-portal to App, rename Prototype→Wireframe and Spec→Design 2026-05-18 23:18:58 +05:30
label.tsx chore: restructure repo — flatten App/pelagia-portal to App, rename Prototype→Wireframe and Spec→Design 2026-05-18 23:18:58 +05:30
row-actions-menu.tsx feat(admin): collapse row actions into ⋯ dropdown menu 2026-05-29 02:58:54 +05:30
searchable-select.tsx fix(searchable-select): reposition portal on scroll/resize 2026-05-31 06:49:49 +05:30
table-controls.tsx feat(admin): add client-side search, sort, and filter chips to all admin tables 2026-05-29 02:46:52 +05:30
textarea.tsx chore: restructure repo — flatten App/pelagia-portal to App, rename Prototype→Wireframe and Spec→Design 2026-05-18 23:18:58 +05:30
use-table-controls.ts feat(admin): add client-side search, sort, and filter chips to all admin tables 2026-05-29 02:46:52 +05:30
vendor-select.tsx feat(po): make vendor field a searchable combobox 2026-06-24 05:16:57 +05:30