Kaynağa Gözat

debug: update marker to BUILD-STATUS-OK and add toast notification

unknown 1 gün önce
ebeveyn
işleme
cef873f8be
2 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 1 1
      src/components/admin/OrderCard.vue
  2. 1 0
      src/pages/Admin.vue

+ 1 - 1
src/components/admin/OrderCard.vue

@@ -20,7 +20,7 @@
         <div class="flex items-center justify-between mb-4">
           <div class="flex items-center gap-2">
             <span class="text-xl font-black text-foreground bg-primary/10 px-3 py-1 rounded-xl tracking-tight">#{{ order.id }}</span>
-            <span class="text-[8px] font-mono text-muted-foreground">v3.0-FIX</span>
+            <span class="text-[8px] font-mono text-muted-foreground">BUILD-STATUS-OK</span>
           </div>
           <span :class="['flex items-center gap-1.5 px-3 py-1 rounded-full text-[10px] font-bold uppercase tracking-wider', statusColor]">
             <component :is="statusIcon" class="w-3.5 h-3.5" />

+ 1 - 0
src/pages/Admin.vue

@@ -387,6 +387,7 @@ const userForm = reactive({ email: "", password: "", first_name: "", last_name:
 const orderForm = reactive({ total_price: 0, material_name: "", color_name: "", quantity: 1, first_name: "", last_name: "", email: "", phone: "", shipping_address: "", notes: "", review_text: "", rating: 0 });
 
 const handleEditOrder = (order: any) => {
+  toast.info("Opening order edit for #" + order.id);
   console.log("CLICK DETECTED: Order #", order.id);
   editingOrder.value = order;
   Object.assign(orderForm, {