diff --git a/dev/prod/public/config-dev.json b/dev/prod/public/config-dev.json new file mode 100644 index 0000000000..0186e8c0d1 --- /dev/null +++ b/dev/prod/public/config-dev.json @@ -0,0 +1,6 @@ +{ + "ACCOUNTS_URL":"https://account.hc.engineering", + "COLLABORATOR_URL": "wss://collaborator.hc.engineering", + "UPLOAD_URL":"/files", + "MODEL_VERSION": null +} \ No newline at end of file diff --git a/models/recruit/src/index.ts b/models/recruit/src/index.ts index 85ad506509..f7979fdb08 100644 --- a/models/recruit/src/index.ts +++ b/models/recruit/src/index.ts @@ -398,6 +398,7 @@ export function createModel (builder: Builder): void { key: '@applications', label: recruit.string.Applications }, + 'comments', '$lookup.company', '$lookup.company.$lookup.channels', 'location', @@ -427,6 +428,7 @@ export function createModel (builder: Builder): void { key: '@applications', label: recruit.string.Applications }, + 'comments', '$lookup.channels', { key: '@applications.modifiedOn', diff --git a/plugins/activity-resources/src/components/Activity.svelte b/plugins/activity-resources/src/components/Activity.svelte index 7eae703ab8..424c2b913f 100644 --- a/plugins/activity-resources/src/components/Activity.svelte +++ b/plugins/activity-resources/src/components/Activity.svelte @@ -19,7 +19,7 @@ import { getResource, IntlString } from '@hcengineering/platform' import { createQuery, getClient } from '@hcengineering/presentation' import notification from '@hcengineering/notification' - import { Component, Grid, IconActivity, Label, Scroller, Button, showPopup } from '@hcengineering/ui' + import { Component, Grid, IconActivity, Label, Scroller, Button, showPopup, Spinner } from '@hcengineering/ui' import { ActivityKey, activityKey, DisplayTx, newActivity } from '../activity' import TxView from './TxView.svelte' import { filterCollectionTxes } from '../utils' @@ -78,11 +78,18 @@ $: viewlets = new Map(allViewlets.map((r) => [activityKey(r.objectClass, r.txClass), r])) + let loading = false + function updateTxes (object: Doc): void { + loading = true activityQuery.update( object, (result) => { txes = filterCollectionTxes(result) + + if (txes.length > 0) { + loading = false + } }, SortingOrder.Descending, editableMap ?? new Map() @@ -141,7 +148,14 @@