Skip to content

Conversation

@goozdev
Copy link
Contributor

@goozdev goozdev commented Jul 16, 2025

Use Embla Carousel instead of our own custom implementation.

#136

@github-actions
Copy link

Preview environment URL

dotnet

https://stdotnetuvwaxlluh4see.z6.web.core.windows.net/

This comment was marked as outdated.

@github-actions
Copy link

Preview environment URL

dotnet

https://stdotnetuvwaxlluh4see.z6.web.core.windows.net/

Copy link

Copilot AI left a 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 replaces the custom team carousel with the Embla Carousel library, simplifying slide logic and enriching interactivity and accessibility.

  • Swapped out manual slide grouping for Embla’s viewport/container slide setup.
  • Updated CSS to use Embla BEM class names and maintain responsive layouts.
  • Added Embla initialization script with loop, autoplay, buttons, and event handlers.
  • Included embla-carousel as a new dependency.

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 4 comments.

File Description
libs/ui/src/TeamCarousel.astro Integrate Embla Carousel: markup, styles, and script
libs/ui/package.json Add embla-carousel dependency
Comments suppressed due to low confidence (1)

libs/ui/src/TeamCarousel.astro:203

  • There’s no automated coverage for the initEmblaCarousel logic; consider adding unit or integration tests to verify initialization, button state updates, and autoplay behavior.
  const initEmblaCarousel = () => {

@goozdev goozdev force-pushed the feature/updateteamcarousel branch from 5529d8f to 559b472 Compare July 16, 2025 12:59
@github-actions
Copy link

Preview environment URL

dotnet

https://stdotnetuvwaxlluh4see.z6.web.core.windows.net/

@goozdev goozdev self-assigned this Jul 16, 2025
@github-actions
Copy link

Preview environment URL

dotnet

https://stdotnetuvwaxlluh4see.z6.web.core.windows.net/

@goozdev goozdev merged commit 51e8f38 into main Jul 21, 2025
4 checks passed
@goozdev goozdev deleted the feature/updateteamcarousel branch July 21, 2025 08:10
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.

3 participants