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

258 lines
12 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 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>{
&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.index.activity.filters&quot;,
&quot;meta&quot;: &quot;all | unread | pinned | direct&quot;
},
{
&quot;labelKey&quot;: &quot;mock.ak-p15b.chat.index.activity.unread&quot;,
&quot;meta&quot;: &quot;3 unread | 1 mention&quot;
},
{
&quot;labelKey&quot;: &quot;mock.ak-p15b.chat.index.activity.navigation&quot;,
&quot;meta&quot;: &quot;chat.read_own_channels&quot;
}
],
&quot;cards&quot;: [
{
&quot;labelKey&quot;: &quot;mock.ak-p15b.chat.index.metrics.channels&quot;,
&quot;trend&quot;: &quot;flat&quot;,
&quot;value&quot;: &quot;2&quot;
},
{
&quot;labelKey&quot;: &quot;mock.ak-p15b.chat.index.metrics.unread&quot;,
&quot;trend&quot;: &quot;flat&quot;,
&quot;value&quot;: &quot;3&quot;
},
{
&quot;labelKey&quot;: &quot;mock.ak-p15b.chat.index.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&quot;,
&quot;viewModel&quot;: {
&quot;data&quot;: {
&quot;discoverHeadlineKey&quot;: &quot;chat.channelList.discover.headline&quot;,
&quot;discoverNextCursor&quot;: null,
&quot;discoverRows&quot;: [
{
&quot;avatar&quot;: {
&quot;fallbackLabel&quot;: &quot;SA&quot;,
&quot;imageUrl&quot;: null
},
&quot;canJoin&quot;: true,
&quot;description&quot;: &quot;Offener Channel für das gesamte Serviceteam&quot;,
&quot;detailHref&quot;: null,
&quot;id&quot;: &quot;chat-public-service&quot;,
&quot;isJoined&quot;: false,
&quot;joinHref&quot;: &quot;/:tenant/chat&quot;,
&quot;memberCount&quot;: 12,
&quot;title&quot;: &quot;Service-Austausch&quot;
}
],
&quot;emptyBodyKey&quot;: &quot;chat.channelList.empty.body&quot;,
&quot;emptyHeadlineKey&quot;: &quot;chat.channelList.empty.headline&quot;,
&quot;filter&quot;: {
&quot;query&quot;: &quot;&quot;,
&quot;showArchived&quot;: false,
&quot;view&quot;: &quot;all&quot;
},
&quot;hrefs&quot;: {
&quot;archived&quot;: &quot;/:tenant/chat?archived=true&quot;,
&quot;mentions&quot;: &quot;/:tenant/chat/mentions&quot;,
&quot;newChannel&quot;: &quot;/:tenant/chat/new&quot;,
&quot;newDm&quot;: &quot;/:tenant/chat/new&quot;,
&quot;search&quot;: &quot;/:tenant/chat/search&quot;
},
&quot;nextCursor&quot;: null,
&quot;noResultsBodyKey&quot;: &quot;chat.channelList.noResults.body&quot;,
&quot;noResultsHeadlineKey&quot;: &quot;chat.channelList.noResults.headline&quot;,
&quot;permissions&quot;: {
&quot;canAdmin&quot;: false,
&quot;canCreateDm&quot;: false,
&quot;canCreateGroup&quot;: false,
&quot;canDiscover&quot;: true,
&quot;canSearch&quot;: true,
&quot;canViewArchived&quot;: true,
&quot;canViewMentions&quot;: false,
&quot;canWrite&quot;: true
},
&quot;rows&quot;: [
{
&quot;archivedAtIso&quot;: null,
&quot;avatar&quot;: {
&quot;fallbackLabel&quot;: &quot;MT&quot;,
&quot;imageUrl&quot;: null
},
&quot;canManage&quot;: false,
&quot;detailHref&quot;: &quot;/:tenant/chat/chat-group-montage&quot;,
&quot;hasMention&quot;: true,
&quot;hasUnread&quot;: true,
&quot;id&quot;: &quot;chat-group-montage&quot;,
&quot;isArchived&quot;: false,
&quot;isMuted&quot;: false,
&quot;isPinned&quot;: true,
&quot;isPrivate&quot;: true,
&quot;kind&quot;: &quot;group&quot;,
&quot;kindLabelKey&quot;: &quot;chat.channel.kind.group&quot;,
&quot;lastMessage&quot;: {
&quot;authorLabel&quot;: &quot;Mara Klein&quot;,
&quot;createdAtIso&quot;: &quot;2026-07-15T09:30:00.000Z&quot;,
&quot;snippet&quot;: &quot;Material ist bestellt.&quot;,
&quot;systemEvent&quot;: null
},
&quot;memberCount&quot;: 4,
&quot;notificationPreference&quot;: &quot;all_messages&quot;,
&quot;project&quot;: null,
&quot;subtitle&quot;: &quot;Abstimmung für die laufenden Baustellen&quot;,
&quot;title&quot;: &quot;Montage-Team&quot;,
&quot;typingLabels&quot;: [],
&quot;unreadCount&quot;: 3
},
{
&quot;archivedAtIso&quot;: null,
&quot;avatar&quot;: {
&quot;fallbackLabel&quot;: &quot;MK&quot;,
&quot;imageUrl&quot;: null
},
&quot;canManage&quot;: false,
&quot;detailHref&quot;: &quot;/:tenant/chat/chat-dm-mara&quot;,
&quot;hasMention&quot;: false,
&quot;hasUnread&quot;: false,
&quot;id&quot;: &quot;chat-dm-mara&quot;,
&quot;isArchived&quot;: false,
&quot;isMuted&quot;: true,
&quot;isPinned&quot;: false,
&quot;isPrivate&quot;: true,
&quot;kind&quot;: &quot;dm&quot;,
&quot;kindLabelKey&quot;: &quot;chat.channel.kind.dm&quot;,
&quot;lastMessage&quot;: {
&quot;authorLabel&quot;: &quot;Mara Klein&quot;,
&quot;createdAtIso&quot;: &quot;2026-07-15T08:45:00.000Z&quot;,
&quot;snippet&quot;: &quot;Bis später auf der Baustelle.&quot;,
&quot;systemEvent&quot;: null
},
&quot;memberCount&quot;: 2,
&quot;notificationPreference&quot;: &quot;muted&quot;,
&quot;project&quot;: null,
&quot;subtitle&quot;: null,
&quot;title&quot;: &quot;Mara Klein&quot;,
&quot;typingLabels&quot;: [],
&quot;unreadCount&quot;: 0
}
],
&quot;totals&quot;: {
&quot;mentions&quot;: 1,
&quot;unread&quot;: 3
}
},
&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;sidebar&quot;: [
{
&quot;href&quot;: &quot;/:tenant/chat&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>