-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Bookmarks not showing image and description preview in VS Code extension #2363
Comments
Adding to this it would also be great if we can use favicon when background image (social image) not found. |
Hey @pranjaldugar, we did try that early on! But it looked pretty broken in most cases. This does look like it could be a bug though, @MitjaBezensek can you take a look? For additional context: on tldraw.com, we get social data from an endpoint that is designed to fetch it safely, and use a less reliable “backup” strategy when that fails. In the VS code extension, we have to rely only on this “backup” strategy because the VS code extension needs to work independently. |
Nice catch! Just created a PR that should solve it. If all goes well this will be fixed next week when we do a new release of the extension. |
During the SPA spike we replaced our bookmark API endpoint with a completely new service just for bookmarks, but we forgot to update the URL in the vs code extension. This should now make the bookmark images and descriptions work again in VS Code. Fixes #2363 ### Change Type - [x] `patch` — Bug fix - [ ] `minor` — New feature - [ ] `major` — Breaking change - [ ] `dependencies` — Changes to package dependencies[^1] - [ ] `documentation` — Changes to the documentation only[^2] - [ ] `tests` — Changes to any test code only[^2] - [ ] `internal` — Any other changes that don't affect the published package[^2] - [ ] I don't know [^1]: publishes a `patch` release, for devDependencies use `internal` [^2]: will not publish a new version ### Test Plan 1. Run the VS Code extension. 2. Paste a link (like https://github.com/tldraw/tldraw) 3. The bookmark should have an image and description. - [ ] Unit Tests - [ ] End to end tests ### Release Notes - Fix bookmark image and description for VS code extension.
What happened?
:) Thanks
How can we reproduce the bug?
No response
What browsers are you seeing the problem on?
No response
Contact Details
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: