[Supplier] Phase 3: Responsive Supplier Directory UI (/suppliers) #197

Closed
opened 2026-10-03 23:22:23 +00:00 by yuris · 0 comments
Owner

Overview

Deliver a responsive supplier directory page at /suppliers displaying vendor contacts, category filters, last check dates, review urgency badges (>30 days overdue), and direct WhatsApp contact actions.

Principles Applied

  • principle-experience-first: Dual-mode responsive layout tailored for quick workshop operations.
  • principle-minimize-reader-load: High-contrast metadata badges and clean visual hierarchy.

Scope & Tasks

  • Implement /suppliers server page fetching suppliers with aggregate item counts and overdue check statuses.
  • Build desktop data table with search filter, category pill filters (Semua, Pelumas, Ban, Filter & Part, Kimia & Coolant, Perlu Cek (>30 Hari)).
  • Build mobile touch-friendly card list displaying contact metadata, status badges, and phone shortcuts.
  • Add direct WhatsApp action button opening https://wa.me/... with pre-filled greeting.
  • Link supplier rows to their dedicated catalog page (/suppliers/[id]).

Acceptance Criteria

  • Desktop table and mobile cards render smoothly across 1280px and 375px viewports.
  • Category filter pills and text search filter rows in real-time.
  • Suppliers with last check >30 days show distinct amber warning badge.
  • Clicking a supplier opens their catalog page.
  • pnpm verify:management passes.
### Overview Deliver a responsive supplier directory page at `/suppliers` displaying vendor contacts, category filters, last check dates, review urgency badges (>30 days overdue), and direct WhatsApp contact actions. ### Principles Applied - `principle-experience-first`: Dual-mode responsive layout tailored for quick workshop operations. - `principle-minimize-reader-load`: High-contrast metadata badges and clean visual hierarchy. ### Scope & Tasks - Implement `/suppliers` server page fetching suppliers with aggregate item counts and overdue check statuses. - Build desktop data table with search filter, category pill filters (`Semua`, `Pelumas`, `Ban`, `Filter & Part`, `Kimia & Coolant`, `Perlu Cek (>30 Hari)`). - Build mobile touch-friendly card list displaying contact metadata, status badges, and phone shortcuts. - Add direct WhatsApp action button opening `https://wa.me/...` with pre-filled greeting. - Link supplier rows to their dedicated catalog page (`/suppliers/[id]`). ### Acceptance Criteria - [x] Desktop table and mobile cards render smoothly across 1280px and 375px viewports. - [x] Category filter pills and text search filter rows in real-time. - [x] Suppliers with last check >30 days show distinct amber warning badge. - [x] Clicking a supplier opens their catalog page. - [x] `pnpm verify:management` passes.
yuris changed title from [Pemasok] Phase 3: Responsive Supplier Directory UI (/pemasok) to [Supplier] Phase 3: Responsive Supplier Directory UI (/suppliers) 2026-10-03 23:23:17 +00:00
yuris closed this issue 2026-10-04 00:12:19 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
yuris/garage#197
No description provided.