Skip to content

[Doodlebug] New aside-carousel block#59

Open
JingleH wants to merge 26 commits into
stagefrom
doodlebug-aside-carousel
Open

[Doodlebug] New aside-carousel block#59
JingleH wants to merge 26 commits into
stagefrom
doodlebug-aside-carousel

Conversation

@JingleH

@JingleH JingleH commented May 8, 2026

Copy link
Copy Markdown
Collaborator

Currently on Doodlebug pages, MEP is leveraged to swap out aside blocks with a section using carousel and editorial-cards. It could be better UX to use a responsive block (aside on desktop, carousel on tablet/mobile), and it would also remove the dependency on MEP, allowing automation of pages to be more streamlined.

This is a brand new block so should have no regression risk. No Figma yet as we are trying to proceed quickly. This is a best-effort attempt at combining multiple blocks and retaining doodlebug.css theme override under the time constraint.

Test URLs:

@aem-code-sync

aem-code-sync Bot commented May 8, 2026

Copy link
Copy Markdown

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run all PSI checks
  • Re-run failed PSI checks
  • Re-sync branch
Commits

@aem-code-sync

aem-code-sync Bot commented May 8, 2026

Copy link
Copy Markdown

@aem-code-sync aem-code-sync Bot temporarily deployed to doodlebug-aside-carousel May 8, 2026 20:55 Inactive
@aem-code-sync aem-code-sync Bot temporarily deployed to doodlebug-aside-carousel May 9, 2026 21:55 Inactive
@aem-code-sync aem-code-sync Bot temporarily deployed to doodlebug-aside-carousel May 11, 2026 10:33 Inactive
@aem-code-sync aem-code-sync Bot temporarily deployed to doodlebug-aside-carousel May 13, 2026 01:50 Inactive
@suhjainadobe

suhjainadobe commented May 18, 2026

Copy link
Copy Markdown

Hello @JingleH ,
When we swipe the carousel, the left card is also peeking on the screen. For doodlebug pages, our requirement was to show only the right card peeking on the screen. Could you please add a class/functionality to extent the functionality so that both the options are present on the carousel.
Please refer to our prod link for the same.
https://www.adobe.com/in/products/firefly/features/ai-character-generator.html?sdid=9RQM3T4B&mv=search&mv2=paidsearch&ef_id=CjwKCAjw8arQBhB9EiwAfIKdQtzzwr5KzY-aOEymJgSKyN-mvUjW6RsfU-70lJIOu4jkayM9pf_njRoCg7oQAvD_BwE:G:s&s_kwcid=AL!3085!3!805321749260!e!!g!!ai%20character%20generator!23747433558!198447110587&gad_source=1&gad_campaignid=23747433558&gbraid=0AAAAADoVWmTOGAGD1oVIDlqDx0BKWd5bP&gclid=CjwKCAjw8arQBhB9EiwAfIKdQtzzwr5KzY-aOEymJgSKyN-mvUjW6RsfU-70lJIOu4jkayM9pf_njRoCg7oQAvD_BwE

@aem-code-sync aem-code-sync Bot temporarily deployed to doodlebug-aside-carousel May 18, 2026 09:40 Inactive
@aem-code-sync aem-code-sync Bot temporarily deployed to doodlebug-aside-carousel May 18, 2026 21:38 Inactive
@JingleH

JingleH commented May 18, 2026

Copy link
Copy Markdown
Collaborator Author

Hello @JingleH , When we swipe the carousel, the left card is also peeking on the screen. For doodlebug pages, our requirement was to show only the right card peeking on the screen. Could you please add a class/functionality to extent the functionality so that both the options are present on the carousel. Please refer to our prod link for the same. https://www.adobe.com/in/products/firefly/features/ai-character-generator.html?sdid=9RQM3T4B&mv=search&mv2=paidsearch&ef_id=CjwKCAjw8arQBhB9EiwAfIKdQtzzwr5KzY-aOEymJgSKyN-mvUjW6RsfU-70lJIOu4jkayM9pf_njRoCg7oQAvD_BwE:G:s&s_kwcid=AL!3085!3!805321749260!e!!g!!ai%20character%20generator!23747433558!198447110587&gad_source=1&gad_campaignid=23747433558&gbraid=0AAAAADoVWmTOGAGD1oVIDlqDx0BKWd5bP&gclid=CjwKCAjw8arQBhB9EiwAfIKdQtzzwr5KzY-aOEymJgSKyN-mvUjW6RsfU-70lJIOu4jkayM9pf_njRoCg7oQAvD_BwE

Hi @suhjainadobe , I've updated the block to be behaving like the current prod by default (https://doodlebug-aside-carousel--da-cc--adobecom.aem.live/drafts/jingle/image-upscaler-aside-carousel). With a (no-clip-left) variant, it will be like the initial implementation (https://doodlebug-aside-carousel--da-cc--adobecom.aem.live/drafts/jingle/image-upscaler-aside-carousel-no-clip-left).

@spadmasa

Copy link
Copy Markdown

Thankyou @JingleH for the fix on image peek view in left , when verified with video in ipad do not see it working as expected, can you please take a look
https://doodlebug-aside-carousel--da-cc--adobecom.aem.page/drafts/souj/doodle-audio/image-upscaler-aside-carousel-no-clip-left
image
in mobile do see slight peek available on video in left
image

it('swipe left advances and swipe right goes back in RTL', () => {
const slides = rtlEl.querySelectorAll('.slide');
const mkTouch = (x) => new Touch({
identifier: 1, target: rtlEl, screenX: x, screenY: 0, clientX: x, clientY: 0, pageX: x, pageY: 0,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <max-len> reported by reviewdog 🐶
This line has a length of 103. Maximum allowed is 100.

@JingleH

JingleH commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator Author

Hi @JingleH , when verified the RTL flow seeing the peek view is not seen enabled as expected and arrow is seen broken image

in current prod in RTL image

Hi @spadmasa , I've updated it to have RTL support. Let me know if it works or not now! Thanks

@aem-code-sync aem-code-sync Bot temporarily deployed to doodlebug-aside-carousel June 16, 2026 05:27 Inactive
@aem-code-sync aem-code-sync Bot temporarily deployed to doodlebug-aside-carousel June 16, 2026 12:11 Inactive
@codecov-commenter

codecov-commenter commented Jun 16, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 89.67742% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.73%. Comparing base (a36ffd9) to head (7923511).
⚠️ Report is 43 commits behind head on stage.

Files with missing lines Patch % Lines
...ativecloud/blocks/aside-carousel/aside-carousel.js 89.67% 16 Missing ⚠️

❌ Your patch status has failed because the patch coverage (89.67%) is below the target coverage (100.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage      #59      +/-   ##
==========================================
- Coverage   88.79%   87.73%   -1.06%     
==========================================
  Files          42       42              
  Lines        9512     9442      -70     
==========================================
- Hits         8446     8284     -162     
- Misses       1066     1158      +92     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@spadmasa

Copy link
Copy Markdown

Hi @JingleH , verified the url after the fix, carousel arrow enablement is still not seen as expected
image

in stage
https://www.stage.adobe.com/il_he/products/firefly/features/background-generator.html?mep=%2Fproducts%2Ffirefly%2Ffeatures%2Fbackground-generator.json--phone
image

Comment thread creativecloud/blocks/aside-carousel/aside-carousel.js Outdated
Comment thread creativecloud/blocks/aside-carousel/aside-carousel.js Outdated
Comment thread creativecloud/blocks/aside-carousel/aside-carousel.css Outdated

.aside-carousel .carousel-prev,
.aside-carousel .carousel-next {
background: #242424;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Several hardcoded hex values throughout the controls CSS have close or exact Milo equivalents: #242424--color-gray-800, #fff--color-white, #e6e6e6--color-gray-200, #d5d5d5--color-gray-300, #b1b1b1--color-gray-400. Using the tokens keeps the block consistent with the rest of the site.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The goal was to preserve the same values as is currently being used in prod (milo's carousel). These are hardcoded the same as in Milo. I recommend us stick to the same visuals for now, and maybe involve the designers to sign off the change before working on getting the values consistent with other Milo's css tokens

.aside-carousel .carousel-next:focus-visible {
background: #373737;
border-color: #fff;
outline: 2px solid #147af3;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This blue (#147af3) differs from Milo's focus ring token (--color-accent-focus-ring: #378ef0). Inconsistent focus indicators across the site can flag in a11y audits. Consider outline: 2px solid var(--color-accent-focus-ring, #378ef0);

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as the other comment, the goal was to use the same visuals as Milo's carousel currently being used in prod

Comment thread creativecloud/blocks/aside-carousel/aside-carousel.css Outdated
Comment thread creativecloud/blocks/aside-carousel/aside-carousel.css Outdated
Comment thread creativecloud/blocks/aside-carousel/aside-carousel.css Outdated
Comment thread test/blocks/aside-carousel/aside-carousel.test.js
Comment thread test/blocks/aside-carousel/aside-carousel.test.js
Comment thread creativecloud/blocks/aside-carousel/aside-carousel.js
Comment thread creativecloud/blocks/aside-carousel/aside-carousel.js
Comment thread creativecloud/blocks/aside-carousel/aside-carousel.js Outdated
@nkthakur48

Copy link
Copy Markdown
Collaborator

Please also see if the linter issues could be resolved

@aem-code-sync aem-code-sync Bot temporarily deployed to doodlebug-aside-carousel June 23, 2026 15:33 Inactive
@aem-code-sync aem-code-sync Bot temporarily deployed to doodlebug-aside-carousel June 23, 2026 22:51 Inactive
@JingleH

JingleH commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator Author

Hi @nkthakur48 and @suhjainadobe , all PR comments should be resolved now. Can you review again?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants