mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-07 16:30:49 +00:00
Application header from the configuration (#4386)
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
parent
c6d6b48318
commit
0eb07283e5
@ -207,6 +207,7 @@ export async function configurePlatform() {
|
|||||||
// Disable for now, since it causes performance issues on linux/docker/kubernetes boxes for now.
|
// Disable for now, since it causes performance issues on linux/docker/kubernetes boxes for now.
|
||||||
setMetadata(client.metadata.UseProtocolCompression, true)
|
setMetadata(client.metadata.UseProtocolCompression, true)
|
||||||
|
|
||||||
|
setMetadata(uiPlugin.metadata.PlatformTitle, config.TITLE ?? 'Platform')
|
||||||
setMetadata(workbench.metadata.PlatformTitle, config.TITLE ?? 'Platform')
|
setMetadata(workbench.metadata.PlatformTitle, config.TITLE ?? 'Platform')
|
||||||
setDefaultLanguage(config.DEFAULT_LANGUAGE ?? 'en')
|
setDefaultLanguage(config.DEFAULT_LANGUAGE ?? 'en')
|
||||||
setMetadata(workbench.metadata.DefaultApplication, 'tracker')
|
setMetadata(workbench.metadata.DefaultApplication, 'tracker')
|
||||||
|
@ -167,7 +167,7 @@
|
|||||||
{:else if status.severity !== Severity.OK}
|
{:else if status.severity !== Severity.OK}
|
||||||
<StatusComponent {status} />
|
<StatusComponent {status} />
|
||||||
{:else}
|
{:else}
|
||||||
<span class="logo-status">Zenflow</span>
|
<span class="logo-status">{getMetadata(uiPlugin.metadata.PlatformTitle)}</span>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-row-reverse" style:-webkit-app-region={'no-drag'}>
|
<div class="flex-row-reverse" style:-webkit-app-region={'no-drag'}>
|
||||||
|
@ -101,7 +101,8 @@ export const uis = plugin(uiId, {
|
|||||||
metadata: {
|
metadata: {
|
||||||
DefaultApplication: '' as Metadata<AnyComponent>,
|
DefaultApplication: '' as Metadata<AnyComponent>,
|
||||||
Routes: '' as Metadata<Map<string, AnyComponent>>,
|
Routes: '' as Metadata<Map<string, AnyComponent>>,
|
||||||
Languages: '' as Metadata<string[]>
|
Languages: '' as Metadata<string[]>,
|
||||||
|
PlatformTitle: '' as Metadata<string>
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -102,6 +102,7 @@ export async function configurePlatform() {
|
|||||||
addLocation(calendarId, () => import(/* webpackChunkName: "calendar" */ '@hcengineering/calendar-resources'))
|
addLocation(calendarId, () => import(/* webpackChunkName: "calendar" */ '@hcengineering/calendar-resources'))
|
||||||
|
|
||||||
addLocation(trackerId, () => import(/* webpackChunkName: "tracker" */ '@hcengineering/tracker-resources'))
|
addLocation(trackerId, () => import(/* webpackChunkName: "tracker" */ '@hcengineering/tracker-resources'))
|
||||||
|
setMetadata(uiPlugin.metadata.PlatformTitle, 'Tracker')
|
||||||
setMetadata(workbench.metadata.PlatformTitle, 'Tracker')
|
setMetadata(workbench.metadata.PlatformTitle, 'Tracker')
|
||||||
|
|
||||||
setMetadata(client.metadata.FilterModel, true)
|
setMetadata(client.metadata.FilterModel, true)
|
||||||
|
Loading…
Reference in New Issue
Block a user