decap-cms icon indicating copy to clipboard operation
decap-cms copied to clipboard

1896 fetching other collections from preview

Open cdennington opened this issue 2 years ago • 6 comments

Summary

Allowing users to access data from other collections whilst in the preview pane.

See the comments here: https://github.com/netlify/netlify-cms/issues/1896

This is my first time contributing to this repo, so I'm not 100% across the code base, so feedback is welcome.

I've tested this on a project I am working on at the moment and it worked as expected:

  • I was able to pull in all posts to a listing page
  • I was able to render the header and footer which are separate collections on every page

Checklist

Please add a x inside each checkbox:

  • [x] I have read the contribution guidelines.
  • [x] Code is formatted via running yarn format.
  • [x] Tests are passing via running yarn test.
  • [x] The status checks are successful (continuous integration). Those can be seen below.

cdennington avatar Jul 27 '22 00:07 cdennington

Would love to see this feature in Netlify CMS. Anyone from the team interested in taking a look?

pbredenberg avatar Oct 12 '22 20:10 pbredenberg

This would be a great feature.

nicksull avatar Oct 13 '22 07:10 nicksull

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 26 '23 09:04 stale[bot]

@cdennington are you still interested in moving this forward?

martinjagodic avatar Oct 17 '23 07:10 martinjagodic

@martinjagodic I'd happily be involved in pushing this one out, what do you need from me? Other than fixing conflicts

cdennington avatar Oct 17 '23 21:10 cdennington

@cdennington great. Please solve conflicts first and then we will review. Thanks!

martinjagodic avatar Oct 18 '23 06:10 martinjagodic

@cdennington linter is failing. Please run npm run lint locally to see the problem.

martinjagodic avatar Mar 19 '24 08:03 martinjagodic

@martinjagodic, cdennington didn't have the time to finish this, so I took over.

With the docs moving to a different repo, I guess I should just make a seperate pull request there to add the docs for this?

Boelensman1 avatar Mar 19 '24 11:03 Boelensman1

With the docs moving to a different repo, I guess I should just make a seperate pull request there to add the docs for this?

Yes please

martinjagodic avatar Mar 19 '24 12:03 martinjagodic

Added the pull request for the documentation (written by @cdennington) here: https://github.com/decaporg/decap-website/pull/55.

Not sure why the macos build is failing, it seems to get stuck installing dependencies. No changes have been made to those.

Boelensman1 avatar Mar 19 '24 16:03 Boelensman1

This is great @Boelensman1, MacOS build is a bit cranky sometimes, don't worry about it :)

Left you one little question otherwise this is good to go and can be released today/tomorrow with a few other PRs.

demshy avatar Mar 20 '24 10:03 demshy