microsoft / microsoft/AdaptiveCards

[Feature Request] Carousel interaction events for XAML renderer

Open
#9,082 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Request
Dominant language
C#
Stars
2k
Forks
595
Avg merge
1d 19h
Merged PRs (30d)
1

Description

Problem Statement

The JS renderer fires CarouselInteractionEvent for carousel navigation, but the XAML renderer does not have an equivalent.

Proposed solution

Notify carousel interactions for XAML AdaptiveCards, perhaps using IRenderedAdaptiveCard::Action event or a new event altogether.

Alternatives or Workarounds

I think it'd be possible to walk the XAML tree of rendered card to hook into FlipView/PipsPager events to track the navigations, but this approach seems tricky to distinguish Autoplay navigation vs. user clicking on next/previous page or pips.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the JS renderer's CarouselInteractionEvent with the XAML renderer's IRenderedAdaptiveCard::Action event. Investigate how FlipView and PipsPager expose navigation and how autoplay differs from user actions. Done means an agreed event design and implementation that reliably reports user carousel navigation for XAML AdaptiveCards.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.