Context-Aware Configuration Editor GUI

Description

in sling we added a new feature context-aware configuration.

in wcm.io we want to provide a simple configuration editor quite similar to the "old one" we have for the wcm.io config: http://wcm.io/config/editor/usage.html

The configuration editor does not allow to edit all configuration levels or fallback modes. It shows only the configuration for the current inner-most context path (this may be the current site, current language, current region etc.) and allows to edit it. Although the configuration itself is normally stored not inside the context content, the editor page is created there to automatically detect the matching context path. When writing back configuration still the ACLs of the configuration path apply.

Activity

Show:
David Ding
December 13, 2016, 4:37 AM

new PR: https://github.com/wcm-io/wcm-io-caconfig/pull/4

Apologies for not learning the lesson from this and breaking the compressor again! It is fixed now.

I've also followed your suggestion and added the YUI minification to the grunt build and watch tasks. I have not delved into the configuration (yet) - so it is probably not 100% aligned with the AEM 6.1 compression - but for now, it should be helpful in avoiding errors.

Stefan Seifert
December 13, 2016, 7:13 AM

it's merged! - will do more testing tomorrow.
please note i've moved the editor project from /editor to /editor/bundle

David Ding
December 13, 2016, 7:29 PM

please note i've moved the editor project from /editor to /editor/bundle

The i18n values are no longer loading for me in webapp/app-root/components/page/editor/html.html - could this be related to the move?

Stefan Seifert
December 13, 2016, 7:57 PM

The i18n values are no longer loading for me

works for me. are you using AEM 6.1? perhaps you just need to restart the instance once, the detection of new i18n resources sometimes does not work properly after a package deployment.

Stefan Seifert
December 13, 2016, 8:18 PM

tested last PR - looks good to me!
settings this ticket to resolved

Fixed

Assignee

Unassigned

Reporter

Stefan Seifert

Labels

None

Components

Priority

Major