chore: release [ci skip]

This commit is contained in:
gitea-actions
2026-05-14 03:39:58 +00:00
parent 8e9e48d9b4
commit 378e381454
6 changed files with 12 additions and 9 deletions
+4 -2
View File
@@ -1,10 +1,12 @@
# 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
+2 -1
View File
@@ -25,7 +25,8 @@ export default function PaymentPage() {
const { products } = useManager();
const findProduct = (id: string): MenuItemEntity =>
products.find((i) => i.id == id) ?? ({
products.find((i) => i.id == id) ??
({
name: "Unknown product",
description: "",
price: 0,
+1 -1
View File
@@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: frontend-container
image: git.demonkernel.io.vn/foodsurf/frontend:1.2.8
image: git.demonkernel.io.vn/foodsurf/frontend:1.2.9
ports:
- containerPort: 3000
resources:
+2 -2
View File
@@ -124,11 +124,11 @@ export function CartProvider({ children }: { children: React.ReactNode }) {
};
if (error) {
createCartFunc();
createCartFunc();
} else if (!cartId) {
const localCartId = localStorage.getItem(CART_ID);
if (localCartId) setCartId(localCartId);
else createCartFunc();
else createCartFunc();
}
}, [eateryData, createCart, data, loading, error]);
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "temp",
"version": "1.2.8",
"version": "1.2.9",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "temp",
"version": "1.2.8",
"version": "1.2.9",
"dependencies": {
"@apollo/client": "^4.1.9",
"@tailwindcss/postcss": "^4.2.4",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "temp",
"version": "1.2.8",
"version": "1.2.9",
"private": true,
"scripts": {
"dev": "next dev",