Files
frontend/TODO.md
T
TaNguyenThanhQuy 8e9e48d9b4
Release package / release (push) Successful in 9m19s
fix: add image to menu item (#42)
Co-authored-by: Thanh Quy - wolf <524H0124@student.tdtu.edu.vn>
Co-authored-by: Thanh Quy- wolf <524H0124@student.tdtu.edu.vn>
Reviewed-on: #42
Co-authored-by: TaNguyenThanhQuy <tanguyenthanhquy@noreply.localhost>
Co-committed-by: TaNguyenThanhQuy <tanguyenthanhquy@noreply.localhost>
2026-05-14 03:31:04 +00:00

569 B

TODO - Add image upload field for manager add/update menu item

  • Update GraphQL queries/mutations in lib/manager-context.tsx to include imageUrl
  • Update components/organisms/manager/ProductModal.tsx
    • Add file input for image selection
    • Add upload button to call POST /api/file
    • Store returned URL string into form.imageUrl
    • Show upload/loading/error states and image preview
  • Update components/organisms/manager/ProductsTab.tsx to show image thumbnail in table
  • Mark TODO progress after each step completed