Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/ui-mock/visual-baseline/ak-p15b-chat-detail-interim.html
T

416 lines
19 KiB
HTML

<!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 -&gt; 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>{
&quot;activity&quot;: 3,
&quot;cards&quot;: 3,
&quot;status&quot;: &quot;Ready&quot;
}</pre>
</section>
<script type="application/json" id="mock-page-state">{
&quot;data&quot;: {
&quot;activity&quot;: [
{
&quot;labelKey&quot;: &quot;mock.ak-p15b.chat.detail.activity.optimisticSend&quot;,
&quot;meta&quot;: &quot;local_echo -&gt; http_ack&quot;
},
{
&quot;labelKey&quot;: &quot;mock.ak-p15b.chat.detail.activity.history&quot;,
&quot;meta&quot;: &quot;cursor-message-older&quot;
},
{
&quot;labelKey&quot;: &quot;mock.ak-p15b.chat.detail.activity.connection&quot;,
&quot;meta&quot;: &quot;online&quot;
}
],
&quot;cards&quot;: [
{
&quot;labelKey&quot;: &quot;mock.ak-p15b.chat.detail.metrics.messages&quot;,
&quot;trend&quot;: &quot;flat&quot;,
&quot;value&quot;: &quot;2&quot;
},
{
&quot;labelKey&quot;: &quot;mock.ak-p15b.chat.detail.metrics.pinned&quot;,
&quot;trend&quot;: &quot;flat&quot;,
&quot;value&quot;: &quot;0&quot;
},
{
&quot;labelKey&quot;: &quot;mock.ak-p15b.chat.detail.metrics.designStatus&quot;,
&quot;trend&quot;: &quot;flat&quot;,
&quot;value&quot;: &quot;interim&quot;
}
],
&quot;designStatus&quot;: &quot;interim&quot;,
&quot;screenRoute&quot;: &quot;/chat/:id&quot;,
&quot;viewModel&quot;: {
&quot;data&quot;: {
&quot;composer&quot;: {
&quot;canAttachFiles&quot;: false,
&quot;canMarkAsTask&quot;: false,
&quot;canMention&quot;: false,
&quot;canRecordVoice&quot;: false,
&quot;canSend&quot;: true,
&quot;disabledReasonKey&quot;: null,
&quot;draftStorageKey&quot;: &quot;chat:draft:v1:tenant-demo:user-raffael:chat-group-montage&quot;,
&quot;enabled&quot;: true,
&quot;maxBodyLength&quot;: 4000,
&quot;placeholderKey&quot;: &quot;chat.composer.placeholder&quot;
},
&quot;connection&quot;: {
&quot;canRetry&quot;: false,
&quot;reconnectAttempt&quot;: 0,
&quot;retryAtIso&quot;: null,
&quot;state&quot;: &quot;online&quot;,
&quot;stateLabelKey&quot;: &quot;chat.connection.online&quot;
},
&quot;emptyBodyKey&quot;: &quot;chat.channel.empty.body&quot;,
&quot;emptyHeadlineKey&quot;: &quot;chat.channel.empty.headline&quot;,
&quot;header&quot;: {
&quot;avatar&quot;: {
&quot;fallbackLabel&quot;: &quot;MT&quot;,
&quot;imageUrl&quot;: null
},
&quot;canManage&quot;: false,
&quot;dmAuditBannerKey&quot;: null,
&quot;id&quot;: &quot;chat-group-montage&quot;,
&quot;isArchived&quot;: false,
&quot;isAuditMode&quot;: false,
&quot;isPrivate&quot;: true,
&quot;kind&quot;: &quot;group&quot;,
&quot;memberCount&quot;: 4,
&quot;pinnedHref&quot;: null,
&quot;project&quot;: null,
&quot;searchHref&quot;: &quot;/:tenant/chat&quot;,
&quot;settingsHref&quot;: null,
&quot;subtitle&quot;: &quot;Abstimmung für die laufenden Baustellen&quot;,
&quot;title&quot;: &quot;Montage-Team&quot;
},
&quot;history&quot;: {
&quot;hasOlder&quot;: true,
&quot;olderCursor&quot;: &quot;cursor-message-older&quot;
},
&quot;loadOlderLabelKey&quot;: &quot;chat.channel.loadOlder&quot;,
&quot;messageGroups&quot;: [
{
&quot;dateIso&quot;: &quot;2026-07-15&quot;,
&quot;messages&quot;: [
{
&quot;actions&quot;: {
&quot;canDelete&quot;: false,
&quot;canEdit&quot;: false,
&quot;canMarkAsTask&quot;: false,
&quot;canPin&quot;: false,
&quot;canReact&quot;: false,
&quot;canReply&quot;: false
},
&quot;attachments&quot;: [],
&quot;author&quot;: {
&quot;avatar&quot;: {
&quot;fallbackLabel&quot;: &quot;MK&quot;,
&quot;imageUrl&quot;: null
},
&quot;displayName&quot;: &quot;Mara Klein&quot;,
&quot;isCurrentUser&quot;: false,
&quot;userId&quot;: &quot;user-mara&quot;
},
&quot;bodyFormat&quot;: &quot;markdown&quot;,
&quot;bodyMarkdown&quot;: &quot;Material ist bestellt.&quot;,
&quot;clientMessageId&quot;: &quot;client-mara-1&quot;,
&quot;createdAtIso&quot;: &quot;2026-07-15T09:30:00.000Z&quot;,
&quot;deletedAtIso&quot;: null,
&quot;deliveryState&quot;: &quot;sent&quot;,
&quot;deliveryStateKey&quot;: &quot;chat.message.delivery.sent&quot;,
&quot;editedAtIso&quot;: null,
&quot;failureReasonKey&quot;: null,
&quot;id&quot;: &quot;message-mara-1&quot;,
&quot;linkPreviews&quot;: [],
&quot;mentions&quot;: [],
&quot;parentMessageId&quot;: null,
&quot;pin&quot;: null,
&quot;reactions&quot;: [],
&quot;readAggregate&quot;: {
&quot;labelKey&quot;: &quot;chat.message.read.aggregate&quot;,
&quot;readCount&quot;: 2,
&quot;readerLabels&quot;: [
&quot;Raffael Sheikh&quot;,
&quot;Lena Werk&quot;
],
&quot;readerUserIds&quot;: [
&quot;user-raffael&quot;,
&quot;user-lena&quot;
],
&quot;recipientCount&quot;: 3
},
&quot;retryable&quot;: false,
&quot;source&quot;: &quot;persisted&quot;,
&quot;systemEvent&quot;: null,
&quot;thread&quot;: null,
&quot;tombstoneKey&quot;: null,
&quot;updatedAtIso&quot;: &quot;2026-07-15T09:30:00.000Z&quot;
},
{
&quot;actions&quot;: {
&quot;canDelete&quot;: false,
&quot;canEdit&quot;: false,
&quot;canMarkAsTask&quot;: false,
&quot;canPin&quot;: false,
&quot;canReact&quot;: false,
&quot;canReply&quot;: false
},
&quot;attachments&quot;: [],
&quot;author&quot;: {
&quot;avatar&quot;: {
&quot;fallbackLabel&quot;: &quot;RS&quot;,
&quot;imageUrl&quot;: null
},
&quot;displayName&quot;: &quot;Raffael Sheikh&quot;,
&quot;isCurrentUser&quot;: true,
&quot;userId&quot;: &quot;user-raffael&quot;
},
&quot;bodyFormat&quot;: &quot;markdown&quot;,
&quot;bodyMarkdown&quot;: &quot;Perfekt, danke!&quot;,
&quot;clientMessageId&quot;: &quot;client-raffael-1&quot;,
&quot;createdAtIso&quot;: &quot;2026-07-15T09:31:00.000Z&quot;,
&quot;deletedAtIso&quot;: null,
&quot;deliveryState&quot;: &quot;sent&quot;,
&quot;deliveryStateKey&quot;: &quot;chat.message.delivery.sent&quot;,
&quot;editedAtIso&quot;: null,
&quot;failureReasonKey&quot;: null,
&quot;id&quot;: &quot;message-raffael-1&quot;,
&quot;linkPreviews&quot;: [],
&quot;mentions&quot;: [],
&quot;parentMessageId&quot;: null,
&quot;pin&quot;: null,
&quot;reactions&quot;: [],
&quot;readAggregate&quot;: {
&quot;labelKey&quot;: &quot;chat.message.read.aggregate&quot;,
&quot;readCount&quot;: 0,
&quot;readerLabels&quot;: [],
&quot;readerUserIds&quot;: [],
&quot;recipientCount&quot;: 3
},
&quot;retryable&quot;: false,
&quot;source&quot;: &quot;http_ack&quot;,
&quot;systemEvent&quot;: null,
&quot;thread&quot;: null,
&quot;tombstoneKey&quot;: null,
&quot;updatedAtIso&quot;: &quot;2026-07-15T09:31:01.000Z&quot;
}
]
}
],
&quot;messages&quot;: [
{
&quot;actions&quot;: {
&quot;canDelete&quot;: false,
&quot;canEdit&quot;: false,
&quot;canMarkAsTask&quot;: false,
&quot;canPin&quot;: false,
&quot;canReact&quot;: false,
&quot;canReply&quot;: false
},
&quot;attachments&quot;: [],
&quot;author&quot;: {
&quot;avatar&quot;: {
&quot;fallbackLabel&quot;: &quot;MK&quot;,
&quot;imageUrl&quot;: null
},
&quot;displayName&quot;: &quot;Mara Klein&quot;,
&quot;isCurrentUser&quot;: false,
&quot;userId&quot;: &quot;user-mara&quot;
},
&quot;bodyFormat&quot;: &quot;markdown&quot;,
&quot;bodyMarkdown&quot;: &quot;Material ist bestellt.&quot;,
&quot;clientMessageId&quot;: &quot;client-mara-1&quot;,
&quot;createdAtIso&quot;: &quot;2026-07-15T09:30:00.000Z&quot;,
&quot;deletedAtIso&quot;: null,
&quot;deliveryState&quot;: &quot;sent&quot;,
&quot;deliveryStateKey&quot;: &quot;chat.message.delivery.sent&quot;,
&quot;editedAtIso&quot;: null,
&quot;failureReasonKey&quot;: null,
&quot;id&quot;: &quot;message-mara-1&quot;,
&quot;linkPreviews&quot;: [],
&quot;mentions&quot;: [],
&quot;parentMessageId&quot;: null,
&quot;pin&quot;: null,
&quot;reactions&quot;: [],
&quot;readAggregate&quot;: {
&quot;labelKey&quot;: &quot;chat.message.read.aggregate&quot;,
&quot;readCount&quot;: 2,
&quot;readerLabels&quot;: [
&quot;Raffael Sheikh&quot;,
&quot;Lena Werk&quot;
],
&quot;readerUserIds&quot;: [
&quot;user-raffael&quot;,
&quot;user-lena&quot;
],
&quot;recipientCount&quot;: 3
},
&quot;retryable&quot;: false,
&quot;source&quot;: &quot;persisted&quot;,
&quot;systemEvent&quot;: null,
&quot;thread&quot;: null,
&quot;tombstoneKey&quot;: null,
&quot;updatedAtIso&quot;: &quot;2026-07-15T09:30:00.000Z&quot;
},
{
&quot;actions&quot;: {
&quot;canDelete&quot;: false,
&quot;canEdit&quot;: false,
&quot;canMarkAsTask&quot;: false,
&quot;canPin&quot;: false,
&quot;canReact&quot;: false,
&quot;canReply&quot;: false
},
&quot;attachments&quot;: [],
&quot;author&quot;: {
&quot;avatar&quot;: {
&quot;fallbackLabel&quot;: &quot;RS&quot;,
&quot;imageUrl&quot;: null
},
&quot;displayName&quot;: &quot;Raffael Sheikh&quot;,
&quot;isCurrentUser&quot;: true,
&quot;userId&quot;: &quot;user-raffael&quot;
},
&quot;bodyFormat&quot;: &quot;markdown&quot;,
&quot;bodyMarkdown&quot;: &quot;Perfekt, danke!&quot;,
&quot;clientMessageId&quot;: &quot;client-raffael-1&quot;,
&quot;createdAtIso&quot;: &quot;2026-07-15T09:31:00.000Z&quot;,
&quot;deletedAtIso&quot;: null,
&quot;deliveryState&quot;: &quot;sent&quot;,
&quot;deliveryStateKey&quot;: &quot;chat.message.delivery.sent&quot;,
&quot;editedAtIso&quot;: null,
&quot;failureReasonKey&quot;: null,
&quot;id&quot;: &quot;message-raffael-1&quot;,
&quot;linkPreviews&quot;: [],
&quot;mentions&quot;: [],
&quot;parentMessageId&quot;: null,
&quot;pin&quot;: null,
&quot;reactions&quot;: [],
&quot;readAggregate&quot;: {
&quot;labelKey&quot;: &quot;chat.message.read.aggregate&quot;,
&quot;readCount&quot;: 0,
&quot;readerLabels&quot;: [],
&quot;readerUserIds&quot;: [],
&quot;recipientCount&quot;: 3
},
&quot;retryable&quot;: false,
&quot;source&quot;: &quot;http_ack&quot;,
&quot;systemEvent&quot;: null,
&quot;thread&quot;: null,
&quot;tombstoneKey&quot;: null,
&quot;updatedAtIso&quot;: &quot;2026-07-15T09:31:01.000Z&quot;
}
],
&quot;newMessagesLabelKey&quot;: &quot;chat.channel.newMessages&quot;,
&quot;pinnedMessages&quot;: [],
&quot;presence&quot;: [],
&quot;typingLabels&quot;: [
&quot;Mara Klein&quot;
]
},
&quot;status&quot;: &quot;ready&quot;
}
},
&quot;status&quot;: &quot;ready&quot;
}</script>
<script type="application/json" id="mock-page-registries">{
&quot;breadcrumbs&quot;: [
{
&quot;href&quot;: &quot;/:tenant/chat&quot;,
&quot;id&quot;: &quot;chat&quot;,
&quot;labelKey&quot;: &quot;mock.ak-p15b.chat.nav.title&quot;,
&quot;permission&quot;: &quot;chat.read_own_channels&quot;
},
{
&quot;href&quot;: &quot;/:tenant/chat/:id&quot;,
&quot;id&quot;: &quot;chat-detail&quot;,
&quot;labelKey&quot;: &quot;mock.ak-p15b.chat.breadcrumb.detail&quot;,
&quot;permission&quot;: &quot;chat.read_own_channels&quot;
}
],
&quot;sidebar&quot;: [
{
&quot;href&quot;: &quot;/:tenant/chat/:id&quot;,
&quot;id&quot;: &quot;ak-p15b-chat&quot;,
&quot;labelKey&quot;: &quot;mock.ak-p15b.chat.nav.title&quot;,
&quot;permission&quot;: &quot;chat.read_own_channels&quot;
}
]
}</script>
</main>
</div>
</body>
</html>