-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Fix relation lists (regression #359) #719
Conversation
@Quicksaver thanks for this! Looks like relation previews are totally broken, both in the latest release and in this PR - this fix would have to go on top of a fix for the basic issue of relation previews not loading, mostly because it's difficult to ensure this fix doesn't cause any regressions as it stands. Would you be able to take a look?
If you can't look into this it's totally fine, someone will just need to before we can move forward with this PR. |
@erquhart sorry for not responding sooner. I did take a look at the kitchen sink example but I get a slightly different behavior than you. On step 4 I get the correct preview already, tried with the very latest master and with my patch, same behavior. But it is also missing when first loading the page for me.
|
Some of this seems to have been (inadvertently) resolved in the UI overhaul, at least the base issue of the relation widget not working. Will follow up after UI overhaul is merged. |
18dd326
to
d76c90f
Compare
Deploy preview ready! Built with commit d76c90f |
Deploy preview ready! Built with commit d76c90f |
@erquhart I rebased the commit and found out perhaps a better way of fixing the issue. Not sure if this was possible before or only now after the UI overhaul. But I've tested locally in the same way as before, all seems fine. I should note that the relation widget in the kitchen sink entry doesn't appear during the first page load for me, not sure why that is although admittedly I haven't investigated too deeply. All of my custom relation widgets work just fine though, so that is likely a problem with the demo preview widget itself rather than with the CMS. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thanks for seeing this through @Quicksaver!
@erquhart it was my pleasure, thanks for merging it in. 😃 |
- Summary
Fixes #359 (regression)
- Test plan
- Description for the changelog
(Fix regression) Handle metadata for all children of a list field
- A picture of a cute animal (not mandatory but encouraged)