Add dashboard chrome to POS and collapsible sidebar

Wrap the POS terminal in the sidebar + topbar layout via a nested
fullscreen layout, and make the sidebar collapse to an icon-only rail
with a persisted toggle so operators keep navigation on the POS screen.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
soroush.asadi
2026-05-30 00:28:56 +03:30
parent b6e4f83035
commit 639573dfde
7 changed files with 278 additions and 60 deletions
+24 -1
View File
@@ -58,6 +58,8 @@
},
"nav": {
"aria": "القائمة الرئيسية",
"collapseSidebar": "طي الشريط الجانبي",
"expandSidebar": "توسيع الشريط الجانبي",
"groups": {
"operations": "العمليات اليومية",
"menuSales": "القائمة والمبيعات",
@@ -945,7 +947,28 @@
"featureDiscover": "ملف الاكتشاف (ذكاء اصطناعي)",
"featureOn": "مفعّل",
"featureOff": "غير متاح — ترقية",
"featureMenu3dUpgrade": "القائمة 3D متاحة في برو وما فوق."
"featureMenu3dUpgrade": "القائمة 3D متاحة في برو وما فوق.",
"checkout": {
"title": "الفاتورة والدفع",
"subtitle": "راجع طلبك وادفع",
"backToPlans": "العودة إلى الخطط",
"invalidPlan": "الخطة المحددة غير متاحة للشراء عبر الإنترنت.",
"invoiceLabel": "فاتورة مبدئية",
"invoiceNo": "رقم الفاتورة",
"issuedAt": "تاريخ الإصدار",
"billingPeriod": "مدة الاشتراك",
"monthsCount": "{count} شهر",
"description": "الوصف",
"qty": "الكمية",
"unitPrice": "سعر الوحدة",
"amount": "المبلغ",
"planLine": "اشتراك خطة {plan}",
"subtotal": "المجموع الفرعي",
"total": "المبلغ المستحق",
"secureNote": "تتم المعالجة عبر بوابة دفع بنكية آمنة.",
"payTotal": "ادفع {total}",
"redirecting": "جارٍ التحويل إلى البوابة..."
}
},
"settings": {
"title": "الإعدادات",