-
Notifications
You must be signed in to change notification settings - Fork 2
Add and enable Live Preview module to Microsites #505
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
base: 4.x
Are you sure you want to change the base?
Conversation
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.
Pull Request Overview
This PR adds live preview functionality to microsites by introducing a new dependency.
- Added dependency for the live preview feature in the localgov_microsites.info.yml file.
Files not reviewed (1)
- composer.json: Language not supported
See #455 also. |
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.
This works fine, installed live_preview modules, but there were no permissions set.
I presume that's just because the permissions PR hasn't been merged yet.
I still haven't resolved the questions I asked in the chat:-
|
@ekes It's two modules because I plan on creating code for localgov_base in the parent module (accent colours, etc), and then only code that is relevant to localgov_microsites in the sub module. |
Discussing in Merge Tuesday: @ekes is asking about the permissions. See: localgovdrupal/localgov_live_preview#15 We want to tidy up the permissions before we add localgov_live_preview to the install. |
Note: might be good to test accessibility, keyboard navigation for example. |
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.
This works pretty well. I found a couple of issues with the media handling, one which I think is reasonably serious (localgovdrupal/localgov_live_preview#18), but happy to discuss whether it is serious enough to block this.
Let's keep this open for now... see: |
These two are merged, so we're just looking at the accessibility review. |
No description provided.