microsoft / microsoft/AdaptiveCards

[Designer] Custom elements in Adaptive Cards Designer

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

Nobody has claimed this yet.

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

Description

I have created an adaptive card designer running locally. I am able to design cards with predefined elements and actions.

I have created custom elements and actions.

Is there a way to add support for these custom elements and actions?

I tried the following way but I don't see the custom elements or actions in the left sidebar.

Adaptive.GlobalRegistry.elements.register();
ACDesigner.CardDesignerSurface.cardElementPeerRegistry.registerPeer();

I have spent weeks configuring this but had no luck.

Does anyone know how to do this?

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 tracing Adaptive.GlobalRegistry.elements.register() and ACDesigner.CardDesignerSurface.cardElementPeerRegistry.registerPeer(), then inspect how the Designer builds its left sidebar. Confirm how custom elements and actions are expected to be registered, and verify that both appear in the local Designer sidebar.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
design, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.