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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user