Closed rimildeyjsr closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
lexical | ✅ Ready (Inspect) | Visit Preview | Jul 11, 2022 at 7:22PM (UTC) |
lexical-playground | ❌ Failed (Inspect) | Jul 11, 2022 at 7:22PM (UTC) |
@trueadm @zurfyx - While testing locally, I noticed that the GIF is not getting seen on the editor, but the node has been added. Since the GIF is using an image node, I tried to insert an image using an Unplash URL, which has the same result. I don't know if this is a bug or not.
The pre-commit hooks were not running as well!
Let me know if I should make any changes to fix the issue!
Attached is a screen recording for reference -
That's looking awesome! Thank you for working on this.
While testing locally, I noticed that the GIF is not getting seen on the editor, but the node has been added.
The page URL itself won't work, it's not a renderable image, just a page link. You have to point it to a specific image. For example:
onSelect({
altText: item.title,
src: item.images.original.url,
})
You may want to read over the item
payload, there's quite a lot of interesting data in there!
Hey @rimildeyjsr are you working on this?
@im-adithya - I am!
@zurfyx - Hey I am still working on this, sorry for the delay! Hit a snag with the giphy react components, I will try to resolve and get this to a close! :) Sorry for the delay!
Opened an issue here for giphy react components, once I get pointers I will resume work here https://github.com/Giphy/giphy-js/issues/301
@zurfyx @trueadm - I am done with the integration, let me know what you think!
Thanks for this PR! Looks like we have some issues with the tests. Can you try rebasing and resolving the conflicts? In the meantime, I will look at the code :)
Nice, looks like the last thing to be fixed is just resolving the package-lock.json conflicts. You should be able to rebase, then just delete the package-lock and run npm install
to create a new one, then commit that one on top. Let me know if you have any issues there.
@acywatson - I have made the changes to package-lock.json, should be fine now!
@acywatson - I have made the changes to package-lock.json, should be fine now!
Thanks - I think the package lock is still causing issues in the vercel deployment. Can you please try:
delete package-lock.json locally run npm install commit the new generated package-lock.json
That should fix it.
@acywatson - I deleted the package-lock JSON again in local and ran npm install and committed after rebasing, but still, the vercel deployment is failing. Is there any issue on the deployment side? The PR is rebased against main as well
Oh can you try moving these dependencies to the package.json in packages/lexical-playground? Make sure to regenerate the package-lock again after. Sorry for all the back and forth.
@acywatson - followed the steps and moved dependencies to packages/lexical-playground and regenerated the package-lock.json but I can see that the lexical playground deployment is still failing. Anything else I need to do here? The branch is rebased against main
Closing this as the diff as it is pretty stale now. On reflection, I think we should close the related issue as well. Since it was created, we've added a lot of additional functionality to the playground, and I'm concern that the UX is becoming unwieldy and overwhelming for newcomers. Adding in Giphy doesn't necessarily show how to do anything new that isn't in another rich text media example, like image, Excalidraw, YoutTube or Twitter nodes.
Changelog:
@giphy/react-components, @giphy/js-fetch-api, @giphy/js-types, react-use
to the lexical-playground packageRelates to #1820
Screen recording
https://user-images.githubusercontent.com/10229595/176993308-a619ceaa-c237-4f52-9f4f-b8e7f6a9ad24.mp4