payloadcms / payload

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
https://payloadcms.com
MIT License
27.76k stars 1.72k forks source link

[Payload 3.0] Diff view doesn't render in version comparison #9337

Closed eddienubes closed 3 days ago

eddienubes commented 3 days ago

Describe the Bug

Diff view doesn't render in version comparison in Payload 3.0. The area under the selector is just empty.

I tried reverting a few beta versions and found out that beta.131 is when it start happening, while beta.130 works as expected.

Image

Link to the code that reproduces this issue

https://github.com/eddienubes/payload-empty-diff-repro

Reproduction Steps

  1. npx create-payload-app
  2. enable versioning on Media collection
  3. add a few versions for a media item
  4. try to compare

Which area(s) are affected? (Select all that apply)

area: ui

Environment Info

Payload >= 3.0.0.beta.131
github-actions[bot] commented 2 days ago

🚀 This is included in version v3.0.1

github-actions[bot] commented 1 day ago

This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.