feat(manager): Apps, Integrations and License pages on the module catalogue
Platform-v2 step 2.6c:
- Apps (device apps, features, always-included core) and Integrations: module
cards from GET /api/platform/modules with state (on / off / waiting for a
dependency / not in your license / always on), dependencies, limits and an
Open button where the manager has a page; core.modules.manage toggles them
(PUT /api/platform/modules/{key}), with a confirm listing the modules that
stop too; bootstrap reloads so the sidebar follows at once
- License page: licensed / free (with the reason) / development, site id,
validity, last contact, "check the license now" (POST /api/system/sync-license),
every module's entitlement and limits
- i18n: new `modules` namespace (names, descriptions, limit labels, en + el)
kept complete against the registry by local_backend/tests/test_module_texts.py
- nav: Integrations and License in the sidebar; old AppsPage removed
- e2e manager.mjs: 43 checks (+ card states, toggle from the card, dependency
warning, integrations, license page)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -40,7 +40,9 @@
|
||||
"settings": "Settings",
|
||||
"order": "Order",
|
||||
"kds": "Kitchen display",
|
||||
"soon": "soon"
|
||||
"soon": "soon",
|
||||
"integrations": "Integrations",
|
||||
"license": "License"
|
||||
},
|
||||
"profile": {
|
||||
"edit": "Edit profile",
|
||||
@@ -77,5 +79,53 @@
|
||||
"lock": {
|
||||
"title": "Locked",
|
||||
"signOutInstead": "Sign out instead"
|
||||
},
|
||||
"modules": {
|
||||
"appsIntro": "Turn parts of the system on or off for this venue. What's off disappears from every screen and its data stays safe.",
|
||||
"integrationsIntro": "Connections to other equipment and services.",
|
||||
"sections": {
|
||||
"app": "Device apps",
|
||||
"feature": "Features",
|
||||
"core": "Always included"
|
||||
},
|
||||
"on": "On",
|
||||
"off": "Off",
|
||||
"alwaysOn": "Always on",
|
||||
"notLicensed": "Not in your license",
|
||||
"waiting": "Waiting for {{list}}",
|
||||
"needs": "Needs {{list}}",
|
||||
"open": "Open",
|
||||
"unlimited": "Unlimited",
|
||||
"toggleLabel": "{{name}} on or off",
|
||||
"confirmOffTitle": "Turn off {{name}}?",
|
||||
"confirmOffBody": "These stop working too while it's off: {{list}}.",
|
||||
"turnOff": "Turn off",
|
||||
"changed": "{{name}} is now {{state}}",
|
||||
"readOnly": "Only someone with permission to manage apps can change these."
|
||||
},
|
||||
"licensePage": {
|
||||
"status": "Status",
|
||||
"statusDev": "Development mode (every module, no limits)",
|
||||
"statusLicensed": "Licensed",
|
||||
"statusFree": "Free version",
|
||||
"siteId": "Site ID",
|
||||
"expires": "Valid until",
|
||||
"daysLeft_one": "{{count}} day left",
|
||||
"daysLeft_other": "{{count}} days left",
|
||||
"lastSync": "Last contact with the license server",
|
||||
"never": "never",
|
||||
"syncNow": "Check the license now",
|
||||
"synced": "License checked",
|
||||
"syncFailed": "Couldn't reach the license server",
|
||||
"offline": "No contact with the license server for {{count}} days. The venue keeps working until the license expires.",
|
||||
"modules": "Modules",
|
||||
"module": "Module",
|
||||
"included": "Included",
|
||||
"inLicense": "In your license",
|
||||
"inLicenseUntil": "In your license until {{date}}",
|
||||
"free": "Free version",
|
||||
"dev": "Development",
|
||||
"notIncluded": "Not included",
|
||||
"limits": "Limits"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,123 @@
|
||||
{
|
||||
"caller_id": {
|
||||
"name": "Caller ID",
|
||||
"description": "Incoming phone calls from the venue's phone system (Grandstream UCM)."
|
||||
},
|
||||
"catalog": {
|
||||
"name": "Catalogue",
|
||||
"description": "Products, categories, options, tables and prep zones."
|
||||
},
|
||||
"chat": {
|
||||
"name": "Staff chat",
|
||||
"description": "Staff chat and manager messages to staff."
|
||||
},
|
||||
"connect_menu": {
|
||||
"name": "QR menu",
|
||||
"description": "The online QR menu, kept in sync with the catalogue."
|
||||
},
|
||||
"connect_orders": {
|
||||
"name": "Online orders",
|
||||
"description": "Orders placed from the QR menu, brought in from the cloud."
|
||||
},
|
||||
"connect_remote": {
|
||||
"name": "Remote manager",
|
||||
"description": "Live figures for the owner's remote manager app."
|
||||
},
|
||||
"core": {
|
||||
"name": "Core",
|
||||
"description": "Sign-in, staff, settings, license, system and live updates. Always on."
|
||||
},
|
||||
"crm": {
|
||||
"name": "Customers",
|
||||
"description": "Customer records."
|
||||
},
|
||||
"customer_display": {
|
||||
"name": "Customer display",
|
||||
"description": "A screen facing the customer at a counter POS (coming soon).",
|
||||
"limits": {
|
||||
"devices": "Customer displays"
|
||||
}
|
||||
},
|
||||
"expenses": {
|
||||
"name": "Expenses",
|
||||
"description": "Expenses, payments and the supplier book."
|
||||
},
|
||||
"fiscal": {
|
||||
"name": "Fiscal device",
|
||||
"description": "Sends receipts to the fiscal device (ΦΗΜ) through its folder bridge."
|
||||
},
|
||||
"history": {
|
||||
"name": "Order history",
|
||||
"description": "Past orders and business-day summaries (read only). Free, with a short history.",
|
||||
"limits": {
|
||||
"history_days": "Days of history you can view"
|
||||
}
|
||||
},
|
||||
"inventory": {
|
||||
"name": "Inventory",
|
||||
"description": "Waste log and product costs."
|
||||
},
|
||||
"kds": {
|
||||
"name": "Kitchen display",
|
||||
"description": "Screens in the kitchen or bar showing the orders to prepare.",
|
||||
"limits": {
|
||||
"devices": "Kitchen screens"
|
||||
}
|
||||
},
|
||||
"menu_tablet": {
|
||||
"name": "Menu tablet",
|
||||
"description": "A self-service catalogue on a tablet (coming soon).",
|
||||
"limits": {
|
||||
"devices": "Menu tablets"
|
||||
}
|
||||
},
|
||||
"notes": {
|
||||
"name": "Notes",
|
||||
"description": "Venue notes and to-dos."
|
||||
},
|
||||
"ordering": {
|
||||
"name": "Ordering",
|
||||
"description": "Orders, payments, business day, shifts, cash and kitchen printing."
|
||||
},
|
||||
"pos_counter": {
|
||||
"name": "Counter POS",
|
||||
"description": "A counter terminal for quick orders (coming soon).",
|
||||
"limits": {
|
||||
"devices": "Counter terminals"
|
||||
}
|
||||
},
|
||||
"pricing": {
|
||||
"name": "Pricing",
|
||||
"description": "Price groups, happy hours, modifiers, deals and waiter discounts."
|
||||
},
|
||||
"reports": {
|
||||
"name": "Reports",
|
||||
"description": "Full sales, product, staff and printer reports, CSV export and printed reports.",
|
||||
"limits": {
|
||||
"history_days": "Days of history reports can cover"
|
||||
}
|
||||
},
|
||||
"reservations": {
|
||||
"name": "Reservations",
|
||||
"description": "Table reservations."
|
||||
},
|
||||
"signage": {
|
||||
"name": "Digital signage",
|
||||
"description": "Menus and promotions on TVs (coming soon).",
|
||||
"limits": {
|
||||
"devices": "Signage screens"
|
||||
}
|
||||
},
|
||||
"staff_planning": {
|
||||
"name": "Staff planning",
|
||||
"description": "Shift schedule and payroll."
|
||||
},
|
||||
"tabs": {
|
||||
"name": "Tabs",
|
||||
"description": "Pay-later tabs for regular customers."
|
||||
},
|
||||
"waiter_app": {
|
||||
"name": "Waiter app",
|
||||
"description": "Order taking on the waiters' phones (web and Android app)."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user