Skip to content

Initial checkin. Good state. #3905

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

Merged
merged 1 commit into from
Apr 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions libs/features/personalization/preview.css
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,15 @@
gap: 8px;
}

.mep-popup select.mep-manifest-variants {
width: 100%;
overflow: hidden;
white-space: pre;
-moz-white-space: pre;
-o-white-space: pre;
text-overflow: ellipsis;
}

.mep-popup input.new-manifest,
.mep-popup select.mep-manifest-variants {
height: 36px;
Expand Down
4 changes: 2 additions & 2 deletions libs/features/personalization/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function getManifestListDomAndParameter(mepConfig) {
manifestParameter.push(`${editUrl}--default`);
}
options += `<option name="${editPath}${pageId}" value="default"
id="${editPath}${pageId}--default" data-manifest="${editPath}" ${isSelected}>Default (control)</option>`;
id="${editPath}${pageId}--default" data-manifest="${editPath}" ${isSelected} title="Default (control)">Default (control)</option>`;
isSelected = '';
variantNamesArray.forEach((variant) => {
isSelected = '';
Expand All @@ -194,7 +194,7 @@ function getManifestListDomAndParameter(mepConfig) {
manifestParameter.push(`${manifestPath}--${variant}`);
}
options += `<option name="${editPath}${pageId}" value="${variant}"
id="${editPath}${pageId}--${variant}" data-manifest="${editPath}" ${isSelected}>${variant}</option>`;
id="${editPath}${pageId}--${variant}" data-manifest="${editPath}" ${isSelected} title="${variant}">${variant}</option>`;
});
manifestList += `<div class="mep-section" title="Manifest location: ${editUrl}&#013;Analytics manifest name: ${analyticsTitle || 'N/A for this manifest type'}">
<div class="mep-manifest-info">
Expand Down
Loading