Эх сурвалжийг харах

chore: final cleanup of debug markers and indicators

unknown 1 өдөр өмнө
parent
commit
00b49d3488

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

@@ -20,7 +20,6 @@
         <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">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" />

+ 0 - 9
src/pages/Admin.vue

@@ -8,13 +8,6 @@
     <Header />
     <main class="container mx-auto px-4 pt-32 pb-20">
 
-      <!-- DEPLOY INDICATOR & DIAGNOSTIC -->
-      <div class="bg-rose-600 text-white text-[10px] py-2 px-4 flex justify-between items-center font-bold uppercase tracking-widest mb-4 rounded-lg">
-        <span>DEPLOY VERIFIED: 12:51 CEST</span>
-        <button v-if="orders.length > 0" @click="handleEditOrder(orders[0])" class="bg-white text-rose-600 px-3 py-1 rounded hover:bg-rose-100 transition-colors">
-          DEBUG: OPEN FIRST ORDER
-        </button>
-      </div>
 
       <!-- Admin Header -->
       <div class="flex flex-col md:flex-row md:items-end justify-between gap-6 mb-12">
@@ -406,8 +399,6 @@ 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, {
     total_price: order.invoice_amount || 0,