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

184 lines
5.6 KiB
TypeScript

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;