Combine into one application chat, inbox and home (#9865)

Signed-off-by: Artem Savchenko <armisav@gmail.com>
This commit is contained in:
Artyom Savchenko
2025-09-16 13:15:56 +07:00
committed by GitHub
parent ed424c1ba8
commit 38bc85bf6c
158 changed files with 424 additions and 2534 deletions
@@ -20,7 +20,7 @@
import { NavLink } from '@hcengineering/view-resources'
import type { Application } from '@hcengineering/workbench'
import workbench from '@hcengineering/workbench'
import { inboxId } from '@hcengineering/inbox'
import { chatId } from '@hcengineering/chat'
import { getMetadata } from '@hcengineering/platform'
import AppItem from './AppItem.svelte'
@@ -113,7 +113,7 @@
icon={app.icon}
label={app.label}
navigator={app._id === active && $deviceInfo.navigator.visible}
notify={app.alias === inboxId && hasNewInboxNotifications}
notify={app.alias === chatId && hasNewInboxNotifications}
{...customProps}
on:click={getClickHandler(app, customProps)}
/>
@@ -145,7 +145,7 @@
icon={app.icon}
label={app.label}
navigator={app._id === active && $deviceInfo.navigator.visible}
notify={app.alias === inboxId && hasNewInboxNotifications}
notify={app.alias === chatId && hasNewInboxNotifications}
{...customProps}
on:click={getClickHandler(app, customProps)}
/>