Skip to content
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

Nr/cm custom previews #128

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Nr/cm custom previews #128

wants to merge 1 commit into from

Conversation

naomiyaki
Copy link
Contributor

This branch adds custom previews in the backend for the following content elements:

  • One Button Hero
  • One Button Callout
  • Multi-Button Callout
  • Animated Callout

edit page octobercms 2018-02-09 12-02-22

Note that these features require the 4.3 branch (not the tag/version) of contentment-plugin, and the latest version of the webpackassets-plugin (1.0.6 at this time).

@zdavis
Copy link
Member

zdavis commented May 25, 2018

Hey @naomiyaki is this still a valid PR? We updated contentment yesterday to the most recent version. I can accept this, but want to make sure it's still the right solution.

ZD

@naomiyaki
Copy link
Contributor Author

@zdavis If contentment was updated, I can rebase and test - everything should work just peachy with new contentment, and then I'll squash and update the PR for your perusal!

@zdavis
Copy link
Member

zdavis commented May 25, 2018

Sounds good. Thanks.

@naomiyaki naomiyaki force-pushed the nr/cm-custom-previews branch 5 times, most recently from 41d522a to 8e2b7eb Compare May 25, 2018 18:41
@naomiyaki
Copy link
Contributor Author

@zdavis this is updated and working on my end, but there are a few contentment errors that I want to look at with @lthurston when he gets in just to make sure we're on top of it and that it isn't some kind of regression from this work.

@naomiyaki
Copy link
Contributor Author

@lthurston I never got a chance to go through this with you! Can you just QA and make sure contentment is working, then poosh?

Pull plugin previews from json manifest
Also upgrade theme asset building from php->json manifest
@zdavis zdavis force-pushed the nr/cm-custom-previews branch from 8e2b7eb to 701c576 Compare June 7, 2018 15:17
@zdavis
Copy link
Member

zdavis commented Jun 7, 2018

Lucas, could you help close the loop on this? I've been unable to pull this PR in for a while, and there is in fact some kind of regression. I've rebased this branch on Master, which is using the same version of contentment. In this branch, trying to create any content element fails with an error. I can't trace the error because of Contentment's reliance on Rollbar without requiring it properly (see castiron/contentment-plugin#48).

image

@lthurston
Copy link
Member

Acknowledged. I'll review and get it working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants