fix: better frontend (#43)
Release package / release (push) Successful in 4m38s

Co-authored-by: Thanh Quy - wolf <524H0124@student.tdtu.edu.vn>
Co-authored-by: Thanh Quy- wolf <524H0124@student.tdtu.edu.vn>
Reviewed-on: #43
This commit was merged in pull request #43.
This commit is contained in:
2026-05-14 15:52:48 +00:00
parent 378e381454
commit b37bf5d088
38 changed files with 1849 additions and 1053 deletions
+2 -4
View File
@@ -1,12 +1,10 @@
# TODO - Add image upload field for manager add/update menu item
- [x] Update GraphQL queries/mutations in `lib/manager-context.tsx` to include
`imageUrl`
- [x] Update GraphQL queries/mutations in `lib/manager-context.tsx` to include `imageUrl`
- [x] Update `components/organisms/manager/ProductModal.tsx`
- [x] Add file input for image selection
- [x] Add upload button to call `POST /api/file`
- [x] Store returned URL string into `form.imageUrl`
- [x] Show upload/loading/error states and image preview
- [x] Update `components/organisms/manager/ProductsTab.tsx` to show image
thumbnail in table
- [x] Update `components/organisms/manager/ProductsTab.tsx` to show image thumbnail in table
- [x] Mark TODO progress after each step completed