diff --git a/packages/kanban/src/components/Kanban.svelte b/packages/kanban/src/components/Kanban.svelte index 52dee677b9..075edf6fa2 100644 --- a/packages/kanban/src/components/Kanban.svelte +++ b/packages/kanban/src/components/Kanban.svelte @@ -198,7 +198,6 @@ const stateObjs = getStateObjects(objects, st) if (stateObjs.length > 0) { pos = objects.findIndex((it) => it._id === stateObjs[0].it._id) - console.log('SELECT', '#1', pos) break } } diff --git a/packages/presentation/src/connect.ts b/packages/presentation/src/connect.ts index 66b64f357c..b210a86a51 100644 --- a/packages/presentation/src/connect.ts +++ b/packages/presentation/src/connect.ts @@ -45,7 +45,6 @@ export async function connect (title: string): Promise { } try { - console.log('checking model version') const version = await instance.findOne(core.class.Version, {}) console.log('Model version', version) diff --git a/packages/presentation/src/utils.ts b/packages/presentation/src/utils.ts index 7eb987a350..c8cb667463 100644 --- a/packages/presentation/src/utils.ts +++ b/packages/presentation/src/utils.ts @@ -82,7 +82,6 @@ export class LiveQuery { constructor (dontDestroy: boolean = false) { if (!dontDestroy) { onDestroy(() => { - console.log('onDestroy query') this.unsubscribe() }) } diff --git a/packages/text-editor/src/Completion.ts b/packages/text-editor/src/Completion.ts index 616598d00d..87a3eda121 100644 --- a/packages/text-editor/src/Completion.ts +++ b/packages/text-editor/src/Completion.ts @@ -125,7 +125,6 @@ export const Completion = Node.create({ }, renderHTML ({ node, HTMLAttributes }) { - console.log('render HTML', node, HTMLAttributes) return [ 'span', mergeAttributes({ 'data-type': this.name }, this.options.HTMLAttributes, HTMLAttributes), @@ -137,7 +136,6 @@ export const Completion = Node.create({ }, renderText ({ node }) { - console.log('render TEXT', node) return this.options.renderLabel({ options: this.options, node diff --git a/packages/text-editor/src/components/ReferenceInput.svelte b/packages/text-editor/src/components/ReferenceInput.svelte index c2a7d1828c..2db85597f7 100644 --- a/packages/text-editor/src/components/ReferenceInput.svelte +++ b/packages/text-editor/src/components/ReferenceInput.svelte @@ -167,7 +167,6 @@ } } function handleAction (a: RefAction, evt?: Event): void { - console.log('handle event', a.label) a.action(evt?.target as HTMLElement, editorHandler) } diff --git a/packages/ui/src/components/PanelInstance.svelte b/packages/ui/src/components/PanelInstance.svelte index b433cb9a5c..67f616f5fa 100644 --- a/packages/ui/src/components/PanelInstance.svelte +++ b/packages/ui/src/components/PanelInstance.svelte @@ -65,7 +65,6 @@ if (componentInstance && componentInstance.canClose) { if (!componentInstance.canClose()) { - console.log('CANT CLOSE') return } } diff --git a/plugins/attachment-resources/src/components/AttachmentRefInput.svelte b/plugins/attachment-resources/src/components/AttachmentRefInput.svelte index 9ee20e6b82..cc4b15c736 100644 --- a/plugins/attachment-resources/src/components/AttachmentRefInput.svelte +++ b/plugins/attachment-resources/src/components/AttachmentRefInput.svelte @@ -59,7 +59,6 @@ async function createAttachment (file: File) { try { const uuid = await uploadFile(file, { space, attachedTo: objectId }) - console.log('uploaded file uuid', uuid) const _id: Ref = generateId() attachments.set(_id, { _id, diff --git a/plugins/attachment-resources/src/components/Photos.svelte b/plugins/attachment-resources/src/components/Photos.svelte index 39f0c8fa67..ff6eac0ae6 100644 --- a/plugins/attachment-resources/src/components/Photos.svelte +++ b/plugins/attachment-resources/src/components/Photos.svelte @@ -48,7 +48,6 @@ loading++ try { const uuid = await uploadFile(file, { space, attachedTo: objectId }) - console.log('uploaded file uuid', uuid) client.addCollection(attachment.class.Photo, space, objectId, _class, 'photos', { name: file.name, file: uuid, diff --git a/plugins/attachment-resources/src/utils.ts b/plugins/attachment-resources/src/utils.ts index d4a76b3baa..cb9d7ebf0c 100644 --- a/plugins/attachment-resources/src/utils.ts +++ b/plugins/attachment-resources/src/utils.ts @@ -85,7 +85,6 @@ export async function createAttachments ( const file = list.item(index) if (file !== null) { const uuid = await uploadFile(file, { space, attachedTo: objectId }) - console.log('uploaded file uuid', uuid) await client.addCollection(attachment.class.Attachment, space, objectId, objectClass, 'attachments', { name: file.name, file: uuid, diff --git a/plugins/client-resources/src/connection.ts b/plugins/client-resources/src/connection.ts index 2890af047e..75b6e5c65a 100644 --- a/plugins/client-resources/src/connection.ts +++ b/plugins/client-resources/src/connection.ts @@ -140,7 +140,6 @@ class Connection implements ClientConnection { private async sendRequest (method: string, ...params: any[]): Promise { if (this.websocket === null) { - console.log('open connection from', method, params) this.websocket = await this.waitOpenConnection() } const id = this.lastId++ diff --git a/plugins/client-resources/src/index.ts b/plugins/client-resources/src/index.ts index 15037470ba..c44934080a 100644 --- a/plugins/client-resources/src/index.ts +++ b/plugins/client-resources/src/index.ts @@ -47,7 +47,6 @@ export default async () => { }, filterModel ? getPlugins() : undefined ) - console.log('client connection created') _token = token // Check if we had dev hook for client. diff --git a/plugins/gmail-resources/src/components/NewMessage.svelte b/plugins/gmail-resources/src/components/NewMessage.svelte index 9a6db2104b..1f60b52c11 100644 --- a/plugins/gmail-resources/src/components/NewMessage.svelte +++ b/plugins/gmail-resources/src/components/NewMessage.svelte @@ -91,7 +91,6 @@ try { const uploadFile = await getResource(attachmentP.helper.UploadFile) const uuid = await uploadFile(file, { space: plugin.space.Gmail, attachedTo: objectId }) - console.log('uploaded file uuid', uuid) await client.addCollection( attachmentP.class.Attachment, plugin.space.Gmail, diff --git a/plugins/recruit-resources/src/components/CreateCandidate.svelte b/plugins/recruit-resources/src/components/CreateCandidate.svelte index 8a11bd9eba..36c90c94a8 100644 --- a/plugins/recruit-resources/src/components/CreateCandidate.svelte +++ b/plugins/recruit-resources/src/components/CreateCandidate.svelte @@ -132,8 +132,6 @@ candidateData ) - console.log('resume name', resume.name) - if (resume.uuid !== undefined) { client.addCollection( attachment.class.Attachment, @@ -229,7 +227,6 @@ try { const doc = await recognizeDocument(token, fileUrl) - console.log('recognize:', doc) if (isUndef(object.title) && doc.title !== undefined) { object.title = doc.title @@ -333,8 +330,6 @@ if (file.type.includes('application/pdf')) { await recognize() } - - console.log('uploaded file uuid', resume.uuid) } catch (err: any) { setPlatformStatus(unknownError(err)) } finally { diff --git a/plugins/view-resources/src/utils.ts b/plugins/view-resources/src/utils.ts index 2f142d1b32..9dd60f47ed 100644 --- a/plugins/view-resources/src/utils.ts +++ b/plugins/view-resources/src/utils.ts @@ -216,7 +216,6 @@ export function buildConfigLookup ( } export async function buildModel (options: BuildModelOptions): Promise { - console.log('building table model for', options) // eslint-disable-next-line array-callback-return const model = options.keys .map((key) => (typeof key === 'string' ? { key: key } : key))