Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
+325
@@ -0,0 +1,325 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>UI Mock: Telephony interim UI (AK-P15a)</title>
|
||||
<style>
|
||||
:root { color-scheme: light; --bg: #f6f7f9; --panel: #ffffff; --ink: #1f2937; --muted: #64748b; --line: #d9e0e8; --accent: #2563eb; --ok: #0f766e; }
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
|
||||
.mock-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
|
||||
.mock-nav { border-right: 1px solid var(--line); background: #eef2f7; padding: 24px 18px; }
|
||||
.mock-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
||||
.mock-link { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
|
||||
.mock-link[data-active='true'] { background: var(--panel); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
|
||||
.mock-main { padding: 32px; }
|
||||
.mock-breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
|
||||
.mock-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
|
||||
.mock-title { margin: 0; font-size: 28px; line-height: 1.2; }
|
||||
.mock-description { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
|
||||
.mock-status { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px 12px; color: var(--ok); font-weight: 700; }
|
||||
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
|
||||
.mock-card, .mock-state { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; }
|
||||
.mock-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
|
||||
.mock-card-value { margin: 0; font-size: 24px; font-weight: 750; }
|
||||
.mock-card-trend { margin-top: 10px; color: var(--ok); font-size: 12px; text-transform: uppercase; }
|
||||
.mock-activity { margin: 0; padding: 0; list-style: none; }
|
||||
.mock-activity li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
|
||||
.mock-activity li:first-child { border-top: 0; padding-top: 0; }
|
||||
.mock-state pre { margin: 12px 0 0; white-space: pre-wrap; color: #334155; }
|
||||
</style>
|
||||
</head>
|
||||
<body data-ui-mock-route="/:tenant/calls" data-ui-mock-status="ready">
|
||||
<div class="mock-shell" data-ui-mock-page="ak-p15a-telephony-interim">
|
||||
<nav class="mock-nav" aria-label="Mock sidebar">
|
||||
<div class="mock-brand">HiveGrid mock</div>
|
||||
<a class="mock-link" data-active="true" href="/:tenant/calls">Calls</a>
|
||||
<a class="mock-link" data-active="false" href="/:tenant/settings/integrations/telephony">Telephony settings</a>
|
||||
</nav>
|
||||
<main class="mock-main">
|
||||
<div class="mock-breadcrumbs"><span>Calls</span><span>/</span><span>Call detail</span></div>
|
||||
<header class="mock-header">
|
||||
<div>
|
||||
<h1 class="mock-title">Telephony interim UI (AK-P15a)</h1>
|
||||
<p class="mock-description">Static fixture for the Aircall telephony interim screens (AD-28).</p>
|
||||
</div>
|
||||
<div class="mock-status">Ready</div>
|
||||
</header>
|
||||
<section class="mock-grid" aria-label="Mock metrics">
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Route screens</p>
|
||||
<p class="mock-card-value">3</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">UI surfaces</p>
|
||||
<p class="mock-card-value">4</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Design status</p>
|
||||
<p class="mock-card-value">interim</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
</section>
|
||||
<section class="mock-card" aria-label="Mock activity">
|
||||
<ul class="mock-activity">
|
||||
<li><span>Telephony settings</span><span>/:tenant/settings/integrations/telephony</span></li>
|
||||
<li><span>Call list</span><span>/:tenant/calls</span></li>
|
||||
<li><span>Call detail</span><span>/:tenant/calls/:id</span></li>
|
||||
<li><span>Click to call</span><span>contact | lead | project detail</span></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="mock-state" aria-label="Mock state payload">
|
||||
<strong>Serialized state</strong>
|
||||
<pre>{
|
||||
"activity": 4,
|
||||
"cards": 3,
|
||||
"status": "Ready"
|
||||
}</pre>
|
||||
</section>
|
||||
<script type="application/json" id="mock-page-state">{
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.ak-p15a.telephony.activity.settings",
|
||||
"meta": "/:tenant/settings/integrations/telephony"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15a.telephony.activity.calls",
|
||||
"meta": "/:tenant/calls"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15a.telephony.activity.callDetail",
|
||||
"meta": "/:tenant/calls/:id"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15a.telephony.activity.clickToCall",
|
||||
"meta": "contact | lead | project detail"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.ak-p15a.telephony.metrics.screens",
|
||||
"trend": "flat",
|
||||
"value": "3"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15a.telephony.metrics.surfaces",
|
||||
"trend": "flat",
|
||||
"value": "4"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15a.telephony.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoutes": [
|
||||
"/:tenant/settings/integrations/telephony",
|
||||
"/:tenant/calls",
|
||||
"/:tenant/calls/:id"
|
||||
],
|
||||
"surfaces": [
|
||||
"settings",
|
||||
"calls",
|
||||
"callDetail",
|
||||
"clickToCall"
|
||||
],
|
||||
"viewModels": {
|
||||
"callDetail": {
|
||||
"data": {
|
||||
"answeredAt": "2026-07-15T09:00:04.000Z",
|
||||
"boundUserId": "user-1",
|
||||
"boundUserLabel": "Lena Werk",
|
||||
"canCallBack": true,
|
||||
"canEditNote": true,
|
||||
"canOverrideMatch": true,
|
||||
"direction": "inbound",
|
||||
"durationSeconds": 125,
|
||||
"endedAt": "2026-07-15T09:02:05.000Z",
|
||||
"fromNumber": "+49301234567",
|
||||
"id": "call-1",
|
||||
"listHref": "/acme/calls",
|
||||
"matchConfidence": "exact",
|
||||
"matchedEntityId": "contact-1",
|
||||
"matchedEntityLabel": "Musterbau GmbH",
|
||||
"matchedEntityType": "contact",
|
||||
"matchOptions": [
|
||||
{
|
||||
"id": "contact-1",
|
||||
"label": "Musterbau GmbH",
|
||||
"type": "contact"
|
||||
},
|
||||
{
|
||||
"id": "project-1",
|
||||
"label": "Heizungstausch",
|
||||
"type": "project"
|
||||
}
|
||||
],
|
||||
"noteMarkdown": "**Termin** vereinbart. Rückruf am Freitag.",
|
||||
"provider": "aircall",
|
||||
"recordingUrl": "https://dashboard.aircall.io/calls/call-1",
|
||||
"startedAt": "2026-07-15T09:00:00.000Z",
|
||||
"status": "completed",
|
||||
"toNumber": "+49309999999"
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"calls": {
|
||||
"data": {
|
||||
"canReadAll": true,
|
||||
"emptyBodyKey": "telephony.calls.empty.body",
|
||||
"emptyHeadlineKey": "telephony.calls.empty.headline",
|
||||
"rows": [
|
||||
{
|
||||
"boundUserId": "user-1",
|
||||
"boundUserLabel": "Lena Werk",
|
||||
"counterpartLabel": "Musterbau GmbH",
|
||||
"detailHref": "/acme/calls/call-1",
|
||||
"direction": "inbound",
|
||||
"durationSeconds": 125,
|
||||
"hasRecording": true,
|
||||
"id": "call-1",
|
||||
"matchConfidence": "exact",
|
||||
"matchedEntityId": "contact-1",
|
||||
"matchedEntityLabel": "Musterbau GmbH",
|
||||
"matchedEntityType": "contact",
|
||||
"noteSnippet": "Rückruf am Freitag",
|
||||
"phoneNumber": "+49301234567",
|
||||
"startedAt": "2026-07-15T09:00:00.000Z",
|
||||
"status": "completed"
|
||||
},
|
||||
{
|
||||
"boundUserId": "user-1",
|
||||
"boundUserLabel": "Lena Werk",
|
||||
"counterpartLabel": null,
|
||||
"detailHref": "/acme/calls/call-2",
|
||||
"direction": "outbound",
|
||||
"durationSeconds": null,
|
||||
"hasRecording": false,
|
||||
"id": "call-2",
|
||||
"matchConfidence": "none",
|
||||
"matchedEntityId": null,
|
||||
"matchedEntityLabel": null,
|
||||
"matchedEntityType": null,
|
||||
"noteSnippet": null,
|
||||
"phoneNumber": "+49401234567",
|
||||
"startedAt": "2026-07-15T08:15:00.000Z",
|
||||
"status": "missed"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"clickToCall": {
|
||||
"mode": "provider",
|
||||
"numbers": [
|
||||
{
|
||||
"e164": "+491701234567",
|
||||
"id": "phone-1",
|
||||
"label": "Mobil",
|
||||
"primary": true
|
||||
},
|
||||
{
|
||||
"e164": "+49301234567",
|
||||
"id": "phone-2",
|
||||
"label": "Büro",
|
||||
"primary": false
|
||||
}
|
||||
],
|
||||
"reasonKey": null,
|
||||
"requiresSelection": true
|
||||
},
|
||||
"settings": {
|
||||
"data": {
|
||||
"canManage": true,
|
||||
"connectHref": "/integrations/aircall/oauth/install?tenant=acme",
|
||||
"connection": {
|
||||
"bindings": [
|
||||
{
|
||||
"hivegridUserId": "user-1",
|
||||
"hivegridUserLabel": "Lena Werk",
|
||||
"id": "binding-1",
|
||||
"match": "email",
|
||||
"providerEmail": "lena@example.test",
|
||||
"providerName": "Lena Werk",
|
||||
"providerUserId": "aircall-user-1"
|
||||
},
|
||||
{
|
||||
"hivegridUserId": null,
|
||||
"hivegridUserLabel": null,
|
||||
"id": "binding-2",
|
||||
"match": "unmatched",
|
||||
"providerEmail": "miro@example.test",
|
||||
"providerName": "Miro Feld",
|
||||
"providerUserId": "aircall-user-2"
|
||||
}
|
||||
],
|
||||
"errorKey": null,
|
||||
"externalCompanyName": "Werkstatt Berlin",
|
||||
"id": "connection-1",
|
||||
"label": "Aircall Berlin",
|
||||
"lastHealthCheckAt": "2026-07-15T08:30:00.000Z",
|
||||
"provider": "aircall",
|
||||
"status": "active"
|
||||
},
|
||||
"emptyBodyKey": "telephony.settings.empty.body",
|
||||
"emptyHeadlineKey": "telephony.settings.empty.headline",
|
||||
"notConfiguredKey": "telephony.settings.notConfigured",
|
||||
"providerConfigured": true,
|
||||
"providerOptions": [],
|
||||
"statusKey": "telephony.connection.status.active",
|
||||
"userOptions": [
|
||||
{
|
||||
"email": "lena@example.test",
|
||||
"id": "user-1",
|
||||
"label": "Lena Werk"
|
||||
},
|
||||
{
|
||||
"email": "miro@example.test",
|
||||
"id": "user-2",
|
||||
"label": "Miro Feld"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}</script>
|
||||
<script type="application/json" id="mock-page-registries">{
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant/calls",
|
||||
"id": "calls",
|
||||
"labelKey": "mock.ak-p15a.telephony.nav.calls"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/calls/:id",
|
||||
"id": "call-detail",
|
||||
"labelKey": "mock.ak-p15a.telephony.breadcrumb.detail"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant/calls",
|
||||
"id": "ak-p15a-calls",
|
||||
"labelKey": "mock.ak-p15a.telephony.nav.calls",
|
||||
"permission": "telephony.read_own"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/settings/integrations/telephony",
|
||||
"id": "ak-p15a-settings",
|
||||
"labelKey": "mock.ak-p15a.telephony.nav.settings",
|
||||
"permission": "telephony.manage"
|
||||
}
|
||||
]
|
||||
}</script>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+249
@@ -0,0 +1,249 @@
|
||||
export const mockPage =
|
||||
{
|
||||
"descriptionKey": "mock.ak-p15a.telephony.description",
|
||||
"id": "ak-p15a-telephony-interim",
|
||||
"registries": {
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant/calls",
|
||||
"id": "calls",
|
||||
"labelKey": "mock.ak-p15a.telephony.nav.calls"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/calls/:id",
|
||||
"id": "call-detail",
|
||||
"labelKey": "mock.ak-p15a.telephony.breadcrumb.detail"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant/calls",
|
||||
"id": "ak-p15a-calls",
|
||||
"labelKey": "mock.ak-p15a.telephony.nav.calls",
|
||||
"permission": "telephony.read_own"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/settings/integrations/telephony",
|
||||
"id": "ak-p15a-settings",
|
||||
"labelKey": "mock.ak-p15a.telephony.nav.settings",
|
||||
"permission": "telephony.manage"
|
||||
}
|
||||
]
|
||||
},
|
||||
"route": "/:tenant/calls",
|
||||
"state": {
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.ak-p15a.telephony.activity.settings",
|
||||
"meta": "/:tenant/settings/integrations/telephony"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15a.telephony.activity.calls",
|
||||
"meta": "/:tenant/calls"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15a.telephony.activity.callDetail",
|
||||
"meta": "/:tenant/calls/:id"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15a.telephony.activity.clickToCall",
|
||||
"meta": "contact | lead | project detail"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.ak-p15a.telephony.metrics.screens",
|
||||
"trend": "flat",
|
||||
"value": "3"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15a.telephony.metrics.surfaces",
|
||||
"trend": "flat",
|
||||
"value": "4"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15a.telephony.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoutes": [
|
||||
"/:tenant/settings/integrations/telephony",
|
||||
"/:tenant/calls",
|
||||
"/:tenant/calls/:id"
|
||||
],
|
||||
"surfaces": [
|
||||
"settings",
|
||||
"calls",
|
||||
"callDetail",
|
||||
"clickToCall"
|
||||
],
|
||||
"viewModels": {
|
||||
"callDetail": {
|
||||
"data": {
|
||||
"answeredAt": "2026-07-15T09:00:04.000Z",
|
||||
"boundUserId": "user-1",
|
||||
"boundUserLabel": "Lena Werk",
|
||||
"canCallBack": true,
|
||||
"canEditNote": true,
|
||||
"canOverrideMatch": true,
|
||||
"direction": "inbound",
|
||||
"durationSeconds": 125,
|
||||
"endedAt": "2026-07-15T09:02:05.000Z",
|
||||
"fromNumber": "+49301234567",
|
||||
"id": "call-1",
|
||||
"listHref": "/acme/calls",
|
||||
"matchConfidence": "exact",
|
||||
"matchedEntityId": "contact-1",
|
||||
"matchedEntityLabel": "Musterbau GmbH",
|
||||
"matchedEntityType": "contact",
|
||||
"matchOptions": [
|
||||
{
|
||||
"id": "contact-1",
|
||||
"label": "Musterbau GmbH",
|
||||
"type": "contact"
|
||||
},
|
||||
{
|
||||
"id": "project-1",
|
||||
"label": "Heizungstausch",
|
||||
"type": "project"
|
||||
}
|
||||
],
|
||||
"noteMarkdown": "**Termin** vereinbart. Rückruf am Freitag.",
|
||||
"provider": "aircall",
|
||||
"recordingUrl": "https://dashboard.aircall.io/calls/call-1",
|
||||
"startedAt": "2026-07-15T09:00:00.000Z",
|
||||
"status": "completed",
|
||||
"toNumber": "+49309999999"
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"calls": {
|
||||
"data": {
|
||||
"canReadAll": true,
|
||||
"emptyBodyKey": "telephony.calls.empty.body",
|
||||
"emptyHeadlineKey": "telephony.calls.empty.headline",
|
||||
"rows": [
|
||||
{
|
||||
"boundUserId": "user-1",
|
||||
"boundUserLabel": "Lena Werk",
|
||||
"counterpartLabel": "Musterbau GmbH",
|
||||
"detailHref": "/acme/calls/call-1",
|
||||
"direction": "inbound",
|
||||
"durationSeconds": 125,
|
||||
"hasRecording": true,
|
||||
"id": "call-1",
|
||||
"matchConfidence": "exact",
|
||||
"matchedEntityId": "contact-1",
|
||||
"matchedEntityLabel": "Musterbau GmbH",
|
||||
"matchedEntityType": "contact",
|
||||
"noteSnippet": "Rückruf am Freitag",
|
||||
"phoneNumber": "+49301234567",
|
||||
"startedAt": "2026-07-15T09:00:00.000Z",
|
||||
"status": "completed"
|
||||
},
|
||||
{
|
||||
"boundUserId": "user-1",
|
||||
"boundUserLabel": "Lena Werk",
|
||||
"counterpartLabel": null,
|
||||
"detailHref": "/acme/calls/call-2",
|
||||
"direction": "outbound",
|
||||
"durationSeconds": null,
|
||||
"hasRecording": false,
|
||||
"id": "call-2",
|
||||
"matchConfidence": "none",
|
||||
"matchedEntityId": null,
|
||||
"matchedEntityLabel": null,
|
||||
"matchedEntityType": null,
|
||||
"noteSnippet": null,
|
||||
"phoneNumber": "+49401234567",
|
||||
"startedAt": "2026-07-15T08:15:00.000Z",
|
||||
"status": "missed"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"clickToCall": {
|
||||
"mode": "provider",
|
||||
"numbers": [
|
||||
{
|
||||
"e164": "+491701234567",
|
||||
"id": "phone-1",
|
||||
"label": "Mobil",
|
||||
"primary": true
|
||||
},
|
||||
{
|
||||
"e164": "+49301234567",
|
||||
"id": "phone-2",
|
||||
"label": "Büro",
|
||||
"primary": false
|
||||
}
|
||||
],
|
||||
"reasonKey": null,
|
||||
"requiresSelection": true
|
||||
},
|
||||
"settings": {
|
||||
"data": {
|
||||
"canManage": true,
|
||||
"connectHref": "/integrations/aircall/oauth/install?tenant=acme",
|
||||
"connection": {
|
||||
"bindings": [
|
||||
{
|
||||
"hivegridUserId": "user-1",
|
||||
"hivegridUserLabel": "Lena Werk",
|
||||
"id": "binding-1",
|
||||
"match": "email",
|
||||
"providerEmail": "lena@example.test",
|
||||
"providerName": "Lena Werk",
|
||||
"providerUserId": "aircall-user-1"
|
||||
},
|
||||
{
|
||||
"hivegridUserId": null,
|
||||
"hivegridUserLabel": null,
|
||||
"id": "binding-2",
|
||||
"match": "unmatched",
|
||||
"providerEmail": "miro@example.test",
|
||||
"providerName": "Miro Feld",
|
||||
"providerUserId": "aircall-user-2"
|
||||
}
|
||||
],
|
||||
"errorKey": null,
|
||||
"externalCompanyName": "Werkstatt Berlin",
|
||||
"id": "connection-1",
|
||||
"label": "Aircall Berlin",
|
||||
"lastHealthCheckAt": "2026-07-15T08:30:00.000Z",
|
||||
"provider": "aircall",
|
||||
"status": "active"
|
||||
},
|
||||
"emptyBodyKey": "telephony.settings.empty.body",
|
||||
"emptyHeadlineKey": "telephony.settings.empty.headline",
|
||||
"notConfiguredKey": "telephony.settings.notConfigured",
|
||||
"providerConfigured": true,
|
||||
"providerOptions": [],
|
||||
"statusKey": "telephony.connection.status.active",
|
||||
"userOptions": [
|
||||
{
|
||||
"email": "lena@example.test",
|
||||
"id": "user-1",
|
||||
"label": "Lena Werk"
|
||||
},
|
||||
{
|
||||
"email": "miro@example.test",
|
||||
"id": "user-2",
|
||||
"label": "Miro Feld"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"titleKey": "mock.ak-p15a.telephony.title"
|
||||
}
|
||||
;
|
||||
export default mockPage;
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"pageId": "ak-p15a-telephony-interim",
|
||||
"route": "/:tenant/calls",
|
||||
"status": "ready",
|
||||
"htmlHash": "41aee8b5",
|
||||
"moduleHash": "933529bc",
|
||||
"stateHash": "f0f6a972",
|
||||
"metrics": {
|
||||
"htmlBytes": 15220,
|
||||
"moduleBytes": 7972,
|
||||
"sidebarItems": 2,
|
||||
"breadcrumbItems": 2,
|
||||
"mobileItems": 0,
|
||||
"portalItems": 0
|
||||
}
|
||||
}
|
||||
+415
@@ -0,0 +1,415 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>UI Mock: Team chat detail interim UI (AK-P15b)</title>
|
||||
<style>
|
||||
:root { color-scheme: light; --bg: #f6f7f9; --panel: #ffffff; --ink: #1f2937; --muted: #64748b; --line: #d9e0e8; --accent: #2563eb; --ok: #0f766e; }
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
|
||||
.mock-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
|
||||
.mock-nav { border-right: 1px solid var(--line); background: #eef2f7; padding: 24px 18px; }
|
||||
.mock-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
||||
.mock-link { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
|
||||
.mock-link[data-active='true'] { background: var(--panel); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
|
||||
.mock-main { padding: 32px; }
|
||||
.mock-breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
|
||||
.mock-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
|
||||
.mock-title { margin: 0; font-size: 28px; line-height: 1.2; }
|
||||
.mock-description { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
|
||||
.mock-status { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px 12px; color: var(--ok); font-weight: 700; }
|
||||
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
|
||||
.mock-card, .mock-state { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; }
|
||||
.mock-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
|
||||
.mock-card-value { margin: 0; font-size: 24px; font-weight: 750; }
|
||||
.mock-card-trend { margin-top: 10px; color: var(--ok); font-size: 12px; text-transform: uppercase; }
|
||||
.mock-activity { margin: 0; padding: 0; list-style: none; }
|
||||
.mock-activity li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
|
||||
.mock-activity li:first-child { border-top: 0; padding-top: 0; }
|
||||
.mock-state pre { margin: 12px 0 0; white-space: pre-wrap; color: #334155; }
|
||||
</style>
|
||||
</head>
|
||||
<body data-ui-mock-route="/:tenant/chat/:id" data-ui-mock-status="ready">
|
||||
<div class="mock-shell" data-ui-mock-page="ak-p15b-chat-detail-interim">
|
||||
<nav class="mock-nav" aria-label="Mock sidebar">
|
||||
<div class="mock-brand">HiveGrid mock</div>
|
||||
<a class="mock-link" data-active="true" href="/:tenant/chat/:id">Team chat</a>
|
||||
</nav>
|
||||
<main class="mock-main">
|
||||
<div class="mock-breadcrumbs"><span>Team chat</span><span>/</span><span>Solar roof project</span></div>
|
||||
<header class="mock-header">
|
||||
<div>
|
||||
<h1 class="mock-title">Team chat detail interim UI (AK-P15b)</h1>
|
||||
<p class="mock-description">Static fixture for the team chat channel detail interim screen (AD-28).</p>
|
||||
</div>
|
||||
<div class="mock-status">Ready</div>
|
||||
</header>
|
||||
<section class="mock-grid" aria-label="Mock metrics">
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Canonical messages</p>
|
||||
<p class="mock-card-value">2</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Pinned messages</p>
|
||||
<p class="mock-card-value">0</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Design status</p>
|
||||
<p class="mock-card-value">interim</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
</section>
|
||||
<section class="mock-card" aria-label="Mock activity">
|
||||
<ul class="mock-activity">
|
||||
<li><span>Optimistic send reconciliation</span><span>local_echo -> http_ack</span></li>
|
||||
<li><span>Cursor history</span><span>cursor-message-older</span></li>
|
||||
<li><span>Realtime connection</span><span>online</span></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="mock-state" aria-label="Mock state payload">
|
||||
<strong>Serialized state</strong>
|
||||
<pre>{
|
||||
"activity": 3,
|
||||
"cards": 3,
|
||||
"status": "Ready"
|
||||
}</pre>
|
||||
</section>
|
||||
<script type="application/json" id="mock-page-state">{
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.detail.activity.optimisticSend",
|
||||
"meta": "local_echo -> http_ack"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.detail.activity.history",
|
||||
"meta": "cursor-message-older"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.detail.activity.connection",
|
||||
"meta": "online"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.detail.metrics.messages",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.detail.metrics.pinned",
|
||||
"trend": "flat",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.detail.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/chat/:id",
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"composer": {
|
||||
"canAttachFiles": false,
|
||||
"canMarkAsTask": false,
|
||||
"canMention": false,
|
||||
"canRecordVoice": false,
|
||||
"canSend": true,
|
||||
"disabledReasonKey": null,
|
||||
"draftStorageKey": "chat:draft:v1:tenant-demo:user-raffael:chat-group-montage",
|
||||
"enabled": true,
|
||||
"maxBodyLength": 4000,
|
||||
"placeholderKey": "chat.composer.placeholder"
|
||||
},
|
||||
"connection": {
|
||||
"canRetry": false,
|
||||
"reconnectAttempt": 0,
|
||||
"retryAtIso": null,
|
||||
"state": "online",
|
||||
"stateLabelKey": "chat.connection.online"
|
||||
},
|
||||
"emptyBodyKey": "chat.channel.empty.body",
|
||||
"emptyHeadlineKey": "chat.channel.empty.headline",
|
||||
"header": {
|
||||
"avatar": {
|
||||
"fallbackLabel": "MT",
|
||||
"imageUrl": null
|
||||
},
|
||||
"canManage": false,
|
||||
"dmAuditBannerKey": null,
|
||||
"id": "chat-group-montage",
|
||||
"isArchived": false,
|
||||
"isAuditMode": false,
|
||||
"isPrivate": true,
|
||||
"kind": "group",
|
||||
"memberCount": 4,
|
||||
"pinnedHref": null,
|
||||
"project": null,
|
||||
"searchHref": "/:tenant/chat",
|
||||
"settingsHref": null,
|
||||
"subtitle": "Abstimmung für die laufenden Baustellen",
|
||||
"title": "Montage-Team"
|
||||
},
|
||||
"history": {
|
||||
"hasOlder": true,
|
||||
"olderCursor": "cursor-message-older"
|
||||
},
|
||||
"loadOlderLabelKey": "chat.channel.loadOlder",
|
||||
"messageGroups": [
|
||||
{
|
||||
"dateIso": "2026-07-15",
|
||||
"messages": [
|
||||
{
|
||||
"actions": {
|
||||
"canDelete": false,
|
||||
"canEdit": false,
|
||||
"canMarkAsTask": false,
|
||||
"canPin": false,
|
||||
"canReact": false,
|
||||
"canReply": false
|
||||
},
|
||||
"attachments": [],
|
||||
"author": {
|
||||
"avatar": {
|
||||
"fallbackLabel": "MK",
|
||||
"imageUrl": null
|
||||
},
|
||||
"displayName": "Mara Klein",
|
||||
"isCurrentUser": false,
|
||||
"userId": "user-mara"
|
||||
},
|
||||
"bodyFormat": "markdown",
|
||||
"bodyMarkdown": "Material ist bestellt.",
|
||||
"clientMessageId": "client-mara-1",
|
||||
"createdAtIso": "2026-07-15T09:30:00.000Z",
|
||||
"deletedAtIso": null,
|
||||
"deliveryState": "sent",
|
||||
"deliveryStateKey": "chat.message.delivery.sent",
|
||||
"editedAtIso": null,
|
||||
"failureReasonKey": null,
|
||||
"id": "message-mara-1",
|
||||
"linkPreviews": [],
|
||||
"mentions": [],
|
||||
"parentMessageId": null,
|
||||
"pin": null,
|
||||
"reactions": [],
|
||||
"readAggregate": {
|
||||
"labelKey": "chat.message.read.aggregate",
|
||||
"readCount": 2,
|
||||
"readerLabels": [
|
||||
"Raffael Sheikh",
|
||||
"Lena Werk"
|
||||
],
|
||||
"readerUserIds": [
|
||||
"user-raffael",
|
||||
"user-lena"
|
||||
],
|
||||
"recipientCount": 3
|
||||
},
|
||||
"retryable": false,
|
||||
"source": "persisted",
|
||||
"systemEvent": null,
|
||||
"thread": null,
|
||||
"tombstoneKey": null,
|
||||
"updatedAtIso": "2026-07-15T09:30:00.000Z"
|
||||
},
|
||||
{
|
||||
"actions": {
|
||||
"canDelete": false,
|
||||
"canEdit": false,
|
||||
"canMarkAsTask": false,
|
||||
"canPin": false,
|
||||
"canReact": false,
|
||||
"canReply": false
|
||||
},
|
||||
"attachments": [],
|
||||
"author": {
|
||||
"avatar": {
|
||||
"fallbackLabel": "RS",
|
||||
"imageUrl": null
|
||||
},
|
||||
"displayName": "Raffael Sheikh",
|
||||
"isCurrentUser": true,
|
||||
"userId": "user-raffael"
|
||||
},
|
||||
"bodyFormat": "markdown",
|
||||
"bodyMarkdown": "Perfekt, danke!",
|
||||
"clientMessageId": "client-raffael-1",
|
||||
"createdAtIso": "2026-07-15T09:31:00.000Z",
|
||||
"deletedAtIso": null,
|
||||
"deliveryState": "sent",
|
||||
"deliveryStateKey": "chat.message.delivery.sent",
|
||||
"editedAtIso": null,
|
||||
"failureReasonKey": null,
|
||||
"id": "message-raffael-1",
|
||||
"linkPreviews": [],
|
||||
"mentions": [],
|
||||
"parentMessageId": null,
|
||||
"pin": null,
|
||||
"reactions": [],
|
||||
"readAggregate": {
|
||||
"labelKey": "chat.message.read.aggregate",
|
||||
"readCount": 0,
|
||||
"readerLabels": [],
|
||||
"readerUserIds": [],
|
||||
"recipientCount": 3
|
||||
},
|
||||
"retryable": false,
|
||||
"source": "http_ack",
|
||||
"systemEvent": null,
|
||||
"thread": null,
|
||||
"tombstoneKey": null,
|
||||
"updatedAtIso": "2026-07-15T09:31:01.000Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"messages": [
|
||||
{
|
||||
"actions": {
|
||||
"canDelete": false,
|
||||
"canEdit": false,
|
||||
"canMarkAsTask": false,
|
||||
"canPin": false,
|
||||
"canReact": false,
|
||||
"canReply": false
|
||||
},
|
||||
"attachments": [],
|
||||
"author": {
|
||||
"avatar": {
|
||||
"fallbackLabel": "MK",
|
||||
"imageUrl": null
|
||||
},
|
||||
"displayName": "Mara Klein",
|
||||
"isCurrentUser": false,
|
||||
"userId": "user-mara"
|
||||
},
|
||||
"bodyFormat": "markdown",
|
||||
"bodyMarkdown": "Material ist bestellt.",
|
||||
"clientMessageId": "client-mara-1",
|
||||
"createdAtIso": "2026-07-15T09:30:00.000Z",
|
||||
"deletedAtIso": null,
|
||||
"deliveryState": "sent",
|
||||
"deliveryStateKey": "chat.message.delivery.sent",
|
||||
"editedAtIso": null,
|
||||
"failureReasonKey": null,
|
||||
"id": "message-mara-1",
|
||||
"linkPreviews": [],
|
||||
"mentions": [],
|
||||
"parentMessageId": null,
|
||||
"pin": null,
|
||||
"reactions": [],
|
||||
"readAggregate": {
|
||||
"labelKey": "chat.message.read.aggregate",
|
||||
"readCount": 2,
|
||||
"readerLabels": [
|
||||
"Raffael Sheikh",
|
||||
"Lena Werk"
|
||||
],
|
||||
"readerUserIds": [
|
||||
"user-raffael",
|
||||
"user-lena"
|
||||
],
|
||||
"recipientCount": 3
|
||||
},
|
||||
"retryable": false,
|
||||
"source": "persisted",
|
||||
"systemEvent": null,
|
||||
"thread": null,
|
||||
"tombstoneKey": null,
|
||||
"updatedAtIso": "2026-07-15T09:30:00.000Z"
|
||||
},
|
||||
{
|
||||
"actions": {
|
||||
"canDelete": false,
|
||||
"canEdit": false,
|
||||
"canMarkAsTask": false,
|
||||
"canPin": false,
|
||||
"canReact": false,
|
||||
"canReply": false
|
||||
},
|
||||
"attachments": [],
|
||||
"author": {
|
||||
"avatar": {
|
||||
"fallbackLabel": "RS",
|
||||
"imageUrl": null
|
||||
},
|
||||
"displayName": "Raffael Sheikh",
|
||||
"isCurrentUser": true,
|
||||
"userId": "user-raffael"
|
||||
},
|
||||
"bodyFormat": "markdown",
|
||||
"bodyMarkdown": "Perfekt, danke!",
|
||||
"clientMessageId": "client-raffael-1",
|
||||
"createdAtIso": "2026-07-15T09:31:00.000Z",
|
||||
"deletedAtIso": null,
|
||||
"deliveryState": "sent",
|
||||
"deliveryStateKey": "chat.message.delivery.sent",
|
||||
"editedAtIso": null,
|
||||
"failureReasonKey": null,
|
||||
"id": "message-raffael-1",
|
||||
"linkPreviews": [],
|
||||
"mentions": [],
|
||||
"parentMessageId": null,
|
||||
"pin": null,
|
||||
"reactions": [],
|
||||
"readAggregate": {
|
||||
"labelKey": "chat.message.read.aggregate",
|
||||
"readCount": 0,
|
||||
"readerLabels": [],
|
||||
"readerUserIds": [],
|
||||
"recipientCount": 3
|
||||
},
|
||||
"retryable": false,
|
||||
"source": "http_ack",
|
||||
"systemEvent": null,
|
||||
"thread": null,
|
||||
"tombstoneKey": null,
|
||||
"updatedAtIso": "2026-07-15T09:31:01.000Z"
|
||||
}
|
||||
],
|
||||
"newMessagesLabelKey": "chat.channel.newMessages",
|
||||
"pinnedMessages": [],
|
||||
"presence": [],
|
||||
"typingLabels": [
|
||||
"Mara Klein"
|
||||
]
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}</script>
|
||||
<script type="application/json" id="mock-page-registries">{
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant/chat",
|
||||
"id": "chat",
|
||||
"labelKey": "mock.ak-p15b.chat.nav.title",
|
||||
"permission": "chat.read_own_channels"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/chat/:id",
|
||||
"id": "chat-detail",
|
||||
"labelKey": "mock.ak-p15b.chat.breadcrumb.detail",
|
||||
"permission": "chat.read_own_channels"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant/chat/:id",
|
||||
"id": "ak-p15b-chat",
|
||||
"labelKey": "mock.ak-p15b.chat.nav.title",
|
||||
"permission": "chat.read_own_channels"
|
||||
}
|
||||
]
|
||||
}</script>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+341
@@ -0,0 +1,341 @@
|
||||
export const mockPage =
|
||||
{
|
||||
"descriptionKey": "mock.ak-p15b.chat.detail.description",
|
||||
"id": "ak-p15b-chat-detail-interim",
|
||||
"registries": {
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant/chat",
|
||||
"id": "chat",
|
||||
"labelKey": "mock.ak-p15b.chat.nav.title",
|
||||
"permission": "chat.read_own_channels"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/chat/:id",
|
||||
"id": "chat-detail",
|
||||
"labelKey": "mock.ak-p15b.chat.breadcrumb.detail",
|
||||
"permission": "chat.read_own_channels"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant/chat/:id",
|
||||
"id": "ak-p15b-chat",
|
||||
"labelKey": "mock.ak-p15b.chat.nav.title",
|
||||
"permission": "chat.read_own_channels"
|
||||
}
|
||||
]
|
||||
},
|
||||
"route": "/:tenant/chat/:id",
|
||||
"state": {
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.detail.activity.optimisticSend",
|
||||
"meta": "local_echo -> http_ack"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.detail.activity.history",
|
||||
"meta": "cursor-message-older"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.detail.activity.connection",
|
||||
"meta": "online"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.detail.metrics.messages",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.detail.metrics.pinned",
|
||||
"trend": "flat",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.detail.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/chat/:id",
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"composer": {
|
||||
"canAttachFiles": false,
|
||||
"canMarkAsTask": false,
|
||||
"canMention": false,
|
||||
"canRecordVoice": false,
|
||||
"canSend": true,
|
||||
"disabledReasonKey": null,
|
||||
"draftStorageKey": "chat:draft:v1:tenant-demo:user-raffael:chat-group-montage",
|
||||
"enabled": true,
|
||||
"maxBodyLength": 4000,
|
||||
"placeholderKey": "chat.composer.placeholder"
|
||||
},
|
||||
"connection": {
|
||||
"canRetry": false,
|
||||
"reconnectAttempt": 0,
|
||||
"retryAtIso": null,
|
||||
"state": "online",
|
||||
"stateLabelKey": "chat.connection.online"
|
||||
},
|
||||
"emptyBodyKey": "chat.channel.empty.body",
|
||||
"emptyHeadlineKey": "chat.channel.empty.headline",
|
||||
"header": {
|
||||
"avatar": {
|
||||
"fallbackLabel": "MT",
|
||||
"imageUrl": null
|
||||
},
|
||||
"canManage": false,
|
||||
"dmAuditBannerKey": null,
|
||||
"id": "chat-group-montage",
|
||||
"isArchived": false,
|
||||
"isAuditMode": false,
|
||||
"isPrivate": true,
|
||||
"kind": "group",
|
||||
"memberCount": 4,
|
||||
"pinnedHref": null,
|
||||
"project": null,
|
||||
"searchHref": "/:tenant/chat",
|
||||
"settingsHref": null,
|
||||
"subtitle": "Abstimmung für die laufenden Baustellen",
|
||||
"title": "Montage-Team"
|
||||
},
|
||||
"history": {
|
||||
"hasOlder": true,
|
||||
"olderCursor": "cursor-message-older"
|
||||
},
|
||||
"loadOlderLabelKey": "chat.channel.loadOlder",
|
||||
"messageGroups": [
|
||||
{
|
||||
"dateIso": "2026-07-15",
|
||||
"messages": [
|
||||
{
|
||||
"actions": {
|
||||
"canDelete": false,
|
||||
"canEdit": false,
|
||||
"canMarkAsTask": false,
|
||||
"canPin": false,
|
||||
"canReact": false,
|
||||
"canReply": false
|
||||
},
|
||||
"attachments": [],
|
||||
"author": {
|
||||
"avatar": {
|
||||
"fallbackLabel": "MK",
|
||||
"imageUrl": null
|
||||
},
|
||||
"displayName": "Mara Klein",
|
||||
"isCurrentUser": false,
|
||||
"userId": "user-mara"
|
||||
},
|
||||
"bodyFormat": "markdown",
|
||||
"bodyMarkdown": "Material ist bestellt.",
|
||||
"clientMessageId": "client-mara-1",
|
||||
"createdAtIso": "2026-07-15T09:30:00.000Z",
|
||||
"deletedAtIso": null,
|
||||
"deliveryState": "sent",
|
||||
"deliveryStateKey": "chat.message.delivery.sent",
|
||||
"editedAtIso": null,
|
||||
"failureReasonKey": null,
|
||||
"id": "message-mara-1",
|
||||
"linkPreviews": [],
|
||||
"mentions": [],
|
||||
"parentMessageId": null,
|
||||
"pin": null,
|
||||
"reactions": [],
|
||||
"readAggregate": {
|
||||
"labelKey": "chat.message.read.aggregate",
|
||||
"readCount": 2,
|
||||
"readerLabels": [
|
||||
"Raffael Sheikh",
|
||||
"Lena Werk"
|
||||
],
|
||||
"readerUserIds": [
|
||||
"user-raffael",
|
||||
"user-lena"
|
||||
],
|
||||
"recipientCount": 3
|
||||
},
|
||||
"retryable": false,
|
||||
"source": "persisted",
|
||||
"systemEvent": null,
|
||||
"thread": null,
|
||||
"tombstoneKey": null,
|
||||
"updatedAtIso": "2026-07-15T09:30:00.000Z"
|
||||
},
|
||||
{
|
||||
"actions": {
|
||||
"canDelete": false,
|
||||
"canEdit": false,
|
||||
"canMarkAsTask": false,
|
||||
"canPin": false,
|
||||
"canReact": false,
|
||||
"canReply": false
|
||||
},
|
||||
"attachments": [],
|
||||
"author": {
|
||||
"avatar": {
|
||||
"fallbackLabel": "RS",
|
||||
"imageUrl": null
|
||||
},
|
||||
"displayName": "Raffael Sheikh",
|
||||
"isCurrentUser": true,
|
||||
"userId": "user-raffael"
|
||||
},
|
||||
"bodyFormat": "markdown",
|
||||
"bodyMarkdown": "Perfekt, danke!",
|
||||
"clientMessageId": "client-raffael-1",
|
||||
"createdAtIso": "2026-07-15T09:31:00.000Z",
|
||||
"deletedAtIso": null,
|
||||
"deliveryState": "sent",
|
||||
"deliveryStateKey": "chat.message.delivery.sent",
|
||||
"editedAtIso": null,
|
||||
"failureReasonKey": null,
|
||||
"id": "message-raffael-1",
|
||||
"linkPreviews": [],
|
||||
"mentions": [],
|
||||
"parentMessageId": null,
|
||||
"pin": null,
|
||||
"reactions": [],
|
||||
"readAggregate": {
|
||||
"labelKey": "chat.message.read.aggregate",
|
||||
"readCount": 0,
|
||||
"readerLabels": [],
|
||||
"readerUserIds": [],
|
||||
"recipientCount": 3
|
||||
},
|
||||
"retryable": false,
|
||||
"source": "http_ack",
|
||||
"systemEvent": null,
|
||||
"thread": null,
|
||||
"tombstoneKey": null,
|
||||
"updatedAtIso": "2026-07-15T09:31:01.000Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"messages": [
|
||||
{
|
||||
"actions": {
|
||||
"canDelete": false,
|
||||
"canEdit": false,
|
||||
"canMarkAsTask": false,
|
||||
"canPin": false,
|
||||
"canReact": false,
|
||||
"canReply": false
|
||||
},
|
||||
"attachments": [],
|
||||
"author": {
|
||||
"avatar": {
|
||||
"fallbackLabel": "MK",
|
||||
"imageUrl": null
|
||||
},
|
||||
"displayName": "Mara Klein",
|
||||
"isCurrentUser": false,
|
||||
"userId": "user-mara"
|
||||
},
|
||||
"bodyFormat": "markdown",
|
||||
"bodyMarkdown": "Material ist bestellt.",
|
||||
"clientMessageId": "client-mara-1",
|
||||
"createdAtIso": "2026-07-15T09:30:00.000Z",
|
||||
"deletedAtIso": null,
|
||||
"deliveryState": "sent",
|
||||
"deliveryStateKey": "chat.message.delivery.sent",
|
||||
"editedAtIso": null,
|
||||
"failureReasonKey": null,
|
||||
"id": "message-mara-1",
|
||||
"linkPreviews": [],
|
||||
"mentions": [],
|
||||
"parentMessageId": null,
|
||||
"pin": null,
|
||||
"reactions": [],
|
||||
"readAggregate": {
|
||||
"labelKey": "chat.message.read.aggregate",
|
||||
"readCount": 2,
|
||||
"readerLabels": [
|
||||
"Raffael Sheikh",
|
||||
"Lena Werk"
|
||||
],
|
||||
"readerUserIds": [
|
||||
"user-raffael",
|
||||
"user-lena"
|
||||
],
|
||||
"recipientCount": 3
|
||||
},
|
||||
"retryable": false,
|
||||
"source": "persisted",
|
||||
"systemEvent": null,
|
||||
"thread": null,
|
||||
"tombstoneKey": null,
|
||||
"updatedAtIso": "2026-07-15T09:30:00.000Z"
|
||||
},
|
||||
{
|
||||
"actions": {
|
||||
"canDelete": false,
|
||||
"canEdit": false,
|
||||
"canMarkAsTask": false,
|
||||
"canPin": false,
|
||||
"canReact": false,
|
||||
"canReply": false
|
||||
},
|
||||
"attachments": [],
|
||||
"author": {
|
||||
"avatar": {
|
||||
"fallbackLabel": "RS",
|
||||
"imageUrl": null
|
||||
},
|
||||
"displayName": "Raffael Sheikh",
|
||||
"isCurrentUser": true,
|
||||
"userId": "user-raffael"
|
||||
},
|
||||
"bodyFormat": "markdown",
|
||||
"bodyMarkdown": "Perfekt, danke!",
|
||||
"clientMessageId": "client-raffael-1",
|
||||
"createdAtIso": "2026-07-15T09:31:00.000Z",
|
||||
"deletedAtIso": null,
|
||||
"deliveryState": "sent",
|
||||
"deliveryStateKey": "chat.message.delivery.sent",
|
||||
"editedAtIso": null,
|
||||
"failureReasonKey": null,
|
||||
"id": "message-raffael-1",
|
||||
"linkPreviews": [],
|
||||
"mentions": [],
|
||||
"parentMessageId": null,
|
||||
"pin": null,
|
||||
"reactions": [],
|
||||
"readAggregate": {
|
||||
"labelKey": "chat.message.read.aggregate",
|
||||
"readCount": 0,
|
||||
"readerLabels": [],
|
||||
"readerUserIds": [],
|
||||
"recipientCount": 3
|
||||
},
|
||||
"retryable": false,
|
||||
"source": "http_ack",
|
||||
"systemEvent": null,
|
||||
"thread": null,
|
||||
"tombstoneKey": null,
|
||||
"updatedAtIso": "2026-07-15T09:31:01.000Z"
|
||||
}
|
||||
],
|
||||
"newMessagesLabelKey": "chat.channel.newMessages",
|
||||
"pinnedMessages": [],
|
||||
"presence": [],
|
||||
"typingLabels": [
|
||||
"Mara Klein"
|
||||
]
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"titleKey": "mock.ak-p15b.chat.detail.title"
|
||||
}
|
||||
;
|
||||
export default mockPage;
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"pageId": "ak-p15b-chat-detail-interim",
|
||||
"route": "/:tenant/chat/:id",
|
||||
"status": "ready",
|
||||
"htmlHash": "61a4645e",
|
||||
"moduleHash": "f0a9ca77",
|
||||
"stateHash": "1b80d9c6",
|
||||
"metrics": {
|
||||
"htmlBytes": 19064,
|
||||
"moduleBytes": 11468,
|
||||
"sidebarItems": 1,
|
||||
"breadcrumbItems": 2,
|
||||
"mobileItems": 0,
|
||||
"portalItems": 0
|
||||
}
|
||||
}
|
||||
+257
@@ -0,0 +1,257 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>UI Mock: Team chat index interim UI (AK-P15b)</title>
|
||||
<style>
|
||||
:root { color-scheme: light; --bg: #f6f7f9; --panel: #ffffff; --ink: #1f2937; --muted: #64748b; --line: #d9e0e8; --accent: #2563eb; --ok: #0f766e; }
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
|
||||
.mock-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
|
||||
.mock-nav { border-right: 1px solid var(--line); background: #eef2f7; padding: 24px 18px; }
|
||||
.mock-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
||||
.mock-link { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
|
||||
.mock-link[data-active='true'] { background: var(--panel); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
|
||||
.mock-main { padding: 32px; }
|
||||
.mock-breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
|
||||
.mock-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
|
||||
.mock-title { margin: 0; font-size: 28px; line-height: 1.2; }
|
||||
.mock-description { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
|
||||
.mock-status { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px 12px; color: var(--ok); font-weight: 700; }
|
||||
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
|
||||
.mock-card, .mock-state { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; }
|
||||
.mock-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
|
||||
.mock-card-value { margin: 0; font-size: 24px; font-weight: 750; }
|
||||
.mock-card-trend { margin-top: 10px; color: var(--ok); font-size: 12px; text-transform: uppercase; }
|
||||
.mock-activity { margin: 0; padding: 0; list-style: none; }
|
||||
.mock-activity li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
|
||||
.mock-activity li:first-child { border-top: 0; padding-top: 0; }
|
||||
.mock-state pre { margin: 12px 0 0; white-space: pre-wrap; color: #334155; }
|
||||
</style>
|
||||
</head>
|
||||
<body data-ui-mock-route="/:tenant/chat" data-ui-mock-status="ready">
|
||||
<div class="mock-shell" data-ui-mock-page="ak-p15b-chat-index-interim">
|
||||
<nav class="mock-nav" aria-label="Mock sidebar">
|
||||
<div class="mock-brand">HiveGrid mock</div>
|
||||
<a class="mock-link" data-active="true" href="/:tenant/chat">Team chat</a>
|
||||
</nav>
|
||||
<main class="mock-main">
|
||||
<div class="mock-breadcrumbs"><span>Team chat</span></div>
|
||||
<header class="mock-header">
|
||||
<div>
|
||||
<h1 class="mock-title">Team chat index interim UI (AK-P15b)</h1>
|
||||
<p class="mock-description">Static fixture for the team chat channel index interim screen (AD-28).</p>
|
||||
</div>
|
||||
<div class="mock-status">Ready</div>
|
||||
</header>
|
||||
<section class="mock-grid" aria-label="Mock metrics">
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Visible channels</p>
|
||||
<p class="mock-card-value">2</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Unread messages</p>
|
||||
<p class="mock-card-value">3</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Design status</p>
|
||||
<p class="mock-card-value">interim</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
</section>
|
||||
<section class="mock-card" aria-label="Mock activity">
|
||||
<ul class="mock-activity">
|
||||
<li><span>Channel filters</span><span>all | unread | pinned | direct</span></li>
|
||||
<li><span>Unread and mention state</span><span>3 unread | 1 mention</span></li>
|
||||
<li><span>Permission-gated navigation</span><span>chat.read_own_channels</span></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="mock-state" aria-label="Mock state payload">
|
||||
<strong>Serialized state</strong>
|
||||
<pre>{
|
||||
"activity": 3,
|
||||
"cards": 3,
|
||||
"status": "Ready"
|
||||
}</pre>
|
||||
</section>
|
||||
<script type="application/json" id="mock-page-state">{
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.index.activity.filters",
|
||||
"meta": "all | unread | pinned | direct"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.index.activity.unread",
|
||||
"meta": "3 unread | 1 mention"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.index.activity.navigation",
|
||||
"meta": "chat.read_own_channels"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.index.metrics.channels",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.index.metrics.unread",
|
||||
"trend": "flat",
|
||||
"value": "3"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.index.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/chat",
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"discoverHeadlineKey": "chat.channelList.discover.headline",
|
||||
"discoverNextCursor": null,
|
||||
"discoverRows": [
|
||||
{
|
||||
"avatar": {
|
||||
"fallbackLabel": "SA",
|
||||
"imageUrl": null
|
||||
},
|
||||
"canJoin": true,
|
||||
"description": "Offener Channel für das gesamte Serviceteam",
|
||||
"detailHref": null,
|
||||
"id": "chat-public-service",
|
||||
"isJoined": false,
|
||||
"joinHref": "/:tenant/chat",
|
||||
"memberCount": 12,
|
||||
"title": "Service-Austausch"
|
||||
}
|
||||
],
|
||||
"emptyBodyKey": "chat.channelList.empty.body",
|
||||
"emptyHeadlineKey": "chat.channelList.empty.headline",
|
||||
"filter": {
|
||||
"query": "",
|
||||
"showArchived": false,
|
||||
"view": "all"
|
||||
},
|
||||
"hrefs": {
|
||||
"archived": "/:tenant/chat?archived=true",
|
||||
"mentions": "/:tenant/chat/mentions",
|
||||
"newChannel": "/:tenant/chat/new",
|
||||
"newDm": "/:tenant/chat/new",
|
||||
"search": "/:tenant/chat/search"
|
||||
},
|
||||
"nextCursor": null,
|
||||
"noResultsBodyKey": "chat.channelList.noResults.body",
|
||||
"noResultsHeadlineKey": "chat.channelList.noResults.headline",
|
||||
"permissions": {
|
||||
"canAdmin": false,
|
||||
"canCreateDm": false,
|
||||
"canCreateGroup": false,
|
||||
"canDiscover": true,
|
||||
"canSearch": true,
|
||||
"canViewArchived": true,
|
||||
"canViewMentions": false,
|
||||
"canWrite": true
|
||||
},
|
||||
"rows": [
|
||||
{
|
||||
"archivedAtIso": null,
|
||||
"avatar": {
|
||||
"fallbackLabel": "MT",
|
||||
"imageUrl": null
|
||||
},
|
||||
"canManage": false,
|
||||
"detailHref": "/:tenant/chat/chat-group-montage",
|
||||
"hasMention": true,
|
||||
"hasUnread": true,
|
||||
"id": "chat-group-montage",
|
||||
"isArchived": false,
|
||||
"isMuted": false,
|
||||
"isPinned": true,
|
||||
"isPrivate": true,
|
||||
"kind": "group",
|
||||
"kindLabelKey": "chat.channel.kind.group",
|
||||
"lastMessage": {
|
||||
"authorLabel": "Mara Klein",
|
||||
"createdAtIso": "2026-07-15T09:30:00.000Z",
|
||||
"snippet": "Material ist bestellt.",
|
||||
"systemEvent": null
|
||||
},
|
||||
"memberCount": 4,
|
||||
"notificationPreference": "all_messages",
|
||||
"project": null,
|
||||
"subtitle": "Abstimmung für die laufenden Baustellen",
|
||||
"title": "Montage-Team",
|
||||
"typingLabels": [],
|
||||
"unreadCount": 3
|
||||
},
|
||||
{
|
||||
"archivedAtIso": null,
|
||||
"avatar": {
|
||||
"fallbackLabel": "MK",
|
||||
"imageUrl": null
|
||||
},
|
||||
"canManage": false,
|
||||
"detailHref": "/:tenant/chat/chat-dm-mara",
|
||||
"hasMention": false,
|
||||
"hasUnread": false,
|
||||
"id": "chat-dm-mara",
|
||||
"isArchived": false,
|
||||
"isMuted": true,
|
||||
"isPinned": false,
|
||||
"isPrivate": true,
|
||||
"kind": "dm",
|
||||
"kindLabelKey": "chat.channel.kind.dm",
|
||||
"lastMessage": {
|
||||
"authorLabel": "Mara Klein",
|
||||
"createdAtIso": "2026-07-15T08:45:00.000Z",
|
||||
"snippet": "Bis später auf der Baustelle.",
|
||||
"systemEvent": null
|
||||
},
|
||||
"memberCount": 2,
|
||||
"notificationPreference": "muted",
|
||||
"project": null,
|
||||
"subtitle": null,
|
||||
"title": "Mara Klein",
|
||||
"typingLabels": [],
|
||||
"unreadCount": 0
|
||||
}
|
||||
],
|
||||
"totals": {
|
||||
"mentions": 1,
|
||||
"unread": 3
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}</script>
|
||||
<script type="application/json" id="mock-page-registries">{
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant/chat",
|
||||
"id": "chat",
|
||||
"labelKey": "mock.ak-p15b.chat.nav.title",
|
||||
"permission": "chat.read_own_channels"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant/chat",
|
||||
"id": "ak-p15b-chat",
|
||||
"labelKey": "mock.ak-p15b.chat.nav.title",
|
||||
"permission": "chat.read_own_channels"
|
||||
}
|
||||
]
|
||||
}</script>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+183
@@ -0,0 +1,183 @@
|
||||
export const mockPage =
|
||||
{
|
||||
"descriptionKey": "mock.ak-p15b.chat.index.description",
|
||||
"id": "ak-p15b-chat-index-interim",
|
||||
"registries": {
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant/chat",
|
||||
"id": "chat",
|
||||
"labelKey": "mock.ak-p15b.chat.nav.title",
|
||||
"permission": "chat.read_own_channels"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant/chat",
|
||||
"id": "ak-p15b-chat",
|
||||
"labelKey": "mock.ak-p15b.chat.nav.title",
|
||||
"permission": "chat.read_own_channels"
|
||||
}
|
||||
]
|
||||
},
|
||||
"route": "/:tenant/chat",
|
||||
"state": {
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.index.activity.filters",
|
||||
"meta": "all | unread | pinned | direct"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.index.activity.unread",
|
||||
"meta": "3 unread | 1 mention"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.index.activity.navigation",
|
||||
"meta": "chat.read_own_channels"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.index.metrics.channels",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.index.metrics.unread",
|
||||
"trend": "flat",
|
||||
"value": "3"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-p15b.chat.index.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/chat",
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"discoverHeadlineKey": "chat.channelList.discover.headline",
|
||||
"discoverNextCursor": null,
|
||||
"discoverRows": [
|
||||
{
|
||||
"avatar": {
|
||||
"fallbackLabel": "SA",
|
||||
"imageUrl": null
|
||||
},
|
||||
"canJoin": true,
|
||||
"description": "Offener Channel für das gesamte Serviceteam",
|
||||
"detailHref": null,
|
||||
"id": "chat-public-service",
|
||||
"isJoined": false,
|
||||
"joinHref": "/:tenant/chat",
|
||||
"memberCount": 12,
|
||||
"title": "Service-Austausch"
|
||||
}
|
||||
],
|
||||
"emptyBodyKey": "chat.channelList.empty.body",
|
||||
"emptyHeadlineKey": "chat.channelList.empty.headline",
|
||||
"filter": {
|
||||
"query": "",
|
||||
"showArchived": false,
|
||||
"view": "all"
|
||||
},
|
||||
"hrefs": {
|
||||
"archived": "/:tenant/chat?archived=true",
|
||||
"mentions": "/:tenant/chat/mentions",
|
||||
"newChannel": "/:tenant/chat/new",
|
||||
"newDm": "/:tenant/chat/new",
|
||||
"search": "/:tenant/chat/search"
|
||||
},
|
||||
"nextCursor": null,
|
||||
"noResultsBodyKey": "chat.channelList.noResults.body",
|
||||
"noResultsHeadlineKey": "chat.channelList.noResults.headline",
|
||||
"permissions": {
|
||||
"canAdmin": false,
|
||||
"canCreateDm": false,
|
||||
"canCreateGroup": false,
|
||||
"canDiscover": true,
|
||||
"canSearch": true,
|
||||
"canViewArchived": true,
|
||||
"canViewMentions": false,
|
||||
"canWrite": true
|
||||
},
|
||||
"rows": [
|
||||
{
|
||||
"archivedAtIso": null,
|
||||
"avatar": {
|
||||
"fallbackLabel": "MT",
|
||||
"imageUrl": null
|
||||
},
|
||||
"canManage": false,
|
||||
"detailHref": "/:tenant/chat/chat-group-montage",
|
||||
"hasMention": true,
|
||||
"hasUnread": true,
|
||||
"id": "chat-group-montage",
|
||||
"isArchived": false,
|
||||
"isMuted": false,
|
||||
"isPinned": true,
|
||||
"isPrivate": true,
|
||||
"kind": "group",
|
||||
"kindLabelKey": "chat.channel.kind.group",
|
||||
"lastMessage": {
|
||||
"authorLabel": "Mara Klein",
|
||||
"createdAtIso": "2026-07-15T09:30:00.000Z",
|
||||
"snippet": "Material ist bestellt.",
|
||||
"systemEvent": null
|
||||
},
|
||||
"memberCount": 4,
|
||||
"notificationPreference": "all_messages",
|
||||
"project": null,
|
||||
"subtitle": "Abstimmung für die laufenden Baustellen",
|
||||
"title": "Montage-Team",
|
||||
"typingLabels": [],
|
||||
"unreadCount": 3
|
||||
},
|
||||
{
|
||||
"archivedAtIso": null,
|
||||
"avatar": {
|
||||
"fallbackLabel": "MK",
|
||||
"imageUrl": null
|
||||
},
|
||||
"canManage": false,
|
||||
"detailHref": "/:tenant/chat/chat-dm-mara",
|
||||
"hasMention": false,
|
||||
"hasUnread": false,
|
||||
"id": "chat-dm-mara",
|
||||
"isArchived": false,
|
||||
"isMuted": true,
|
||||
"isPinned": false,
|
||||
"isPrivate": true,
|
||||
"kind": "dm",
|
||||
"kindLabelKey": "chat.channel.kind.dm",
|
||||
"lastMessage": {
|
||||
"authorLabel": "Mara Klein",
|
||||
"createdAtIso": "2026-07-15T08:45:00.000Z",
|
||||
"snippet": "Bis später auf der Baustelle.",
|
||||
"systemEvent": null
|
||||
},
|
||||
"memberCount": 2,
|
||||
"notificationPreference": "muted",
|
||||
"project": null,
|
||||
"subtitle": null,
|
||||
"title": "Mara Klein",
|
||||
"typingLabels": [],
|
||||
"unreadCount": 0
|
||||
}
|
||||
],
|
||||
"totals": {
|
||||
"mentions": 1,
|
||||
"unread": 3
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"titleKey": "mock.ak-p15b.chat.index.title"
|
||||
}
|
||||
;
|
||||
export default mockPage;
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"pageId": "ak-p15b-chat-index-interim",
|
||||
"route": "/:tenant/chat",
|
||||
"status": "ready",
|
||||
"htmlHash": "fdef3477",
|
||||
"moduleHash": "6ad8c56d",
|
||||
"stateHash": "85102e36",
|
||||
"metrics": {
|
||||
"htmlBytes": 11897,
|
||||
"moduleBytes": 5696,
|
||||
"sidebarItems": 1,
|
||||
"breadcrumbItems": 1,
|
||||
"mobileItems": 0,
|
||||
"portalItems": 0
|
||||
}
|
||||
}
|
||||
+199
@@ -0,0 +1,199 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>UI Mock: AK-P20 interim UI</title>
|
||||
<style>
|
||||
:root { color-scheme: light; --bg: #f6f7f9; --panel: #ffffff; --ink: #1f2937; --muted: #64748b; --line: #d9e0e8; --accent: #2563eb; --ok: #0f766e; }
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
|
||||
.mock-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
|
||||
.mock-nav { border-right: 1px solid var(--line); background: #eef2f7; padding: 24px 18px; }
|
||||
.mock-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
||||
.mock-link { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
|
||||
.mock-link[data-active='true'] { background: var(--panel); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
|
||||
.mock-main { padding: 32px; }
|
||||
.mock-breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
|
||||
.mock-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
|
||||
.mock-title { margin: 0; font-size: 28px; line-height: 1.2; }
|
||||
.mock-description { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
|
||||
.mock-status { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px 12px; color: var(--ok); font-weight: 700; }
|
||||
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
|
||||
.mock-card, .mock-state { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; }
|
||||
.mock-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
|
||||
.mock-card-value { margin: 0; font-size: 24px; font-weight: 750; }
|
||||
.mock-card-trend { margin-top: 10px; color: var(--ok); font-size: 12px; text-transform: uppercase; }
|
||||
.mock-activity { margin: 0; padding: 0; list-style: none; }
|
||||
.mock-activity li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
|
||||
.mock-activity li:first-child { border-top: 0; padding-top: 0; }
|
||||
.mock-state pre { margin: 12px 0 0; white-space: pre-wrap; color: #334155; }
|
||||
</style>
|
||||
</head>
|
||||
<body data-ui-mock-route="/:tenant/settings/billing" data-ui-mock-status="ready">
|
||||
<div class="mock-shell" data-ui-mock-page="ak-p20-interim">
|
||||
<nav class="mock-nav" aria-label="Mock sidebar">
|
||||
<div class="mock-brand">HiveGrid mock</div>
|
||||
<a class="mock-link" data-active="true" href="/:tenant/settings/billing">Subscription</a>
|
||||
<a class="mock-link" data-active="false" href="/:tenant/settings/billing/usage">Usage</a>
|
||||
<a class="mock-link" data-active="false" href="/:tenant/settings/billing/invoices">Billing</a>
|
||||
<a class="mock-link" data-active="false" href="/:tenant/settings/workspace/demo-data">Demo data</a>
|
||||
<a class="mock-link" data-active="false" href="/:tenant/onboarding/checklist">First steps</a>
|
||||
</nav>
|
||||
<main class="mock-main">
|
||||
<div class="mock-breadcrumbs"><span>Settings</span><span>/</span><span>Subscription</span></div>
|
||||
<header class="mock-header">
|
||||
<div>
|
||||
<h1 class="mock-title">AK-P20 interim UI</h1>
|
||||
<p class="mock-description">Static fixture for the billing and onboarding interim screens.</p>
|
||||
</div>
|
||||
<div class="mock-status">Ready</div>
|
||||
</header>
|
||||
<section class="mock-grid" aria-label="Mock metrics">
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Screens</p>
|
||||
<p class="mock-card-value">5</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">View models</p>
|
||||
<p class="mock-card-value">5</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Design status</p>
|
||||
<p class="mock-card-value">interim</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
</section>
|
||||
<section class="mock-card" aria-label="Mock activity">
|
||||
<ul class="mock-activity">
|
||||
<li><span>Subscription overview</span><span>/:tenant/settings/billing</span></li>
|
||||
<li><span>Usage overview</span><span>/:tenant/settings/billing/usage</span></li>
|
||||
<li><span>Invoices and payments</span><span>/:tenant/settings/billing/invoices</span></li>
|
||||
<li><span>Demo data</span><span>/:tenant/settings/workspace/demo-data</span></li>
|
||||
<li><span>First steps checklist</span><span>/:tenant/onboarding/checklist</span></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="mock-state" aria-label="Mock state payload">
|
||||
<strong>Serialized state</strong>
|
||||
<pre>{
|
||||
"activity": 5,
|
||||
"cards": 3,
|
||||
"status": "Ready"
|
||||
}</pre>
|
||||
</section>
|
||||
<script type="application/json" id="mock-page-state">{
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.p20.interim.activity.subscription",
|
||||
"meta": "/:tenant/settings/billing"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.p20.interim.activity.usage",
|
||||
"meta": "/:tenant/settings/billing/usage"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.p20.interim.activity.billing",
|
||||
"meta": "/:tenant/settings/billing/invoices"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.p20.interim.activity.demoData",
|
||||
"meta": "/:tenant/settings/workspace/demo-data"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.p20.interim.activity.checklist",
|
||||
"meta": "/:tenant/onboarding/checklist"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.p20.interim.metrics.screens",
|
||||
"trend": "flat",
|
||||
"value": "5"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.p20.interim.metrics.viewModels",
|
||||
"trend": "flat",
|
||||
"value": "5"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.p20.interim.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoutes": [
|
||||
"/:tenant/settings/billing",
|
||||
"/:tenant/settings/billing/usage",
|
||||
"/:tenant/settings/billing/invoices",
|
||||
"/:tenant/settings/workspace/demo-data",
|
||||
"/:tenant/onboarding/checklist"
|
||||
],
|
||||
"viewModels": {
|
||||
"billing": {
|
||||
"status": "empty"
|
||||
},
|
||||
"checklist": {
|
||||
"status": "empty"
|
||||
},
|
||||
"demoData": {
|
||||
"status": "empty"
|
||||
},
|
||||
"subscription": {
|
||||
"status": "empty"
|
||||
},
|
||||
"usage": {
|
||||
"status": "empty"
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}</script>
|
||||
<script type="application/json" id="mock-page-registries">{
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant/settings",
|
||||
"id": "settings",
|
||||
"labelKey": "mock.p20.interim.breadcrumb.settings"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/settings/billing",
|
||||
"id": "subscription",
|
||||
"labelKey": "mock.p20.interim.nav.subscription"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant/settings/billing",
|
||||
"id": "ak-p20-subscription",
|
||||
"labelKey": "mock.p20.interim.nav.subscription"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/settings/billing/usage",
|
||||
"id": "ak-p20-usage",
|
||||
"labelKey": "mock.p20.interim.nav.usage"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/settings/billing/invoices",
|
||||
"id": "ak-p20-billing",
|
||||
"labelKey": "mock.p20.interim.nav.billing"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/settings/workspace/demo-data",
|
||||
"id": "ak-p20-demoData",
|
||||
"labelKey": "mock.p20.interim.nav.demoData"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/onboarding/checklist",
|
||||
"id": "ak-p20-checklist",
|
||||
"labelKey": "mock.p20.interim.nav.checklist"
|
||||
}
|
||||
]
|
||||
}</script>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+119
@@ -0,0 +1,119 @@
|
||||
export const mockPage =
|
||||
{
|
||||
"descriptionKey": "mock.p20.interim.description",
|
||||
"id": "ak-p20-interim",
|
||||
"registries": {
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant/settings",
|
||||
"id": "settings",
|
||||
"labelKey": "mock.p20.interim.breadcrumb.settings"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/settings/billing",
|
||||
"id": "subscription",
|
||||
"labelKey": "mock.p20.interim.nav.subscription"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant/settings/billing",
|
||||
"id": "ak-p20-subscription",
|
||||
"labelKey": "mock.p20.interim.nav.subscription"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/settings/billing/usage",
|
||||
"id": "ak-p20-usage",
|
||||
"labelKey": "mock.p20.interim.nav.usage"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/settings/billing/invoices",
|
||||
"id": "ak-p20-billing",
|
||||
"labelKey": "mock.p20.interim.nav.billing"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/settings/workspace/demo-data",
|
||||
"id": "ak-p20-demoData",
|
||||
"labelKey": "mock.p20.interim.nav.demoData"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/onboarding/checklist",
|
||||
"id": "ak-p20-checklist",
|
||||
"labelKey": "mock.p20.interim.nav.checklist"
|
||||
}
|
||||
]
|
||||
},
|
||||
"route": "/:tenant/settings/billing",
|
||||
"state": {
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.p20.interim.activity.subscription",
|
||||
"meta": "/:tenant/settings/billing"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.p20.interim.activity.usage",
|
||||
"meta": "/:tenant/settings/billing/usage"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.p20.interim.activity.billing",
|
||||
"meta": "/:tenant/settings/billing/invoices"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.p20.interim.activity.demoData",
|
||||
"meta": "/:tenant/settings/workspace/demo-data"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.p20.interim.activity.checklist",
|
||||
"meta": "/:tenant/onboarding/checklist"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.p20.interim.metrics.screens",
|
||||
"trend": "flat",
|
||||
"value": "5"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.p20.interim.metrics.viewModels",
|
||||
"trend": "flat",
|
||||
"value": "5"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.p20.interim.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoutes": [
|
||||
"/:tenant/settings/billing",
|
||||
"/:tenant/settings/billing/usage",
|
||||
"/:tenant/settings/billing/invoices",
|
||||
"/:tenant/settings/workspace/demo-data",
|
||||
"/:tenant/onboarding/checklist"
|
||||
],
|
||||
"viewModels": {
|
||||
"billing": {
|
||||
"status": "empty"
|
||||
},
|
||||
"checklist": {
|
||||
"status": "empty"
|
||||
},
|
||||
"demoData": {
|
||||
"status": "empty"
|
||||
},
|
||||
"subscription": {
|
||||
"status": "empty"
|
||||
},
|
||||
"usage": {
|
||||
"status": "empty"
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"titleKey": "mock.p20.interim.title"
|
||||
}
|
||||
;
|
||||
export default mockPage;
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"pageId": "ak-p20-interim",
|
||||
"route": "/:tenant/settings/billing",
|
||||
"status": "ready",
|
||||
"htmlHash": "e98162c5",
|
||||
"moduleHash": "29651a86",
|
||||
"stateHash": "f6ea5bbe",
|
||||
"metrics": {
|
||||
"htmlBytes": 9233,
|
||||
"moduleBytes": 3137,
|
||||
"sidebarItems": 5,
|
||||
"breadcrumbItems": 2,
|
||||
"mobileItems": 0,
|
||||
"portalItems": 0
|
||||
}
|
||||
}
|
||||
+223
@@ -0,0 +1,223 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>UI Mock: Email inbox interim drill (AK-UI-01)</title>
|
||||
<style>
|
||||
:root { color-scheme: light; --bg: #f6f7f9; --panel: #ffffff; --ink: #1f2937; --muted: #64748b; --line: #d9e0e8; --accent: #2563eb; --ok: #0f766e; }
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
|
||||
.mock-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
|
||||
.mock-nav { border-right: 1px solid var(--line); background: #eef2f7; padding: 24px 18px; }
|
||||
.mock-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
||||
.mock-link { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
|
||||
.mock-link[data-active='true'] { background: var(--panel); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
|
||||
.mock-main { padding: 32px; }
|
||||
.mock-breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
|
||||
.mock-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
|
||||
.mock-title { margin: 0; font-size: 28px; line-height: 1.2; }
|
||||
.mock-description { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
|
||||
.mock-status { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px 12px; color: var(--ok); font-weight: 700; }
|
||||
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
|
||||
.mock-card, .mock-state { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; }
|
||||
.mock-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
|
||||
.mock-card-value { margin: 0; font-size: 24px; font-weight: 750; }
|
||||
.mock-card-trend { margin-top: 10px; color: var(--ok); font-size: 12px; text-transform: uppercase; }
|
||||
.mock-activity { margin: 0; padding: 0; list-style: none; }
|
||||
.mock-activity li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
|
||||
.mock-activity li:first-child { border-top: 0; padding-top: 0; }
|
||||
.mock-state pre { margin: 12px 0 0; white-space: pre-wrap; color: #334155; }
|
||||
</style>
|
||||
</head>
|
||||
<body data-ui-mock-route="/mock/ak-ui-01/emails" data-ui-mock-status="ready">
|
||||
<div class="mock-shell" data-ui-mock-page="ak-ui-01-email-inbox-interim">
|
||||
<nav class="mock-nav" aria-label="Mock sidebar">
|
||||
<div class="mock-brand">HiveGrid mock</div>
|
||||
</nav>
|
||||
<main class="mock-main">
|
||||
<div class="mock-breadcrumbs"><span>Mock</span><span>/</span><span>Email inbox interim</span></div>
|
||||
<header class="mock-header">
|
||||
<div>
|
||||
<h1 class="mock-title">Email inbox interim drill (AK-UI-01)</h1>
|
||||
<p class="mock-description">Static fixture for the AK-UI-01 email inbox list interim screen (AD-28).</p>
|
||||
</div>
|
||||
<div class="mock-status">Ready</div>
|
||||
</header>
|
||||
<section class="mock-grid" aria-label="Mock metrics">
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Rows</p>
|
||||
<p class="mock-card-value">2</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Mailboxes</p>
|
||||
<p class="mock-card-value">2</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Design status</p>
|
||||
<p class="mock-card-value">interim</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
</section>
|
||||
<section class="mock-card" aria-label="Mock activity">
|
||||
<ul class="mock-activity">
|
||||
<li><span>Filter bar</span><span>filters</span></li>
|
||||
<li><span>Bulk actions</span><span>bulk</span></li>
|
||||
<li><span>Archive dialog</span><span>dialog</span></li>
|
||||
<li><span>Empty and no-mailbox states</span><span>states</span></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="mock-state" aria-label="Mock state payload">
|
||||
<strong>Serialized state</strong>
|
||||
<pre>{
|
||||
"activity": 4,
|
||||
"cards": 3,
|
||||
"status": "Ready"
|
||||
}</pre>
|
||||
</section>
|
||||
<script type="application/json" id="mock-page-state">{
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.ak-ui-01.inbox.activity.filters",
|
||||
"meta": "filters"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-01.inbox.activity.bulk",
|
||||
"meta": "bulk"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-01.inbox.activity.archiveDialog",
|
||||
"meta": "dialog"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-01.inbox.activity.states",
|
||||
"meta": "states"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.ak-ui-01.inbox.metrics.rows",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-01.inbox.metrics.mailboxes",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-01.inbox.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/emails",
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"canWrite": true,
|
||||
"composeHref": "/mock/ak-ui-01/emails/new",
|
||||
"emptyBodyKey": "emailInbox.list.empty.body",
|
||||
"emptyHeadlineKey": "emailInbox.list.empty.headline",
|
||||
"filters": {
|
||||
"direction": "all",
|
||||
"linked": "all",
|
||||
"mailboxId": null,
|
||||
"q": "",
|
||||
"read": "all",
|
||||
"showArchived": false
|
||||
},
|
||||
"hasAnyMailbox": true,
|
||||
"mailboxOptions": [
|
||||
{
|
||||
"emailAddress": "sales@demo-pro.example",
|
||||
"id": "mailbox-1"
|
||||
},
|
||||
{
|
||||
"emailAddress": "office@demo-pro.example",
|
||||
"id": "mailbox-2"
|
||||
}
|
||||
],
|
||||
"nextCursor": "2026-07-01T10:00:00.000Z~msg-2",
|
||||
"noMailboxBodyKey": "emailInbox.list.noMailbox.body",
|
||||
"noMailboxHeadlineKey": "emailInbox.list.noMailbox.headline",
|
||||
"rows": [
|
||||
{
|
||||
"detailHref": "/mock/ak-ui-01/emails/msg-1",
|
||||
"direction": "inbound",
|
||||
"fromAddress": "buero@demo-pro.example",
|
||||
"fromName": "Sandra Vogel",
|
||||
"hasAttachments": true,
|
||||
"id": "msg-1",
|
||||
"isNewsletter": false,
|
||||
"isRead": false,
|
||||
"links": [
|
||||
{
|
||||
"href": "/mock/ak-ui-01/contacts/contact-1",
|
||||
"id": "contact-1",
|
||||
"type": "kontakt"
|
||||
}
|
||||
],
|
||||
"mailbox": {
|
||||
"emailAddress": "sales@demo-pro.example",
|
||||
"id": "mailbox-1",
|
||||
"provider": "gmail"
|
||||
},
|
||||
"sentAt": "2026-07-02T09:30:00.000Z",
|
||||
"snippet": "Anbei das aktualisierte Angebot mit den besprochenen Positionen.",
|
||||
"subject": "Fixture offer subject"
|
||||
},
|
||||
{
|
||||
"detailHref": "/mock/ak-ui-01/emails/msg-2",
|
||||
"direction": "inbound",
|
||||
"fromAddress": "newsletter@demo-pro.example",
|
||||
"fromName": null,
|
||||
"hasAttachments": false,
|
||||
"id": "msg-2",
|
||||
"isNewsletter": true,
|
||||
"isRead": true,
|
||||
"links": [
|
||||
{
|
||||
"href": "/mock/ak-ui-01/leads/lead-1",
|
||||
"id": "lead-1",
|
||||
"type": "lead"
|
||||
}
|
||||
],
|
||||
"mailbox": {
|
||||
"emailAddress": "office@demo-pro.example",
|
||||
"id": "mailbox-2",
|
||||
"provider": "microsoft"
|
||||
},
|
||||
"sentAt": "2026-07-01T10:00:00.000Z",
|
||||
"snippet": null,
|
||||
"subject": null
|
||||
}
|
||||
],
|
||||
"settingsHref": "/mock/ak-ui-01/settings/integrations/email"
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}</script>
|
||||
<script type="application/json" id="mock-page-registries">{
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/mock",
|
||||
"id": "mock",
|
||||
"labelKey": "mock.root"
|
||||
},
|
||||
{
|
||||
"href": "/mock/ak-ui-01/emails",
|
||||
"id": "ak-ui-01-email-inbox",
|
||||
"labelKey": "mock.ak-ui-01.inbox.label"
|
||||
}
|
||||
]
|
||||
}</script>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+149
@@ -0,0 +1,149 @@
|
||||
export const mockPage =
|
||||
{
|
||||
"descriptionKey": "mock.ak-ui-01.inbox.description",
|
||||
"id": "ak-ui-01-email-inbox-interim",
|
||||
"registries": {
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/mock",
|
||||
"id": "mock",
|
||||
"labelKey": "mock.root"
|
||||
},
|
||||
{
|
||||
"href": "/mock/ak-ui-01/emails",
|
||||
"id": "ak-ui-01-email-inbox",
|
||||
"labelKey": "mock.ak-ui-01.inbox.label"
|
||||
}
|
||||
]
|
||||
},
|
||||
"route": "/mock/ak-ui-01/emails",
|
||||
"state": {
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.ak-ui-01.inbox.activity.filters",
|
||||
"meta": "filters"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-01.inbox.activity.bulk",
|
||||
"meta": "bulk"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-01.inbox.activity.archiveDialog",
|
||||
"meta": "dialog"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-01.inbox.activity.states",
|
||||
"meta": "states"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.ak-ui-01.inbox.metrics.rows",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-01.inbox.metrics.mailboxes",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-01.inbox.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/emails",
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"canWrite": true,
|
||||
"composeHref": "/mock/ak-ui-01/emails/new",
|
||||
"emptyBodyKey": "emailInbox.list.empty.body",
|
||||
"emptyHeadlineKey": "emailInbox.list.empty.headline",
|
||||
"filters": {
|
||||
"direction": "all",
|
||||
"linked": "all",
|
||||
"mailboxId": null,
|
||||
"q": "",
|
||||
"read": "all",
|
||||
"showArchived": false
|
||||
},
|
||||
"hasAnyMailbox": true,
|
||||
"mailboxOptions": [
|
||||
{
|
||||
"emailAddress": "sales@demo-pro.example",
|
||||
"id": "mailbox-1"
|
||||
},
|
||||
{
|
||||
"emailAddress": "office@demo-pro.example",
|
||||
"id": "mailbox-2"
|
||||
}
|
||||
],
|
||||
"nextCursor": "2026-07-01T10:00:00.000Z~msg-2",
|
||||
"noMailboxBodyKey": "emailInbox.list.noMailbox.body",
|
||||
"noMailboxHeadlineKey": "emailInbox.list.noMailbox.headline",
|
||||
"rows": [
|
||||
{
|
||||
"detailHref": "/mock/ak-ui-01/emails/msg-1",
|
||||
"direction": "inbound",
|
||||
"fromAddress": "buero@demo-pro.example",
|
||||
"fromName": "Sandra Vogel",
|
||||
"hasAttachments": true,
|
||||
"id": "msg-1",
|
||||
"isNewsletter": false,
|
||||
"isRead": false,
|
||||
"links": [
|
||||
{
|
||||
"href": "/mock/ak-ui-01/contacts/contact-1",
|
||||
"id": "contact-1",
|
||||
"type": "kontakt"
|
||||
}
|
||||
],
|
||||
"mailbox": {
|
||||
"emailAddress": "sales@demo-pro.example",
|
||||
"id": "mailbox-1",
|
||||
"provider": "gmail"
|
||||
},
|
||||
"sentAt": "2026-07-02T09:30:00.000Z",
|
||||
"snippet": "Anbei das aktualisierte Angebot mit den besprochenen Positionen.",
|
||||
"subject": "Fixture offer subject"
|
||||
},
|
||||
{
|
||||
"detailHref": "/mock/ak-ui-01/emails/msg-2",
|
||||
"direction": "inbound",
|
||||
"fromAddress": "newsletter@demo-pro.example",
|
||||
"fromName": null,
|
||||
"hasAttachments": false,
|
||||
"id": "msg-2",
|
||||
"isNewsletter": true,
|
||||
"isRead": true,
|
||||
"links": [
|
||||
{
|
||||
"href": "/mock/ak-ui-01/leads/lead-1",
|
||||
"id": "lead-1",
|
||||
"type": "lead"
|
||||
}
|
||||
],
|
||||
"mailbox": {
|
||||
"emailAddress": "office@demo-pro.example",
|
||||
"id": "mailbox-2",
|
||||
"provider": "microsoft"
|
||||
},
|
||||
"sentAt": "2026-07-01T10:00:00.000Z",
|
||||
"snippet": null,
|
||||
"subject": null
|
||||
}
|
||||
],
|
||||
"settingsHref": "/mock/ak-ui-01/settings/integrations/email"
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"titleKey": "mock.ak-ui-01.inbox.title"
|
||||
}
|
||||
;
|
||||
export default mockPage;
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"pageId": "ak-ui-01-email-inbox-interim",
|
||||
"route": "/mock/ak-ui-01/emails",
|
||||
"status": "ready",
|
||||
"htmlHash": "4e651cce",
|
||||
"moduleHash": "6f4ce123",
|
||||
"stateHash": "bc9148bb",
|
||||
"metrics": {
|
||||
"htmlBytes": 10295,
|
||||
"moduleBytes": 4430,
|
||||
"sidebarItems": 0,
|
||||
"breadcrumbItems": 2,
|
||||
"mobileItems": 0,
|
||||
"portalItems": 0
|
||||
}
|
||||
}
|
||||
+208
@@ -0,0 +1,208 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>UI Mock: Email detail interim drill (AK-UI-02)</title>
|
||||
<style>
|
||||
:root { color-scheme: light; --bg: #f6f7f9; --panel: #ffffff; --ink: #1f2937; --muted: #64748b; --line: #d9e0e8; --accent: #2563eb; --ok: #0f766e; }
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
|
||||
.mock-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
|
||||
.mock-nav { border-right: 1px solid var(--line); background: #eef2f7; padding: 24px 18px; }
|
||||
.mock-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
||||
.mock-link { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
|
||||
.mock-link[data-active='true'] { background: var(--panel); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
|
||||
.mock-main { padding: 32px; }
|
||||
.mock-breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
|
||||
.mock-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
|
||||
.mock-title { margin: 0; font-size: 28px; line-height: 1.2; }
|
||||
.mock-description { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
|
||||
.mock-status { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px 12px; color: var(--ok); font-weight: 700; }
|
||||
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
|
||||
.mock-card, .mock-state { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; }
|
||||
.mock-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
|
||||
.mock-card-value { margin: 0; font-size: 24px; font-weight: 750; }
|
||||
.mock-card-trend { margin-top: 10px; color: var(--ok); font-size: 12px; text-transform: uppercase; }
|
||||
.mock-activity { margin: 0; padding: 0; list-style: none; }
|
||||
.mock-activity li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
|
||||
.mock-activity li:first-child { border-top: 0; padding-top: 0; }
|
||||
.mock-state pre { margin: 12px 0 0; white-space: pre-wrap; color: #334155; }
|
||||
</style>
|
||||
</head>
|
||||
<body data-ui-mock-route="/mock/ak-ui-02/emails/msg-1" data-ui-mock-status="ready">
|
||||
<div class="mock-shell" data-ui-mock-page="ak-ui-02-email-detail-interim">
|
||||
<nav class="mock-nav" aria-label="Mock sidebar">
|
||||
<div class="mock-brand">HiveGrid mock</div>
|
||||
</nav>
|
||||
<main class="mock-main">
|
||||
<div class="mock-breadcrumbs"><span>Mock</span><span>/</span><span>Email detail interim</span></div>
|
||||
<header class="mock-header">
|
||||
<div>
|
||||
<h1 class="mock-title">Email detail interim drill (AK-UI-02)</h1>
|
||||
<p class="mock-description">Static fixture for the AK-UI-02 email message detail interim screen (AD-28).</p>
|
||||
</div>
|
||||
<div class="mock-status">Ready</div>
|
||||
</header>
|
||||
<section class="mock-grid" aria-label="Mock metrics">
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Thread messages</p>
|
||||
<p class="mock-card-value">2</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Attachments</p>
|
||||
<p class="mock-card-value">1</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Design status</p>
|
||||
<p class="mock-card-value">interim</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
</section>
|
||||
<section class="mock-card" aria-label="Mock activity">
|
||||
<ul class="mock-activity">
|
||||
<li><span>Thread accordion</span><span>thread</span></li>
|
||||
<li><span>Link assignment dialog</span><span>dialog</span></li>
|
||||
<li><span>Attachment import dialog</span><span>dialog</span></li>
|
||||
<li><span>Read toggle</span><span>action</span></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="mock-state" aria-label="Mock state payload">
|
||||
<strong>Serialized state</strong>
|
||||
<pre>{
|
||||
"activity": 4,
|
||||
"cards": 3,
|
||||
"status": "Ready"
|
||||
}</pre>
|
||||
</section>
|
||||
<script type="application/json" id="mock-page-state">{
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.ak-ui-02.detail.activity.thread",
|
||||
"meta": "thread"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-02.detail.activity.linkDialog",
|
||||
"meta": "dialog"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-02.detail.activity.importDialog",
|
||||
"meta": "dialog"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-02.detail.activity.toggleRead",
|
||||
"meta": "action"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.ak-ui-02.detail.metrics.threadLength",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-02.detail.metrics.attachments",
|
||||
"trend": "flat",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-02.detail.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/emails/:id",
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"allowExternalImages": false,
|
||||
"attachments": [
|
||||
{
|
||||
"attachmentId": "att-1",
|
||||
"downloadHref": null,
|
||||
"filename": "angebot.pdf",
|
||||
"importedFileId": null,
|
||||
"sizeBytes": 245760
|
||||
}
|
||||
],
|
||||
"backHref": "/mock/ak-ui-02/emails",
|
||||
"canWrite": true,
|
||||
"focusedId": "msg-1",
|
||||
"forwardHref": "/mock/ak-ui-02/emails/new?forward=msg-1",
|
||||
"mailbox": {
|
||||
"emailAddress": "sales@demo-pro.example",
|
||||
"provider": "gmail"
|
||||
},
|
||||
"match": {
|
||||
"confidence": "manual",
|
||||
"isManual": true,
|
||||
"links": [
|
||||
{
|
||||
"href": "/mock/ak-ui-02/contacts/contact-1",
|
||||
"id": "contact-1",
|
||||
"type": "kontakt"
|
||||
}
|
||||
],
|
||||
"sourceKey": "emailInbox.detail.match.manual"
|
||||
},
|
||||
"replyHref": "/mock/ak-ui-02/emails/new?replyTo=msg-1",
|
||||
"subject": "Fixture thread subject",
|
||||
"thread": [
|
||||
{
|
||||
"blockedImageCount": 0,
|
||||
"ccSummary": null,
|
||||
"collapsedByDefault": true,
|
||||
"direction": "outbound",
|
||||
"fromAddress": "sales@demo-pro.example",
|
||||
"fromName": "Demo Pro",
|
||||
"id": "msg-0",
|
||||
"isFocused": false,
|
||||
"isRead": true,
|
||||
"safeBodyHtml": "<p>Guten Tag, anbei unser Angebot.</p>",
|
||||
"sentAt": "2026-07-01T10:00:00.000Z",
|
||||
"subject": "Fixture original subject",
|
||||
"toSummary": "buero@demo-pro.example"
|
||||
},
|
||||
{
|
||||
"blockedImageCount": 2,
|
||||
"ccSummary": null,
|
||||
"collapsedByDefault": false,
|
||||
"direction": "inbound",
|
||||
"fromAddress": "buero@demo-pro.example",
|
||||
"fromName": "Sandra Vogel",
|
||||
"id": "msg-1",
|
||||
"isFocused": true,
|
||||
"isRead": false,
|
||||
"safeBodyHtml": "<p>Vielen Dank, wir pruefen das Angebot.</p>",
|
||||
"sentAt": "2026-07-02T09:30:00.000Z",
|
||||
"subject": "Fixture thread subject",
|
||||
"toSummary": "sales@demo-pro.example"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}</script>
|
||||
<script type="application/json" id="mock-page-registries">{
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/mock",
|
||||
"id": "mock",
|
||||
"labelKey": "mock.root"
|
||||
},
|
||||
{
|
||||
"href": "/mock/ak-ui-02/emails/msg-1",
|
||||
"id": "ak-ui-02-email-detail",
|
||||
"labelKey": "mock.ak-ui-02.detail.label"
|
||||
}
|
||||
]
|
||||
}</script>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+134
@@ -0,0 +1,134 @@
|
||||
export const mockPage =
|
||||
{
|
||||
"descriptionKey": "mock.ak-ui-02.detail.description",
|
||||
"id": "ak-ui-02-email-detail-interim",
|
||||
"registries": {
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/mock",
|
||||
"id": "mock",
|
||||
"labelKey": "mock.root"
|
||||
},
|
||||
{
|
||||
"href": "/mock/ak-ui-02/emails/msg-1",
|
||||
"id": "ak-ui-02-email-detail",
|
||||
"labelKey": "mock.ak-ui-02.detail.label"
|
||||
}
|
||||
]
|
||||
},
|
||||
"route": "/mock/ak-ui-02/emails/msg-1",
|
||||
"state": {
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.ak-ui-02.detail.activity.thread",
|
||||
"meta": "thread"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-02.detail.activity.linkDialog",
|
||||
"meta": "dialog"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-02.detail.activity.importDialog",
|
||||
"meta": "dialog"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-02.detail.activity.toggleRead",
|
||||
"meta": "action"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.ak-ui-02.detail.metrics.threadLength",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-02.detail.metrics.attachments",
|
||||
"trend": "flat",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-02.detail.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/emails/:id",
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"allowExternalImages": false,
|
||||
"attachments": [
|
||||
{
|
||||
"attachmentId": "att-1",
|
||||
"downloadHref": null,
|
||||
"filename": "angebot.pdf",
|
||||
"importedFileId": null,
|
||||
"sizeBytes": 245760
|
||||
}
|
||||
],
|
||||
"backHref": "/mock/ak-ui-02/emails",
|
||||
"canWrite": true,
|
||||
"focusedId": "msg-1",
|
||||
"forwardHref": "/mock/ak-ui-02/emails/new?forward=msg-1",
|
||||
"mailbox": {
|
||||
"emailAddress": "sales@demo-pro.example",
|
||||
"provider": "gmail"
|
||||
},
|
||||
"match": {
|
||||
"confidence": "manual",
|
||||
"isManual": true,
|
||||
"links": [
|
||||
{
|
||||
"href": "/mock/ak-ui-02/contacts/contact-1",
|
||||
"id": "contact-1",
|
||||
"type": "kontakt"
|
||||
}
|
||||
],
|
||||
"sourceKey": "emailInbox.detail.match.manual"
|
||||
},
|
||||
"replyHref": "/mock/ak-ui-02/emails/new?replyTo=msg-1",
|
||||
"subject": "Fixture thread subject",
|
||||
"thread": [
|
||||
{
|
||||
"blockedImageCount": 0,
|
||||
"ccSummary": null,
|
||||
"collapsedByDefault": true,
|
||||
"direction": "outbound",
|
||||
"fromAddress": "sales@demo-pro.example",
|
||||
"fromName": "Demo Pro",
|
||||
"id": "msg-0",
|
||||
"isFocused": false,
|
||||
"isRead": true,
|
||||
"safeBodyHtml": "<p>Guten Tag, anbei unser Angebot.</p>",
|
||||
"sentAt": "2026-07-01T10:00:00.000Z",
|
||||
"subject": "Fixture original subject",
|
||||
"toSummary": "buero@demo-pro.example"
|
||||
},
|
||||
{
|
||||
"blockedImageCount": 2,
|
||||
"ccSummary": null,
|
||||
"collapsedByDefault": false,
|
||||
"direction": "inbound",
|
||||
"fromAddress": "buero@demo-pro.example",
|
||||
"fromName": "Sandra Vogel",
|
||||
"id": "msg-1",
|
||||
"isFocused": true,
|
||||
"isRead": false,
|
||||
"safeBodyHtml": "<p>Vielen Dank, wir pruefen das Angebot.</p>",
|
||||
"sentAt": "2026-07-02T09:30:00.000Z",
|
||||
"subject": "Fixture thread subject",
|
||||
"toSummary": "sales@demo-pro.example"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"titleKey": "mock.ak-ui-02.detail.title"
|
||||
}
|
||||
;
|
||||
export default mockPage;
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"pageId": "ak-ui-02-email-detail-interim",
|
||||
"route": "/mock/ak-ui-02/emails/msg-1",
|
||||
"status": "ready",
|
||||
"htmlHash": "f80076e6",
|
||||
"moduleHash": "d1be5f2b",
|
||||
"stateHash": "aa45ecab",
|
||||
"metrics": {
|
||||
"htmlBytes": 9729,
|
||||
"moduleBytes": 3971,
|
||||
"sidebarItems": 0,
|
||||
"breadcrumbItems": 2,
|
||||
"mobileItems": 0,
|
||||
"portalItems": 0
|
||||
}
|
||||
}
|
||||
+175
@@ -0,0 +1,175 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>UI Mock: Email compose interim drill (AK-UI-03)</title>
|
||||
<style>
|
||||
:root { color-scheme: light; --bg: #f6f7f9; --panel: #ffffff; --ink: #1f2937; --muted: #64748b; --line: #d9e0e8; --accent: #2563eb; --ok: #0f766e; }
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
|
||||
.mock-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
|
||||
.mock-nav { border-right: 1px solid var(--line); background: #eef2f7; padding: 24px 18px; }
|
||||
.mock-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
||||
.mock-link { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
|
||||
.mock-link[data-active='true'] { background: var(--panel); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
|
||||
.mock-main { padding: 32px; }
|
||||
.mock-breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
|
||||
.mock-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
|
||||
.mock-title { margin: 0; font-size: 28px; line-height: 1.2; }
|
||||
.mock-description { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
|
||||
.mock-status { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px 12px; color: var(--ok); font-weight: 700; }
|
||||
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
|
||||
.mock-card, .mock-state { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; }
|
||||
.mock-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
|
||||
.mock-card-value { margin: 0; font-size: 24px; font-weight: 750; }
|
||||
.mock-card-trend { margin-top: 10px; color: var(--ok); font-size: 12px; text-transform: uppercase; }
|
||||
.mock-activity { margin: 0; padding: 0; list-style: none; }
|
||||
.mock-activity li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
|
||||
.mock-activity li:first-child { border-top: 0; padding-top: 0; }
|
||||
.mock-state pre { margin: 12px 0 0; white-space: pre-wrap; color: #334155; }
|
||||
</style>
|
||||
</head>
|
||||
<body data-ui-mock-route="/mock/ak-ui-03/emails/new" data-ui-mock-status="ready">
|
||||
<div class="mock-shell" data-ui-mock-page="ak-ui-03-email-compose-interim">
|
||||
<nav class="mock-nav" aria-label="Mock sidebar">
|
||||
<div class="mock-brand">HiveGrid mock</div>
|
||||
</nav>
|
||||
<main class="mock-main">
|
||||
<div class="mock-breadcrumbs"><span>Mock</span><span>/</span><span>Email compose interim</span></div>
|
||||
<header class="mock-header">
|
||||
<div>
|
||||
<h1 class="mock-title">Email compose interim drill (AK-UI-03)</h1>
|
||||
<p class="mock-description">Static fixture for the AK-UI-03 email compose interim screen (AD-28).</p>
|
||||
</div>
|
||||
<div class="mock-status">Ready</div>
|
||||
</header>
|
||||
<section class="mock-grid" aria-label="Mock metrics">
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Mailboxes</p>
|
||||
<p class="mock-card-value">2</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Templates</p>
|
||||
<p class="mock-card-value">1</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Design status</p>
|
||||
<p class="mock-card-value">interim</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
</section>
|
||||
<section class="mock-card" aria-label="Mock activity">
|
||||
<ul class="mock-activity">
|
||||
<li><span>Recipient fields</span><span>fields</span></li>
|
||||
<li><span>Attachment picker</span><span>attachments</span></li>
|
||||
<li><span>Fail-closed attachment scan</span><span>security</span></li>
|
||||
<li><span>No-mailbox state</span><span>states</span></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="mock-state" aria-label="Mock state payload">
|
||||
<strong>Serialized state</strong>
|
||||
<pre>{
|
||||
"activity": 4,
|
||||
"cards": 3,
|
||||
"status": "Ready"
|
||||
}</pre>
|
||||
</section>
|
||||
<script type="application/json" id="mock-page-state">{
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.ak-ui-03.compose.activity.recipients",
|
||||
"meta": "fields"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-03.compose.activity.attachments",
|
||||
"meta": "attachments"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-03.compose.activity.scanGate",
|
||||
"meta": "security"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-03.compose.activity.states",
|
||||
"meta": "states"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.ak-ui-03.compose.metrics.mailboxes",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-03.compose.metrics.templates",
|
||||
"trend": "flat",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-03.compose.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/emails/new",
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"backHref": "/mock/ak-ui-03/emails/msg-1",
|
||||
"defaultMailboxId": "mailbox-1",
|
||||
"mailboxes": [
|
||||
{
|
||||
"emailAddress": "sales@demo-pro.example",
|
||||
"id": "mailbox-1",
|
||||
"isDefaultForUser": true,
|
||||
"provider": "gmail"
|
||||
},
|
||||
{
|
||||
"emailAddress": "office@demo-pro.example",
|
||||
"id": "mailbox-2",
|
||||
"isDefaultForUser": false,
|
||||
"provider": "microsoft"
|
||||
}
|
||||
],
|
||||
"noMailboxKey": "emailInbox.compose.noMailbox",
|
||||
"prefill": {
|
||||
"quotedHtml": "<br><br><blockquote style=\"border-left:2px solid #ccc;margin:0;padding-left:8px\"><p>Sandra Vogel <buero@demo-pro.example> — 2026-07-02T09:30:00.000Z:</p><p>Vielen Dank, wir pruefen das Angebot.</p></blockquote>",
|
||||
"replyToMessageId": "msg-1",
|
||||
"subject": "Re: Fixture reply subject",
|
||||
"to": "buero@demo-pro.example"
|
||||
},
|
||||
"templates": [
|
||||
{
|
||||
"htmlBody": "<p>Haben Sie unser Angebot erhalten?</p>",
|
||||
"id": "tpl-1",
|
||||
"name": "Angebot nachfassen",
|
||||
"subject": "Fixture template subject"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}</script>
|
||||
<script type="application/json" id="mock-page-registries">{
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/mock",
|
||||
"id": "mock",
|
||||
"labelKey": "mock.root"
|
||||
},
|
||||
{
|
||||
"href": "/mock/ak-ui-03/emails/new",
|
||||
"id": "ak-ui-03-email-compose",
|
||||
"labelKey": "mock.ak-ui-03.compose.label"
|
||||
}
|
||||
]
|
||||
}</script>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+101
@@ -0,0 +1,101 @@
|
||||
export const mockPage =
|
||||
{
|
||||
"descriptionKey": "mock.ak-ui-03.compose.description",
|
||||
"id": "ak-ui-03-email-compose-interim",
|
||||
"registries": {
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/mock",
|
||||
"id": "mock",
|
||||
"labelKey": "mock.root"
|
||||
},
|
||||
{
|
||||
"href": "/mock/ak-ui-03/emails/new",
|
||||
"id": "ak-ui-03-email-compose",
|
||||
"labelKey": "mock.ak-ui-03.compose.label"
|
||||
}
|
||||
]
|
||||
},
|
||||
"route": "/mock/ak-ui-03/emails/new",
|
||||
"state": {
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.ak-ui-03.compose.activity.recipients",
|
||||
"meta": "fields"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-03.compose.activity.attachments",
|
||||
"meta": "attachments"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-03.compose.activity.scanGate",
|
||||
"meta": "security"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-03.compose.activity.states",
|
||||
"meta": "states"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.ak-ui-03.compose.metrics.mailboxes",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-03.compose.metrics.templates",
|
||||
"trend": "flat",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-03.compose.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/emails/new",
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"backHref": "/mock/ak-ui-03/emails/msg-1",
|
||||
"defaultMailboxId": "mailbox-1",
|
||||
"mailboxes": [
|
||||
{
|
||||
"emailAddress": "sales@demo-pro.example",
|
||||
"id": "mailbox-1",
|
||||
"isDefaultForUser": true,
|
||||
"provider": "gmail"
|
||||
},
|
||||
{
|
||||
"emailAddress": "office@demo-pro.example",
|
||||
"id": "mailbox-2",
|
||||
"isDefaultForUser": false,
|
||||
"provider": "microsoft"
|
||||
}
|
||||
],
|
||||
"noMailboxKey": "emailInbox.compose.noMailbox",
|
||||
"prefill": {
|
||||
"quotedHtml": "<br><br><blockquote style=\"border-left:2px solid #ccc;margin:0;padding-left:8px\"><p>Sandra Vogel <buero@demo-pro.example> — 2026-07-02T09:30:00.000Z:</p><p>Vielen Dank, wir pruefen das Angebot.</p></blockquote>",
|
||||
"replyToMessageId": "msg-1",
|
||||
"subject": "Re: Fixture reply subject",
|
||||
"to": "buero@demo-pro.example"
|
||||
},
|
||||
"templates": [
|
||||
{
|
||||
"htmlBody": "<p>Haben Sie unser Angebot erhalten?</p>",
|
||||
"id": "tpl-1",
|
||||
"name": "Angebot nachfassen",
|
||||
"subject": "Fixture template subject"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"titleKey": "mock.ak-ui-03.compose.title"
|
||||
}
|
||||
;
|
||||
export default mockPage;
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"pageId": "ak-ui-03-email-compose-interim",
|
||||
"route": "/mock/ak-ui-03/emails/new",
|
||||
"status": "ready",
|
||||
"htmlHash": "ecf0cd98",
|
||||
"moduleHash": "2edff316",
|
||||
"stateHash": "22b1a3c0",
|
||||
"metrics": {
|
||||
"htmlBytes": 8390,
|
||||
"moduleBytes": 2938,
|
||||
"sidebarItems": 0,
|
||||
"breadcrumbItems": 2,
|
||||
"mobileItems": 0,
|
||||
"portalItems": 0
|
||||
}
|
||||
}
|
||||
+262
@@ -0,0 +1,262 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>UI Mock: Plugin catalog interim drill (AK-UI-05)</title>
|
||||
<style>
|
||||
:root { color-scheme: light; --bg: #f6f7f9; --panel: #ffffff; --ink: #1f2937; --muted: #64748b; --line: #d9e0e8; --accent: #2563eb; --ok: #0f766e; }
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
|
||||
.mock-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
|
||||
.mock-nav { border-right: 1px solid var(--line); background: #eef2f7; padding: 24px 18px; }
|
||||
.mock-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
||||
.mock-link { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
|
||||
.mock-link[data-active='true'] { background: var(--panel); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
|
||||
.mock-main { padding: 32px; }
|
||||
.mock-breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
|
||||
.mock-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
|
||||
.mock-title { margin: 0; font-size: 28px; line-height: 1.2; }
|
||||
.mock-description { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
|
||||
.mock-status { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px 12px; color: var(--ok); font-weight: 700; }
|
||||
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
|
||||
.mock-card, .mock-state { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; }
|
||||
.mock-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
|
||||
.mock-card-value { margin: 0; font-size: 24px; font-weight: 750; }
|
||||
.mock-card-trend { margin-top: 10px; color: var(--ok); font-size: 12px; text-transform: uppercase; }
|
||||
.mock-activity { margin: 0; padding: 0; list-style: none; }
|
||||
.mock-activity li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
|
||||
.mock-activity li:first-child { border-top: 0; padding-top: 0; }
|
||||
.mock-state pre { margin: 12px 0 0; white-space: pre-wrap; color: #334155; }
|
||||
</style>
|
||||
</head>
|
||||
<body data-ui-mock-route="/mock/ak-ui-05/plugins" data-ui-mock-status="ready">
|
||||
<div class="mock-shell" data-ui-mock-page="ak-ui-05-plugins-interim">
|
||||
<nav class="mock-nav" aria-label="Mock sidebar">
|
||||
<div class="mock-brand">HiveGrid mock</div>
|
||||
</nav>
|
||||
<main class="mock-main">
|
||||
<div class="mock-breadcrumbs"><span>Mock</span><span>/</span><span>Plugin catalog interim</span></div>
|
||||
<header class="mock-header">
|
||||
<div>
|
||||
<h1 class="mock-title">Plugin catalog interim drill (AK-UI-05)</h1>
|
||||
<p class="mock-description">Static fixture for the AK-UI-05 tenant plugin catalog interim screen (AD-28).</p>
|
||||
</div>
|
||||
<div class="mock-status">Ready</div>
|
||||
</header>
|
||||
<section class="mock-grid" aria-label="Mock metrics">
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Installed plugins</p>
|
||||
<p class="mock-card-value">2</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Consent pending</p>
|
||||
<p class="mock-card-value">1</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Design status</p>
|
||||
<p class="mock-card-value">interim</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
</section>
|
||||
<section class="mock-card" aria-label="Mock activity">
|
||||
<ul class="mock-activity">
|
||||
<li><span>Capability review dialog</span><span>dialog</span></li>
|
||||
<li><span>Enable and disable</span><span>lifecycle</span></li>
|
||||
<li><span>Destructive revoke confirm</span><span>dialog</span></li>
|
||||
<li><span>Manifest preview</span><span>manifest</span></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="mock-state" aria-label="Mock state payload">
|
||||
<strong>Serialized state</strong>
|
||||
<pre>{
|
||||
"activity": 4,
|
||||
"cards": 3,
|
||||
"status": "Ready"
|
||||
}</pre>
|
||||
</section>
|
||||
<script type="application/json" id="mock-page-state">{
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.ak-ui-05.plugins.activity.consent",
|
||||
"meta": "dialog"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-05.plugins.activity.lifecycle",
|
||||
"meta": "lifecycle"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-05.plugins.activity.revoke",
|
||||
"meta": "dialog"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-05.plugins.activity.manifest",
|
||||
"meta": "manifest"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.ak-ui-05.plugins.metrics.plugins",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-05.plugins.metrics.pendingConsent",
|
||||
"trend": "flat",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-05.plugins.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/settings/integrations/plugins",
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"canManage": true,
|
||||
"emptyBodyKey": "settings.plugins.emptyBody",
|
||||
"emptyHeadlineKey": "settings.plugins.empty",
|
||||
"rows": [
|
||||
{
|
||||
"auditHref": "/mock/ak-ui-05/settings/integrations/plugins/pl-1/audit",
|
||||
"canEnable": false,
|
||||
"canReviewCapabilities": false,
|
||||
"capabilities": [
|
||||
{
|
||||
"approvable": true,
|
||||
"availabilityKey": "settings.plugins.consent.available",
|
||||
"availabilityTone": "subtle-positive",
|
||||
"granted": true,
|
||||
"grantedAtIso": "2026-07-01T10:30:00.000Z",
|
||||
"label": {
|
||||
"key": "settings.plugins.capabilityNames.http_outbound"
|
||||
},
|
||||
"name": "http.outbound",
|
||||
"productionAvailable": true,
|
||||
"risk": "high",
|
||||
"riskKey": "settings.plugins.consent.risk.high",
|
||||
"riskTone": "subtle-warning",
|
||||
"scopeParts": [
|
||||
{
|
||||
"key": "settings.plugins.consent.allowedHosts",
|
||||
"params": {
|
||||
"hosts": "api.demo-pro.example"
|
||||
}
|
||||
}
|
||||
],
|
||||
"statusKey": "settings.plugins.consent.granted",
|
||||
"statusTone": "subtle-positive"
|
||||
}
|
||||
],
|
||||
"capabilitiesToReview": [],
|
||||
"capabilityReviewDigest": "digest-granted",
|
||||
"enabled": true,
|
||||
"grantOp": "grant",
|
||||
"hasUnapprovableCapability": false,
|
||||
"id": "pl-1",
|
||||
"installedAtIso": "2026-07-01T10:00:00.000Z",
|
||||
"manifestJson": "{\n \"id\": \"com.demo.outbound\"\n}",
|
||||
"missingCapabilities": [],
|
||||
"pluginId": "com.demo.outbound",
|
||||
"settingsHref": "/mock/ak-ui-05/settings/integrations/plugins/pl-1",
|
||||
"statusKey": "shared.enabled",
|
||||
"statusTone": "subtle-positive",
|
||||
"version": "1.2.3"
|
||||
},
|
||||
{
|
||||
"auditHref": "/mock/ak-ui-05/settings/integrations/plugins/pl-2/audit",
|
||||
"canEnable": false,
|
||||
"canReviewCapabilities": true,
|
||||
"capabilities": [
|
||||
{
|
||||
"approvable": true,
|
||||
"availabilityKey": "settings.plugins.consent.available",
|
||||
"availabilityTone": "subtle-positive",
|
||||
"granted": false,
|
||||
"grantedAtIso": null,
|
||||
"label": {
|
||||
"key": "settings.plugins.consent.hookLabel",
|
||||
"params": {
|
||||
"hook": "workflow.executed"
|
||||
}
|
||||
},
|
||||
"name": "hook:workflow.executed",
|
||||
"productionAvailable": true,
|
||||
"risk": "medium",
|
||||
"riskKey": "settings.plugins.consent.risk.medium",
|
||||
"riskTone": "subtle-information",
|
||||
"scopeParts": [],
|
||||
"statusKey": "settings.plugins.consent.missing",
|
||||
"statusTone": "subtle-warning"
|
||||
}
|
||||
],
|
||||
"capabilitiesToReview": [
|
||||
{
|
||||
"approvable": true,
|
||||
"availabilityKey": "settings.plugins.consent.available",
|
||||
"availabilityTone": "subtle-positive",
|
||||
"granted": false,
|
||||
"grantedAtIso": null,
|
||||
"label": {
|
||||
"key": "settings.plugins.consent.hookLabel",
|
||||
"params": {
|
||||
"hook": "workflow.executed"
|
||||
}
|
||||
},
|
||||
"name": "hook:workflow.executed",
|
||||
"productionAvailable": true,
|
||||
"risk": "medium",
|
||||
"riskKey": "settings.plugins.consent.risk.medium",
|
||||
"riskTone": "subtle-information",
|
||||
"scopeParts": [],
|
||||
"statusKey": "settings.plugins.consent.missing",
|
||||
"statusTone": "subtle-warning"
|
||||
}
|
||||
],
|
||||
"capabilityReviewDigest": "digest-pending",
|
||||
"enabled": false,
|
||||
"grantOp": "grantAndEnable",
|
||||
"hasUnapprovableCapability": false,
|
||||
"id": "pl-2",
|
||||
"installedAtIso": "2026-07-02T09:00:00.000Z",
|
||||
"manifestJson": "{\n \"id\": \"com.demo.workflow-hook\"\n}",
|
||||
"missingCapabilities": [
|
||||
"hook:workflow.executed"
|
||||
],
|
||||
"pluginId": "com.demo.workflow-hook",
|
||||
"settingsHref": null,
|
||||
"statusKey": "shared.disabled",
|
||||
"statusTone": "subtle-neutral",
|
||||
"version": "0.9.0"
|
||||
}
|
||||
],
|
||||
"tenantSlug": "demo-pro"
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}</script>
|
||||
<script type="application/json" id="mock-page-registries">{
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/mock",
|
||||
"id": "mock",
|
||||
"labelKey": "mock.root"
|
||||
},
|
||||
{
|
||||
"href": "/mock/ak-ui-05/plugins",
|
||||
"id": "ak-ui-05-plugins",
|
||||
"labelKey": "mock.ak-ui-05.plugins.label"
|
||||
}
|
||||
]
|
||||
}</script>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+188
@@ -0,0 +1,188 @@
|
||||
export const mockPage =
|
||||
{
|
||||
"descriptionKey": "mock.ak-ui-05.plugins.description",
|
||||
"id": "ak-ui-05-plugins-interim",
|
||||
"registries": {
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/mock",
|
||||
"id": "mock",
|
||||
"labelKey": "mock.root"
|
||||
},
|
||||
{
|
||||
"href": "/mock/ak-ui-05/plugins",
|
||||
"id": "ak-ui-05-plugins",
|
||||
"labelKey": "mock.ak-ui-05.plugins.label"
|
||||
}
|
||||
]
|
||||
},
|
||||
"route": "/mock/ak-ui-05/plugins",
|
||||
"state": {
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.ak-ui-05.plugins.activity.consent",
|
||||
"meta": "dialog"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-05.plugins.activity.lifecycle",
|
||||
"meta": "lifecycle"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-05.plugins.activity.revoke",
|
||||
"meta": "dialog"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-05.plugins.activity.manifest",
|
||||
"meta": "manifest"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.ak-ui-05.plugins.metrics.plugins",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-05.plugins.metrics.pendingConsent",
|
||||
"trend": "flat",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.ak-ui-05.plugins.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/settings/integrations/plugins",
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"canManage": true,
|
||||
"emptyBodyKey": "settings.plugins.emptyBody",
|
||||
"emptyHeadlineKey": "settings.plugins.empty",
|
||||
"rows": [
|
||||
{
|
||||
"auditHref": "/mock/ak-ui-05/settings/integrations/plugins/pl-1/audit",
|
||||
"canEnable": false,
|
||||
"canReviewCapabilities": false,
|
||||
"capabilities": [
|
||||
{
|
||||
"approvable": true,
|
||||
"availabilityKey": "settings.plugins.consent.available",
|
||||
"availabilityTone": "subtle-positive",
|
||||
"granted": true,
|
||||
"grantedAtIso": "2026-07-01T10:30:00.000Z",
|
||||
"label": {
|
||||
"key": "settings.plugins.capabilityNames.http_outbound"
|
||||
},
|
||||
"name": "http.outbound",
|
||||
"productionAvailable": true,
|
||||
"risk": "high",
|
||||
"riskKey": "settings.plugins.consent.risk.high",
|
||||
"riskTone": "subtle-warning",
|
||||
"scopeParts": [
|
||||
{
|
||||
"key": "settings.plugins.consent.allowedHosts",
|
||||
"params": {
|
||||
"hosts": "api.demo-pro.example"
|
||||
}
|
||||
}
|
||||
],
|
||||
"statusKey": "settings.plugins.consent.granted",
|
||||
"statusTone": "subtle-positive"
|
||||
}
|
||||
],
|
||||
"capabilitiesToReview": [],
|
||||
"capabilityReviewDigest": "digest-granted",
|
||||
"enabled": true,
|
||||
"grantOp": "grant",
|
||||
"hasUnapprovableCapability": false,
|
||||
"id": "pl-1",
|
||||
"installedAtIso": "2026-07-01T10:00:00.000Z",
|
||||
"manifestJson": "{\n \"id\": \"com.demo.outbound\"\n}",
|
||||
"missingCapabilities": [],
|
||||
"pluginId": "com.demo.outbound",
|
||||
"settingsHref": "/mock/ak-ui-05/settings/integrations/plugins/pl-1",
|
||||
"statusKey": "shared.enabled",
|
||||
"statusTone": "subtle-positive",
|
||||
"version": "1.2.3"
|
||||
},
|
||||
{
|
||||
"auditHref": "/mock/ak-ui-05/settings/integrations/plugins/pl-2/audit",
|
||||
"canEnable": false,
|
||||
"canReviewCapabilities": true,
|
||||
"capabilities": [
|
||||
{
|
||||
"approvable": true,
|
||||
"availabilityKey": "settings.plugins.consent.available",
|
||||
"availabilityTone": "subtle-positive",
|
||||
"granted": false,
|
||||
"grantedAtIso": null,
|
||||
"label": {
|
||||
"key": "settings.plugins.consent.hookLabel",
|
||||
"params": {
|
||||
"hook": "workflow.executed"
|
||||
}
|
||||
},
|
||||
"name": "hook:workflow.executed",
|
||||
"productionAvailable": true,
|
||||
"risk": "medium",
|
||||
"riskKey": "settings.plugins.consent.risk.medium",
|
||||
"riskTone": "subtle-information",
|
||||
"scopeParts": [],
|
||||
"statusKey": "settings.plugins.consent.missing",
|
||||
"statusTone": "subtle-warning"
|
||||
}
|
||||
],
|
||||
"capabilitiesToReview": [
|
||||
{
|
||||
"approvable": true,
|
||||
"availabilityKey": "settings.plugins.consent.available",
|
||||
"availabilityTone": "subtle-positive",
|
||||
"granted": false,
|
||||
"grantedAtIso": null,
|
||||
"label": {
|
||||
"key": "settings.plugins.consent.hookLabel",
|
||||
"params": {
|
||||
"hook": "workflow.executed"
|
||||
}
|
||||
},
|
||||
"name": "hook:workflow.executed",
|
||||
"productionAvailable": true,
|
||||
"risk": "medium",
|
||||
"riskKey": "settings.plugins.consent.risk.medium",
|
||||
"riskTone": "subtle-information",
|
||||
"scopeParts": [],
|
||||
"statusKey": "settings.plugins.consent.missing",
|
||||
"statusTone": "subtle-warning"
|
||||
}
|
||||
],
|
||||
"capabilityReviewDigest": "digest-pending",
|
||||
"enabled": false,
|
||||
"grantOp": "grantAndEnable",
|
||||
"hasUnapprovableCapability": false,
|
||||
"id": "pl-2",
|
||||
"installedAtIso": "2026-07-02T09:00:00.000Z",
|
||||
"manifestJson": "{\n \"id\": \"com.demo.workflow-hook\"\n}",
|
||||
"missingCapabilities": [
|
||||
"hook:workflow.executed"
|
||||
],
|
||||
"pluginId": "com.demo.workflow-hook",
|
||||
"settingsHref": null,
|
||||
"statusKey": "shared.disabled",
|
||||
"statusTone": "subtle-neutral",
|
||||
"version": "0.9.0"
|
||||
}
|
||||
],
|
||||
"tenantSlug": "demo-pro"
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"titleKey": "mock.ak-ui-05.plugins.title"
|
||||
}
|
||||
;
|
||||
export default mockPage;
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"pageId": "ak-ui-05-plugins-interim",
|
||||
"route": "/mock/ak-ui-05/plugins",
|
||||
"status": "ready",
|
||||
"htmlHash": "8cab5a0d",
|
||||
"moduleHash": "10b91f72",
|
||||
"stateHash": "499ca5aa",
|
||||
"metrics": {
|
||||
"htmlBytes": 13026,
|
||||
"moduleBytes": 6643,
|
||||
"sidebarItems": 0,
|
||||
"breadcrumbItems": 2,
|
||||
"mobileItems": 0,
|
||||
"portalItems": 0
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
export const mockPage =
|
||||
export const mockPage =
|
||||
{
|
||||
"descriptionKey": "mock.phase-c.hot-swap.description",
|
||||
"id": "phase-c-hot-swap",
|
||||
|
||||
+2
-2
@@ -3,11 +3,11 @@
|
||||
"route": "/mock/phase-c/hot-swap",
|
||||
"status": "ready",
|
||||
"htmlHash": "37f08a39",
|
||||
"moduleHash": "e5be8fe0",
|
||||
"moduleHash": "24fc9e8c",
|
||||
"stateHash": "7be80107",
|
||||
"metrics": {
|
||||
"htmlBytes": 7442,
|
||||
"moduleBytes": 2158,
|
||||
"moduleBytes": 2157,
|
||||
"sidebarItems": 2,
|
||||
"breadcrumbItems": 3,
|
||||
"mobileItems": 1,
|
||||
|
||||
+166
@@ -0,0 +1,166 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>UI Mock: Spotlight interim drill (R-P11a)</title>
|
||||
<style>
|
||||
:root { color-scheme: light; --bg: #f6f7f9; --panel: #ffffff; --ink: #1f2937; --muted: #64748b; --line: #d9e0e8; --accent: #2563eb; --ok: #0f766e; }
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
|
||||
.mock-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
|
||||
.mock-nav { border-right: 1px solid var(--line); background: #eef2f7; padding: 24px 18px; }
|
||||
.mock-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
||||
.mock-link { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
|
||||
.mock-link[data-active='true'] { background: var(--panel); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
|
||||
.mock-main { padding: 32px; }
|
||||
.mock-breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
|
||||
.mock-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
|
||||
.mock-title { margin: 0; font-size: 28px; line-height: 1.2; }
|
||||
.mock-description { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
|
||||
.mock-status { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px 12px; color: var(--ok); font-weight: 700; }
|
||||
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
|
||||
.mock-card, .mock-state { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; }
|
||||
.mock-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
|
||||
.mock-card-value { margin: 0; font-size: 24px; font-weight: 750; }
|
||||
.mock-card-trend { margin-top: 10px; color: var(--ok); font-size: 12px; text-transform: uppercase; }
|
||||
.mock-activity { margin: 0; padding: 0; list-style: none; }
|
||||
.mock-activity li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
|
||||
.mock-activity li:first-child { border-top: 0; padding-top: 0; }
|
||||
.mock-state pre { margin: 12px 0 0; white-space: pre-wrap; color: #334155; }
|
||||
</style>
|
||||
</head>
|
||||
<body data-ui-mock-route="/mock/r-p11a/spotlight" data-ui-mock-status="ready">
|
||||
<div class="mock-shell" data-ui-mock-page="r-p11a-spotlight-interim">
|
||||
<nav class="mock-nav" aria-label="Mock sidebar">
|
||||
<div class="mock-brand">HiveGrid mock</div>
|
||||
</nav>
|
||||
<main class="mock-main">
|
||||
<div class="mock-breadcrumbs"></div>
|
||||
<header class="mock-header">
|
||||
<div>
|
||||
<h1 class="mock-title">Spotlight interim drill (R-P11a)</h1>
|
||||
<p class="mock-description">Static fixture for the R-P11a desktop and mobile Spotlight search (AD-28).</p>
|
||||
</div>
|
||||
<div class="mock-status">Ready</div>
|
||||
</header>
|
||||
<section class="mock-grid" aria-label="Mock metrics">
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Contacts</p>
|
||||
<p class="mock-card-value">1</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Projects</p>
|
||||
<p class="mock-card-value">1</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
</section>
|
||||
<section class="mock-card" aria-label="Mock activity">
|
||||
<ul class="mock-activity">
|
||||
<li><span>Solaris GmbH</span><span>contact</span></li>
|
||||
<li><span>Solar roof</span><span>project</span></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="mock-state" aria-label="Mock state payload">
|
||||
<strong>Serialized state</strong>
|
||||
<pre>{
|
||||
"activity": 2,
|
||||
"cards": 2,
|
||||
"status": "Ready"
|
||||
}</pre>
|
||||
</section>
|
||||
<script type="application/json" id="mock-page-state">{
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.r-p11a.search.items.contact",
|
||||
"meta": "contact"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p11a.search.items.project",
|
||||
"meta": "project"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.r-p11a.search.groups.contact",
|
||||
"trend": "flat",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p11a.search.groups.project",
|
||||
"trend": "flat",
|
||||
"value": "1"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"groups": [
|
||||
{
|
||||
"entityType": "contact",
|
||||
"items": [
|
||||
{
|
||||
"entityType": "contact",
|
||||
"href": "/mock/r-p11a/contacts/contact-1",
|
||||
"id": "contact-1",
|
||||
"key": "contact:contact-1",
|
||||
"searchValue": "Solaris GmbH info@solaris.test contact",
|
||||
"subtitle": "info@solaris.test",
|
||||
"title": "Solaris GmbH",
|
||||
"updatedAt": "2026-07-12T08:00:00.000Z"
|
||||
}
|
||||
],
|
||||
"labelKey": "search.entities.contact"
|
||||
},
|
||||
{
|
||||
"entityType": "project",
|
||||
"items": [
|
||||
{
|
||||
"entityType": "project",
|
||||
"href": "/mock/r-p11a/projects/project-1",
|
||||
"id": "project-1",
|
||||
"key": "project:project-1",
|
||||
"searchValue": "Solar roof P-100 project",
|
||||
"subtitle": "P-100",
|
||||
"title": "Solar roof",
|
||||
"updatedAt": "2026-07-12T07:30:00.000Z"
|
||||
}
|
||||
],
|
||||
"labelKey": "search.entities.project"
|
||||
}
|
||||
],
|
||||
"initialResultLimit": 20,
|
||||
"maxResultLimit": 50,
|
||||
"query": "solar",
|
||||
"recentSearches": [
|
||||
{
|
||||
"entityTypes": [
|
||||
"project",
|
||||
"task"
|
||||
],
|
||||
"queryText": "heat pump",
|
||||
"resultCount": 4
|
||||
}
|
||||
],
|
||||
"surfaces": {
|
||||
"desktop": "modal",
|
||||
"mobile": "viewport"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}</script>
|
||||
<script type="application/json" id="mock-page-registries">{
|
||||
"portals": [
|
||||
{
|
||||
"id": "r-p11a-spotlight",
|
||||
"labelKey": "mock.r-p11a.search.label",
|
||||
"order": 1,
|
||||
"permission": "search.use",
|
||||
"slot": "shell.commandPalette"
|
||||
}
|
||||
]
|
||||
}</script>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+99
@@ -0,0 +1,99 @@
|
||||
export const mockPage =
|
||||
{
|
||||
"descriptionKey": "mock.r-p11a.search.description",
|
||||
"id": "r-p11a-spotlight-interim",
|
||||
"registries": {
|
||||
"portals": [
|
||||
{
|
||||
"id": "r-p11a-spotlight",
|
||||
"labelKey": "mock.r-p11a.search.label",
|
||||
"order": 1,
|
||||
"permission": "search.use",
|
||||
"slot": "shell.commandPalette"
|
||||
}
|
||||
]
|
||||
},
|
||||
"route": "/mock/r-p11a/spotlight",
|
||||
"state": {
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.r-p11a.search.items.contact",
|
||||
"meta": "contact"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p11a.search.items.project",
|
||||
"meta": "project"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.r-p11a.search.groups.contact",
|
||||
"trend": "flat",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p11a.search.groups.project",
|
||||
"trend": "flat",
|
||||
"value": "1"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"groups": [
|
||||
{
|
||||
"entityType": "contact",
|
||||
"items": [
|
||||
{
|
||||
"entityType": "contact",
|
||||
"href": "/mock/r-p11a/contacts/contact-1",
|
||||
"id": "contact-1",
|
||||
"key": "contact:contact-1",
|
||||
"searchValue": "Solaris GmbH info@solaris.test contact",
|
||||
"subtitle": "info@solaris.test",
|
||||
"title": "Solaris GmbH",
|
||||
"updatedAt": "2026-07-12T08:00:00.000Z"
|
||||
}
|
||||
],
|
||||
"labelKey": "search.entities.contact"
|
||||
},
|
||||
{
|
||||
"entityType": "project",
|
||||
"items": [
|
||||
{
|
||||
"entityType": "project",
|
||||
"href": "/mock/r-p11a/projects/project-1",
|
||||
"id": "project-1",
|
||||
"key": "project:project-1",
|
||||
"searchValue": "Solar roof P-100 project",
|
||||
"subtitle": "P-100",
|
||||
"title": "Solar roof",
|
||||
"updatedAt": "2026-07-12T07:30:00.000Z"
|
||||
}
|
||||
],
|
||||
"labelKey": "search.entities.project"
|
||||
}
|
||||
],
|
||||
"initialResultLimit": 20,
|
||||
"maxResultLimit": 50,
|
||||
"query": "solar",
|
||||
"recentSearches": [
|
||||
{
|
||||
"entityTypes": [
|
||||
"project",
|
||||
"task"
|
||||
],
|
||||
"queryText": "heat pump",
|
||||
"resultCount": 4
|
||||
}
|
||||
],
|
||||
"surfaces": {
|
||||
"desktop": "modal",
|
||||
"mobile": "viewport"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"titleKey": "mock.r-p11a.search.title"
|
||||
}
|
||||
;
|
||||
export default mockPage;
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"pageId": "r-p11a-spotlight-interim",
|
||||
"route": "/mock/r-p11a/spotlight",
|
||||
"status": "ready",
|
||||
"htmlHash": "7cce51c8",
|
||||
"moduleHash": "3e859020",
|
||||
"stateHash": "3525af75",
|
||||
"metrics": {
|
||||
"htmlBytes": 7456,
|
||||
"moduleBytes": 2546,
|
||||
"sidebarItems": 0,
|
||||
"breadcrumbItems": 0,
|
||||
"mobileItems": 0,
|
||||
"portalItems": 1
|
||||
}
|
||||
}
|
||||
+328
@@ -0,0 +1,328 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>UI Mock: Dashboard interim drill (R-P11b)</title>
|
||||
<style>
|
||||
:root { color-scheme: light; --bg: #f6f7f9; --panel: #ffffff; --ink: #1f2937; --muted: #64748b; --line: #d9e0e8; --accent: #2563eb; --ok: #0f766e; }
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
|
||||
.mock-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
|
||||
.mock-nav { border-right: 1px solid var(--line); background: #eef2f7; padding: 24px 18px; }
|
||||
.mock-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
||||
.mock-link { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
|
||||
.mock-link[data-active='true'] { background: var(--panel); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
|
||||
.mock-main { padding: 32px; }
|
||||
.mock-breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
|
||||
.mock-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
|
||||
.mock-title { margin: 0; font-size: 28px; line-height: 1.2; }
|
||||
.mock-description { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
|
||||
.mock-status { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px 12px; color: var(--ok); font-weight: 700; }
|
||||
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
|
||||
.mock-card, .mock-state { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; }
|
||||
.mock-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
|
||||
.mock-card-value { margin: 0; font-size: 24px; font-weight: 750; }
|
||||
.mock-card-trend { margin-top: 10px; color: var(--ok); font-size: 12px; text-transform: uppercase; }
|
||||
.mock-activity { margin: 0; padding: 0; list-style: none; }
|
||||
.mock-activity li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
|
||||
.mock-activity li:first-child { border-top: 0; padding-top: 0; }
|
||||
.mock-state pre { margin: 12px 0 0; white-space: pre-wrap; color: #334155; }
|
||||
</style>
|
||||
</head>
|
||||
<body data-ui-mock-route="/mock/r-p11b/dashboard" data-ui-mock-status="ready">
|
||||
<div class="mock-shell" data-ui-mock-page="r-p11b-dashboard-interim">
|
||||
<nav class="mock-nav" aria-label="Mock sidebar">
|
||||
<div class="mock-brand">HiveGrid mock</div>
|
||||
<a class="mock-link" data-active="false" href="/mock/phase-c">Phase C home</a>
|
||||
<a class="mock-link" data-active="true" href="/mock/r-p11b/dashboard">Dashboard interim</a>
|
||||
</nav>
|
||||
<main class="mock-main">
|
||||
<div class="mock-breadcrumbs"><span>Mock</span><span>/</span><span>Dashboard interim</span></div>
|
||||
<header class="mock-header">
|
||||
<div>
|
||||
<h1 class="mock-title">Dashboard interim drill (R-P11b)</h1>
|
||||
<p class="mock-description">Static fixture page for the R-P11b dashboard interim screen (AD-28).</p>
|
||||
</div>
|
||||
<div class="mock-status">Ready</div>
|
||||
</header>
|
||||
<section class="mock-grid" aria-label="Mock metrics">
|
||||
</section>
|
||||
<section class="mock-card" aria-label="Mock activity">
|
||||
<ul class="mock-activity">
|
||||
</ul>
|
||||
</section>
|
||||
<section class="mock-state" aria-label="Mock state payload">
|
||||
<strong>Serialized state</strong>
|
||||
<pre>{
|
||||
"activity": 0,
|
||||
"cards": 0,
|
||||
"status": "Ready"
|
||||
}</pre>
|
||||
</section>
|
||||
<script type="application/json" id="mock-page-state">{
|
||||
"data": {
|
||||
"activeRole": "gf",
|
||||
"canCustomize": true,
|
||||
"generatedAt": "2026-07-12T08:00:00.000Z",
|
||||
"layout": {
|
||||
"descriptionKey": "app.dashboard.roles.gf.description",
|
||||
"mobileFirst": false,
|
||||
"nameKey": "app.dashboard.roles.gf.name",
|
||||
"role": "gf",
|
||||
"widgets": [
|
||||
{
|
||||
"chart": null,
|
||||
"descriptionKey": "app.dashboard.widgets.orderIntake.description",
|
||||
"domain": "sales",
|
||||
"items": [],
|
||||
"key": "sales.order_intake",
|
||||
"kind": "trend",
|
||||
"loadingMode": "lazy",
|
||||
"metrics": [
|
||||
{
|
||||
"labelKey": "app.dashboard.metrics.orderIntakeCurrentMonth",
|
||||
"value": "42.000,00 €"
|
||||
},
|
||||
{
|
||||
"labelKey": "app.dashboard.metrics.orderIntakeTrailingYear",
|
||||
"value": "318.000,00 €"
|
||||
}
|
||||
],
|
||||
"period": "quarter",
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"series": {
|
||||
"hasComparison": true,
|
||||
"points": [
|
||||
{
|
||||
"comparisonValue": 18000,
|
||||
"id": "2026-05",
|
||||
"value": 21000
|
||||
},
|
||||
{
|
||||
"comparisonValue": 30000,
|
||||
"id": "2026-06",
|
||||
"value": 35000
|
||||
},
|
||||
{
|
||||
"comparisonValue": 26000,
|
||||
"id": "2026-07",
|
||||
"value": 42000
|
||||
}
|
||||
],
|
||||
"valueFormat": "currency"
|
||||
},
|
||||
"size": {
|
||||
"h": 3,
|
||||
"w": 8
|
||||
},
|
||||
"titleKey": "app.dashboard.widgets.orderIntake.title",
|
||||
"visible": true
|
||||
},
|
||||
{
|
||||
"chart": null,
|
||||
"descriptionKey": "app.dashboard.widgets.salesKpis.description",
|
||||
"domain": "sales",
|
||||
"items": [],
|
||||
"key": "sales.kpis",
|
||||
"kind": "kpi",
|
||||
"loadingMode": "lazy",
|
||||
"metrics": [
|
||||
{
|
||||
"labelKey": "app.dashboard.metrics.openProjects",
|
||||
"value": "7"
|
||||
},
|
||||
{
|
||||
"labelKey": "app.dashboard.metrics.wonProjects",
|
||||
"value": "3"
|
||||
}
|
||||
],
|
||||
"period": "30d",
|
||||
"position": {
|
||||
"x": 8,
|
||||
"y": 0
|
||||
},
|
||||
"series": null,
|
||||
"size": {
|
||||
"h": 2,
|
||||
"w": 4
|
||||
},
|
||||
"titleKey": "app.dashboard.widgets.salesKpis.title",
|
||||
"visible": true
|
||||
},
|
||||
{
|
||||
"chart": {
|
||||
"points": [
|
||||
{
|
||||
"color": "#94a3b8",
|
||||
"id": "not_due",
|
||||
"labelKey": "app.dashboard.receivables.notDue",
|
||||
"value": 35500
|
||||
},
|
||||
{
|
||||
"color": "#64748b",
|
||||
"id": "overdue_1_30",
|
||||
"labelKey": "app.dashboard.receivables.overdue1To30",
|
||||
"value": 8000
|
||||
},
|
||||
{
|
||||
"color": "#475569",
|
||||
"id": "overdue_31_60",
|
||||
"labelKey": "app.dashboard.receivables.overdue31To60",
|
||||
"value": 3000
|
||||
},
|
||||
{
|
||||
"color": "#d97706",
|
||||
"id": "overdue_61_90",
|
||||
"labelKey": "app.dashboard.receivables.overdue61To90",
|
||||
"value": 1000
|
||||
},
|
||||
{
|
||||
"color": "#b91c1c",
|
||||
"id": "overdue_90_plus",
|
||||
"labelKey": "app.dashboard.receivables.overdue90Plus",
|
||||
"value": 500
|
||||
}
|
||||
],
|
||||
"valueFormat": "currency"
|
||||
},
|
||||
"descriptionKey": "app.dashboard.widgets.receivables.description",
|
||||
"domain": "finance",
|
||||
"items": [],
|
||||
"key": "finance.receivables",
|
||||
"kind": "chart",
|
||||
"loadingMode": "lazy",
|
||||
"metrics": [
|
||||
{
|
||||
"labelKey": "app.dashboard.metrics.openReceivables",
|
||||
"value": "48.000,00 €"
|
||||
},
|
||||
{
|
||||
"labelKey": "app.dashboard.metrics.overdueReceivables",
|
||||
"value": "12.500,00 €"
|
||||
}
|
||||
],
|
||||
"period": "30d",
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 3
|
||||
},
|
||||
"series": null,
|
||||
"size": {
|
||||
"h": 3,
|
||||
"w": 8
|
||||
},
|
||||
"titleKey": "app.dashboard.widgets.receivables.title",
|
||||
"visible": true
|
||||
},
|
||||
{
|
||||
"chart": null,
|
||||
"descriptionKey": "app.dashboard.widgets.salesForecast.description",
|
||||
"domain": "sales",
|
||||
"items": [],
|
||||
"key": "sales.forecast",
|
||||
"kind": "trend",
|
||||
"loadingMode": "lazy",
|
||||
"metrics": [
|
||||
{
|
||||
"labelKey": "app.dashboard.metrics.forecast",
|
||||
"value": "125.000,00 €"
|
||||
}
|
||||
],
|
||||
"period": "quarter",
|
||||
"position": {
|
||||
"x": 8,
|
||||
"y": 3
|
||||
},
|
||||
"series": null,
|
||||
"size": {
|
||||
"h": 2,
|
||||
"w": 4
|
||||
},
|
||||
"titleKey": "app.dashboard.widgets.salesForecast.title",
|
||||
"visible": true
|
||||
},
|
||||
{
|
||||
"chart": {
|
||||
"points": [
|
||||
{
|
||||
"color": "#2563eb",
|
||||
"id": "stage-1",
|
||||
"labelKey": "mock.r-p11b.dashboard.stage.qualified",
|
||||
"value": 4
|
||||
},
|
||||
{
|
||||
"color": "#d97706",
|
||||
"id": "stage-2",
|
||||
"labelKey": "mock.r-p11b.dashboard.stage.offer",
|
||||
"value": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"descriptionKey": "app.dashboard.widgets.stageDistribution.description",
|
||||
"domain": "projects",
|
||||
"items": [],
|
||||
"key": "projects.stage_distribution",
|
||||
"kind": "chart",
|
||||
"loadingMode": "lazy",
|
||||
"metrics": [],
|
||||
"period": "30d",
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 3
|
||||
},
|
||||
"series": null,
|
||||
"size": {
|
||||
"h": 3,
|
||||
"w": 8
|
||||
},
|
||||
"titleKey": "app.dashboard.widgets.stageDistribution.title",
|
||||
"visible": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamUrl": "/mock/r-p11b/dashboard/stream"
|
||||
},
|
||||
"status": "ready"
|
||||
}</script>
|
||||
<script type="application/json" id="mock-page-registries">{
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/mock",
|
||||
"id": "mock",
|
||||
"labelKey": "mock.root"
|
||||
},
|
||||
{
|
||||
"href": "/mock/r-p11b/dashboard",
|
||||
"id": "r-p11b-dashboard",
|
||||
"labelKey": "mock.r-p11b.dashboard.label"
|
||||
}
|
||||
],
|
||||
"mobile": [
|
||||
{
|
||||
"href": "/mock/r-p11b/dashboard",
|
||||
"id": "r-p11b-dashboard",
|
||||
"labelKey": "mock.r-p11b.dashboard.label",
|
||||
"priority": 1
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/mock/phase-c",
|
||||
"id": "phase-c-home",
|
||||
"labelKey": "mock.phase-c.home"
|
||||
},
|
||||
{
|
||||
"href": "/mock/r-p11b/dashboard",
|
||||
"id": "r-p11b-dashboard",
|
||||
"labelKey": "mock.r-p11b.dashboard.label"
|
||||
}
|
||||
]
|
||||
}</script>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+271
@@ -0,0 +1,271 @@
|
||||
export const mockPage =
|
||||
{
|
||||
"descriptionKey": "mock.r-p11b.dashboard.description",
|
||||
"id": "r-p11b-dashboard-interim",
|
||||
"registries": {
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/mock",
|
||||
"id": "mock",
|
||||
"labelKey": "mock.root"
|
||||
},
|
||||
{
|
||||
"href": "/mock/r-p11b/dashboard",
|
||||
"id": "r-p11b-dashboard",
|
||||
"labelKey": "mock.r-p11b.dashboard.label"
|
||||
}
|
||||
],
|
||||
"mobile": [
|
||||
{
|
||||
"href": "/mock/r-p11b/dashboard",
|
||||
"id": "r-p11b-dashboard",
|
||||
"labelKey": "mock.r-p11b.dashboard.label",
|
||||
"priority": 1
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/mock/phase-c",
|
||||
"id": "phase-c-home",
|
||||
"labelKey": "mock.phase-c.home"
|
||||
},
|
||||
{
|
||||
"href": "/mock/r-p11b/dashboard",
|
||||
"id": "r-p11b-dashboard",
|
||||
"labelKey": "mock.r-p11b.dashboard.label"
|
||||
}
|
||||
]
|
||||
},
|
||||
"route": "/mock/r-p11b/dashboard",
|
||||
"state": {
|
||||
"data": {
|
||||
"activeRole": "gf",
|
||||
"canCustomize": true,
|
||||
"generatedAt": "2026-07-12T08:00:00.000Z",
|
||||
"layout": {
|
||||
"descriptionKey": "app.dashboard.roles.gf.description",
|
||||
"mobileFirst": false,
|
||||
"nameKey": "app.dashboard.roles.gf.name",
|
||||
"role": "gf",
|
||||
"widgets": [
|
||||
{
|
||||
"chart": null,
|
||||
"descriptionKey": "app.dashboard.widgets.orderIntake.description",
|
||||
"domain": "sales",
|
||||
"items": [],
|
||||
"key": "sales.order_intake",
|
||||
"kind": "trend",
|
||||
"loadingMode": "lazy",
|
||||
"metrics": [
|
||||
{
|
||||
"labelKey": "app.dashboard.metrics.orderIntakeCurrentMonth",
|
||||
"value": "42.000,00 €"
|
||||
},
|
||||
{
|
||||
"labelKey": "app.dashboard.metrics.orderIntakeTrailingYear",
|
||||
"value": "318.000,00 €"
|
||||
}
|
||||
],
|
||||
"period": "quarter",
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"series": {
|
||||
"hasComparison": true,
|
||||
"points": [
|
||||
{
|
||||
"comparisonValue": 18000,
|
||||
"id": "2026-05",
|
||||
"value": 21000
|
||||
},
|
||||
{
|
||||
"comparisonValue": 30000,
|
||||
"id": "2026-06",
|
||||
"value": 35000
|
||||
},
|
||||
{
|
||||
"comparisonValue": 26000,
|
||||
"id": "2026-07",
|
||||
"value": 42000
|
||||
}
|
||||
],
|
||||
"valueFormat": "currency"
|
||||
},
|
||||
"size": {
|
||||
"h": 3,
|
||||
"w": 8
|
||||
},
|
||||
"titleKey": "app.dashboard.widgets.orderIntake.title",
|
||||
"visible": true
|
||||
},
|
||||
{
|
||||
"chart": null,
|
||||
"descriptionKey": "app.dashboard.widgets.salesKpis.description",
|
||||
"domain": "sales",
|
||||
"items": [],
|
||||
"key": "sales.kpis",
|
||||
"kind": "kpi",
|
||||
"loadingMode": "lazy",
|
||||
"metrics": [
|
||||
{
|
||||
"labelKey": "app.dashboard.metrics.openProjects",
|
||||
"value": "7"
|
||||
},
|
||||
{
|
||||
"labelKey": "app.dashboard.metrics.wonProjects",
|
||||
"value": "3"
|
||||
}
|
||||
],
|
||||
"period": "30d",
|
||||
"position": {
|
||||
"x": 8,
|
||||
"y": 0
|
||||
},
|
||||
"series": null,
|
||||
"size": {
|
||||
"h": 2,
|
||||
"w": 4
|
||||
},
|
||||
"titleKey": "app.dashboard.widgets.salesKpis.title",
|
||||
"visible": true
|
||||
},
|
||||
{
|
||||
"chart": {
|
||||
"points": [
|
||||
{
|
||||
"color": "#94a3b8",
|
||||
"id": "not_due",
|
||||
"labelKey": "app.dashboard.receivables.notDue",
|
||||
"value": 35500
|
||||
},
|
||||
{
|
||||
"color": "#64748b",
|
||||
"id": "overdue_1_30",
|
||||
"labelKey": "app.dashboard.receivables.overdue1To30",
|
||||
"value": 8000
|
||||
},
|
||||
{
|
||||
"color": "#475569",
|
||||
"id": "overdue_31_60",
|
||||
"labelKey": "app.dashboard.receivables.overdue31To60",
|
||||
"value": 3000
|
||||
},
|
||||
{
|
||||
"color": "#d97706",
|
||||
"id": "overdue_61_90",
|
||||
"labelKey": "app.dashboard.receivables.overdue61To90",
|
||||
"value": 1000
|
||||
},
|
||||
{
|
||||
"color": "#b91c1c",
|
||||
"id": "overdue_90_plus",
|
||||
"labelKey": "app.dashboard.receivables.overdue90Plus",
|
||||
"value": 500
|
||||
}
|
||||
],
|
||||
"valueFormat": "currency"
|
||||
},
|
||||
"descriptionKey": "app.dashboard.widgets.receivables.description",
|
||||
"domain": "finance",
|
||||
"items": [],
|
||||
"key": "finance.receivables",
|
||||
"kind": "chart",
|
||||
"loadingMode": "lazy",
|
||||
"metrics": [
|
||||
{
|
||||
"labelKey": "app.dashboard.metrics.openReceivables",
|
||||
"value": "48.000,00 €"
|
||||
},
|
||||
{
|
||||
"labelKey": "app.dashboard.metrics.overdueReceivables",
|
||||
"value": "12.500,00 €"
|
||||
}
|
||||
],
|
||||
"period": "30d",
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 3
|
||||
},
|
||||
"series": null,
|
||||
"size": {
|
||||
"h": 3,
|
||||
"w": 8
|
||||
},
|
||||
"titleKey": "app.dashboard.widgets.receivables.title",
|
||||
"visible": true
|
||||
},
|
||||
{
|
||||
"chart": null,
|
||||
"descriptionKey": "app.dashboard.widgets.salesForecast.description",
|
||||
"domain": "sales",
|
||||
"items": [],
|
||||
"key": "sales.forecast",
|
||||
"kind": "trend",
|
||||
"loadingMode": "lazy",
|
||||
"metrics": [
|
||||
{
|
||||
"labelKey": "app.dashboard.metrics.forecast",
|
||||
"value": "125.000,00 €"
|
||||
}
|
||||
],
|
||||
"period": "quarter",
|
||||
"position": {
|
||||
"x": 8,
|
||||
"y": 3
|
||||
},
|
||||
"series": null,
|
||||
"size": {
|
||||
"h": 2,
|
||||
"w": 4
|
||||
},
|
||||
"titleKey": "app.dashboard.widgets.salesForecast.title",
|
||||
"visible": true
|
||||
},
|
||||
{
|
||||
"chart": {
|
||||
"points": [
|
||||
{
|
||||
"color": "#2563eb",
|
||||
"id": "stage-1",
|
||||
"labelKey": "mock.r-p11b.dashboard.stage.qualified",
|
||||
"value": 4
|
||||
},
|
||||
{
|
||||
"color": "#d97706",
|
||||
"id": "stage-2",
|
||||
"labelKey": "mock.r-p11b.dashboard.stage.offer",
|
||||
"value": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"descriptionKey": "app.dashboard.widgets.stageDistribution.description",
|
||||
"domain": "projects",
|
||||
"items": [],
|
||||
"key": "projects.stage_distribution",
|
||||
"kind": "chart",
|
||||
"loadingMode": "lazy",
|
||||
"metrics": [],
|
||||
"period": "30d",
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 3
|
||||
},
|
||||
"series": null,
|
||||
"size": {
|
||||
"h": 3,
|
||||
"w": 8
|
||||
},
|
||||
"titleKey": "app.dashboard.widgets.stageDistribution.title",
|
||||
"visible": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamUrl": "/mock/r-p11b/dashboard/stream"
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"titleKey": "mock.r-p11b.dashboard.title"
|
||||
}
|
||||
;
|
||||
export default mockPage;
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"pageId": "r-p11b-dashboard-interim",
|
||||
"route": "/mock/r-p11b/dashboard",
|
||||
"status": "ready",
|
||||
"htmlHash": "4a5de102",
|
||||
"moduleHash": "ffa43f5a",
|
||||
"stateHash": "123b5d5e",
|
||||
"metrics": {
|
||||
"htmlBytes": 13956,
|
||||
"moduleBytes": 7892,
|
||||
"sidebarItems": 2,
|
||||
"breadcrumbItems": 2,
|
||||
"mobileItems": 1,
|
||||
"portalItems": 0
|
||||
}
|
||||
}
|
||||
+185
@@ -0,0 +1,185 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>UI Mock: Automation flow editor drill (R-P12b)</title>
|
||||
<style>
|
||||
:root { color-scheme: light; --bg: #f6f7f9; --panel: #ffffff; --ink: #1f2937; --muted: #64748b; --line: #d9e0e8; --accent: #2563eb; --ok: #0f766e; }
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
|
||||
.mock-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
|
||||
.mock-nav { border-right: 1px solid var(--line); background: #eef2f7; padding: 24px 18px; }
|
||||
.mock-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
||||
.mock-link { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
|
||||
.mock-link[data-active='true'] { background: var(--panel); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
|
||||
.mock-main { padding: 32px; }
|
||||
.mock-breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
|
||||
.mock-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
|
||||
.mock-title { margin: 0; font-size: 28px; line-height: 1.2; }
|
||||
.mock-description { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
|
||||
.mock-status { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px 12px; color: var(--ok); font-weight: 700; }
|
||||
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
|
||||
.mock-card, .mock-state { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; }
|
||||
.mock-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
|
||||
.mock-card-value { margin: 0; font-size: 24px; font-weight: 750; }
|
||||
.mock-card-trend { margin-top: 10px; color: var(--ok); font-size: 12px; text-transform: uppercase; }
|
||||
.mock-activity { margin: 0; padding: 0; list-style: none; }
|
||||
.mock-activity li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
|
||||
.mock-activity li:first-child { border-top: 0; padding-top: 0; }
|
||||
.mock-state pre { margin: 12px 0 0; white-space: pre-wrap; color: #334155; }
|
||||
</style>
|
||||
</head>
|
||||
<body data-ui-mock-route="/mock/r-p12b/editor" data-ui-mock-status="ready">
|
||||
<div class="mock-shell" data-ui-mock-page="r-p12b-editor">
|
||||
<nav class="mock-nav" aria-label="Mock sidebar">
|
||||
<div class="mock-brand">HiveGrid mock</div>
|
||||
</nav>
|
||||
<main class="mock-main">
|
||||
<div class="mock-breadcrumbs"><span>Mock</span><span>/</span><span>Flow editor</span></div>
|
||||
<header class="mock-header">
|
||||
<div>
|
||||
<h1 class="mock-title">Automation flow editor drill (R-P12b)</h1>
|
||||
<p class="mock-description">Static fixture for the R-P12b Subframe flow editor: picker drawer, canvas context menu, node config dialogs and reverse recipients.</p>
|
||||
</div>
|
||||
<div class="mock-status">Ready</div>
|
||||
</header>
|
||||
<section class="mock-grid" aria-label="Mock metrics">
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Steps</p>
|
||||
<p class="mock-card-value">3</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Picker categories</p>
|
||||
<p class="mock-card-value">3</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Design status</p>
|
||||
<p class="mock-card-value">subframe</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
</section>
|
||||
<section class="mock-card" aria-label="Mock activity">
|
||||
<ul class="mock-activity">
|
||||
<li><span>Picker drawer</span><span>drawer</span></li>
|
||||
<li><span>Canvas context menu</span><span>canvas</span></li>
|
||||
<li><span>Node config dialog</span><span>dialog</span></li>
|
||||
<li><span>Reverse recipients</span><span>reverse</span></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="mock-state" aria-label="Mock state payload">
|
||||
<strong>Serialized state</strong>
|
||||
<pre>{
|
||||
"activity": 4,
|
||||
"cards": 3,
|
||||
"status": "Ready"
|
||||
}</pre>
|
||||
</section>
|
||||
<script type="application/json" id="mock-page-state">{
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.r-p12b.editor.activity.picker",
|
||||
"meta": "drawer"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p12b.editor.activity.contextMenu",
|
||||
"meta": "canvas"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p12b.editor.activity.nodeConfig",
|
||||
"meta": "dialog"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p12b.editor.activity.reverseRecipients",
|
||||
"meta": "reverse"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.r-p12b.editor.metrics.steps",
|
||||
"trend": "flat",
|
||||
"value": "3"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p12b.editor.metrics.pickerCategories",
|
||||
"trend": "flat",
|
||||
"value": "3"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p12b.editor.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "subframe"
|
||||
}
|
||||
],
|
||||
"designStatus": "subframe",
|
||||
"editor": {
|
||||
"pickerCategories": [
|
||||
"trigger",
|
||||
"action",
|
||||
"logic"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"kind": "trigger",
|
||||
"nodeType": "forms.submitted",
|
||||
"parentStepIds": [],
|
||||
"stepKey": "trigger"
|
||||
},
|
||||
{
|
||||
"kind": "action",
|
||||
"nodeType": "task.create",
|
||||
"parentStepIds": [
|
||||
"trigger"
|
||||
],
|
||||
"stepKey": "task-create"
|
||||
},
|
||||
{
|
||||
"kind": "action",
|
||||
"nodeType": "notification.send",
|
||||
"parentStepIds": [
|
||||
"task-create"
|
||||
],
|
||||
"stepKey": "notification-send"
|
||||
}
|
||||
],
|
||||
"validationIssues": 0
|
||||
},
|
||||
"reverseExample": {
|
||||
"nodeType": "notification.send",
|
||||
"recipients": [
|
||||
{
|
||||
"email": "buero@demo-pro.example",
|
||||
"name": "Sandra Vogel"
|
||||
},
|
||||
{
|
||||
"email": "einsatzleitung@demo-pro.example",
|
||||
"name": null
|
||||
}
|
||||
],
|
||||
"reversible": false
|
||||
},
|
||||
"screenRoute": "/automations/:id/edit"
|
||||
},
|
||||
"status": "ready"
|
||||
}</script>
|
||||
<script type="application/json" id="mock-page-registries">{
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/mock",
|
||||
"id": "mock",
|
||||
"labelKey": "mock.root"
|
||||
},
|
||||
{
|
||||
"href": "/mock/r-p12b/editor",
|
||||
"id": "r-p12b-editor",
|
||||
"labelKey": "mock.r-p12b.editor.label"
|
||||
}
|
||||
]
|
||||
}</script>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+111
@@ -0,0 +1,111 @@
|
||||
export const mockPage =
|
||||
{
|
||||
"descriptionKey": "mock.r-p12b.editor.description",
|
||||
"id": "r-p12b-editor",
|
||||
"registries": {
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/mock",
|
||||
"id": "mock",
|
||||
"labelKey": "mock.root"
|
||||
},
|
||||
{
|
||||
"href": "/mock/r-p12b/editor",
|
||||
"id": "r-p12b-editor",
|
||||
"labelKey": "mock.r-p12b.editor.label"
|
||||
}
|
||||
]
|
||||
},
|
||||
"route": "/mock/r-p12b/editor",
|
||||
"state": {
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.r-p12b.editor.activity.picker",
|
||||
"meta": "drawer"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p12b.editor.activity.contextMenu",
|
||||
"meta": "canvas"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p12b.editor.activity.nodeConfig",
|
||||
"meta": "dialog"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p12b.editor.activity.reverseRecipients",
|
||||
"meta": "reverse"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.r-p12b.editor.metrics.steps",
|
||||
"trend": "flat",
|
||||
"value": "3"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p12b.editor.metrics.pickerCategories",
|
||||
"trend": "flat",
|
||||
"value": "3"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p12b.editor.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "subframe"
|
||||
}
|
||||
],
|
||||
"designStatus": "subframe",
|
||||
"editor": {
|
||||
"pickerCategories": [
|
||||
"trigger",
|
||||
"action",
|
||||
"logic"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"kind": "trigger",
|
||||
"nodeType": "forms.submitted",
|
||||
"parentStepIds": [],
|
||||
"stepKey": "trigger"
|
||||
},
|
||||
{
|
||||
"kind": "action",
|
||||
"nodeType": "task.create",
|
||||
"parentStepIds": [
|
||||
"trigger"
|
||||
],
|
||||
"stepKey": "task-create"
|
||||
},
|
||||
{
|
||||
"kind": "action",
|
||||
"nodeType": "notification.send",
|
||||
"parentStepIds": [
|
||||
"task-create"
|
||||
],
|
||||
"stepKey": "notification-send"
|
||||
}
|
||||
],
|
||||
"validationIssues": 0
|
||||
},
|
||||
"reverseExample": {
|
||||
"nodeType": "notification.send",
|
||||
"recipients": [
|
||||
{
|
||||
"email": "buero@demo-pro.example",
|
||||
"name": "Sandra Vogel"
|
||||
},
|
||||
{
|
||||
"email": "einsatzleitung@demo-pro.example",
|
||||
"name": null
|
||||
}
|
||||
],
|
||||
"reversible": false
|
||||
},
|
||||
"screenRoute": "/automations/:id/edit"
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"titleKey": "mock.r-p12b.editor.title"
|
||||
}
|
||||
;
|
||||
export default mockPage;
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"pageId": "r-p12b-editor",
|
||||
"route": "/mock/r-p12b/editor",
|
||||
"status": "ready",
|
||||
"htmlHash": "fd95a92c",
|
||||
"moduleHash": "c42234f3",
|
||||
"stateHash": "1a232e2a",
|
||||
"metrics": {
|
||||
"htmlBytes": 8059,
|
||||
"moduleBytes": 2666,
|
||||
"sidebarItems": 0,
|
||||
"breadcrumbItems": 2,
|
||||
"mobileItems": 0,
|
||||
"portalItems": 0
|
||||
}
|
||||
}
|
||||
+220
@@ -0,0 +1,220 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>UI Mock: CRM contacts interim UI (R-P6)</title>
|
||||
<style>
|
||||
:root { color-scheme: light; --bg: #f6f7f9; --panel: #ffffff; --ink: #1f2937; --muted: #64748b; --line: #d9e0e8; --accent: #2563eb; --ok: #0f766e; }
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
|
||||
.mock-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
|
||||
.mock-nav { border-right: 1px solid var(--line); background: #eef2f7; padding: 24px 18px; }
|
||||
.mock-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
||||
.mock-link { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
|
||||
.mock-link[data-active='true'] { background: var(--panel); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
|
||||
.mock-main { padding: 32px; }
|
||||
.mock-breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
|
||||
.mock-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
|
||||
.mock-title { margin: 0; font-size: 28px; line-height: 1.2; }
|
||||
.mock-description { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
|
||||
.mock-status { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px 12px; color: var(--ok); font-weight: 700; }
|
||||
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
|
||||
.mock-card, .mock-state { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; }
|
||||
.mock-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
|
||||
.mock-card-value { margin: 0; font-size: 24px; font-weight: 750; }
|
||||
.mock-card-trend { margin-top: 10px; color: var(--ok); font-size: 12px; text-transform: uppercase; }
|
||||
.mock-activity { margin: 0; padding: 0; list-style: none; }
|
||||
.mock-activity li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
|
||||
.mock-activity li:first-child { border-top: 0; padding-top: 0; }
|
||||
.mock-state pre { margin: 12px 0 0; white-space: pre-wrap; color: #334155; }
|
||||
</style>
|
||||
</head>
|
||||
<body data-ui-mock-route="/:tenant/contacts" data-ui-mock-status="ready">
|
||||
<div class="mock-shell" data-ui-mock-page="r-p6-crm-interim">
|
||||
<nav class="mock-nav" aria-label="Mock sidebar">
|
||||
<div class="mock-brand">HiveGrid mock</div>
|
||||
<a class="mock-link" data-active="true" href="/:tenant/contacts">Contacts</a>
|
||||
<a class="mock-link" data-active="false" href="/:tenant/contacts/companies">Organisations</a>
|
||||
</nav>
|
||||
<main class="mock-main">
|
||||
<div class="mock-breadcrumbs"><span>Contacts</span></div>
|
||||
<header class="mock-header">
|
||||
<div>
|
||||
<h1 class="mock-title">CRM contacts interim UI (R-P6)</h1>
|
||||
<p class="mock-description">Static fixture for the R-P6 typed CRM contact list interim screen (AD-28).</p>
|
||||
</div>
|
||||
<div class="mock-status">Ready</div>
|
||||
</header>
|
||||
<section class="mock-grid" aria-label="Mock metrics">
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Contacts</p>
|
||||
<p class="mock-card-value">2</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Organisations</p>
|
||||
<p class="mock-card-value">1</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Design status</p>
|
||||
<p class="mock-card-value">interim</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
</section>
|
||||
<section class="mock-card" aria-label="Mock activity">
|
||||
<ul class="mock-activity">
|
||||
<li><span>Contact list</span><span>/:tenant/contacts</span></li>
|
||||
<li><span>Contact detail</span><span>/:tenant/contacts/:id</span></li>
|
||||
<li><span>Create with live-duplicate-check</span><span>live-duplicate-check</span></li>
|
||||
<li><span>Custom fields, tags and duplicates admin</span><span>custom-fields / tags / duplicates</span></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="mock-state" aria-label="Mock state payload">
|
||||
<strong>Serialized state</strong>
|
||||
<pre>{
|
||||
"activity": 4,
|
||||
"cards": 3,
|
||||
"status": "Ready"
|
||||
}</pre>
|
||||
</section>
|
||||
<script type="application/json" id="mock-page-state">{
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.r-p6.crm.activity.list",
|
||||
"meta": "/:tenant/contacts"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p6.crm.activity.detail",
|
||||
"meta": "/:tenant/contacts/:id"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p6.crm.activity.new",
|
||||
"meta": "live-duplicate-check"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p6.crm.activity.admin",
|
||||
"meta": "custom-fields / tags / duplicates"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.r-p6.crm.metrics.contacts",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p6.crm.metrics.organisations",
|
||||
"trend": "flat",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p6.crm.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/:tenant/contacts",
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"appliedFilter": {
|
||||
"includeArchived": false,
|
||||
"kontaktStatus": null,
|
||||
"kontaktTyp": null,
|
||||
"search": null,
|
||||
"tagIds": null,
|
||||
"tagMatch": "or",
|
||||
"zustaendigerUserId": null
|
||||
},
|
||||
"canDelete": true,
|
||||
"canReadAll": true,
|
||||
"canWrite": true,
|
||||
"pagination": {
|
||||
"hasNext": false,
|
||||
"hasPrev": false,
|
||||
"page": 1,
|
||||
"pageCount": 1,
|
||||
"total": 2
|
||||
},
|
||||
"rows": [
|
||||
{
|
||||
"createdAtIso": "2026-07-10T09:00:00.000Z",
|
||||
"detailHref": "/acme/contacts/kontakt-1",
|
||||
"displayName": "Karla Kunde",
|
||||
"id": "kontakt-1",
|
||||
"isArchived": false,
|
||||
"kontaktStatus": "kunde",
|
||||
"kontaktTyp": "privatperson",
|
||||
"orgMerkmal": null,
|
||||
"orgMerkmalLabelKey": null,
|
||||
"primaerEmail": "karla@example.test",
|
||||
"primaerTelefon": "+49 30 1234567",
|
||||
"statusLabelKey": "crm.kontaktStatus.kunde",
|
||||
"tagChips": [
|
||||
{
|
||||
"farbe": "#2563eb",
|
||||
"id": "tag-1",
|
||||
"name": "VIP"
|
||||
}
|
||||
],
|
||||
"typLabelKey": "crm.kontaktTyp.privatperson",
|
||||
"zustaendigerLabel": "Rafael Referenz"
|
||||
},
|
||||
{
|
||||
"createdAtIso": "2026-07-08T09:00:00.000Z",
|
||||
"detailHref": "/acme/contacts/kontakt-2",
|
||||
"displayName": "Solaris GmbH",
|
||||
"id": "kontakt-2",
|
||||
"isArchived": false,
|
||||
"kontaktStatus": "bestandskunde",
|
||||
"kontaktTyp": "organisation",
|
||||
"orgMerkmal": "gmbh",
|
||||
"orgMerkmalLabelKey": "crm.orgMerkmal.gmbh",
|
||||
"primaerEmail": "info@solaris.test",
|
||||
"primaerTelefon": "+49 89 7654321",
|
||||
"statusLabelKey": "crm.kontaktStatus.bestandskunde",
|
||||
"tagChips": [],
|
||||
"typLabelKey": "crm.kontaktTyp.organisation",
|
||||
"zustaendigerLabel": "Rafael Referenz"
|
||||
}
|
||||
],
|
||||
"sort": {
|
||||
"dir": "asc",
|
||||
"field": "name"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}</script>
|
||||
<script type="application/json" id="mock-page-registries">{
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant/contacts",
|
||||
"id": "contacts",
|
||||
"labelKey": "mock.r-p6.crm.nav.contacts"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant/contacts",
|
||||
"id": "r-p6-contacts",
|
||||
"labelKey": "mock.r-p6.crm.nav.contacts",
|
||||
"permission": "crm.read_own"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/contacts/companies",
|
||||
"id": "r-p6-companies",
|
||||
"labelKey": "mock.r-p6.crm.nav.companies",
|
||||
"permission": "crm.read_own"
|
||||
}
|
||||
]
|
||||
}</script>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+144
@@ -0,0 +1,144 @@
|
||||
export const mockPage =
|
||||
{
|
||||
"descriptionKey": "mock.r-p6.crm.description",
|
||||
"id": "r-p6-crm-interim",
|
||||
"registries": {
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant/contacts",
|
||||
"id": "contacts",
|
||||
"labelKey": "mock.r-p6.crm.nav.contacts"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant/contacts",
|
||||
"id": "r-p6-contacts",
|
||||
"labelKey": "mock.r-p6.crm.nav.contacts",
|
||||
"permission": "crm.read_own"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/contacts/companies",
|
||||
"id": "r-p6-companies",
|
||||
"labelKey": "mock.r-p6.crm.nav.companies",
|
||||
"permission": "crm.read_own"
|
||||
}
|
||||
]
|
||||
},
|
||||
"route": "/:tenant/contacts",
|
||||
"state": {
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.r-p6.crm.activity.list",
|
||||
"meta": "/:tenant/contacts"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p6.crm.activity.detail",
|
||||
"meta": "/:tenant/contacts/:id"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p6.crm.activity.new",
|
||||
"meta": "live-duplicate-check"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p6.crm.activity.admin",
|
||||
"meta": "custom-fields / tags / duplicates"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.r-p6.crm.metrics.contacts",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p6.crm.metrics.organisations",
|
||||
"trend": "flat",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p6.crm.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/:tenant/contacts",
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"appliedFilter": {
|
||||
"includeArchived": false,
|
||||
"kontaktStatus": null,
|
||||
"kontaktTyp": null,
|
||||
"search": null,
|
||||
"tagIds": null,
|
||||
"tagMatch": "or",
|
||||
"zustaendigerUserId": null
|
||||
},
|
||||
"canDelete": true,
|
||||
"canReadAll": true,
|
||||
"canWrite": true,
|
||||
"pagination": {
|
||||
"hasNext": false,
|
||||
"hasPrev": false,
|
||||
"page": 1,
|
||||
"pageCount": 1,
|
||||
"total": 2
|
||||
},
|
||||
"rows": [
|
||||
{
|
||||
"createdAtIso": "2026-07-10T09:00:00.000Z",
|
||||
"detailHref": "/acme/contacts/kontakt-1",
|
||||
"displayName": "Karla Kunde",
|
||||
"id": "kontakt-1",
|
||||
"isArchived": false,
|
||||
"kontaktStatus": "kunde",
|
||||
"kontaktTyp": "privatperson",
|
||||
"orgMerkmal": null,
|
||||
"orgMerkmalLabelKey": null,
|
||||
"primaerEmail": "karla@example.test",
|
||||
"primaerTelefon": "+49 30 1234567",
|
||||
"statusLabelKey": "crm.kontaktStatus.kunde",
|
||||
"tagChips": [
|
||||
{
|
||||
"farbe": "#2563eb",
|
||||
"id": "tag-1",
|
||||
"name": "VIP"
|
||||
}
|
||||
],
|
||||
"typLabelKey": "crm.kontaktTyp.privatperson",
|
||||
"zustaendigerLabel": "Rafael Referenz"
|
||||
},
|
||||
{
|
||||
"createdAtIso": "2026-07-08T09:00:00.000Z",
|
||||
"detailHref": "/acme/contacts/kontakt-2",
|
||||
"displayName": "Solaris GmbH",
|
||||
"id": "kontakt-2",
|
||||
"isArchived": false,
|
||||
"kontaktStatus": "bestandskunde",
|
||||
"kontaktTyp": "organisation",
|
||||
"orgMerkmal": "gmbh",
|
||||
"orgMerkmalLabelKey": "crm.orgMerkmal.gmbh",
|
||||
"primaerEmail": "info@solaris.test",
|
||||
"primaerTelefon": "+49 89 7654321",
|
||||
"statusLabelKey": "crm.kontaktStatus.bestandskunde",
|
||||
"tagChips": [],
|
||||
"typLabelKey": "crm.kontaktTyp.organisation",
|
||||
"zustaendigerLabel": "Rafael Referenz"
|
||||
}
|
||||
],
|
||||
"sort": {
|
||||
"dir": "asc",
|
||||
"field": "name"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"titleKey": "mock.r-p6.crm.title"
|
||||
}
|
||||
;
|
||||
export default mockPage;
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"pageId": "r-p6-crm-interim",
|
||||
"route": "/:tenant/contacts",
|
||||
"status": "ready",
|
||||
"htmlHash": "48715f72",
|
||||
"moduleHash": "bea03875",
|
||||
"stateHash": "07afdb22",
|
||||
"metrics": {
|
||||
"htmlBytes": 10256,
|
||||
"moduleBytes": 4176,
|
||||
"sidebarItems": 2,
|
||||
"breadcrumbItems": 1,
|
||||
"mobileItems": 0,
|
||||
"portalItems": 0
|
||||
}
|
||||
}
|
||||
+223
@@ -0,0 +1,223 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>UI Mock: mock.r-p7.leads.title</title>
|
||||
<style>
|
||||
:root { color-scheme: light; --bg: #f6f7f9; --panel: #ffffff; --ink: #1f2937; --muted: #64748b; --line: #d9e0e8; --accent: #2563eb; --ok: #0f766e; }
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
|
||||
.mock-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
|
||||
.mock-nav { border-right: 1px solid var(--line); background: #eef2f7; padding: 24px 18px; }
|
||||
.mock-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
||||
.mock-link { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
|
||||
.mock-link[data-active='true'] { background: var(--panel); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
|
||||
.mock-main { padding: 32px; }
|
||||
.mock-breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
|
||||
.mock-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
|
||||
.mock-title { margin: 0; font-size: 28px; line-height: 1.2; }
|
||||
.mock-description { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
|
||||
.mock-status { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px 12px; color: var(--ok); font-weight: 700; }
|
||||
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
|
||||
.mock-card, .mock-state { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; }
|
||||
.mock-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
|
||||
.mock-card-value { margin: 0; font-size: 24px; font-weight: 750; }
|
||||
.mock-card-trend { margin-top: 10px; color: var(--ok); font-size: 12px; text-transform: uppercase; }
|
||||
.mock-activity { margin: 0; padding: 0; list-style: none; }
|
||||
.mock-activity li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
|
||||
.mock-activity li:first-child { border-top: 0; padding-top: 0; }
|
||||
.mock-state pre { margin: 12px 0 0; white-space: pre-wrap; color: #334155; }
|
||||
</style>
|
||||
</head>
|
||||
<body data-ui-mock-route="/:tenant/leads" data-ui-mock-status="ready">
|
||||
<div class="mock-shell" data-ui-mock-page="r-p7-leads-interim">
|
||||
<nav class="mock-nav" aria-label="Mock sidebar">
|
||||
<div class="mock-brand">HiveGrid mock</div>
|
||||
<a class="mock-link" data-active="true" href="/:tenant/leads">mock.r-p7.leads.nav.inbox</a>
|
||||
<a class="mock-link" data-active="false" href="/:tenant/leads-statistics">mock.r-p7.leads.nav.statistics</a>
|
||||
</nav>
|
||||
<main class="mock-main">
|
||||
<div class="mock-breadcrumbs"><span>mock.r-p7.leads.nav.inbox</span></div>
|
||||
<header class="mock-header">
|
||||
<div>
|
||||
<h1 class="mock-title">mock.r-p7.leads.title</h1>
|
||||
<p class="mock-description">mock.r-p7.leads.description</p>
|
||||
</div>
|
||||
<div class="mock-status">Ready</div>
|
||||
</header>
|
||||
<section class="mock-grid" aria-label="Mock metrics">
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">mock.r-p7.leads.metrics.leads</p>
|
||||
<p class="mock-card-value">3</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">mock.r-p7.leads.metrics.open</p>
|
||||
<p class="mock-card-value">2</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">mock.r-p7.leads.metrics.designStatus</p>
|
||||
<p class="mock-card-value">interim</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
</section>
|
||||
<section class="mock-card" aria-label="Mock activity">
|
||||
<ul class="mock-activity">
|
||||
<li><span>mock.r-p7.leads.activity.list</span><span>/:tenant/leads</span></li>
|
||||
<li><span>mock.r-p7.leads.activity.detail</span><span>/:tenant/leads/:id</span></li>
|
||||
<li><span>mock.r-p7.leads.activity.new</span><span>manual-entry</span></li>
|
||||
<li><span>mock.r-p7.leads.activity.admin</span><span>lead-sources / anti-spam</span></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="mock-state" aria-label="Mock state payload">
|
||||
<strong>Serialized state</strong>
|
||||
<pre>{
|
||||
"activity": 4,
|
||||
"cards": 3,
|
||||
"status": "Ready"
|
||||
}</pre>
|
||||
</section>
|
||||
<script type="application/json" id="mock-page-state">{
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.r-p7.leads.activity.list",
|
||||
"meta": "/:tenant/leads"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p7.leads.activity.detail",
|
||||
"meta": "/:tenant/leads/:id"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p7.leads.activity.new",
|
||||
"meta": "manual-entry"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p7.leads.activity.admin",
|
||||
"meta": "lead-sources / anti-spam"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.r-p7.leads.metrics.leads",
|
||||
"trend": "flat",
|
||||
"value": "3"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p7.leads.metrics.open",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p7.leads.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/:tenant/leads",
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"canDelete": true,
|
||||
"canReadAll": true,
|
||||
"canWrite": true,
|
||||
"createHref": "/:tenant/leads/new",
|
||||
"emptyBodyKey": "leads.list.empty.body",
|
||||
"emptyHeadlineKey": "leads.list.empty.headline",
|
||||
"nextCursor": null,
|
||||
"rows": [
|
||||
{
|
||||
"createdAtIso": "2026-07-15T08:30:00.000Z",
|
||||
"detailHref": "/:tenant/leads/lead-1",
|
||||
"displayName": "Anna Anfrage",
|
||||
"email": "anna@example.test",
|
||||
"freigabeLabelKey": "leads.freigabe.unklar",
|
||||
"id": "lead-1",
|
||||
"markers": [
|
||||
"duplicate"
|
||||
],
|
||||
"preview": "Bitte um Rückruf wegen Wärmepumpe",
|
||||
"quelle": "form",
|
||||
"quelleLabelKey": "leads.quelle.form",
|
||||
"spamScore": 5,
|
||||
"status": "new",
|
||||
"statusLabelKey": "leads.status.new",
|
||||
"telefon": null,
|
||||
"weiterverarbeitungFreigabe": "unklar",
|
||||
"zustaendigerLabel": null
|
||||
},
|
||||
{
|
||||
"createdAtIso": "2026-07-14T14:00:00.000Z",
|
||||
"detailHref": "/:tenant/leads/lead-2",
|
||||
"displayName": "+49 30 5556677",
|
||||
"email": null,
|
||||
"freigabeLabelKey": "leads.freigabe.ja",
|
||||
"id": "lead-2",
|
||||
"markers": [],
|
||||
"preview": null,
|
||||
"quelle": "aircall",
|
||||
"quelleLabelKey": "leads.quelle.aircall",
|
||||
"spamScore": 0,
|
||||
"status": "qualified",
|
||||
"statusLabelKey": "leads.status.qualified",
|
||||
"telefon": "+49 30 5556677",
|
||||
"weiterverarbeitungFreigabe": "ja",
|
||||
"zustaendigerLabel": "Rafael Referenz"
|
||||
},
|
||||
{
|
||||
"createdAtIso": "2026-07-13T04:10:00.000Z",
|
||||
"detailHref": "/:tenant/leads/lead-3",
|
||||
"displayName": "win@spam.example",
|
||||
"email": "win@spam.example",
|
||||
"freigabeLabelKey": "leads.freigabe.nein",
|
||||
"id": "lead-3",
|
||||
"markers": [
|
||||
"spam"
|
||||
],
|
||||
"preview": "You won a prize",
|
||||
"quelle": "custom",
|
||||
"quelleLabelKey": "leads.quelle.custom",
|
||||
"spamScore": 92,
|
||||
"status": "spam",
|
||||
"statusLabelKey": "leads.status.spam",
|
||||
"telefon": null,
|
||||
"weiterverarbeitungFreigabe": "nein",
|
||||
"zustaendigerLabel": null
|
||||
}
|
||||
],
|
||||
"total": 3
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}</script>
|
||||
<script type="application/json" id="mock-page-registries">{
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant/leads",
|
||||
"id": "leads",
|
||||
"labelKey": "mock.r-p7.leads.nav.inbox"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant/leads",
|
||||
"id": "r-p7-leads",
|
||||
"labelKey": "mock.r-p7.leads.nav.inbox",
|
||||
"permission": "leads.read_own"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/leads-statistics",
|
||||
"id": "r-p7-lead-statistics",
|
||||
"labelKey": "mock.r-p7.leads.nav.statistics",
|
||||
"permission": "leads.read_own"
|
||||
}
|
||||
]
|
||||
}</script>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+147
@@ -0,0 +1,147 @@
|
||||
export const mockPage =
|
||||
{
|
||||
"descriptionKey": "mock.r-p7.leads.description",
|
||||
"id": "r-p7-leads-interim",
|
||||
"registries": {
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant/leads",
|
||||
"id": "leads",
|
||||
"labelKey": "mock.r-p7.leads.nav.inbox"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant/leads",
|
||||
"id": "r-p7-leads",
|
||||
"labelKey": "mock.r-p7.leads.nav.inbox",
|
||||
"permission": "leads.read_own"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/leads-statistics",
|
||||
"id": "r-p7-lead-statistics",
|
||||
"labelKey": "mock.r-p7.leads.nav.statistics",
|
||||
"permission": "leads.read_own"
|
||||
}
|
||||
]
|
||||
},
|
||||
"route": "/:tenant/leads",
|
||||
"state": {
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.r-p7.leads.activity.list",
|
||||
"meta": "/:tenant/leads"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p7.leads.activity.detail",
|
||||
"meta": "/:tenant/leads/:id"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p7.leads.activity.new",
|
||||
"meta": "manual-entry"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p7.leads.activity.admin",
|
||||
"meta": "lead-sources / anti-spam"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.r-p7.leads.metrics.leads",
|
||||
"trend": "flat",
|
||||
"value": "3"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p7.leads.metrics.open",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p7.leads.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/:tenant/leads",
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"canDelete": true,
|
||||
"canReadAll": true,
|
||||
"canWrite": true,
|
||||
"createHref": "/:tenant/leads/new",
|
||||
"emptyBodyKey": "leads.list.empty.body",
|
||||
"emptyHeadlineKey": "leads.list.empty.headline",
|
||||
"nextCursor": null,
|
||||
"rows": [
|
||||
{
|
||||
"createdAtIso": "2026-07-15T08:30:00.000Z",
|
||||
"detailHref": "/:tenant/leads/lead-1",
|
||||
"displayName": "Anna Anfrage",
|
||||
"email": "anna@example.test",
|
||||
"freigabeLabelKey": "leads.freigabe.unklar",
|
||||
"id": "lead-1",
|
||||
"markers": [
|
||||
"duplicate"
|
||||
],
|
||||
"preview": "Bitte um Rückruf wegen Wärmepumpe",
|
||||
"quelle": "form",
|
||||
"quelleLabelKey": "leads.quelle.form",
|
||||
"spamScore": 5,
|
||||
"status": "new",
|
||||
"statusLabelKey": "leads.status.new",
|
||||
"telefon": null,
|
||||
"weiterverarbeitungFreigabe": "unklar",
|
||||
"zustaendigerLabel": null
|
||||
},
|
||||
{
|
||||
"createdAtIso": "2026-07-14T14:00:00.000Z",
|
||||
"detailHref": "/:tenant/leads/lead-2",
|
||||
"displayName": "+49 30 5556677",
|
||||
"email": null,
|
||||
"freigabeLabelKey": "leads.freigabe.ja",
|
||||
"id": "lead-2",
|
||||
"markers": [],
|
||||
"preview": null,
|
||||
"quelle": "aircall",
|
||||
"quelleLabelKey": "leads.quelle.aircall",
|
||||
"spamScore": 0,
|
||||
"status": "qualified",
|
||||
"statusLabelKey": "leads.status.qualified",
|
||||
"telefon": "+49 30 5556677",
|
||||
"weiterverarbeitungFreigabe": "ja",
|
||||
"zustaendigerLabel": "Rafael Referenz"
|
||||
},
|
||||
{
|
||||
"createdAtIso": "2026-07-13T04:10:00.000Z",
|
||||
"detailHref": "/:tenant/leads/lead-3",
|
||||
"displayName": "win@spam.example",
|
||||
"email": "win@spam.example",
|
||||
"freigabeLabelKey": "leads.freigabe.nein",
|
||||
"id": "lead-3",
|
||||
"markers": [
|
||||
"spam"
|
||||
],
|
||||
"preview": "You won a prize",
|
||||
"quelle": "custom",
|
||||
"quelleLabelKey": "leads.quelle.custom",
|
||||
"spamScore": 92,
|
||||
"status": "spam",
|
||||
"statusLabelKey": "leads.status.spam",
|
||||
"telefon": null,
|
||||
"weiterverarbeitungFreigabe": "nein",
|
||||
"zustaendigerLabel": null
|
||||
}
|
||||
],
|
||||
"total": 3
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"titleKey": "mock.r-p7.leads.title"
|
||||
}
|
||||
;
|
||||
export default mockPage;
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"pageId": "r-p7-leads-interim",
|
||||
"route": "/:tenant/leads",
|
||||
"status": "ready",
|
||||
"htmlHash": "9748cd74",
|
||||
"moduleHash": "eebaed41",
|
||||
"stateHash": "4101f919",
|
||||
"metrics": {
|
||||
"htmlBytes": 10706,
|
||||
"moduleBytes": 4459,
|
||||
"sidebarItems": 2,
|
||||
"breadcrumbItems": 1,
|
||||
"mobileItems": 0,
|
||||
"portalItems": 0
|
||||
}
|
||||
}
|
||||
+312
@@ -0,0 +1,312 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>UI Mock: mock.r-p8.projects.title</title>
|
||||
<style>
|
||||
:root { color-scheme: light; --bg: #f6f7f9; --panel: #ffffff; --ink: #1f2937; --muted: #64748b; --line: #d9e0e8; --accent: #2563eb; --ok: #0f766e; }
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
|
||||
.mock-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
|
||||
.mock-nav { border-right: 1px solid var(--line); background: #eef2f7; padding: 24px 18px; }
|
||||
.mock-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
||||
.mock-link { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
|
||||
.mock-link[data-active='true'] { background: var(--panel); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
|
||||
.mock-main { padding: 32px; }
|
||||
.mock-breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
|
||||
.mock-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
|
||||
.mock-title { margin: 0; font-size: 28px; line-height: 1.2; }
|
||||
.mock-description { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
|
||||
.mock-status { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px 12px; color: var(--ok); font-weight: 700; }
|
||||
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
|
||||
.mock-card, .mock-state { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; }
|
||||
.mock-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
|
||||
.mock-card-value { margin: 0; font-size: 24px; font-weight: 750; }
|
||||
.mock-card-trend { margin-top: 10px; color: var(--ok); font-size: 12px; text-transform: uppercase; }
|
||||
.mock-activity { margin: 0; padding: 0; list-style: none; }
|
||||
.mock-activity li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
|
||||
.mock-activity li:first-child { border-top: 0; padding-top: 0; }
|
||||
.mock-state pre { margin: 12px 0 0; white-space: pre-wrap; color: #334155; }
|
||||
</style>
|
||||
</head>
|
||||
<body data-ui-mock-route="/:tenant/projects" data-ui-mock-status="ready">
|
||||
<div class="mock-shell" data-ui-mock-page="r-p8-projects-interim">
|
||||
<nav class="mock-nav" aria-label="Mock sidebar">
|
||||
<div class="mock-brand">HiveGrid mock</div>
|
||||
<a class="mock-link" data-active="true" href="/:tenant/projects">mock.r-p8.projects.nav.board</a>
|
||||
<a class="mock-link" data-active="false" href="/:tenant/projects/list">mock.r-p8.projects.nav.list</a>
|
||||
</nav>
|
||||
<main class="mock-main">
|
||||
<div class="mock-breadcrumbs"><span>mock.r-p8.projects.nav.board</span></div>
|
||||
<header class="mock-header">
|
||||
<div>
|
||||
<h1 class="mock-title">mock.r-p8.projects.title</h1>
|
||||
<p class="mock-description">mock.r-p8.projects.description</p>
|
||||
</div>
|
||||
<div class="mock-status">Ready</div>
|
||||
</header>
|
||||
<section class="mock-grid" aria-label="Mock metrics">
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">mock.r-p8.projects.metrics.stages</p>
|
||||
<p class="mock-card-value">4</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">mock.r-p8.projects.metrics.projects</p>
|
||||
<p class="mock-card-value">3</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">mock.r-p8.projects.metrics.designStatus</p>
|
||||
<p class="mock-card-value">interim</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
</section>
|
||||
<section class="mock-card" aria-label="Mock activity">
|
||||
<ul class="mock-activity">
|
||||
<li><span>mock.r-p8.projects.activity.board</span><span>/:tenant/projects</span></li>
|
||||
<li><span>mock.r-p8.projects.activity.list</span><span>/:tenant/projects/list</span></li>
|
||||
<li><span>mock.r-p8.projects.activity.detail</span><span>/:tenant/projects/:id</span></li>
|
||||
<li><span>mock.r-p8.projects.activity.admin</span><span>pipelines / lost-reasons</span></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="mock-state" aria-label="Mock state payload">
|
||||
<strong>Serialized state</strong>
|
||||
<pre>{
|
||||
"activity": 4,
|
||||
"cards": 3,
|
||||
"status": "Ready"
|
||||
}</pre>
|
||||
</section>
|
||||
<script type="application/json" id="mock-page-state">{
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.r-p8.projects.activity.board",
|
||||
"meta": "/:tenant/projects"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p8.projects.activity.list",
|
||||
"meta": "/:tenant/projects/list"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p8.projects.activity.detail",
|
||||
"meta": "/:tenant/projects/:id"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p8.projects.activity.admin",
|
||||
"meta": "pipelines / lost-reasons"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.r-p8.projects.metrics.stages",
|
||||
"trend": "flat",
|
||||
"value": "4"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p8.projects.metrics.projects",
|
||||
"trend": "flat",
|
||||
"value": "3"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p8.projects.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/:tenant/projects",
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"canAdmin": true,
|
||||
"canChangeStage": true,
|
||||
"canDelete": false,
|
||||
"canWrite": true,
|
||||
"columns": [
|
||||
{
|
||||
"aggregateValue": "12.500,00 €",
|
||||
"aggregateVisible": true,
|
||||
"cards": [
|
||||
{
|
||||
"appointmentIso": "2026-07-22T08:00:00.000Z",
|
||||
"appointmentTitle": "Vor-Ort-Termin",
|
||||
"canRedo": false,
|
||||
"deadlineIso": "2026-07-30T00:00:00.000Z",
|
||||
"detailHref": "/:tenant/projects/projekt-1",
|
||||
"id": "projekt-1",
|
||||
"isStuck": false,
|
||||
"ownerLabel": "Rafael Referenz",
|
||||
"prioritaet": "hoch",
|
||||
"prioritaetLabelKey": "projects.priority.hoch",
|
||||
"projektname": "Wärmepumpe Familie Muster",
|
||||
"projektNummer": "P-00001",
|
||||
"projekttyp": "Wärmepumpe",
|
||||
"startIso": "2026-07-14T00:00:00.000Z",
|
||||
"stuckDays": null,
|
||||
"subtitle": "Familie Muster · Musterstadt",
|
||||
"tags": [],
|
||||
"undoUntilIso": null,
|
||||
"value": "12.500,00 €",
|
||||
"valueVisible": true
|
||||
}
|
||||
],
|
||||
"color": "#2563eb",
|
||||
"projectCount": 1,
|
||||
"stageId": "stage-neu",
|
||||
"stageKind": "offen",
|
||||
"stageName": "Neu",
|
||||
"winProbability": 25
|
||||
},
|
||||
{
|
||||
"aggregateValue": null,
|
||||
"aggregateVisible": false,
|
||||
"cards": [
|
||||
{
|
||||
"appointmentIso": null,
|
||||
"appointmentTitle": null,
|
||||
"canRedo": false,
|
||||
"deadlineIso": "2026-07-10T00:00:00.000Z",
|
||||
"detailHref": "/:tenant/projects/projekt-2",
|
||||
"id": "projekt-2",
|
||||
"isStuck": true,
|
||||
"ownerLabel": null,
|
||||
"prioritaet": "normal",
|
||||
"prioritaetLabelKey": "projects.priority.normal",
|
||||
"projektname": "Badsanierung Beispiel GmbH",
|
||||
"projektNummer": "P-00002",
|
||||
"projekttyp": null,
|
||||
"startIso": null,
|
||||
"stuckDays": null,
|
||||
"subtitle": null,
|
||||
"tags": [],
|
||||
"undoUntilIso": null,
|
||||
"value": null,
|
||||
"valueVisible": false
|
||||
}
|
||||
],
|
||||
"color": "#f59e0b",
|
||||
"projectCount": 1,
|
||||
"stageId": "stage-angebot",
|
||||
"stageKind": "offen",
|
||||
"stageName": "Angebot",
|
||||
"winProbability": 60
|
||||
},
|
||||
{
|
||||
"aggregateValue": "8.900,00 €",
|
||||
"aggregateVisible": true,
|
||||
"cards": [
|
||||
{
|
||||
"appointmentIso": null,
|
||||
"appointmentTitle": null,
|
||||
"canRedo": false,
|
||||
"deadlineIso": null,
|
||||
"detailHref": "/:tenant/projects/projekt-3",
|
||||
"id": "projekt-3",
|
||||
"isStuck": false,
|
||||
"ownerLabel": "Rafael Referenz",
|
||||
"prioritaet": "dringend",
|
||||
"prioritaetLabelKey": "projects.priority.dringend",
|
||||
"projektname": "Solarthermie Nachrüstung",
|
||||
"projektNummer": "P-00003",
|
||||
"projekttyp": null,
|
||||
"startIso": null,
|
||||
"stuckDays": null,
|
||||
"subtitle": null,
|
||||
"tags": [],
|
||||
"undoUntilIso": "2026-07-16T09:00:00.000Z",
|
||||
"value": "8.900,00 €",
|
||||
"valueVisible": true
|
||||
}
|
||||
],
|
||||
"color": "#16a34a",
|
||||
"projectCount": 1,
|
||||
"stageId": "stage-gewonnen",
|
||||
"stageKind": "gewonnen",
|
||||
"stageName": "Gewonnen",
|
||||
"winProbability": 100
|
||||
},
|
||||
{
|
||||
"aggregateValue": "0,00 €",
|
||||
"aggregateVisible": true,
|
||||
"cards": [],
|
||||
"color": "#dc2626",
|
||||
"projectCount": 0,
|
||||
"stageId": "stage-verloren",
|
||||
"stageKind": "verloren",
|
||||
"stageName": "Verloren",
|
||||
"winProbability": 0
|
||||
}
|
||||
],
|
||||
"generatedAtIso": "2026-07-15T09:00:00.000Z",
|
||||
"lostReasons": [
|
||||
{
|
||||
"id": "lost-preis",
|
||||
"name": "Preis"
|
||||
},
|
||||
{
|
||||
"id": "lost-wettbewerber",
|
||||
"name": "Wettbewerber"
|
||||
}
|
||||
],
|
||||
"lostStageId": "stage-verloren",
|
||||
"openStages": [
|
||||
{
|
||||
"id": "stage-neu",
|
||||
"name": "Neu"
|
||||
},
|
||||
{
|
||||
"id": "stage-angebot",
|
||||
"name": "Angebot"
|
||||
}
|
||||
],
|
||||
"pipelineId": "pipeline-sales",
|
||||
"pipelineName": "Vertrieb (SHK)",
|
||||
"pipelines": [
|
||||
{
|
||||
"id": "pipeline-sales",
|
||||
"name": "Vertrieb (SHK)",
|
||||
"typHint": "sales"
|
||||
},
|
||||
{
|
||||
"id": "pipeline-auftrag",
|
||||
"name": "Aufträge",
|
||||
"typHint": "auftrag"
|
||||
}
|
||||
],
|
||||
"sseHref": "/:tenant/projects/pipelines/pipeline-sales/stream",
|
||||
"wonStageId": "stage-gewonnen"
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}</script>
|
||||
<script type="application/json" id="mock-page-registries">{
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant/projects",
|
||||
"id": "projects",
|
||||
"labelKey": "mock.r-p8.projects.nav.board"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant/projects",
|
||||
"id": "r-p8-projects-board",
|
||||
"labelKey": "mock.r-p8.projects.nav.board",
|
||||
"permission": "projects.read_own"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/projects/list",
|
||||
"id": "r-p8-projects-list",
|
||||
"labelKey": "mock.r-p8.projects.nav.list",
|
||||
"permission": "projects.read_own"
|
||||
}
|
||||
]
|
||||
}</script>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+236
@@ -0,0 +1,236 @@
|
||||
export const mockPage =
|
||||
{
|
||||
"descriptionKey": "mock.r-p8.projects.description",
|
||||
"id": "r-p8-projects-interim",
|
||||
"registries": {
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant/projects",
|
||||
"id": "projects",
|
||||
"labelKey": "mock.r-p8.projects.nav.board"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant/projects",
|
||||
"id": "r-p8-projects-board",
|
||||
"labelKey": "mock.r-p8.projects.nav.board",
|
||||
"permission": "projects.read_own"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/projects/list",
|
||||
"id": "r-p8-projects-list",
|
||||
"labelKey": "mock.r-p8.projects.nav.list",
|
||||
"permission": "projects.read_own"
|
||||
}
|
||||
]
|
||||
},
|
||||
"route": "/:tenant/projects",
|
||||
"state": {
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.r-p8.projects.activity.board",
|
||||
"meta": "/:tenant/projects"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p8.projects.activity.list",
|
||||
"meta": "/:tenant/projects/list"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p8.projects.activity.detail",
|
||||
"meta": "/:tenant/projects/:id"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p8.projects.activity.admin",
|
||||
"meta": "pipelines / lost-reasons"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.r-p8.projects.metrics.stages",
|
||||
"trend": "flat",
|
||||
"value": "4"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p8.projects.metrics.projects",
|
||||
"trend": "flat",
|
||||
"value": "3"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.r-p8.projects.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/:tenant/projects",
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"canAdmin": true,
|
||||
"canChangeStage": true,
|
||||
"canDelete": false,
|
||||
"canWrite": true,
|
||||
"columns": [
|
||||
{
|
||||
"aggregateValue": "12.500,00 €",
|
||||
"aggregateVisible": true,
|
||||
"cards": [
|
||||
{
|
||||
"appointmentIso": "2026-07-22T08:00:00.000Z",
|
||||
"appointmentTitle": "Vor-Ort-Termin",
|
||||
"canRedo": false,
|
||||
"deadlineIso": "2026-07-30T00:00:00.000Z",
|
||||
"detailHref": "/:tenant/projects/projekt-1",
|
||||
"id": "projekt-1",
|
||||
"isStuck": false,
|
||||
"ownerLabel": "Rafael Referenz",
|
||||
"prioritaet": "hoch",
|
||||
"prioritaetLabelKey": "projects.priority.hoch",
|
||||
"projektname": "Wärmepumpe Familie Muster",
|
||||
"projektNummer": "P-00001",
|
||||
"projekttyp": "Wärmepumpe",
|
||||
"startIso": "2026-07-14T00:00:00.000Z",
|
||||
"stuckDays": null,
|
||||
"subtitle": "Familie Muster · Musterstadt",
|
||||
"tags": [],
|
||||
"undoUntilIso": null,
|
||||
"value": "12.500,00 €",
|
||||
"valueVisible": true
|
||||
}
|
||||
],
|
||||
"color": "#2563eb",
|
||||
"projectCount": 1,
|
||||
"stageId": "stage-neu",
|
||||
"stageKind": "offen",
|
||||
"stageName": "Neu",
|
||||
"winProbability": 25
|
||||
},
|
||||
{
|
||||
"aggregateValue": null,
|
||||
"aggregateVisible": false,
|
||||
"cards": [
|
||||
{
|
||||
"appointmentIso": null,
|
||||
"appointmentTitle": null,
|
||||
"canRedo": false,
|
||||
"deadlineIso": "2026-07-10T00:00:00.000Z",
|
||||
"detailHref": "/:tenant/projects/projekt-2",
|
||||
"id": "projekt-2",
|
||||
"isStuck": true,
|
||||
"ownerLabel": null,
|
||||
"prioritaet": "normal",
|
||||
"prioritaetLabelKey": "projects.priority.normal",
|
||||
"projektname": "Badsanierung Beispiel GmbH",
|
||||
"projektNummer": "P-00002",
|
||||
"projekttyp": null,
|
||||
"startIso": null,
|
||||
"stuckDays": null,
|
||||
"subtitle": null,
|
||||
"tags": [],
|
||||
"undoUntilIso": null,
|
||||
"value": null,
|
||||
"valueVisible": false
|
||||
}
|
||||
],
|
||||
"color": "#f59e0b",
|
||||
"projectCount": 1,
|
||||
"stageId": "stage-angebot",
|
||||
"stageKind": "offen",
|
||||
"stageName": "Angebot",
|
||||
"winProbability": 60
|
||||
},
|
||||
{
|
||||
"aggregateValue": "8.900,00 €",
|
||||
"aggregateVisible": true,
|
||||
"cards": [
|
||||
{
|
||||
"appointmentIso": null,
|
||||
"appointmentTitle": null,
|
||||
"canRedo": false,
|
||||
"deadlineIso": null,
|
||||
"detailHref": "/:tenant/projects/projekt-3",
|
||||
"id": "projekt-3",
|
||||
"isStuck": false,
|
||||
"ownerLabel": "Rafael Referenz",
|
||||
"prioritaet": "dringend",
|
||||
"prioritaetLabelKey": "projects.priority.dringend",
|
||||
"projektname": "Solarthermie Nachrüstung",
|
||||
"projektNummer": "P-00003",
|
||||
"projekttyp": null,
|
||||
"startIso": null,
|
||||
"stuckDays": null,
|
||||
"subtitle": null,
|
||||
"tags": [],
|
||||
"undoUntilIso": "2026-07-16T09:00:00.000Z",
|
||||
"value": "8.900,00 €",
|
||||
"valueVisible": true
|
||||
}
|
||||
],
|
||||
"color": "#16a34a",
|
||||
"projectCount": 1,
|
||||
"stageId": "stage-gewonnen",
|
||||
"stageKind": "gewonnen",
|
||||
"stageName": "Gewonnen",
|
||||
"winProbability": 100
|
||||
},
|
||||
{
|
||||
"aggregateValue": "0,00 €",
|
||||
"aggregateVisible": true,
|
||||
"cards": [],
|
||||
"color": "#dc2626",
|
||||
"projectCount": 0,
|
||||
"stageId": "stage-verloren",
|
||||
"stageKind": "verloren",
|
||||
"stageName": "Verloren",
|
||||
"winProbability": 0
|
||||
}
|
||||
],
|
||||
"generatedAtIso": "2026-07-15T09:00:00.000Z",
|
||||
"lostReasons": [
|
||||
{
|
||||
"id": "lost-preis",
|
||||
"name": "Preis"
|
||||
},
|
||||
{
|
||||
"id": "lost-wettbewerber",
|
||||
"name": "Wettbewerber"
|
||||
}
|
||||
],
|
||||
"lostStageId": "stage-verloren",
|
||||
"openStages": [
|
||||
{
|
||||
"id": "stage-neu",
|
||||
"name": "Neu"
|
||||
},
|
||||
{
|
||||
"id": "stage-angebot",
|
||||
"name": "Angebot"
|
||||
}
|
||||
],
|
||||
"pipelineId": "pipeline-sales",
|
||||
"pipelineName": "Vertrieb (SHK)",
|
||||
"pipelines": [
|
||||
{
|
||||
"id": "pipeline-sales",
|
||||
"name": "Vertrieb (SHK)",
|
||||
"typHint": "sales"
|
||||
},
|
||||
{
|
||||
"id": "pipeline-auftrag",
|
||||
"name": "Aufträge",
|
||||
"typHint": "auftrag"
|
||||
}
|
||||
],
|
||||
"sseHref": "/:tenant/projects/pipelines/pipeline-sales/stream",
|
||||
"wonStageId": "stage-gewonnen"
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"titleKey": "mock.r-p8.projects.title"
|
||||
}
|
||||
;
|
||||
export default mockPage;
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"pageId": "r-p8-projects-interim",
|
||||
"route": "/:tenant/projects",
|
||||
"status": "ready",
|
||||
"htmlHash": "03c02a77",
|
||||
"moduleHash": "376abb08",
|
||||
"stateHash": "077b46c4",
|
||||
"metrics": {
|
||||
"htmlBytes": 14590,
|
||||
"moduleBytes": 7521,
|
||||
"sidebarItems": 2,
|
||||
"breadcrumbItems": 1,
|
||||
"mobileItems": 0,
|
||||
"portalItems": 0
|
||||
}
|
||||
}
|
||||
+398
@@ -0,0 +1,398 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>UI Mock: Self-service subscription builder interim (VA-P24a)</title>
|
||||
<style>
|
||||
:root { color-scheme: light; --bg: #f6f7f9; --panel: #ffffff; --ink: #1f2937; --muted: #64748b; --line: #d9e0e8; --accent: #2563eb; --ok: #0f766e; }
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
|
||||
.mock-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
|
||||
.mock-nav { border-right: 1px solid var(--line); background: #eef2f7; padding: 24px 18px; }
|
||||
.mock-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
||||
.mock-link { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
|
||||
.mock-link[data-active='true'] { background: var(--panel); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
|
||||
.mock-main { padding: 32px; }
|
||||
.mock-breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
|
||||
.mock-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
|
||||
.mock-title { margin: 0; font-size: 28px; line-height: 1.2; }
|
||||
.mock-description { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
|
||||
.mock-status { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px 12px; color: var(--ok); font-weight: 700; }
|
||||
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
|
||||
.mock-card, .mock-state { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; }
|
||||
.mock-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
|
||||
.mock-card-value { margin: 0; font-size: 24px; font-weight: 750; }
|
||||
.mock-card-trend { margin-top: 10px; color: var(--ok); font-size: 12px; text-transform: uppercase; }
|
||||
.mock-activity { margin: 0; padding: 0; list-style: none; }
|
||||
.mock-activity li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
|
||||
.mock-activity li:first-child { border-top: 0; padding-top: 0; }
|
||||
.mock-state pre { margin: 12px 0 0; white-space: pre-wrap; color: #334155; }
|
||||
</style>
|
||||
</head>
|
||||
<body data-ui-mock-route="/:tenant/settings/billing" data-ui-mock-status="ready">
|
||||
<div class="mock-shell" data-ui-mock-page="va-p24a-interim">
|
||||
<nav class="mock-nav" aria-label="Mock sidebar">
|
||||
<div class="mock-brand">HiveGrid mock</div>
|
||||
<a class="mock-link" data-active="true" href="/:tenant/settings/billing">Self-service subscription</a>
|
||||
</nav>
|
||||
<main class="mock-main">
|
||||
<div class="mock-breadcrumbs"><span>Settings</span><span>/</span><span>Self-service subscription</span></div>
|
||||
<header class="mock-header">
|
||||
<div>
|
||||
<h1 class="mock-title">Self-service subscription builder interim (VA-P24a)</h1>
|
||||
<p class="mock-description">Static fixture for the VA-P24a plan, price and seat builder (AD-28).</p>
|
||||
</div>
|
||||
<div class="mock-status">Ready</div>
|
||||
</header>
|
||||
<section class="mock-grid" aria-label="Mock metrics">
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Public plans</p>
|
||||
<p class="mock-card-value">2</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Active prices</p>
|
||||
<p class="mock-card-value">4</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">Minimum seats</p>
|
||||
<p class="mock-card-value">3</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
</section>
|
||||
<section class="mock-card" aria-label="Mock activity">
|
||||
<ul class="mock-activity">
|
||||
<li><span>Server-filtered catalog</span><span>2 plans / 4 prices</span></li>
|
||||
<li><span>Server-calculated preview</span><span>server-calculated</span></li>
|
||||
<li><span>Self-service trial</span><span>payment-method-required</span></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="mock-state" aria-label="Mock state payload">
|
||||
<strong>Serialized state</strong>
|
||||
<pre>{
|
||||
"activity": 3,
|
||||
"cards": 3,
|
||||
"status": "Ready"
|
||||
}</pre>
|
||||
</section>
|
||||
<script type="application/json" id="mock-page-state">{
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.va-p24a.interim.activity.catalog",
|
||||
"meta": "2 plans / 4 prices"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p24a.interim.activity.preview",
|
||||
"meta": "server-calculated"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p24a.interim.activity.trial",
|
||||
"meta": "payment-method-required"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.va-p24a.interim.metrics.plans",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p24a.interim.metrics.prices",
|
||||
"trend": "flat",
|
||||
"value": "4"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p24a.interim.metrics.minimumSeats",
|
||||
"trend": "flat",
|
||||
"value": "3"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/:tenant/settings/billing",
|
||||
"viewModel": {
|
||||
"billingHref": "/:tenant/settings/billing",
|
||||
"canManage": true,
|
||||
"catalog": {
|
||||
"plans": [
|
||||
{
|
||||
"badge": null,
|
||||
"code": "starter",
|
||||
"descriptionKey": "billing:selfServiceSubscription.fixture.starter.description",
|
||||
"features": [
|
||||
{
|
||||
"code": "crm",
|
||||
"titleKey": "billing:selfServiceSubscription.fixture.feature.crm"
|
||||
},
|
||||
{
|
||||
"code": "projects",
|
||||
"titleKey": "billing:selfServiceSubscription.fixture.feature.projects"
|
||||
}
|
||||
],
|
||||
"id": "plan-starter",
|
||||
"prices": [
|
||||
{
|
||||
"billingPeriod": 3,
|
||||
"currency": "EUR",
|
||||
"id": "price-starter-monthly",
|
||||
"trialDays": 14,
|
||||
"unitAmountCents": 2900
|
||||
},
|
||||
{
|
||||
"billingPeriod": 4,
|
||||
"currency": "EUR",
|
||||
"id": "price-starter-yearly",
|
||||
"trialDays": 14,
|
||||
"unitAmountCents": 29000
|
||||
}
|
||||
],
|
||||
"quantityMode": "flat",
|
||||
"titleKey": "billing:selfServiceSubscription.fixture.starter.title"
|
||||
},
|
||||
{
|
||||
"badge": "billing:selfServiceSubscription.fixture.business.badge",
|
||||
"code": "business",
|
||||
"descriptionKey": "billing:selfServiceSubscription.fixture.business.description",
|
||||
"features": [
|
||||
{
|
||||
"code": "crm",
|
||||
"titleKey": "billing:selfServiceSubscription.fixture.feature.crm"
|
||||
},
|
||||
{
|
||||
"code": "projects",
|
||||
"titleKey": "billing:selfServiceSubscription.fixture.feature.projects"
|
||||
},
|
||||
{
|
||||
"code": "automation",
|
||||
"titleKey": "billing:selfServiceSubscription.fixture.feature.automation"
|
||||
}
|
||||
],
|
||||
"id": "plan-business",
|
||||
"prices": [
|
||||
{
|
||||
"billingPeriod": 3,
|
||||
"currency": "EUR",
|
||||
"id": "price-business-monthly",
|
||||
"trialDays": 30,
|
||||
"unitAmountCents": 4900
|
||||
},
|
||||
{
|
||||
"billingPeriod": 4,
|
||||
"currency": "EUR",
|
||||
"id": "price-business-yearly",
|
||||
"trialDays": 30,
|
||||
"unitAmountCents": 49000
|
||||
}
|
||||
],
|
||||
"quantityMode": "flat",
|
||||
"titleKey": "billing:selfServiceSubscription.fixture.business.title"
|
||||
}
|
||||
]
|
||||
},
|
||||
"currentSelection": {
|
||||
"planCode": "starter",
|
||||
"planId": "plan-starter",
|
||||
"priceId": "price-starter-monthly",
|
||||
"seatQuantity": 3
|
||||
},
|
||||
"emailMarketingAddOns": [
|
||||
{
|
||||
"active": true,
|
||||
"amountCents": 5900,
|
||||
"code": "email_marketing_s",
|
||||
"currency": "EUR",
|
||||
"grossAmountCents": 7021,
|
||||
"monthlyEmailLimit": 10000,
|
||||
"priceId": "price-email-s",
|
||||
"productId": "product-email-s",
|
||||
"title": "billing:selfServiceSubscription.emailMarketing.fixture.s",
|
||||
"vatAmountCents": 1121,
|
||||
"vatRateBasisPoints": 1900
|
||||
},
|
||||
{
|
||||
"active": false,
|
||||
"amountCents": 14900,
|
||||
"code": "email_marketing_m",
|
||||
"currency": "EUR",
|
||||
"grossAmountCents": 17731,
|
||||
"monthlyEmailLimit": 50000,
|
||||
"priceId": "price-email-m",
|
||||
"productId": "product-email-m",
|
||||
"title": "billing:selfServiceSubscription.emailMarketing.fixture.m",
|
||||
"vatAmountCents": 2831,
|
||||
"vatRateBasisPoints": 1900
|
||||
}
|
||||
],
|
||||
"managementPolicy": {
|
||||
"effectiveAtByChangeKind": {
|
||||
"billing_period_change": "period_end",
|
||||
"configuration_change": "period_end",
|
||||
"configuration_decrease": "period_end",
|
||||
"configuration_increase": "immediate",
|
||||
"downgrade": "period_end",
|
||||
"new": "immediate",
|
||||
"seat_decrease": "period_end",
|
||||
"seat_increase": "immediate",
|
||||
"unchanged": "immediate",
|
||||
"upgrade": "immediate"
|
||||
},
|
||||
"planOrder": [
|
||||
"starter",
|
||||
"business"
|
||||
]
|
||||
},
|
||||
"minimumSeatQuantities": {
|
||||
"field": 0,
|
||||
"office": 3
|
||||
},
|
||||
"minimumSeatQuantity": 3,
|
||||
"overview": {
|
||||
"data": {
|
||||
"banner": {
|
||||
"data": {
|
||||
"descriptionKey": "settings.subscription.banner.active.description",
|
||||
"readOnly": false,
|
||||
"status": "active",
|
||||
"titleKey": "settings.subscription.banner.active.title",
|
||||
"tone": "success",
|
||||
"trialDaysRemaining": null
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"contactHref": "/:tenant/settings/billing",
|
||||
"emptyDescriptionKey": "billing:subscriptionOverview.empty.description",
|
||||
"emptyTitleKey": "billing:subscriptionOverview.empty.title",
|
||||
"entitlements": [
|
||||
{
|
||||
"code": "crm",
|
||||
"enabled": true,
|
||||
"labelKey": "billing:selfServiceSubscription.fixture.feature.crm",
|
||||
"remaining": "unlimited",
|
||||
"titleKey": "billing:selfServiceSubscription.fixture.feature.crm",
|
||||
"used": 0,
|
||||
"value": 1
|
||||
}
|
||||
],
|
||||
"planCode": "starter",
|
||||
"planLabel": "billing:selfServiceSubscription.fixture.starter.title",
|
||||
"products": [
|
||||
{
|
||||
"canCancel": false,
|
||||
"code": "starter",
|
||||
"currentPeriodEnd": "2026-08-15T00:00:00.000Z",
|
||||
"id": "tenant-product-starter",
|
||||
"prices": [
|
||||
{
|
||||
"amount": 29,
|
||||
"currency": "EUR",
|
||||
"period": "monthly",
|
||||
"periodLabelKey": "billing:subscriptionOverview.period.monthly",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"quantity": 3,
|
||||
"state": "active",
|
||||
"stateLabelKey": "billing:subscriptionOverview.productState.active",
|
||||
"titleKey": "billing:selfServiceSubscription.fixture.starter.title"
|
||||
}
|
||||
],
|
||||
"seatUsage": {
|
||||
"data": {
|
||||
"categories": [
|
||||
{
|
||||
"extra": 0,
|
||||
"extraCostEur": 0,
|
||||
"extraPriceEur": null,
|
||||
"included": null,
|
||||
"labelKey": "settings.subscription.seats.office",
|
||||
"overLimit": false,
|
||||
"seatType": "office",
|
||||
"used": 2
|
||||
},
|
||||
{
|
||||
"extra": 0,
|
||||
"extraCostEur": 0,
|
||||
"extraPriceEur": null,
|
||||
"included": null,
|
||||
"labelKey": "settings.subscription.seats.field",
|
||||
"overLimit": false,
|
||||
"seatType": "field",
|
||||
"used": 1
|
||||
}
|
||||
],
|
||||
"currency": "EUR",
|
||||
"descriptionKey": "settings.subscription.seats.description",
|
||||
"hasOverage": false,
|
||||
"hasPackage": false,
|
||||
"noPackageHintKey": "settings.subscription.seats.noPackageHint",
|
||||
"overageNoticeKey": "settings.subscription.seats.overageNotice",
|
||||
"packageId": null,
|
||||
"packageNameKey": null,
|
||||
"titleKey": "settings.subscription.seats.title",
|
||||
"totalExtraCostEur": 0
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"status": "active",
|
||||
"statusLabelKey": "billing:subscriptionOverview.status.active",
|
||||
"trialDaysRemaining": null,
|
||||
"trialEndsAt": null
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"preferredSelection": null,
|
||||
"storageAddOns": [],
|
||||
"trialPolicy": {
|
||||
"requiresManualActivation": false,
|
||||
"requiresPaymentMethod": true
|
||||
},
|
||||
"usage": {
|
||||
"emailMarketing": {
|
||||
"limit": 10000,
|
||||
"percentUsed": 32.5,
|
||||
"periodEnd": "2026-08-01T00:00:00.000Z",
|
||||
"periodStart": "2026-07-01T00:00:00.000Z",
|
||||
"remaining": 6750,
|
||||
"status": "ready",
|
||||
"used": 3250
|
||||
},
|
||||
"storage": {
|
||||
"capacityBytes": 10737418240,
|
||||
"percentUsed": 32.5,
|
||||
"remainingBytes": 7247757312,
|
||||
"reservedBytes": 268435456,
|
||||
"status": "ready",
|
||||
"storedBytes": 3221225472
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}</script>
|
||||
<script type="application/json" id="mock-page-registries">{
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant/settings",
|
||||
"id": "settings",
|
||||
"labelKey": "mock.va-p24a.interim.breadcrumb.settings"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/settings/billing",
|
||||
"id": "subscription",
|
||||
"labelKey": "mock.va-p24a.interim.label"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant/settings/billing",
|
||||
"id": "va-p24a-subscription",
|
||||
"labelKey": "mock.va-p24a.interim.label"
|
||||
}
|
||||
]
|
||||
}</script>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+324
@@ -0,0 +1,324 @@
|
||||
export const mockPage =
|
||||
{
|
||||
"descriptionKey": "mock.va-p24a.interim.description",
|
||||
"id": "va-p24a-interim",
|
||||
"registries": {
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant/settings",
|
||||
"id": "settings",
|
||||
"labelKey": "mock.va-p24a.interim.breadcrumb.settings"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/settings/billing",
|
||||
"id": "subscription",
|
||||
"labelKey": "mock.va-p24a.interim.label"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant/settings/billing",
|
||||
"id": "va-p24a-subscription",
|
||||
"labelKey": "mock.va-p24a.interim.label"
|
||||
}
|
||||
]
|
||||
},
|
||||
"route": "/:tenant/settings/billing",
|
||||
"state": {
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.va-p24a.interim.activity.catalog",
|
||||
"meta": "2 plans / 4 prices"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p24a.interim.activity.preview",
|
||||
"meta": "server-calculated"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p24a.interim.activity.trial",
|
||||
"meta": "payment-method-required"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.va-p24a.interim.metrics.plans",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p24a.interim.metrics.prices",
|
||||
"trend": "flat",
|
||||
"value": "4"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p24a.interim.metrics.minimumSeats",
|
||||
"trend": "flat",
|
||||
"value": "3"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/:tenant/settings/billing",
|
||||
"viewModel": {
|
||||
"billingHref": "/:tenant/settings/billing",
|
||||
"canManage": true,
|
||||
"catalog": {
|
||||
"plans": [
|
||||
{
|
||||
"badge": null,
|
||||
"code": "starter",
|
||||
"descriptionKey": "billing:selfServiceSubscription.fixture.starter.description",
|
||||
"features": [
|
||||
{
|
||||
"code": "crm",
|
||||
"titleKey": "billing:selfServiceSubscription.fixture.feature.crm"
|
||||
},
|
||||
{
|
||||
"code": "projects",
|
||||
"titleKey": "billing:selfServiceSubscription.fixture.feature.projects"
|
||||
}
|
||||
],
|
||||
"id": "plan-starter",
|
||||
"prices": [
|
||||
{
|
||||
"billingPeriod": 3,
|
||||
"currency": "EUR",
|
||||
"id": "price-starter-monthly",
|
||||
"trialDays": 14,
|
||||
"unitAmountCents": 2900
|
||||
},
|
||||
{
|
||||
"billingPeriod": 4,
|
||||
"currency": "EUR",
|
||||
"id": "price-starter-yearly",
|
||||
"trialDays": 14,
|
||||
"unitAmountCents": 29000
|
||||
}
|
||||
],
|
||||
"quantityMode": "flat",
|
||||
"titleKey": "billing:selfServiceSubscription.fixture.starter.title"
|
||||
},
|
||||
{
|
||||
"badge": "billing:selfServiceSubscription.fixture.business.badge",
|
||||
"code": "business",
|
||||
"descriptionKey": "billing:selfServiceSubscription.fixture.business.description",
|
||||
"features": [
|
||||
{
|
||||
"code": "crm",
|
||||
"titleKey": "billing:selfServiceSubscription.fixture.feature.crm"
|
||||
},
|
||||
{
|
||||
"code": "projects",
|
||||
"titleKey": "billing:selfServiceSubscription.fixture.feature.projects"
|
||||
},
|
||||
{
|
||||
"code": "automation",
|
||||
"titleKey": "billing:selfServiceSubscription.fixture.feature.automation"
|
||||
}
|
||||
],
|
||||
"id": "plan-business",
|
||||
"prices": [
|
||||
{
|
||||
"billingPeriod": 3,
|
||||
"currency": "EUR",
|
||||
"id": "price-business-monthly",
|
||||
"trialDays": 30,
|
||||
"unitAmountCents": 4900
|
||||
},
|
||||
{
|
||||
"billingPeriod": 4,
|
||||
"currency": "EUR",
|
||||
"id": "price-business-yearly",
|
||||
"trialDays": 30,
|
||||
"unitAmountCents": 49000
|
||||
}
|
||||
],
|
||||
"quantityMode": "flat",
|
||||
"titleKey": "billing:selfServiceSubscription.fixture.business.title"
|
||||
}
|
||||
]
|
||||
},
|
||||
"currentSelection": {
|
||||
"planCode": "starter",
|
||||
"planId": "plan-starter",
|
||||
"priceId": "price-starter-monthly",
|
||||
"seatQuantity": 3
|
||||
},
|
||||
"emailMarketingAddOns": [
|
||||
{
|
||||
"active": true,
|
||||
"amountCents": 5900,
|
||||
"code": "email_marketing_s",
|
||||
"currency": "EUR",
|
||||
"grossAmountCents": 7021,
|
||||
"monthlyEmailLimit": 10000,
|
||||
"priceId": "price-email-s",
|
||||
"productId": "product-email-s",
|
||||
"title": "billing:selfServiceSubscription.emailMarketing.fixture.s",
|
||||
"vatAmountCents": 1121,
|
||||
"vatRateBasisPoints": 1900
|
||||
},
|
||||
{
|
||||
"active": false,
|
||||
"amountCents": 14900,
|
||||
"code": "email_marketing_m",
|
||||
"currency": "EUR",
|
||||
"grossAmountCents": 17731,
|
||||
"monthlyEmailLimit": 50000,
|
||||
"priceId": "price-email-m",
|
||||
"productId": "product-email-m",
|
||||
"title": "billing:selfServiceSubscription.emailMarketing.fixture.m",
|
||||
"vatAmountCents": 2831,
|
||||
"vatRateBasisPoints": 1900
|
||||
}
|
||||
],
|
||||
"managementPolicy": {
|
||||
"effectiveAtByChangeKind": {
|
||||
"billing_period_change": "period_end",
|
||||
"configuration_change": "period_end",
|
||||
"configuration_decrease": "period_end",
|
||||
"configuration_increase": "immediate",
|
||||
"downgrade": "period_end",
|
||||
"new": "immediate",
|
||||
"seat_decrease": "period_end",
|
||||
"seat_increase": "immediate",
|
||||
"unchanged": "immediate",
|
||||
"upgrade": "immediate"
|
||||
},
|
||||
"planOrder": [
|
||||
"starter",
|
||||
"business"
|
||||
]
|
||||
},
|
||||
"minimumSeatQuantities": {
|
||||
"field": 0,
|
||||
"office": 3
|
||||
},
|
||||
"minimumSeatQuantity": 3,
|
||||
"overview": {
|
||||
"data": {
|
||||
"banner": {
|
||||
"data": {
|
||||
"descriptionKey": "settings.subscription.banner.active.description",
|
||||
"readOnly": false,
|
||||
"status": "active",
|
||||
"titleKey": "settings.subscription.banner.active.title",
|
||||
"tone": "success",
|
||||
"trialDaysRemaining": null
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"contactHref": "/:tenant/settings/billing",
|
||||
"emptyDescriptionKey": "billing:subscriptionOverview.empty.description",
|
||||
"emptyTitleKey": "billing:subscriptionOverview.empty.title",
|
||||
"entitlements": [
|
||||
{
|
||||
"code": "crm",
|
||||
"enabled": true,
|
||||
"labelKey": "billing:selfServiceSubscription.fixture.feature.crm",
|
||||
"remaining": "unlimited",
|
||||
"titleKey": "billing:selfServiceSubscription.fixture.feature.crm",
|
||||
"used": 0,
|
||||
"value": 1
|
||||
}
|
||||
],
|
||||
"planCode": "starter",
|
||||
"planLabel": "billing:selfServiceSubscription.fixture.starter.title",
|
||||
"products": [
|
||||
{
|
||||
"canCancel": false,
|
||||
"code": "starter",
|
||||
"currentPeriodEnd": "2026-08-15T00:00:00.000Z",
|
||||
"id": "tenant-product-starter",
|
||||
"prices": [
|
||||
{
|
||||
"amount": 29,
|
||||
"currency": "EUR",
|
||||
"period": "monthly",
|
||||
"periodLabelKey": "billing:subscriptionOverview.period.monthly",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"quantity": 3,
|
||||
"state": "active",
|
||||
"stateLabelKey": "billing:subscriptionOverview.productState.active",
|
||||
"titleKey": "billing:selfServiceSubscription.fixture.starter.title"
|
||||
}
|
||||
],
|
||||
"seatUsage": {
|
||||
"data": {
|
||||
"categories": [
|
||||
{
|
||||
"extra": 0,
|
||||
"extraCostEur": 0,
|
||||
"extraPriceEur": null,
|
||||
"included": null,
|
||||
"labelKey": "settings.subscription.seats.office",
|
||||
"overLimit": false,
|
||||
"seatType": "office",
|
||||
"used": 2
|
||||
},
|
||||
{
|
||||
"extra": 0,
|
||||
"extraCostEur": 0,
|
||||
"extraPriceEur": null,
|
||||
"included": null,
|
||||
"labelKey": "settings.subscription.seats.field",
|
||||
"overLimit": false,
|
||||
"seatType": "field",
|
||||
"used": 1
|
||||
}
|
||||
],
|
||||
"currency": "EUR",
|
||||
"descriptionKey": "settings.subscription.seats.description",
|
||||
"hasOverage": false,
|
||||
"hasPackage": false,
|
||||
"noPackageHintKey": "settings.subscription.seats.noPackageHint",
|
||||
"overageNoticeKey": "settings.subscription.seats.overageNotice",
|
||||
"packageId": null,
|
||||
"packageNameKey": null,
|
||||
"titleKey": "settings.subscription.seats.title",
|
||||
"totalExtraCostEur": 0
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"status": "active",
|
||||
"statusLabelKey": "billing:subscriptionOverview.status.active",
|
||||
"trialDaysRemaining": null,
|
||||
"trialEndsAt": null
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"preferredSelection": null,
|
||||
"storageAddOns": [],
|
||||
"trialPolicy": {
|
||||
"requiresManualActivation": false,
|
||||
"requiresPaymentMethod": true
|
||||
},
|
||||
"usage": {
|
||||
"emailMarketing": {
|
||||
"limit": 10000,
|
||||
"percentUsed": 32.5,
|
||||
"periodEnd": "2026-08-01T00:00:00.000Z",
|
||||
"periodStart": "2026-07-01T00:00:00.000Z",
|
||||
"remaining": 6750,
|
||||
"status": "ready",
|
||||
"used": 3250
|
||||
},
|
||||
"storage": {
|
||||
"capacityBytes": 10737418240,
|
||||
"percentUsed": 32.5,
|
||||
"remainingBytes": 7247757312,
|
||||
"reservedBytes": 268435456,
|
||||
"status": "ready",
|
||||
"storedBytes": 3221225472
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"titleKey": "mock.va-p24a.interim.title"
|
||||
}
|
||||
;
|
||||
export default mockPage;
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"pageId": "va-p24a-interim",
|
||||
"route": "/:tenant/settings/billing",
|
||||
"status": "ready",
|
||||
"htmlHash": "0292c4c9",
|
||||
"moduleHash": "856f07af",
|
||||
"stateHash": "6c1447b9",
|
||||
"metrics": {
|
||||
"htmlBytes": 18412,
|
||||
"moduleBytes": 10906,
|
||||
"sidebarItems": 1,
|
||||
"breadcrumbItems": 2,
|
||||
"mobileItems": 0,
|
||||
"portalItems": 0
|
||||
}
|
||||
}
|
||||
+192
@@ -0,0 +1,192 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>UI Mock: mock.va-p26a.interim.title</title>
|
||||
<style>
|
||||
:root { color-scheme: light; --bg: #f6f7f9; --panel: #ffffff; --ink: #1f2937; --muted: #64748b; --line: #d9e0e8; --accent: #2563eb; --ok: #0f766e; }
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
|
||||
.mock-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
|
||||
.mock-nav { border-right: 1px solid var(--line); background: #eef2f7; padding: 24px 18px; }
|
||||
.mock-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
||||
.mock-link { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
|
||||
.mock-link[data-active='true'] { background: var(--panel); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
|
||||
.mock-main { padding: 32px; }
|
||||
.mock-breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
|
||||
.mock-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
|
||||
.mock-title { margin: 0; font-size: 28px; line-height: 1.2; }
|
||||
.mock-description { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
|
||||
.mock-status { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px 12px; color: var(--ok); font-weight: 700; }
|
||||
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
|
||||
.mock-card, .mock-state { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; }
|
||||
.mock-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
|
||||
.mock-card-value { margin: 0; font-size: 24px; font-weight: 750; }
|
||||
.mock-card-trend { margin-top: 10px; color: var(--ok); font-size: 12px; text-transform: uppercase; }
|
||||
.mock-activity { margin: 0; padding: 0; list-style: none; }
|
||||
.mock-activity li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
|
||||
.mock-activity li:first-child { border-top: 0; padding-top: 0; }
|
||||
.mock-state pre { margin: 12px 0 0; white-space: pre-wrap; color: #334155; }
|
||||
</style>
|
||||
</head>
|
||||
<body data-ui-mock-route="/:tenant" data-ui-mock-status="ready">
|
||||
<div class="mock-shell" data-ui-mock-page="va-p26a-customer-portal-interim">
|
||||
<nav class="mock-nav" aria-label="Mock sidebar">
|
||||
<div class="mock-brand">HiveGrid mock</div>
|
||||
<a class="mock-link" data-active="true" href="/:tenant">mock.va-p26a.interim.nav.dashboard</a>
|
||||
<a class="mock-link" data-active="false" href="/:tenant/projects">mock.va-p26a.interim.nav.projects</a>
|
||||
</nav>
|
||||
<main class="mock-main">
|
||||
<div class="mock-breadcrumbs"><span>mock.va-p26a.interim.nav.dashboard</span><span>/</span><span>mock.va-p26a.interim.breadcrumb.project</span></div>
|
||||
<header class="mock-header">
|
||||
<div>
|
||||
<h1 class="mock-title">mock.va-p26a.interim.title</h1>
|
||||
<p class="mock-description">mock.va-p26a.interim.description</p>
|
||||
</div>
|
||||
<div class="mock-status">Ready</div>
|
||||
</header>
|
||||
<section class="mock-grid" aria-label="Mock metrics">
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">mock.va-p26a.interim.metrics.projects</p>
|
||||
<p class="mock-card-value">1</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">mock.va-p26a.interim.metrics.documents</p>
|
||||
<p class="mock-card-value">1</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">mock.va-p26a.interim.metrics.designStatus</p>
|
||||
<p class="mock-card-value">interim</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
</section>
|
||||
<section class="mock-card" aria-label="Mock activity">
|
||||
<ul class="mock-activity">
|
||||
<li><span>mock.va-p26a.interim.activity.0</span><span>/:tenant</span></li>
|
||||
<li><span>mock.va-p26a.interim.activity.1</span><span>/:tenant/projects</span></li>
|
||||
<li><span>mock.va-p26a.interim.activity.2</span><span>/:tenant/projects/:projectId</span></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="mock-state" aria-label="Mock state payload">
|
||||
<strong>Serialized state</strong>
|
||||
<pre>{
|
||||
"activity": 3,
|
||||
"cards": 3,
|
||||
"status": "Ready"
|
||||
}</pre>
|
||||
</section>
|
||||
<script type="application/json" id="mock-page-state">{
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.va-p26a.interim.activity.0",
|
||||
"meta": "/:tenant"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26a.interim.activity.1",
|
||||
"meta": "/:tenant/projects"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26a.interim.activity.2",
|
||||
"meta": "/:tenant/projects/:projectId"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.va-p26a.interim.metrics.projects",
|
||||
"trend": "flat",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26a.interim.metrics.documents",
|
||||
"trend": "flat",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26a.interim.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoutes": [
|
||||
"/:tenant",
|
||||
"/:tenant/projects",
|
||||
"/:tenant/projects/:projectId"
|
||||
],
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"frozen": false,
|
||||
"logoutAction": "/acme/logout",
|
||||
"portalName": "Acme Kundenportal",
|
||||
"projects": [
|
||||
{
|
||||
"detailHref": "/acme/projects/project-1",
|
||||
"id": "project-1",
|
||||
"name": "Heizung Familie Kunde",
|
||||
"progressPercent": 67,
|
||||
"projectNumber": "P-1001",
|
||||
"stageLabel": "Montage",
|
||||
"updatedAt": "2026-07-15T10:00:00.000Z",
|
||||
"updatedLabel": "15.07.2026"
|
||||
}
|
||||
],
|
||||
"projectsHref": "/acme/projects",
|
||||
"recentDocuments": [
|
||||
{
|
||||
"downloadHref": "/acme/documents/release-1",
|
||||
"id": "release-1",
|
||||
"mimeType": "application/pdf",
|
||||
"name": "Montagefreigabe.pdf",
|
||||
"releasedAt": "2026-07-15T09:00:00.000Z",
|
||||
"releasedLabel": "15.07.2026"
|
||||
}
|
||||
],
|
||||
"viewerLabel": "Karla Kunde"
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}</script>
|
||||
<script type="application/json" id="mock-page-registries">{
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant",
|
||||
"id": "portal",
|
||||
"labelKey": "mock.va-p26a.interim.nav.dashboard"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/projects/:projectId",
|
||||
"id": "project",
|
||||
"labelKey": "mock.va-p26a.interim.breadcrumb.project"
|
||||
}
|
||||
],
|
||||
"portals": [
|
||||
{
|
||||
"id": "customer-portal",
|
||||
"labelKey": "mock.va-p26a.interim.title",
|
||||
"order": 1,
|
||||
"slot": "customer-portal"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant",
|
||||
"id": "va-p26a-dashboard",
|
||||
"labelKey": "mock.va-p26a.interim.nav.dashboard"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/projects",
|
||||
"id": "va-p26a-projects",
|
||||
"labelKey": "mock.va-p26a.interim.nav.projects"
|
||||
}
|
||||
]
|
||||
}</script>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+117
@@ -0,0 +1,117 @@
|
||||
export const mockPage =
|
||||
{
|
||||
"descriptionKey": "mock.va-p26a.interim.description",
|
||||
"id": "va-p26a-customer-portal-interim",
|
||||
"registries": {
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant",
|
||||
"id": "portal",
|
||||
"labelKey": "mock.va-p26a.interim.nav.dashboard"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/projects/:projectId",
|
||||
"id": "project",
|
||||
"labelKey": "mock.va-p26a.interim.breadcrumb.project"
|
||||
}
|
||||
],
|
||||
"portals": [
|
||||
{
|
||||
"id": "customer-portal",
|
||||
"labelKey": "mock.va-p26a.interim.title",
|
||||
"order": 1,
|
||||
"slot": "customer-portal"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant",
|
||||
"id": "va-p26a-dashboard",
|
||||
"labelKey": "mock.va-p26a.interim.nav.dashboard"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/projects",
|
||||
"id": "va-p26a-projects",
|
||||
"labelKey": "mock.va-p26a.interim.nav.projects"
|
||||
}
|
||||
]
|
||||
},
|
||||
"route": "/:tenant",
|
||||
"state": {
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.va-p26a.interim.activity.0",
|
||||
"meta": "/:tenant"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26a.interim.activity.1",
|
||||
"meta": "/:tenant/projects"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26a.interim.activity.2",
|
||||
"meta": "/:tenant/projects/:projectId"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.va-p26a.interim.metrics.projects",
|
||||
"trend": "flat",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26a.interim.metrics.documents",
|
||||
"trend": "flat",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26a.interim.metrics.designStatus",
|
||||
"trend": "flat",
|
||||
"value": "interim"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoutes": [
|
||||
"/:tenant",
|
||||
"/:tenant/projects",
|
||||
"/:tenant/projects/:projectId"
|
||||
],
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"frozen": false,
|
||||
"logoutAction": "/acme/logout",
|
||||
"portalName": "Acme Kundenportal",
|
||||
"projects": [
|
||||
{
|
||||
"detailHref": "/acme/projects/project-1",
|
||||
"id": "project-1",
|
||||
"name": "Heizung Familie Kunde",
|
||||
"progressPercent": 67,
|
||||
"projectNumber": "P-1001",
|
||||
"stageLabel": "Montage",
|
||||
"updatedAt": "2026-07-15T10:00:00.000Z",
|
||||
"updatedLabel": "15.07.2026"
|
||||
}
|
||||
],
|
||||
"projectsHref": "/acme/projects",
|
||||
"recentDocuments": [
|
||||
{
|
||||
"downloadHref": "/acme/documents/release-1",
|
||||
"id": "release-1",
|
||||
"mimeType": "application/pdf",
|
||||
"name": "Montagefreigabe.pdf",
|
||||
"releasedAt": "2026-07-15T09:00:00.000Z",
|
||||
"releasedLabel": "15.07.2026"
|
||||
}
|
||||
],
|
||||
"viewerLabel": "Karla Kunde"
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"titleKey": "mock.va-p26a.interim.title"
|
||||
}
|
||||
;
|
||||
export default mockPage;
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"pageId": "va-p26a-customer-portal-interim",
|
||||
"route": "/:tenant",
|
||||
"status": "ready",
|
||||
"htmlHash": "a9740bb3",
|
||||
"moduleHash": "0505e9e8",
|
||||
"stateHash": "c5fe880e",
|
||||
"metrics": {
|
||||
"htmlBytes": 8912,
|
||||
"moduleBytes": 3110,
|
||||
"sidebarItems": 2,
|
||||
"breadcrumbItems": 2,
|
||||
"mobileItems": 0,
|
||||
"portalItems": 1
|
||||
}
|
||||
}
|
||||
+401
@@ -0,0 +1,401 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>UI Mock: mock.va-p26b.interim.title</title>
|
||||
<style>
|
||||
:root { color-scheme: light; --bg: #f6f7f9; --panel: #ffffff; --ink: #1f2937; --muted: #64748b; --line: #d9e0e8; --accent: #2563eb; --ok: #0f766e; }
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
|
||||
.mock-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
|
||||
.mock-nav { border-right: 1px solid var(--line); background: #eef2f7; padding: 24px 18px; }
|
||||
.mock-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
||||
.mock-link { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
|
||||
.mock-link[data-active='true'] { background: var(--panel); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
|
||||
.mock-main { padding: 32px; }
|
||||
.mock-breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
|
||||
.mock-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
|
||||
.mock-title { margin: 0; font-size: 28px; line-height: 1.2; }
|
||||
.mock-description { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
|
||||
.mock-status { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px 12px; color: var(--ok); font-weight: 700; }
|
||||
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
|
||||
.mock-card, .mock-state { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; }
|
||||
.mock-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
|
||||
.mock-card-value { margin: 0; font-size: 24px; font-weight: 750; }
|
||||
.mock-card-trend { margin-top: 10px; color: var(--ok); font-size: 12px; text-transform: uppercase; }
|
||||
.mock-activity { margin: 0; padding: 0; list-style: none; }
|
||||
.mock-activity li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
|
||||
.mock-activity li:first-child { border-top: 0; padding-top: 0; }
|
||||
.mock-state pre { margin: 12px 0 0; white-space: pre-wrap; color: #334155; }
|
||||
</style>
|
||||
</head>
|
||||
<body data-ui-mock-route="/:tenant/upload" data-ui-mock-status="ready">
|
||||
<div class="mock-shell" data-ui-mock-page="va-p26b-customer-portal-interim">
|
||||
<nav class="mock-nav" aria-label="Mock sidebar">
|
||||
<div class="mock-brand">HiveGrid mock</div>
|
||||
<a class="mock-link" data-active="true" href="/:tenant/upload">mock.va-p26b.interim.nav.upload</a>
|
||||
<a class="mock-link" data-active="false" href="/:tenant/settings">mock.va-p26b.interim.nav.settings</a>
|
||||
<a class="mock-link" data-active="false" href="/:tenant/settings/customer-portal">mock.va-p26b.interim.nav.admin</a>
|
||||
</nav>
|
||||
<main class="mock-main">
|
||||
<div class="mock-breadcrumbs"><span>mock.va-p26a.interim.nav.dashboard</span><span>/</span><span>mock.va-p26b.interim.nav.upload</span></div>
|
||||
<header class="mock-header">
|
||||
<div>
|
||||
<h1 class="mock-title">mock.va-p26b.interim.title</h1>
|
||||
<p class="mock-description">mock.va-p26b.interim.description</p>
|
||||
</div>
|
||||
<div class="mock-status">Ready</div>
|
||||
</header>
|
||||
<section class="mock-grid" aria-label="Mock metrics">
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">mock.va-p26b.interim.metrics.routes</p>
|
||||
<p class="mock-card-value">5</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">mock.va-p26b.interim.metrics.viewModels</p>
|
||||
<p class="mock-card-value">3</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">mock.va-p26b.interim.metrics.inbox</p>
|
||||
<p class="mock-card-value">2</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
</section>
|
||||
<section class="mock-card" aria-label="Mock activity">
|
||||
<ul class="mock-activity">
|
||||
<li><span>mock.va-p26b.interim.activity.upload</span><span>multi-file + AV</span></li>
|
||||
<li><span>mock.va-p26b.interim.activity.complaint</span><span>portal_form</span></li>
|
||||
<li><span>mock.va-p26b.interim.activity.subcontractor</span><span>project-isolated</span></li>
|
||||
<li><span>mock.va-p26b.interim.activity.inbox</span><span>7-day persistent</span></li>
|
||||
<li><span>mock.va-p26b.interim.activity.lifecycle</span><span>export + delete</span></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="mock-state" aria-label="Mock state payload">
|
||||
<strong>Serialized state</strong>
|
||||
<pre>{
|
||||
"activity": 5,
|
||||
"cards": 3,
|
||||
"status": "Ready"
|
||||
}</pre>
|
||||
</section>
|
||||
<script type="application/json" id="mock-page-state">{
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.va-p26b.interim.activity.upload",
|
||||
"meta": "multi-file + AV"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26b.interim.activity.complaint",
|
||||
"meta": "portal_form"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26b.interim.activity.subcontractor",
|
||||
"meta": "project-isolated"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26b.interim.activity.inbox",
|
||||
"meta": "7-day persistent"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26b.interim.activity.lifecycle",
|
||||
"meta": "export + delete"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.va-p26b.interim.metrics.routes",
|
||||
"trend": "flat",
|
||||
"value": "5"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26b.interim.metrics.viewModels",
|
||||
"trend": "flat",
|
||||
"value": "3"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26b.interim.metrics.inbox",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoutes": [
|
||||
"/:tenant/upload",
|
||||
"/:tenant/projects/:projectId",
|
||||
"/:tenant/settings",
|
||||
"/:tenant/settings/customer-portal",
|
||||
"/:tenant/customer-portal/inbox"
|
||||
],
|
||||
"surfaces": [
|
||||
"interactions",
|
||||
"lifecycle",
|
||||
"admin"
|
||||
],
|
||||
"viewModels": {
|
||||
"admin": {
|
||||
"data": {
|
||||
"accessRows": [
|
||||
{
|
||||
"active": true,
|
||||
"canSeeOtherSubcontractors": false,
|
||||
"canUpload": true,
|
||||
"companyName": "Subbau GmbH",
|
||||
"id": "access-1",
|
||||
"portalUserId": "portal-subcontractor",
|
||||
"portalUserLabel": "Sven Subunternehmen",
|
||||
"projectId": "project-1",
|
||||
"projectLabel": "P-1001 · Heizung Familie Kunde",
|
||||
"roleLabel": "Elektrik",
|
||||
"validUntil": "2026-08-16T23:59:59.999Z",
|
||||
"viewerKind": "subcontractor",
|
||||
"visibleDocumentTypes": [
|
||||
"installation_plan"
|
||||
],
|
||||
"visibleStageIds": [
|
||||
"stage-installation"
|
||||
]
|
||||
}
|
||||
],
|
||||
"autoReleaseRules": [
|
||||
{
|
||||
"documentType": "invoice",
|
||||
"enabled": true,
|
||||
"id": "rule-1",
|
||||
"projectType": "installation"
|
||||
}
|
||||
],
|
||||
"configuration": {
|
||||
"autoReleaseRuleCount": 1,
|
||||
"brandingLogoConfigured": false,
|
||||
"brandingLogoPreviewHref": null,
|
||||
"emailTemplateHref": "/acme/settings/customer-portal/email-templates",
|
||||
"enabledProjectTypes": [
|
||||
"installation"
|
||||
],
|
||||
"imprintUrl": "https://example.test/impressum",
|
||||
"inactivityDisableMonths": 24,
|
||||
"legalLinksComplete": true,
|
||||
"lifecycleMode": "project",
|
||||
"privacyUrl": "https://example.test/datenschutz",
|
||||
"projectAutoCloseMonths": 12,
|
||||
"published": true,
|
||||
"statusEmailsEnabled": true,
|
||||
"termsUrl": "https://example.test/agb",
|
||||
"uploadMaxFiles": 10,
|
||||
"uploadMaxFileSizeBytes": 52428800,
|
||||
"visibleStageCount": 1
|
||||
},
|
||||
"frozen": false,
|
||||
"inbox": [
|
||||
{
|
||||
"bundledCount": 1,
|
||||
"expiresAt": "2026-07-23T09:45:00.000Z",
|
||||
"id": "inbox-complaint",
|
||||
"kind": "complaint",
|
||||
"occurredAt": "2026-07-16T09:45:00.000Z",
|
||||
"ownerLabel": "Projektleitung",
|
||||
"portalUserLabel": "Karla Kunde",
|
||||
"priority": 400,
|
||||
"projectLabel": "P-1001 · Heizung Familie Kunde",
|
||||
"status": "open",
|
||||
"titleKey": "customerPortal.admin.inbox.kinds.complaint"
|
||||
},
|
||||
{
|
||||
"bundledCount": 3,
|
||||
"expiresAt": "2026-07-23T09:30:00.000Z",
|
||||
"id": "inbox-upload",
|
||||
"kind": "upload",
|
||||
"occurredAt": "2026-07-16T09:30:00.000Z",
|
||||
"ownerLabel": null,
|
||||
"portalUserLabel": "Karla Kunde",
|
||||
"priority": 300,
|
||||
"projectLabel": "P-1001 · Heizung Familie Kunde",
|
||||
"status": "open",
|
||||
"titleKey": "customerPortal.admin.inbox.kinds.upload"
|
||||
}
|
||||
],
|
||||
"permissions": {
|
||||
"canAdminister": true,
|
||||
"canDeleteUsers": true,
|
||||
"canManageAccess": true,
|
||||
"canManageActivity": true,
|
||||
"canManageUsers": true,
|
||||
"canRead": true,
|
||||
"canReadActivity": true
|
||||
},
|
||||
"projectOptions": [
|
||||
{
|
||||
"id": "project-1",
|
||||
"label": "P-1001 · Heizung Familie Kunde",
|
||||
"projectType": "installation"
|
||||
}
|
||||
],
|
||||
"stages": [
|
||||
{
|
||||
"customerLabel": "Montage vor Ort",
|
||||
"stageId": "stage-installation",
|
||||
"stageLabel": "Montage",
|
||||
"visible": true
|
||||
}
|
||||
],
|
||||
"users": [
|
||||
{
|
||||
"canResendInvitation": false,
|
||||
"email": "sven@example.test",
|
||||
"id": "portal-subcontractor",
|
||||
"kind": "subcontractor",
|
||||
"lastActivityAt": "2026-07-16T09:15:00.000Z",
|
||||
"name": "Sven Subunternehmen",
|
||||
"projectCount": 1,
|
||||
"status": "active"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"interactions": {
|
||||
"data": {
|
||||
"acceptedMimeTypes": [
|
||||
"image/jpeg",
|
||||
"application/pdf",
|
||||
"audio/mpeg"
|
||||
],
|
||||
"canSubmitComplaint": true,
|
||||
"canUpload": true,
|
||||
"complaintForm": {
|
||||
"fields": [
|
||||
{
|
||||
"key": "subject",
|
||||
"label": "Betreff",
|
||||
"options": [],
|
||||
"required": true,
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"key": "description",
|
||||
"label": "Beschreibung",
|
||||
"options": [],
|
||||
"required": true,
|
||||
"type": "textarea"
|
||||
}
|
||||
],
|
||||
"formId": "form-complaint",
|
||||
"formName": "Reklamation melden",
|
||||
"formSlug": "reklamation",
|
||||
"gdprConsentLabel": "Ich stimme der Verarbeitung zur Bearbeitung zu.",
|
||||
"submitAction": "/acme/projects/project-1/complaints/form-complaint",
|
||||
"submitLabel": "Reklamation senden"
|
||||
},
|
||||
"frozen": false,
|
||||
"maxFiles": 10,
|
||||
"maxFileSizeBytes": 52428800,
|
||||
"projectId": "project-1",
|
||||
"projectLabel": "P-1001 · Heizung Familie Kunde",
|
||||
"uploadAction": "/acme/projects/project-1/upload",
|
||||
"uploads": [
|
||||
{
|
||||
"category": "photo",
|
||||
"createdAt": "2026-07-16T09:30:00.000Z",
|
||||
"errorMessageKey": null,
|
||||
"filename": "baustelle.jpg",
|
||||
"id": "upload-1",
|
||||
"sizeBytes": 1572864,
|
||||
"status": "clean"
|
||||
}
|
||||
],
|
||||
"viewerKind": "customer"
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"lifecycle": {
|
||||
"data": {
|
||||
"actions": {
|
||||
"canCancelDeletion": false,
|
||||
"canRequestDeletion": true,
|
||||
"canRequestExport": true,
|
||||
"canUpdatePreferences": true
|
||||
},
|
||||
"deletionRequest": null,
|
||||
"exportJobs": [
|
||||
{
|
||||
"downloadHref": "/acme/exports/export-1",
|
||||
"expiresAt": "2026-07-17T08:00:00.000Z",
|
||||
"id": "export-1",
|
||||
"progressPercent": 100,
|
||||
"requestedAt": "2026-07-16T08:00:00.000Z",
|
||||
"status": "ready"
|
||||
}
|
||||
],
|
||||
"frozen": false,
|
||||
"notificationPreferences": [
|
||||
{
|
||||
"emailEnabled": true,
|
||||
"eventType": "status_mail",
|
||||
"mutedUntil": null
|
||||
},
|
||||
{
|
||||
"emailEnabled": true,
|
||||
"eventType": "lifecycle",
|
||||
"mutedUntil": null
|
||||
}
|
||||
],
|
||||
"profile": {
|
||||
"email": "karla@example.test",
|
||||
"locale": "de-DE",
|
||||
"name": "Karla Kunde",
|
||||
"phone": "+49 30 1234567"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}</script>
|
||||
<script type="application/json" id="mock-page-registries">{
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant",
|
||||
"id": "portal",
|
||||
"labelKey": "mock.va-p26a.interim.nav.dashboard"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/upload",
|
||||
"id": "upload",
|
||||
"labelKey": "mock.va-p26b.interim.nav.upload"
|
||||
}
|
||||
],
|
||||
"portals": [
|
||||
{
|
||||
"id": "customer-portal-p26b",
|
||||
"labelKey": "mock.va-p26b.interim.title",
|
||||
"order": 1,
|
||||
"slot": "customer-portal"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant/upload",
|
||||
"id": "va-p26b-upload",
|
||||
"labelKey": "mock.va-p26b.interim.nav.upload"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/settings",
|
||||
"id": "va-p26b-settings",
|
||||
"labelKey": "mock.va-p26b.interim.nav.settings"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/settings/customer-portal",
|
||||
"id": "va-p26b-admin",
|
||||
"labelKey": "mock.va-p26b.interim.nav.admin"
|
||||
}
|
||||
]
|
||||
}</script>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+323
@@ -0,0 +1,323 @@
|
||||
export const mockPage =
|
||||
{
|
||||
"descriptionKey": "mock.va-p26b.interim.description",
|
||||
"id": "va-p26b-customer-portal-interim",
|
||||
"registries": {
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant",
|
||||
"id": "portal",
|
||||
"labelKey": "mock.va-p26a.interim.nav.dashboard"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/upload",
|
||||
"id": "upload",
|
||||
"labelKey": "mock.va-p26b.interim.nav.upload"
|
||||
}
|
||||
],
|
||||
"portals": [
|
||||
{
|
||||
"id": "customer-portal-p26b",
|
||||
"labelKey": "mock.va-p26b.interim.title",
|
||||
"order": 1,
|
||||
"slot": "customer-portal"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant/upload",
|
||||
"id": "va-p26b-upload",
|
||||
"labelKey": "mock.va-p26b.interim.nav.upload"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/settings",
|
||||
"id": "va-p26b-settings",
|
||||
"labelKey": "mock.va-p26b.interim.nav.settings"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/settings/customer-portal",
|
||||
"id": "va-p26b-admin",
|
||||
"labelKey": "mock.va-p26b.interim.nav.admin"
|
||||
}
|
||||
]
|
||||
},
|
||||
"route": "/:tenant/upload",
|
||||
"state": {
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.va-p26b.interim.activity.upload",
|
||||
"meta": "multi-file + AV"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26b.interim.activity.complaint",
|
||||
"meta": "portal_form"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26b.interim.activity.subcontractor",
|
||||
"meta": "project-isolated"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26b.interim.activity.inbox",
|
||||
"meta": "7-day persistent"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26b.interim.activity.lifecycle",
|
||||
"meta": "export + delete"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.va-p26b.interim.metrics.routes",
|
||||
"trend": "flat",
|
||||
"value": "5"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26b.interim.metrics.viewModels",
|
||||
"trend": "flat",
|
||||
"value": "3"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26b.interim.metrics.inbox",
|
||||
"trend": "flat",
|
||||
"value": "2"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoutes": [
|
||||
"/:tenant/upload",
|
||||
"/:tenant/projects/:projectId",
|
||||
"/:tenant/settings",
|
||||
"/:tenant/settings/customer-portal",
|
||||
"/:tenant/customer-portal/inbox"
|
||||
],
|
||||
"surfaces": [
|
||||
"interactions",
|
||||
"lifecycle",
|
||||
"admin"
|
||||
],
|
||||
"viewModels": {
|
||||
"admin": {
|
||||
"data": {
|
||||
"accessRows": [
|
||||
{
|
||||
"active": true,
|
||||
"canSeeOtherSubcontractors": false,
|
||||
"canUpload": true,
|
||||
"companyName": "Subbau GmbH",
|
||||
"id": "access-1",
|
||||
"portalUserId": "portal-subcontractor",
|
||||
"portalUserLabel": "Sven Subunternehmen",
|
||||
"projectId": "project-1",
|
||||
"projectLabel": "P-1001 · Heizung Familie Kunde",
|
||||
"roleLabel": "Elektrik",
|
||||
"validUntil": "2026-08-16T23:59:59.999Z",
|
||||
"viewerKind": "subcontractor",
|
||||
"visibleDocumentTypes": [
|
||||
"installation_plan"
|
||||
],
|
||||
"visibleStageIds": [
|
||||
"stage-installation"
|
||||
]
|
||||
}
|
||||
],
|
||||
"autoReleaseRules": [
|
||||
{
|
||||
"documentType": "invoice",
|
||||
"enabled": true,
|
||||
"id": "rule-1",
|
||||
"projectType": "installation"
|
||||
}
|
||||
],
|
||||
"configuration": {
|
||||
"autoReleaseRuleCount": 1,
|
||||
"brandingLogoConfigured": false,
|
||||
"brandingLogoPreviewHref": null,
|
||||
"emailTemplateHref": "/acme/settings/customer-portal/email-templates",
|
||||
"enabledProjectTypes": [
|
||||
"installation"
|
||||
],
|
||||
"imprintUrl": "https://example.test/impressum",
|
||||
"inactivityDisableMonths": 24,
|
||||
"legalLinksComplete": true,
|
||||
"lifecycleMode": "project",
|
||||
"privacyUrl": "https://example.test/datenschutz",
|
||||
"projectAutoCloseMonths": 12,
|
||||
"published": true,
|
||||
"statusEmailsEnabled": true,
|
||||
"termsUrl": "https://example.test/agb",
|
||||
"uploadMaxFiles": 10,
|
||||
"uploadMaxFileSizeBytes": 52428800,
|
||||
"visibleStageCount": 1
|
||||
},
|
||||
"frozen": false,
|
||||
"inbox": [
|
||||
{
|
||||
"bundledCount": 1,
|
||||
"expiresAt": "2026-07-23T09:45:00.000Z",
|
||||
"id": "inbox-complaint",
|
||||
"kind": "complaint",
|
||||
"occurredAt": "2026-07-16T09:45:00.000Z",
|
||||
"ownerLabel": "Projektleitung",
|
||||
"portalUserLabel": "Karla Kunde",
|
||||
"priority": 400,
|
||||
"projectLabel": "P-1001 · Heizung Familie Kunde",
|
||||
"status": "open",
|
||||
"titleKey": "customerPortal.admin.inbox.kinds.complaint"
|
||||
},
|
||||
{
|
||||
"bundledCount": 3,
|
||||
"expiresAt": "2026-07-23T09:30:00.000Z",
|
||||
"id": "inbox-upload",
|
||||
"kind": "upload",
|
||||
"occurredAt": "2026-07-16T09:30:00.000Z",
|
||||
"ownerLabel": null,
|
||||
"portalUserLabel": "Karla Kunde",
|
||||
"priority": 300,
|
||||
"projectLabel": "P-1001 · Heizung Familie Kunde",
|
||||
"status": "open",
|
||||
"titleKey": "customerPortal.admin.inbox.kinds.upload"
|
||||
}
|
||||
],
|
||||
"permissions": {
|
||||
"canAdminister": true,
|
||||
"canDeleteUsers": true,
|
||||
"canManageAccess": true,
|
||||
"canManageActivity": true,
|
||||
"canManageUsers": true,
|
||||
"canRead": true,
|
||||
"canReadActivity": true
|
||||
},
|
||||
"projectOptions": [
|
||||
{
|
||||
"id": "project-1",
|
||||
"label": "P-1001 · Heizung Familie Kunde",
|
||||
"projectType": "installation"
|
||||
}
|
||||
],
|
||||
"stages": [
|
||||
{
|
||||
"customerLabel": "Montage vor Ort",
|
||||
"stageId": "stage-installation",
|
||||
"stageLabel": "Montage",
|
||||
"visible": true
|
||||
}
|
||||
],
|
||||
"users": [
|
||||
{
|
||||
"canResendInvitation": false,
|
||||
"email": "sven@example.test",
|
||||
"id": "portal-subcontractor",
|
||||
"kind": "subcontractor",
|
||||
"lastActivityAt": "2026-07-16T09:15:00.000Z",
|
||||
"name": "Sven Subunternehmen",
|
||||
"projectCount": 1,
|
||||
"status": "active"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"interactions": {
|
||||
"data": {
|
||||
"acceptedMimeTypes": [
|
||||
"image/jpeg",
|
||||
"application/pdf",
|
||||
"audio/mpeg"
|
||||
],
|
||||
"canSubmitComplaint": true,
|
||||
"canUpload": true,
|
||||
"complaintForm": {
|
||||
"fields": [
|
||||
{
|
||||
"key": "subject",
|
||||
"label": "Betreff",
|
||||
"options": [],
|
||||
"required": true,
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"key": "description",
|
||||
"label": "Beschreibung",
|
||||
"options": [],
|
||||
"required": true,
|
||||
"type": "textarea"
|
||||
}
|
||||
],
|
||||
"formId": "form-complaint",
|
||||
"formName": "Reklamation melden",
|
||||
"formSlug": "reklamation",
|
||||
"gdprConsentLabel": "Ich stimme der Verarbeitung zur Bearbeitung zu.",
|
||||
"submitAction": "/acme/projects/project-1/complaints/form-complaint",
|
||||
"submitLabel": "Reklamation senden"
|
||||
},
|
||||
"frozen": false,
|
||||
"maxFiles": 10,
|
||||
"maxFileSizeBytes": 52428800,
|
||||
"projectId": "project-1",
|
||||
"projectLabel": "P-1001 · Heizung Familie Kunde",
|
||||
"uploadAction": "/acme/projects/project-1/upload",
|
||||
"uploads": [
|
||||
{
|
||||
"category": "photo",
|
||||
"createdAt": "2026-07-16T09:30:00.000Z",
|
||||
"errorMessageKey": null,
|
||||
"filename": "baustelle.jpg",
|
||||
"id": "upload-1",
|
||||
"sizeBytes": 1572864,
|
||||
"status": "clean"
|
||||
}
|
||||
],
|
||||
"viewerKind": "customer"
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"lifecycle": {
|
||||
"data": {
|
||||
"actions": {
|
||||
"canCancelDeletion": false,
|
||||
"canRequestDeletion": true,
|
||||
"canRequestExport": true,
|
||||
"canUpdatePreferences": true
|
||||
},
|
||||
"deletionRequest": null,
|
||||
"exportJobs": [
|
||||
{
|
||||
"downloadHref": "/acme/exports/export-1",
|
||||
"expiresAt": "2026-07-17T08:00:00.000Z",
|
||||
"id": "export-1",
|
||||
"progressPercent": 100,
|
||||
"requestedAt": "2026-07-16T08:00:00.000Z",
|
||||
"status": "ready"
|
||||
}
|
||||
],
|
||||
"frozen": false,
|
||||
"notificationPreferences": [
|
||||
{
|
||||
"emailEnabled": true,
|
||||
"eventType": "status_mail",
|
||||
"mutedUntil": null
|
||||
},
|
||||
{
|
||||
"emailEnabled": true,
|
||||
"eventType": "lifecycle",
|
||||
"mutedUntil": null
|
||||
}
|
||||
],
|
||||
"profile": {
|
||||
"email": "karla@example.test",
|
||||
"locale": "de-DE",
|
||||
"name": "Karla Kunde",
|
||||
"phone": "+49 30 1234567"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"titleKey": "mock.va-p26b.interim.title"
|
||||
}
|
||||
;
|
||||
export default mockPage;
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"pageId": "va-p26b-customer-portal-interim",
|
||||
"route": "/:tenant/upload",
|
||||
"status": "ready",
|
||||
"htmlHash": "4cf0d49c",
|
||||
"moduleHash": "c82bfbb9",
|
||||
"stateHash": "13cab7ae",
|
||||
"metrics": {
|
||||
"htmlBytes": 18170,
|
||||
"moduleBytes": 10214,
|
||||
"sidebarItems": 3,
|
||||
"breadcrumbItems": 2,
|
||||
"mobileItems": 0,
|
||||
"portalItems": 1
|
||||
}
|
||||
}
|
||||
+234
@@ -0,0 +1,234 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>UI Mock: mock.va-p26c.interim.title</title>
|
||||
<style>
|
||||
:root { color-scheme: light; --bg: #f6f7f9; --panel: #ffffff; --ink: #1f2937; --muted: #64748b; --line: #d9e0e8; --accent: #2563eb; --ok: #0f766e; }
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
|
||||
.mock-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
|
||||
.mock-nav { border-right: 1px solid var(--line); background: #eef2f7; padding: 24px 18px; }
|
||||
.mock-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
||||
.mock-link { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
|
||||
.mock-link[data-active='true'] { background: var(--panel); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
|
||||
.mock-main { padding: 32px; }
|
||||
.mock-breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
|
||||
.mock-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
|
||||
.mock-title { margin: 0; font-size: 28px; line-height: 1.2; }
|
||||
.mock-description { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
|
||||
.mock-status { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px 12px; color: var(--ok); font-weight: 700; }
|
||||
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
|
||||
.mock-card, .mock-state { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; }
|
||||
.mock-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
|
||||
.mock-card-value { margin: 0; font-size: 24px; font-weight: 750; }
|
||||
.mock-card-trend { margin-top: 10px; color: var(--ok); font-size: 12px; text-transform: uppercase; }
|
||||
.mock-activity { margin: 0; padding: 0; list-style: none; }
|
||||
.mock-activity li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
|
||||
.mock-activity li:first-child { border-top: 0; padding-top: 0; }
|
||||
.mock-state pre { margin: 12px 0 0; white-space: pre-wrap; color: #334155; }
|
||||
</style>
|
||||
</head>
|
||||
<body data-ui-mock-route="/:tenant/settings/customer-portal/domain" data-ui-mock-status="ready">
|
||||
<div class="mock-shell" data-ui-mock-page="va-p26c-customer-portal-domain-interim">
|
||||
<nav class="mock-nav" aria-label="Mock sidebar">
|
||||
<div class="mock-brand">HiveGrid mock</div>
|
||||
<a class="mock-link" data-active="true" href="/:tenant/settings/customer-portal/domain">mock.va-p26c.interim.nav.domain</a>
|
||||
</nav>
|
||||
<main class="mock-main">
|
||||
<div class="mock-breadcrumbs"><span>settings.title</span><span>/</span><span>customerPortal.admin.title</span><span>/</span><span>customerPortal.domain.title</span></div>
|
||||
<header class="mock-header">
|
||||
<div>
|
||||
<h1 class="mock-title">mock.va-p26c.interim.title</h1>
|
||||
<p class="mock-description">mock.va-p26c.interim.description</p>
|
||||
</div>
|
||||
<div class="mock-status">Ready</div>
|
||||
</header>
|
||||
<section class="mock-grid" aria-label="Mock metrics">
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">mock.va-p26c.interim.metrics.entitlement</p>
|
||||
<p class="mock-card-value">base_plan</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">mock.va-p26c.interim.metrics.domain</p>
|
||||
<p class="mock-card-value">cooldown</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
<article class="mock-card">
|
||||
<p class="mock-card-label">mock.va-p26c.interim.metrics.switch</p>
|
||||
<p class="mock-card-value">dns_verified</p>
|
||||
<div class="mock-card-trend">Flat</div>
|
||||
</article>
|
||||
</section>
|
||||
<section class="mock-card" aria-label="Mock activity">
|
||||
<ul class="mock-activity">
|
||||
<li><span>mock.va-p26c.interim.activity.checkout</span><span>recurring + claim-bound one-off</span></li>
|
||||
<li><span>mock.va-p26c.interim.activity.dns</span><span>TXT + CNAME</span></li>
|
||||
<li><span>mock.va-p26c.interim.activity.fallback</span><span>standard-host</span></li>
|
||||
<li><span>mock.va-p26c.interim.activity.killSwitch</span><span>fail-safe</span></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="mock-state" aria-label="Mock state payload">
|
||||
<strong>Serialized state</strong>
|
||||
<pre>{
|
||||
"activity": 4,
|
||||
"cards": 3,
|
||||
"status": "Ready"
|
||||
}</pre>
|
||||
</section>
|
||||
<script type="application/json" id="mock-page-state">{
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.va-p26c.interim.activity.checkout",
|
||||
"meta": "recurring + claim-bound one-off"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26c.interim.activity.dns",
|
||||
"meta": "TXT + CNAME"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26c.interim.activity.fallback",
|
||||
"meta": "standard-host"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26c.interim.activity.killSwitch",
|
||||
"meta": "fail-safe"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.va-p26c.interim.metrics.entitlement",
|
||||
"trend": "flat",
|
||||
"value": "base_plan"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26c.interim.metrics.domain",
|
||||
"trend": "flat",
|
||||
"value": "cooldown"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26c.interim.metrics.switch",
|
||||
"trend": "flat",
|
||||
"value": "dns_verified"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/:tenant/settings/customer-portal/domain",
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"actions": {
|
||||
"canActivateSwitch": true,
|
||||
"canBuyDomainSetup": false,
|
||||
"canBuyPortal": false,
|
||||
"canCancelPortal": false,
|
||||
"canClaimDomain": false,
|
||||
"canReissueProof": false,
|
||||
"canRemove": false,
|
||||
"canRetry": false,
|
||||
"canSwitch": false,
|
||||
"canVerifyDns": false
|
||||
},
|
||||
"domain": {
|
||||
"certificateExpiresAt": null,
|
||||
"claimId": "claim-current",
|
||||
"cnameRecordName": "portal.alt-acme.de",
|
||||
"cnameRecordValue": "portal.hivegrid.de",
|
||||
"cnameVerified": true,
|
||||
"cooldownUntil": "2026-08-15T08:00:00.000Z",
|
||||
"customPortalUrl": null,
|
||||
"failureMessageKey": null,
|
||||
"generation": 3,
|
||||
"hostname": "portal.alt-acme.de",
|
||||
"killSwitchEnabled": false,
|
||||
"nextRetryAt": null,
|
||||
"nextRevalidationAt": null,
|
||||
"status": "cooldown",
|
||||
"txtRecordName": "_hivegrid-portal.portal.alt-acme.de",
|
||||
"txtRecordValue": null,
|
||||
"txtVerified": true
|
||||
},
|
||||
"domainSetup": {
|
||||
"active": true,
|
||||
"amountCents": 29999,
|
||||
"currency": "EUR",
|
||||
"includedByContract": false,
|
||||
"required": false,
|
||||
"scopeKey": "portal-domain:claim-switch"
|
||||
},
|
||||
"monthlyAddOn": {
|
||||
"active": true,
|
||||
"amountCents": 1999,
|
||||
"currency": "EUR",
|
||||
"required": false
|
||||
},
|
||||
"pendingSwitch": {
|
||||
"billingScopeKey": "portal-domain:claim-switch",
|
||||
"claimId": "claim-switch",
|
||||
"cnameRecordName": "portal.acme.de",
|
||||
"cnameRecordValue": "portal.hivegrid.de",
|
||||
"cnameVerified": true,
|
||||
"hostname": "portal.acme.de",
|
||||
"status": "dns_verified",
|
||||
"txtRecordName": "_hivegrid-portal.portal.acme.de",
|
||||
"txtRecordValue": "hivegrid-verification-proof-once",
|
||||
"txtVerified": true,
|
||||
"verificationExpiresAt": "2026-07-18T08:00:00.000Z"
|
||||
},
|
||||
"portalEntitled": true,
|
||||
"portalEntitlementSource": "base_plan",
|
||||
"readOnly": false,
|
||||
"standardPortalUrl": "https://portal.hivegrid.de/acme",
|
||||
"timeline": [
|
||||
{
|
||||
"id": "event-dns",
|
||||
"labelKey": "customerPortal.domain.timeline.dnsVerified",
|
||||
"occurredAt": "2026-07-16T08:30:00.000Z",
|
||||
"tone": "positive"
|
||||
},
|
||||
{
|
||||
"id": "event-claim",
|
||||
"labelKey": "customerPortal.domain.timeline.claimed",
|
||||
"occurredAt": "2026-07-16T08:00:00.000Z",
|
||||
"tone": "neutral"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
}</script>
|
||||
<script type="application/json" id="mock-page-registries">{
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant/settings",
|
||||
"id": "settings",
|
||||
"labelKey": "settings.title"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/settings/customer-portal",
|
||||
"id": "customer-portal",
|
||||
"labelKey": "customerPortal.admin.title"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/settings/customer-portal/domain",
|
||||
"id": "domain",
|
||||
"labelKey": "customerPortal.domain.title"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant/settings/customer-portal/domain",
|
||||
"id": "va-p26c-domain-admin",
|
||||
"labelKey": "mock.va-p26c.interim.nav.domain",
|
||||
"permission": "portal.admin"
|
||||
}
|
||||
]
|
||||
}</script>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+159
@@ -0,0 +1,159 @@
|
||||
export const mockPage =
|
||||
{
|
||||
"descriptionKey": "mock.va-p26c.interim.description",
|
||||
"id": "va-p26c-customer-portal-domain-interim",
|
||||
"registries": {
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"href": "/:tenant/settings",
|
||||
"id": "settings",
|
||||
"labelKey": "settings.title"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/settings/customer-portal",
|
||||
"id": "customer-portal",
|
||||
"labelKey": "customerPortal.admin.title"
|
||||
},
|
||||
{
|
||||
"href": "/:tenant/settings/customer-portal/domain",
|
||||
"id": "domain",
|
||||
"labelKey": "customerPortal.domain.title"
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"href": "/:tenant/settings/customer-portal/domain",
|
||||
"id": "va-p26c-domain-admin",
|
||||
"labelKey": "mock.va-p26c.interim.nav.domain",
|
||||
"permission": "portal.admin"
|
||||
}
|
||||
]
|
||||
},
|
||||
"route": "/:tenant/settings/customer-portal/domain",
|
||||
"state": {
|
||||
"data": {
|
||||
"activity": [
|
||||
{
|
||||
"labelKey": "mock.va-p26c.interim.activity.checkout",
|
||||
"meta": "recurring + claim-bound one-off"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26c.interim.activity.dns",
|
||||
"meta": "TXT + CNAME"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26c.interim.activity.fallback",
|
||||
"meta": "standard-host"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26c.interim.activity.killSwitch",
|
||||
"meta": "fail-safe"
|
||||
}
|
||||
],
|
||||
"cards": [
|
||||
{
|
||||
"labelKey": "mock.va-p26c.interim.metrics.entitlement",
|
||||
"trend": "flat",
|
||||
"value": "base_plan"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26c.interim.metrics.domain",
|
||||
"trend": "flat",
|
||||
"value": "cooldown"
|
||||
},
|
||||
{
|
||||
"labelKey": "mock.va-p26c.interim.metrics.switch",
|
||||
"trend": "flat",
|
||||
"value": "dns_verified"
|
||||
}
|
||||
],
|
||||
"designStatus": "interim",
|
||||
"screenRoute": "/:tenant/settings/customer-portal/domain",
|
||||
"viewModel": {
|
||||
"data": {
|
||||
"actions": {
|
||||
"canActivateSwitch": true,
|
||||
"canBuyDomainSetup": false,
|
||||
"canBuyPortal": false,
|
||||
"canCancelPortal": false,
|
||||
"canClaimDomain": false,
|
||||
"canReissueProof": false,
|
||||
"canRemove": false,
|
||||
"canRetry": false,
|
||||
"canSwitch": false,
|
||||
"canVerifyDns": false
|
||||
},
|
||||
"domain": {
|
||||
"certificateExpiresAt": null,
|
||||
"claimId": "claim-current",
|
||||
"cnameRecordName": "portal.alt-acme.de",
|
||||
"cnameRecordValue": "portal.hivegrid.de",
|
||||
"cnameVerified": true,
|
||||
"cooldownUntil": "2026-08-15T08:00:00.000Z",
|
||||
"customPortalUrl": null,
|
||||
"failureMessageKey": null,
|
||||
"generation": 3,
|
||||
"hostname": "portal.alt-acme.de",
|
||||
"killSwitchEnabled": false,
|
||||
"nextRetryAt": null,
|
||||
"nextRevalidationAt": null,
|
||||
"status": "cooldown",
|
||||
"txtRecordName": "_hivegrid-portal.portal.alt-acme.de",
|
||||
"txtRecordValue": null,
|
||||
"txtVerified": true
|
||||
},
|
||||
"domainSetup": {
|
||||
"active": true,
|
||||
"amountCents": 29999,
|
||||
"currency": "EUR",
|
||||
"includedByContract": false,
|
||||
"required": false,
|
||||
"scopeKey": "portal-domain:claim-switch"
|
||||
},
|
||||
"monthlyAddOn": {
|
||||
"active": true,
|
||||
"amountCents": 1999,
|
||||
"currency": "EUR",
|
||||
"required": false
|
||||
},
|
||||
"pendingSwitch": {
|
||||
"billingScopeKey": "portal-domain:claim-switch",
|
||||
"claimId": "claim-switch",
|
||||
"cnameRecordName": "portal.acme.de",
|
||||
"cnameRecordValue": "portal.hivegrid.de",
|
||||
"cnameVerified": true,
|
||||
"hostname": "portal.acme.de",
|
||||
"status": "dns_verified",
|
||||
"txtRecordName": "_hivegrid-portal.portal.acme.de",
|
||||
"txtRecordValue": "hivegrid-verification-proof-once",
|
||||
"txtVerified": true,
|
||||
"verificationExpiresAt": "2026-07-18T08:00:00.000Z"
|
||||
},
|
||||
"portalEntitled": true,
|
||||
"portalEntitlementSource": "base_plan",
|
||||
"readOnly": false,
|
||||
"standardPortalUrl": "https://portal.hivegrid.de/acme",
|
||||
"timeline": [
|
||||
{
|
||||
"id": "event-dns",
|
||||
"labelKey": "customerPortal.domain.timeline.dnsVerified",
|
||||
"occurredAt": "2026-07-16T08:30:00.000Z",
|
||||
"tone": "positive"
|
||||
},
|
||||
{
|
||||
"id": "event-claim",
|
||||
"labelKey": "customerPortal.domain.timeline.claimed",
|
||||
"occurredAt": "2026-07-16T08:00:00.000Z",
|
||||
"tone": "neutral"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": "ready"
|
||||
}
|
||||
},
|
||||
"status": "ready"
|
||||
},
|
||||
"titleKey": "mock.va-p26c.interim.title"
|
||||
}
|
||||
;
|
||||
export default mockPage;
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"pageId": "va-p26c-customer-portal-domain-interim",
|
||||
"route": "/:tenant/settings/customer-portal/domain",
|
||||
"status": "ready",
|
||||
"htmlHash": "ffa6329f",
|
||||
"moduleHash": "1170e598",
|
||||
"stateHash": "b609d8c6",
|
||||
"metrics": {
|
||||
"htmlBytes": 11288,
|
||||
"moduleBytes": 4973,
|
||||
"sidebarItems": 1,
|
||||
"breadcrumbItems": 3,
|
||||
"mobileItems": 0,
|
||||
"portalItems": 0
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user