adobe / aem-experimentation Goto Github PK
View Code? Open in Web Editor NEWA lightweight Franklin plugin for experimentation and segmentation.
License: Apache License 2.0
A lightweight Franklin plugin for experimentation and segmentation.
License: Apache License 2.0
Currently challengers are loaded with the plain selector, and the innerHTML of the main element is replaced with it.
That lacks support for changing metadata with the challenger, for example changing the pages template or theme.
Furthermore this is the same mechanism we load fragments with, and for AEM authoring we remove the instrumentation for fragments, leaving the challenger being not editable anymore.
I would like to suggest,
This is a very similar issue as #15 but running into an issue with a customer trying to use this where the Template
metadata is used to load dynamic js and their challengers are using different template values.
I think we could safely:
['template', 'theme']
main
When I click the gear icon in the pile here https://main--exlm--buuhuu.hlx.page/en/dirk-demo nothing happens.
That seems to be related to this piece of code: https://github.com/adobe/aem-experimentation/blob/main/src/preview.js#L52-L75
const actions = typeof header === 'object'
? (header.actions || []).map((action) => (action.href
? `<div class="hlx-button"><a href="${action.href}">${action.label}</a></div>`
: `<div class="hlx-button"><a href="#">${action.label}</a></div>`))
: [];
// ...
const buttons = [...popup.querySelectorAll('.hlx-popup-header-actions .hlx-button a')];
actions.forEach((action, index) => {
if (action.onclick) {
buttons[index].addEventListener('click', action.onclick);
}
});
While the only item in header.actions
has an onclick handler, the html string in the actions
array does not.
main
branch failed. π¨I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. Iβm sure you can fix this πͺ.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the main
branch. You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here are some links that can help you:
If those donβt help, or if this issue is reporting something you think isnβt right, you can always ask the humans behind semantic-release.
An npm token must be created and set in the NPM_TOKEN
environment variable on your CI environment.
Please make sure to create an npm token and to set it in the NPM_TOKEN
environment variable on your CI environment. The token must allow to publish to the registry https://registry.npmjs.org/
.
Good luck with your project β¨
Your semantic-release bot π¦π
This request is an ask to reverse the logic to show or not show the pill.
Currently it is not shown if:
We should reverse this to use a white list and show it only if
That way no user setting is needed when running aem-experimentation with crosswalk
The Audiences popup dialog should appear at the bottom right of the page, when audiences are configured for it on the metadata block of the page document.
The Audiences popup dialog is not appearing on the page.
Any page with Audiences configured in its metadata block.
Microsoft Edge Version 121.0.2277.112 (Official build) (64-bit)
TypeError: Cannot read properties of undefined (reading 'forEach')
at createPopupDialog (preview.js:71:18)
at createPopupButton (preview.js:81:17)
at decorateAudiencesPill (preview.js:463:16)
at async Module.decoratePreviewMode (preview.js:490:5)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.