hcengineering / hcengineering/platform

Dialog for adding a link to the chat does not close

Open
#8,849 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
27.7k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

1. Select the text in the chat message window.
2. The pop-up formatting menu appears.
3. Select add link.
4. A link insertion window appears.
5. Insert the link.
6. Click "Save".

The link was added to the chat, but the window did not close. When you click on x, the window also does not close. The browser console displays the following messages:

```
client.ts:164 Presence URL is not defined
connect @ client.ts:164
index.js:1183 [tiptap warn]: Duplicate extension names found: ['editable', 'codeBlock', 'extension']. This can lead to issues.
resolve @ index.js:1183
operations.ts:515 measure readViewportMessages 57 server time 5
operations.ts:515 measure readViewportMessages 60 server time 4
operations.ts:515 measure readViewportMessages 59 server time 4
operations.ts:515 measure readViewportMessages 59 server time 3
operations.ts:515 measure readViewportMessages 61 server time 5
LinkPopup.svelte:31 Uncaught (in promise) TypeError: URL.canParse is not a function
at N.f.$$.update (LinkPopup.svelte:31:35)
at fs (scheduler.js:115:6)
at gs (scheduler.js:79:5)
```

![Image](https://github.com/user-attachments/assets/ad890afe-62ca-4d58-847a-53908eb1ec36)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.