Skip to content

Fix site schema explorer render version#8753

Merged
paulcam206 merged 1 commit into
mainfrom
paulcam/fix-sample-render-version
Nov 21, 2023
Merged

Fix site schema explorer render version#8753
paulcam206 merged 1 commit into
mainfrom
paulcam/fix-sample-render-version

Conversation

@paulcam206
Copy link
Copy Markdown
Member

@paulcam206 paulcam206 commented Nov 14, 2023

Description

This was a pretty interesting issue to track down... the Input.Text inlineAction example's inline submit button didn't have its tooltip applied properly. However, the sample example worked just fine in the designer.

Turns out the examples are rendering with the version specified in the sample itself. I updated all of the samples referencing tooltip to be at least version 1.5.

Future reference for anyone wanting to answer a question like "what is the version of all samples with the word 'tooltip' in them", here's something useful in WSL (you'll need to have ripgrep and jq available):

# from the samples/ directory
rg --files-with-matches tooltip | xargs -I _ sh -c "echo -n '_: ' && cat _ | jq .version"

sample output for above:

image

How Verified

Local build/devtools

jwoo-msft
jwoo-msft previously approved these changes Nov 14, 2023
Comment thread source/nodejs/adaptivecards-site/themes/adaptivecards/source/js/script.js Outdated
@paulcam206 paulcam206 force-pushed the paulcam/fix-sample-render-version branch from a9d19ff to 49424ef Compare November 20, 2023 19:38
@paulcam206 paulcam206 merged commit 8d668ef into main Nov 21, 2023
@paulcam206 paulcam206 deleted the paulcam/fix-sample-render-version branch November 21, 2023 20:31
jwoo-msft added a commit that referenced this pull request May 1, 2024
* Fix `--blue` to be a _smidge_ darker (better contrast on `--black`) (#8745)

* Remove unnecessary `aria-required` property from container element (#8746)

* Add `hljs-comment` color to fix contrast (#8747)

* Switch from textblock to label in Input.Time sample (#8751)

* Add missing img alt text in a few spots (#8750)

* Slight tweak to common blue background/border color for contrast (#8748)

* Add missing `title` to `iframe` in blog post (#8754)

* [Samples] Update version for samples using `tooltip` (#8753)

* [Designer] Fix treeview control accessibility (#8757)

* fixed a11y issue (#8760)

* Update README.md (#8802)

* Added AdaptiveCards Template WinRT Component (#8805)

* added a new project file

* added test app and c# winrt component

* mostly working?

* fix impl

* updated nuget path

* added c# runtime component

* updated

* updated

* updated

* updated

* updated

* updated

* updated

* updated

* update

* removed winrt prject from AC and added C++ console sample app and the AC project to visualizer

* removed nuget config changes

---------

Co-authored-by: Paul Campbell <paulcam@microsoft.com>

* Jwoo/template winrt strong name (#8807)

* added a new project file

* added test app and c# winrt component

* mostly working?

* fix impl

* updated nuget path

* added c# runtime component

* updated

* updated

* updated

* updated

* updated

* updated

* updated

* updated

* update

* removed winrt prject from AC and added C++ console sample app and the AC project to visualizer

* removed nuget config changes

* added strong name

* added new property

---------

Co-authored-by: Paul Campbell <paulcam@microsoft.com>

* Added Package Info (#8811)

* added missing package info

* for sharing

* updated

* Update README.md (#8813)

* Add headingLevel to host config (#8814)

* Update action icon role to presentation (#8815)

* Update README.md (#8817)

Update release schedule for website

* Fix invalid color value (#8819)

* [NodeJS] Update hashing algorithm for webpack (#8835)

* Update hashing algorithm for webpack

Needed to unblock Node >16

* Tabs -> spaces

* [NodeJS] Add `ImageSet` class to enable styling (#8838)

* [NodeJS] Add optional overflow menu icon rendering (#8847)

* Remove tab index from nested inputs (#8848)

* [NodeJS] Add `grid` `ImageSet` style (#8845)

* Host old content from messagecardplayground on ac.io (#8866)

* Fix issue #8520 (#8870)

Updated AdaptiveTableCell to override the Type property

Co-authored-by: huberemanuel <emanuel.tesv@gmail.com>

* Update README.md (#8873)

Update icon for unsupported features

* Update README.md (#8859)

* Add tooltip for Arabic (#8890)

* [Website][A11y] Update keyboard nav for blog posts (#8891)

* Update keyboard nav for blog posts

* Add up/down navigation

* Navigate on enter

* Designer surface a11y updates (#8888)

* Designer surface a11y updates

* Update source/nodejs/adaptivecards-designer/src/peer-command.ts

Co-authored-by: Paul Campbell <paulcam@microsoft.com>

---------

Co-authored-by: Paul Campbell <paulcam@microsoft.com>

---------

Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: anna-dingler <98650930+anna-dingler@users.noreply.github.com>
Co-authored-by: Matej Simek <matej@simek.pro>
Co-authored-by: huberemanuel <emanuel.tesv@gmail.com>
jwoo-msft added a commit that referenced this pull request May 1, 2024
* Fix `--blue` to be a _smidge_ darker (better contrast on `--black`) (#8745)

* Remove unnecessary `aria-required` property from container element (#8746)

* Add `hljs-comment` color to fix contrast (#8747)

* Switch from textblock to label in Input.Time sample (#8751)

* Add missing img alt text in a few spots (#8750)

* Slight tweak to common blue background/border color for contrast (#8748)

* Add missing `title` to `iframe` in blog post (#8754)

* [Samples] Update version for samples using `tooltip` (#8753)

* [Designer] Fix treeview control accessibility (#8757)

* fixed a11y issue (#8760)

* Update README.md (#8802)

* Added AdaptiveCards Template WinRT Component (#8805)

* added a new project file

* added test app and c# winrt component

* mostly working?

* fix impl

* updated nuget path

* added c# runtime component

* updated

* updated

* updated

* updated

* updated

* updated

* updated

* updated

* update

* removed winrt prject from AC and added C++ console sample app and the AC project to visualizer

* removed nuget config changes

---------

Co-authored-by: Paul Campbell <paulcam@microsoft.com>

* Jwoo/template winrt strong name (#8807)

* added a new project file

* added test app and c# winrt component

* mostly working?

* fix impl

* updated nuget path

* added c# runtime component

* updated

* updated

* updated

* updated

* updated

* updated

* updated

* updated

* update

* removed winrt prject from AC and added C++ console sample app and the AC project to visualizer

* removed nuget config changes

* added strong name

* added new property

---------

Co-authored-by: Paul Campbell <paulcam@microsoft.com>

* Added Package Info (#8811)

* added missing package info

* for sharing

* updated

* Update README.md (#8813)

* Add headingLevel to host config (#8814)

* Update action icon role to presentation (#8815)

* Update README.md (#8817)

Update release schedule for website

* Fix invalid color value (#8819)

* [NodeJS] Update hashing algorithm for webpack (#8835)

* Update hashing algorithm for webpack

Needed to unblock Node >16

* Tabs -> spaces

* [NodeJS] Add `ImageSet` class to enable styling (#8838)

* [NodeJS] Add optional overflow menu icon rendering (#8847)

* Remove tab index from nested inputs (#8848)

* [NodeJS] Add `grid` `ImageSet` style (#8845)

* Host old content from messagecardplayground on ac.io (#8866)

* Fix issue #8520 (#8870)

Updated AdaptiveTableCell to override the Type property

Co-authored-by: huberemanuel <emanuel.tesv@gmail.com>

* Update README.md (#8873)

Update icon for unsupported features

* Update README.md (#8859)

* Add tooltip for Arabic (#8890)

* [Website][A11y] Update keyboard nav for blog posts (#8891)

* Update keyboard nav for blog posts

* Add up/down navigation

* Navigate on enter

* Designer surface a11y updates (#8888)

* Designer surface a11y updates

* Update source/nodejs/adaptivecards-designer/src/peer-command.ts

Co-authored-by: Paul Campbell <paulcam@microsoft.com>

---------

Co-authored-by: Paul Campbell <paulcam@microsoft.com>

* updated version

---------

Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: anna-dingler <98650930+anna-dingler@users.noreply.github.com>
Co-authored-by: Matej Simek <matej@simek.pro>
Co-authored-by: huberemanuel <emanuel.tesv@gmail.com>
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