microsoft / microsoft/AdaptiveCards

[Designer] Needs to be resilient to missing templating library

Open
#7,525 1 comment 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

When adaptivecards-templating is missing, we should either gracefully downgrade the experience (disable templating) or surface an error via the dev console (or error banner). Otherwise, the designer fails in a less-than-obvious way:

image

While we're at it, we need to make sure that the designer works correctly when GlobalSettings.enableDataBindingSupport = false; and adaptivecards-templating is unavailable.

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 in the Designer path that loads adaptivecards-templating and reproduce the failure with the library unavailable. Check the behavior when GlobalSettings.enableDataBindingSupport = false; done means the Designer either disables templating gracefully or reports a clear developer-facing error instead of failing obscurely.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.