Граф коммитов

104 Коммитов

Автор SHA1 Сообщение Дата
Paul Campbell 0152d5c726
[NodeJS] Add `grid` `ImageSet` style (#8845) 2024-03-07 22:09:20 +00:00
SuryanshPrabhatMSFT 459ede492b
AC 1.6 Schema Update for Dynamic Typeahead and Inline-Edit Features (#8495)
* update schema v1.6 to incorporate dynamic typeahead and inline edit features

* add count and skip property to choices.data

* fix formatting

* make appropriate changes for the website

* indicate supported platform in description

---------

Co-authored-by: SuryanshPrabhat <suryanshprabhat@outlook.com>
Co-authored-by: anna-dingler <98650930+anna-dingler@users.noreply.github.com>
2023-05-18 17:46:26 +00:00
anna-dingler 964ac35be5
[Samples] Add headings to sample cards (#8045)
* Add headings to samples mentioned by accessibility team

* Add headings to v1.5 samples

* Remove duplicates

* Move remaining samples to v1.5

* [Samples]Update test apps samples (#8052)

* WIP: update project files for samples

* Update 1.5 references

* Disable scneario testing for .net

* Fix android visualizer (#8062)

* Resolve PR comments
2022-11-21 07:28:19 -08:00
PankajBhojwani 38717289d2
Implement closed captions in JS and UWP (#7178)
* captions init

* nodejs works, uwp builds

* uwp works

* update to media player element

* don't actually change the sample

* minor changes

* use namespace

* update this

* base class in shared, uwp next

* base class for uwp

* Base class for ts

* add language property to ts, use that as label

* lang property

* validate mimetype

* Remove audio height

* Rename to label

* v1.6

* consistent

* allow custom resource resolver

* lambda var

* inner struct property editor

* fix capturing

* uwp only support vtt too

* uwp supports srt again

* use ...

* arrange vertically

* back to element

* address some comments

* use get()

* use dictionary

* parser, override

Co-authored-by: Vsevolod <sevkorobot@gmail.com>
2022-04-19 20:13:08 +00:00
David Claux c3f667f569
[JS] Add inline YouTube, Vimeo and Dailymotion video playback (#7112) 2022-03-24 11:42:22 -07:00
sowrabh-msft 3db0973263
Adaptive Card v1.6 (#7105)
* Adaptive Card v1.6

- Add support for toplevel property `metadata` and `metadata.webUrl`
- Add support for `expires` property in `refresh`

* Move changes to src folder

* Updating description for refresh.expires

* Indent and TOC fix

* Adding version to expires

Co-authored-by: Sowrabh N R S <sowrabh@users.noreply.github.com>
Co-authored-by: Karthik Baskar <kabaska@microsoft.com>
Co-authored-by: karthikbaskar-ms <72971116+karthikbaskar-ms@users.noreply.github.com>
Co-authored-by: Vsevolod <sevkorobot@gmail.com>
Co-authored-by: Matt Hidinger <matt.hidinger@gmail.com>
Co-authored-by: Sowrabh N R S <sonrs@microsoft.com>
2022-03-17 17:50:57 +00:00
Rahul Amlekar 93695cf2df
Updating Bot Framework links (#6686)
Co-authored-by: RahulAmlekar <raamleka@microsoft.com>
2021-11-15 19:06:27 +00:00
Rahul Amlekar fa0843c491
1.5 website schema explorer updates (#6550)
* Updating schema explorer properties

* adding tableCell to toc and attempting whitespace fix

* indentation fix

indentation fix

* Removing filtered prop

Removing filtered prop - it's auto generated in our build

Co-authored-by: RahulAmlekar <raamleka@microsoft.com>
2021-10-08 16:19:06 -07:00
Paul Campbell 36eb7f9d3a
[Schema] Add `mode` property to `Action`s (#6474)
Fixes #6467
2021-10-04 22:09:19 +00:00
Paul Campbell a9b3d991a9
[Schema] Add password masking to the 1.5 schema (#6376)
* [Schema] Add password masking to the 1.5 schema

Fixes #6339 and adds enum property versioning support.

* Updates to get spec generation working

* Updated specs

* fix tabs

* Updated specs

* Update schema README

* Fix broken markdown link

* clarify spec generation

* missed a tab

* Updated host-config.json again

* Updated generated markdown files

* Updated specs

* Fix up some generation stuff and fix root object definition

* Spec update

* Clean up resource strings

* Updated specs

* Move away from tabs (like our editorconfig states)

* RTL schema fixes

* Add table to root, fix up tabs, and regenerate strings

* Fix TableRow and TableCell parenting

Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@paulcam-mac.local>
Co-authored-by: RebeccaAnne <rebecch@microsoft.com>
Co-authored-by: almedina-ms <35784165+almedina-ms@users.noreply.github.com>
2021-10-01 21:36:19 -07:00
JeanRoca c63cc91de8
Added contribution guidelines to new PR from main repo (#6081) 2021-07-14 16:50:33 -05:00
David Claux 8ecb8eb377
Schema update for Table (#5855)
* Schema update for Table

* Forgot TableRow.cells

* Update schemas/src/elements/Table.json

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

* vertContAl and horzAl are now nullable

Co-authored-by: Paul Campbell <paulcam@microsoft.com>
2021-05-24 11:00:12 -07:00
RebeccaAnne ec678baaa7
[Schema] Add IsEnabled to the schema (#5764)
* [Schema] Add IsEnabled to the schema

* Fix typo

* regenerate schema
2021-05-13 18:51:16 +00:00
Paul Campbell 89e73ceb4a
[Schema] Add missing `id` to Actions (#5813)
Fixes #5703
2021-05-13 17:24:28 +00:00
RebeccaAnne f6a0a3424e
[Schema] Schema updates for Heading Styles (#5717) 2021-04-27 09:28:34 -07:00
David Claux a3bc68a6a6
[JS] Action overflow, TextBlock heading and Action.tooltip (#5661)
* [JS] Overflow actions (flyout menu) #4715 (Pre-Release) (#5446)

* [JS] Overflow actions #4715

* use global setting to control exceeding actions

* address PR comments

* fix PR build

* fix PR build

* fix PR build

* fix pr build

* address PR comments

* address PR comments

Co-authored-by: David Claux <dclaux@users.noreply.github.com>

Ignoring unrelated Android check failures

* [JS] Action.mode designer support + promote secondary action to primary on execute (#5449)

* Action.mode designer support
Promote secondary action to primary on execute

* Slight change in behavior for action promotion

* Slight refactor

* Js/tooltips headings (#5608)

* Schema 1.4 (#5317)

* Schema update for Action.Execute and refresh

* Generate 1.4 schema file

* Updated specs

* Update toc.yml

* Updated specs

* Add authentication

* Updated specs

* Fix typos

* Add missing Action.Execute.verb

* Update verbiage

* Add Action.Execute sample

* Table of contents updates and labels on the sample inputs

Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>

* [JS] Add support for Universal Actions (#5533)

* Work in progress

* strictNullChecks, noImplicitAny
noImplicitReturns, noImplicitThis, noUnusedLocals
noFallthroughCasesInSwitch
More refactoring
Work in progress

* var --> let

* Array<type> --> type[]
for (let i = 0 ...) --> for (let item of ...)
Additional cleanup
Work in progress

* null --> undefined where appropriate

* Code organizing plus some cleanup

* CardObject, CardElement, TextBlock now use schema

* Image, FactSet now use schema

* FactSet fully uses schema

* Library size reduction

* Looking at decorators...

* Fully move to decorators

* Some cleanup

* selectAction/inlineAction --> schema

* ChoiceSet/ToggleInput --> schema

* Media -> schema

* All inputs --> schema

* Fix IE11 compat (don't use obj.constructor.name)

* OpenUrl/ToggleVis./Submit -> schema

* Action.Http --> schema

* Everything now uses schema

* Merge changes from master

* Fix designer build break

* Add version info in type registries
Plus some cleanup

* Forgot to add v1.2 to ToggleVisibility

* API simplification

* Library size reduction (~2 KB minified)

* Reduce library size

* Small simplification

* Update README wih notable changes so far

* More simplifications

* More simplification + 1KB size reduction

* More simplification + bug fix

* Parse logic refactor (WIP)

* Refactor parse logic (WIP)

* Move designer off global registry

* Small cLeanup

* Refactor toJSON

* Parse/serialize to/from specific schema version
Full version picker support
Still WIP, but almost there

* Code complete - full version picker support

* Fix test case + minor tweak

* Designer bug fixes and minor enhancements

* Review feedback so far + designer improvements

* Designer bug fixes

* Add support for cancelling d&d with ESC

* Review feedback + fix value type for number input

* Address review feedback

* More review feedback

* Fix Image.Width/Height serialization regression

* Fix Action.Submit not incl. empty inputs anymore
Add onExecuteAction handler in Preview Mode

* Small designer tweak

* Small popup control refactor

* [Designer] Enhanced data binding support

* [Designer] Small tweak/fix

* [Designer] Improved sample data support

* Use correct sample data in Preview Mode

* Integrate changes from master

* Add support for "preview" param on designer URL
Hide data structure toolbox

* [Designer] Enhanced sample picker dialog

* Fix integration mistake

* [Designer] Combine open sample and new card buttons
Also fully remove "full screen" button

* Remove references to removed buttons

* Sample picker tweaks

* Fix nasty regression introduced by fix in master

* [Designer] Add CHANGELOG.md

* Publishing preview designer + AC JS packages

* [Designer] HostContainer controls target version

* [Designer] Adding getCard and setCard back

* bump package versions for beta release

* Update README.md

* Improve experience for modern browsers

* [Designer] Add modulus, round, ceil, floor func.
[Renderer] Serialization bug fixes

* Update README

* Small cleanup

* Work in progress

* Work in progress

* [Templating] Fix $when not working within loops
[Renderer] Dynamically convert values to string for string properties

* [Templating] Add toString, parseInt, parseFloat
Refactor function storage to avoid name conflicts
[Renderer] Revert automatic conversion to string

* CLeanup

* Work in progress

* Work in progress

* Work in progress

* Small fixes

* [Designer] Styling update

* [Designer] Styling update

* Work in progress

* Work in progress

* Work in progress

* Disable lockDataStructure

* Work in progress

* Work in progress

* Package-lock updates

* Work in progress

* Move to Adaptive Expression

* Cleanup

* Templating tweaks + initial doc generation

* [Templating] Bug fixes

* Add null check for this.renderedElement

* updated website pacakge versions. removed const from exported enums

* [Templating] Fix regr introduced with last commit
Update README.ms

* [Templating] Fix broken {{Date}} and {{TIME}}

* fix website templating script based on API changes

* Changes to accommodate Schema changes (#3967)

* Changes to accommodate Schema changes:
* appId property - removed
* autoRefresh property - renamed
* userIds and displayCardWhenRefresh properties inside refresh - removed

* Renamed ActivityInvocationContext.Refresh to ActivityInvocationContext.Automatic

* Renamed ActivityInvocationContext as ActivityInvocationTrigger

* Moving ActivityInvocationTrigger inside InvokeActivity as per design

* Update to use AEL

* Better auto refresh handling

* update template samples location and where website loads them from

* Updated the Scenarios

* Fix website - load Monaco before designer init

* Update designer README

* ported samples updates from .net branch

* [Site] Fix data sample not loading

* variable misnamed

* Add built-in refresh button

* Fix data structure gen from null

* update site script

* Fix duplicated refresh button

* Small doc fix

* Update to AEL 4.9.0-rc4

* Revert "Update to AEL 4.9.0-rc4"

This reverts commit e3a0d77146.

* Upgrade to AEL 4.9.0-rc5

* Updated samples and added Elements cards

* Revert "Merge branch 'ts/renderer-refactor' of github.com:Microsoft/AdaptiveCards into ts/renderer-refactor"

This reverts commit 858c7c02ff, reversing
changes made to 7cd9ef601c.

* Revert "Updated samples and added Elements cards"

This reverts commit 7cd9ef601c.

* Updated Samples

* Revert "Updated Samples"

This reverts commit 94d5e357c4.

* one git automatic merge led to build errors and had to revert several commits

* updated samples and added Elements payload after fixing bungled merge

* [Designer] Bump Teams to 1.2

* site new card dialog loads template versions now

* update stock template

* Update dependencies

* Npm audit fix

* Incorporate changes from main

* Merge AAF code into renderer package

* removing failing test for now to test AAF publishing

* update AC package version to 3.x for AAF testing

* Make AdaptiveApplet registries public

* Fix new syntax error

* New AdaptiveApplet.onExecuteAction event

* Add AdaptiveApplet.hostConfig

* Allow blocking manual refreshes

* Add support for per-action progress indicator

* Refactor to make UB model part of main SDK
Add support for providing custom SerializationContext to AdaptiveApplet

* Some refactoring to support auth model

* Package cleanup

* More refactoring for auth support

* Web Chat support schema 1.3 (#5514)

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

* Some renaming

* Fix weird discrepancy with main

* Auth support complete

* Add anchor right click support
Cleanup

* Tweaks

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Co-authored-by: Matt Hidinger <matt.hidinger@gmail.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: Muthurathinam <6259786+muthurathinam@users.noreply.github.com>
Co-authored-by: nesalang <nesalang@gmail.com>
Co-authored-by: William Wong <compulim@users.noreply.github.com>

* Update Action.Execute.json

Update doc URL for Action.Execute

* [Shared] 1.4 - Action.Execute (#5539)

* UAM

* moar tests

* PR feedback

* Add new files to UWP to unbreak build

* Fix ShouldSerialize

Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>

* [.NET] Add support for parsing schema 1.4 features (#5531)

* [.NET] Add support for parsing schema 1.4 features

* PR feedback

* PR feedback

* [Android] Action.Execute support (#5551)

* Fix SWIG ordering

* Action.Execute support

* Revert ParseUtil::GetValueAsString; not a duplicate

* Bump version

* [iOS] Action.Execute Changes (#5549)

* UAM

* moar tests

* PR feedback

* Add new files to UWP to unbreak build

* [iOS] Action.Execute ios change

* [iOS] exposed auth card to the root card

* [iOS] fixed typo

* added unit tests

* [iOS] Added Action.Execute Renderer

* [iOS] CR Comments

Co-authored-by: Risheek Rajolu <risheekrr@gmail.com>
Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>

* [UWP] Add parsing of schema 1.4 changes and Action.Excute support (#5554)

* [UWP] Add parsing of schema 1.4 changes and Action.Excute support

* Fix SAL

Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>

* Add validation + Action.Execute test card

* [iOS] updated text view to update its intrinsic content size dynamically (#5560)

* [JS] Universal Action designer support + some bug fixes (#5565)

* Universal Actions designer support
Plus some bug fixes

* Cleanup

* [JS] Action.description and TextBlock.style

* version update for Android

* description --> tooltip

* Bump custom.props version

* [JS] Updated package deps

* [JS] Updated package versions

* Metrics for layout structure comparison (#5576)

* Added bleu score metric collection for layout structure comparions

* latest changes based on review comments

* removed OrderedDict for sorting

* latest changes

* command usage changes

* [shared] Parser support for TextBlock headings changes (#5577)

* [Shared] Text Heading Support

* Added Samples

* changed spaces to tabs in .json

* [iOS] Text heading changes (#5584)

* [Shared] Text Heading Support

* Added Samples

* [iOS] Text heading changes

* [Android][Accessibility] TextBlock style: heading (#5587)

* [Android] Accessible Headings

* Bump to 1.5

* Missed SWIG enum

* [UWP][Shared] Implement Text Heading Object model for UWP and fix shared model serialization (#5601)

* Remove tooltip implementation

* Remove tooltip from schema

* Remove tooltip (description) from designer

Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Co-authored-by: Matt Hidinger <matt.hidinger@gmail.com>
Co-authored-by: Muthurathinam <6259786+muthurathinam@users.noreply.github.com>
Co-authored-by: nesalang <nesalang@gmail.com>
Co-authored-by: William Wong <compulim@users.noreply.github.com>
Co-authored-by: Risheek Rajolu <risheekrr@gmail.com>
Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>
Co-authored-by: Keerthana Manoharan <43063410+Keerthana786@users.noreply.github.com>

* [JS] TextBlock.style (#5607)

* Schema 1.4 (#5317)

* Schema update for Action.Execute and refresh

* Generate 1.4 schema file

* Updated specs

* Update toc.yml

* Updated specs

* Add authentication

* Updated specs

* Fix typos

* Add missing Action.Execute.verb

* Update verbiage

* Add Action.Execute sample

* Table of contents updates and labels on the sample inputs

Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>

* [JS] Add support for Universal Actions (#5533)

* Work in progress

* strictNullChecks, noImplicitAny
noImplicitReturns, noImplicitThis, noUnusedLocals
noFallthroughCasesInSwitch
More refactoring
Work in progress

* var --> let

* Array<type> --> type[]
for (let i = 0 ...) --> for (let item of ...)
Additional cleanup
Work in progress

* null --> undefined where appropriate

* Code organizing plus some cleanup

* CardObject, CardElement, TextBlock now use schema

* Image, FactSet now use schema

* FactSet fully uses schema

* Library size reduction

* Looking at decorators...

* Fully move to decorators

* Some cleanup

* selectAction/inlineAction --> schema

* ChoiceSet/ToggleInput --> schema

* Media -> schema

* All inputs --> schema

* Fix IE11 compat (don't use obj.constructor.name)

* OpenUrl/ToggleVis./Submit -> schema

* Action.Http --> schema

* Everything now uses schema

* Merge changes from master

* Fix designer build break

* Add version info in type registries
Plus some cleanup

* Forgot to add v1.2 to ToggleVisibility

* API simplification

* Library size reduction (~2 KB minified)

* Reduce library size

* Small simplification

* Update README wih notable changes so far

* More simplifications

* More simplification + 1KB size reduction

* More simplification + bug fix

* Parse logic refactor (WIP)

* Refactor parse logic (WIP)

* Move designer off global registry

* Small cLeanup

* Refactor toJSON

* Parse/serialize to/from specific schema version
Full version picker support
Still WIP, but almost there

* Code complete - full version picker support

* Fix test case + minor tweak

* Designer bug fixes and minor enhancements

* Review feedback so far + designer improvements

* Designer bug fixes

* Add support for cancelling d&d with ESC

* Review feedback + fix value type for number input

* Address review feedback

* More review feedback

* Fix Image.Width/Height serialization regression

* Fix Action.Submit not incl. empty inputs anymore
Add onExecuteAction handler in Preview Mode

* Small designer tweak

* Small popup control refactor

* [Designer] Enhanced data binding support

* [Designer] Small tweak/fix

* [Designer] Improved sample data support

* Use correct sample data in Preview Mode

* Integrate changes from master

* Add support for "preview" param on designer URL
Hide data structure toolbox

* [Designer] Enhanced sample picker dialog

* Fix integration mistake

* [Designer] Combine open sample and new card buttons
Also fully remove "full screen" button

* Remove references to removed buttons

* Sample picker tweaks

* Fix nasty regression introduced by fix in master

* [Designer] Add CHANGELOG.md

* Publishing preview designer + AC JS packages

* [Designer] HostContainer controls target version

* [Designer] Adding getCard and setCard back

* bump package versions for beta release

* Update README.md

* Improve experience for modern browsers

* [Designer] Add modulus, round, ceil, floor func.
[Renderer] Serialization bug fixes

* Update README

* Small cleanup

* Work in progress

* Work in progress

* [Templating] Fix $when not working within loops
[Renderer] Dynamically convert values to string for string properties

* [Templating] Add toString, parseInt, parseFloat
Refactor function storage to avoid name conflicts
[Renderer] Revert automatic conversion to string

* CLeanup

* Work in progress

* Work in progress

* Work in progress

* Small fixes

* [Designer] Styling update

* [Designer] Styling update

* Work in progress

* Work in progress

* Work in progress

* Disable lockDataStructure

* Work in progress

* Work in progress

* Package-lock updates

* Work in progress

* Move to Adaptive Expression

* Cleanup

* Templating tweaks + initial doc generation

* [Templating] Bug fixes

* Add null check for this.renderedElement

* updated website pacakge versions. removed const from exported enums

* [Templating] Fix regr introduced with last commit
Update README.ms

* [Templating] Fix broken {{Date}} and {{TIME}}

* fix website templating script based on API changes

* Changes to accommodate Schema changes (#3967)

* Changes to accommodate Schema changes:
* appId property - removed
* autoRefresh property - renamed
* userIds and displayCardWhenRefresh properties inside refresh - removed

* Renamed ActivityInvocationContext.Refresh to ActivityInvocationContext.Automatic

* Renamed ActivityInvocationContext as ActivityInvocationTrigger

* Moving ActivityInvocationTrigger inside InvokeActivity as per design

* Update to use AEL

* Better auto refresh handling

* update template samples location and where website loads them from

* Updated the Scenarios

* Fix website - load Monaco before designer init

* Update designer README

* ported samples updates from .net branch

* [Site] Fix data sample not loading

* variable misnamed

* Add built-in refresh button

* Fix data structure gen from null

* update site script

* Fix duplicated refresh button

* Small doc fix

* Update to AEL 4.9.0-rc4

* Revert "Update to AEL 4.9.0-rc4"

This reverts commit e3a0d77146.

* Upgrade to AEL 4.9.0-rc5

* Updated samples and added Elements cards

* Revert "Merge branch 'ts/renderer-refactor' of github.com:Microsoft/AdaptiveCards into ts/renderer-refactor"

This reverts commit 858c7c02ff, reversing
changes made to 7cd9ef601c.

* Revert "Updated samples and added Elements cards"

This reverts commit 7cd9ef601c.

* Updated Samples

* Revert "Updated Samples"

This reverts commit 94d5e357c4.

* one git automatic merge led to build errors and had to revert several commits

* updated samples and added Elements payload after fixing bungled merge

* [Designer] Bump Teams to 1.2

* site new card dialog loads template versions now

* update stock template

* Update dependencies

* Npm audit fix

* Incorporate changes from main

* Merge AAF code into renderer package

* removing failing test for now to test AAF publishing

* update AC package version to 3.x for AAF testing

* Make AdaptiveApplet registries public

* Fix new syntax error

* New AdaptiveApplet.onExecuteAction event

* Add AdaptiveApplet.hostConfig

* Allow blocking manual refreshes

* Add support for per-action progress indicator

* Refactor to make UB model part of main SDK
Add support for providing custom SerializationContext to AdaptiveApplet

* Some refactoring to support auth model

* Package cleanup

* More refactoring for auth support

* Web Chat support schema 1.3 (#5514)

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

* Some renaming

* Fix weird discrepancy with main

* Auth support complete

* Add anchor right click support
Cleanup

* Tweaks

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Co-authored-by: Matt Hidinger <matt.hidinger@gmail.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: Muthurathinam <6259786+muthurathinam@users.noreply.github.com>
Co-authored-by: nesalang <nesalang@gmail.com>
Co-authored-by: William Wong <compulim@users.noreply.github.com>

* Update Action.Execute.json

Update doc URL for Action.Execute

* [Shared] 1.4 - Action.Execute (#5539)

* UAM

* moar tests

* PR feedback

* Add new files to UWP to unbreak build

* Fix ShouldSerialize

Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>

* [.NET] Add support for parsing schema 1.4 features (#5531)

* [.NET] Add support for parsing schema 1.4 features

* PR feedback

* PR feedback

* [Android] Action.Execute support (#5551)

* Fix SWIG ordering

* Action.Execute support

* Revert ParseUtil::GetValueAsString; not a duplicate

* Bump version

* [iOS] Action.Execute Changes (#5549)

* UAM

* moar tests

* PR feedback

* Add new files to UWP to unbreak build

* [iOS] Action.Execute ios change

* [iOS] exposed auth card to the root card

* [iOS] fixed typo

* added unit tests

* [iOS] Added Action.Execute Renderer

* [iOS] CR Comments

Co-authored-by: Risheek Rajolu <risheekrr@gmail.com>
Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>

* [UWP] Add parsing of schema 1.4 changes and Action.Excute support (#5554)

* [UWP] Add parsing of schema 1.4 changes and Action.Excute support

* Fix SAL

Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>

* Add validation + Action.Execute test card

* [iOS] updated text view to update its intrinsic content size dynamically (#5560)

* [JS] Universal Action designer support + some bug fixes (#5565)

* Universal Actions designer support
Plus some bug fixes

* Cleanup

* [JS] Action.description and TextBlock.style

* version update for Android

* description --> tooltip

* Bump custom.props version

* [JS] Updated package deps

* [JS] Updated package versions

* Metrics for layout structure comparison (#5576)

* Added bleu score metric collection for layout structure comparions

* latest changes based on review comments

* removed OrderedDict for sorting

* latest changes

* command usage changes

* [shared] Parser support for TextBlock headings changes (#5577)

* [Shared] Text Heading Support

* Added Samples

* changed spaces to tabs in .json

* [iOS] Text heading changes (#5584)

* [Shared] Text Heading Support

* Added Samples

* [iOS] Text heading changes

* [Android][Accessibility] TextBlock style: heading (#5587)

* [Android] Accessible Headings

* Bump to 1.5

* Missed SWIG enum

* [UWP][Shared] Implement Text Heading Object model for UWP and fix shared model serialization (#5601)

* Remove tooltip implementation

* Remove tooltip from schema

* Remove tooltip (description) from designer

* Restore Action.accessibleTitle

* Add TextBlock.headingLevel to HostConfig

* HostConfig.textBlock -> HostConfig.headings

* Designer fix after rebasing to js-1.5-preview

Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Co-authored-by: Matt Hidinger <matt.hidinger@gmail.com>
Co-authored-by: Muthurathinam <6259786+muthurathinam@users.noreply.github.com>
Co-authored-by: nesalang <nesalang@gmail.com>
Co-authored-by: William Wong <compulim@users.noreply.github.com>
Co-authored-by: Risheek Rajolu <risheekrr@gmail.com>
Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>
Co-authored-by: Keerthana Manoharan <43063410+Keerthana786@users.noreply.github.com>

* Add Action.tooltip

* Promote tooltip to aria-label when appropriate

Co-authored-by: Robin Liao <yilia@microsoft.com>
Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Co-authored-by: Matt Hidinger <matt.hidinger@gmail.com>
Co-authored-by: Muthurathinam <6259786+muthurathinam@users.noreply.github.com>
Co-authored-by: nesalang <nesalang@gmail.com>
Co-authored-by: William Wong <compulim@users.noreply.github.com>
Co-authored-by: Risheek Rajolu <risheekrr@gmail.com>
Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>
Co-authored-by: Keerthana Manoharan <43063410+Keerthana786@users.noreply.github.com>
2021-04-14 14:32:28 -04:00
RebeccaAnne a644c14f1a
[Schema] Update choices to be optional on choiceset (#5646)
* [Schema] Update choices to be optional on choiceset

* Updated specs

Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
2021-04-12 14:31:06 -07:00
RebeccaAnne a01f8b6038
Merge RTL feature branch to main (#5623)
* [Shared] Rtl support (#5578)

* Squash + resolve conflicts

* Refactor RTL to only apply to Container, Column, AdaptiveCard

* [JS] Handle explicit rtl: false (#5589)

* [JS] Handle explicit rtl: false

* Test cards

* PR feedback

* [UWP] Add RTL support to UWP (#5600)

* [iOS] added RTL support (#5604)

* [iOS] added RTL support

* [iOS] few updates

* [iOS] fixed samples

* [.NET] Add RTL support to WPF renderer (#5611)

* [Android] Improve right-to-left locale support, add rtl override flag support (#5581)

* Squash + resolve conflicts

* Refactor RTL to only apply to Container, Column, AdaptiveCard

* SWIG, Android RTL

* Re-SWIG after rebase

* FactSet alignment

* ImageSet order, alignment

* [Schema] Add RTL property to schema (#5616)

* [Schema] Add RTL property to schema

* Change "1.5" to "vNext"

* Update type to be nullable and provided more detailed description of behavior

* Updated specs

Co-authored-by: Risheek Rajolu <risheekrr@gmail.com>
Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>
Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
2021-04-07 11:10:54 -07:00
RebeccaAnne 660e762f74
Merge the text heading branch into main (#5620)
* [shared] Parser support for TextBlock headings changes (#5577)

* [Shared] Text Heading Support

* Added Samples

* changed spaces to tabs in .json

* [iOS] Text heading changes (#5584)

* [Shared] Text Heading Support

* Added Samples

* [iOS] Text heading changes

* [Android][Accessibility] TextBlock style: heading (#5587)

* [Android] Accessible Headings

* Bump to 1.5

* Missed SWIG enum

* [UWP][Shared] Implement Text Heading Object model for UWP and fix shared model serialization (#5601)

* [UWP][Shared] Added host config and UWP renderer support for heading style (#5612)

* [Schema] Add Text Block style property to schema (#5615)

* [Schema] Add Text Block style property to schema

* Update schema version from "1.5" to "vNext"

* Updated specs

Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>
Co-authored-by: Risheek Rajolu <risheekrr@gmail.com>
Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
2021-04-06 14:52:59 -07:00
Paul Campbell 0117e422b0
Update Action.Execute.json
Update doc URL for Action.Execute
2021-03-11 08:57:19 -08:00
David Claux 0bf7b0a011
Schema 1.4 (#5317)
* Schema update for Action.Execute and refresh

* Generate 1.4 schema file

* Updated specs

* Update toc.yml

* Updated specs

* Add authentication

* Updated specs

* Fix typos

* Add missing Action.Execute.verb

* Update verbiage

* Add Action.Execute sample

* Table of contents updates and labels on the sample inputs

Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>
2021-03-11 08:26:05 -08:00
Matt Hidinger 690df15007
Update Action.ToggleVisibility.json 2021-03-08 10:44:48 -08:00
Matt Hidinger 875e35a06b
Update toggle visibility to make targetElements required 2021-03-08 10:43:30 -08:00
RebeccaAnne 69b1a43030
Feature/associated inputs (#5155)
* [JS] Action.Submit.associatedInputs support (#5136)

* Action.Submit.associatedInputs support

* Remove unnecessary imports. Better README

* Remove unnecessary code

* [Shared] Add associatedInputs property to Action.Submit (#5139)

* Add property and re-swig

* Remove unused ignoreInputValidation, add tests

* Fix test, re-swig

* [UWP] Add support for associatedInputs none value (#5141)

* [UWP] Add support for associatedInputs none value

* Code review feedback

Co-authored-by: Risheek Rajolu <risheekrr@gmail.com>

* [.NET] Add support for associatedInputs none value (#5137)

* [Schema] Add associatedInputs to the schema and docs (#5140)

* [Schema] Add associatedInputs to the schema and docs

* Add default to schema

* Implemented associated input (#5148)

* Implemented associated input

* addressed the review comments

* [Android] Support associatedInputs: none (#5152)

* AssociatedInputs.None Android

* Unintended change

* Delete xml doc files

Co-authored-by: David Claux <dclaux@users.noreply.github.com>
Co-authored-by: Risheek Rajolu <risheekrr@gmail.com>
Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
2020-12-10 12:40:43 -08:00
Kyle Delaney b8bc8a11d1
Fix "containting" typo (#4973)
Co-authored-by: RebeccaAnne <rebecch@microsoft.com>
2020-11-02 12:22:57 -08:00
RebeccaAnne 9372f16fcb
[Doc] Update the schema documentation for TextRun to explicitly call out text shorthand (#4910)
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
2020-10-27 09:11:02 -07:00
RebeccaAnne ae3d5f26e8
Update ColumnSet schema to include Horizontal Alignment (#4886)
* Update ColumnSet schema to include Horizontal Alignment

* Updated specs

Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
2020-10-26 14:47:56 -07:00
Joseph Woo d8a889b88f
Added Placeholder to ChoiceSet (#4811)
* Fixed the crash issue

* Fixed Bleeding Crash Issue

* finishing up changes for bleed update

* work in progress

* updated ChoiceSetInput.cpp

* ios change

* schema & uwp changes

* Updated specs

* Android Changes

* addressed review comments

* Updated specs

* Added placeholder text example to test cards

* added a new card

* added UWP test images

* Fixed bad merge

* updated schema

* Updated specs

Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
Co-authored-by: almedina-ms <35784165+almedina-ms@users.noreply.github.com>
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
2020-09-29 12:46:34 -07:00
Paul Campbell 5e6388f112
[Schema] Add version to new regex property (#4729)
* [Schema] Add version to new regex property

Fixes #4728

* Updated specs

Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
2020-09-02 16:01:22 -07:00
RebeccaAnne 9e14f32d95
[Schema] Fix issues in host config input schema (#4696)
* [Schema] Fix issues in host config input schema

* Updated specs

Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
2020-08-31 10:17:18 -07:00
RebeccaAnne 77a570fc0b
[HostConfig Schema] Update Host Config schema to reflect changes made for input validation (#4581)
* [HostConfig Schema] Update Host Config schema to reflect changes made for input validation

* Remove changes removing spacing
2020-08-26 10:35:32 -07:00
RebeccaAnne cb73ca4673
[Schema] Add underline to TextRun schema (#4559) 2020-08-14 17:11:54 -07:00
RebeccaAnne 0406f53829
[Schema docs] Update schema to call out input validation issues and link to documentation. (#4526) 2020-08-03 21:16:43 -07:00
RebeccaAnne 86e3a64e7f
[Spec][InputEvolution]Update schema and documentation files to match the latest spec (#4255)
* Update schema and documentation files to match the latest spec

* Update to remove documentation of optional suffixes as they are not supported.

* Update with latest design decisions

* Regenerate the schema file
2020-07-22 16:11:38 -07:00
almedina-ms c1e9ad02ef
Feature/input evolution (#4005)
* Add classes for validation

* Add interfaces for input validation

* [UWP] Input Validation Prototype

* Second version of validation

* Update some stuff

* Add minor fixes and ur

* Add multitype label support

* Fix break

* Add support for card elements as labels

* Add automation properties

* Add fixes for accessibiloty

* Add host config support

* Fix accessibility for error messages

* Add host config options for validation behavior

* Modify host config to show enw options

* Add files to project

* Remove UWP specific code

* Remove Android specific code changes

* Update test files

* [TS] Input validation (#4197)

* Work in progress

* Code complete

* Now actually code complete

* Fix not all required inputs gathered from ShowCard

* Accessibility support

* Add aria-required, hide suffix from accessibility

* aria-required for Toggle and ChoiceSet

* Add sample

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

* [Shared model] Update namings in host config (#4213)

* Remove validation behaviour from host config

* Update namings in hostconfig

* Fix build errors

* Fix some test json for bugbash

* Fix cards with errors

* Update long labels to be loooooooooooooooooooooong

* [DevSpec] Updates to input validation spec (#4190)

* Input Validation Spec Documents

* Fix casing on broken image links'

* Updates to document based on discussions and feedback

* Minor formatting change

Updated the "Start the documentation site" heading to be at the same level as the rest of the headings

* Removing instructions around explicit hexo install

* [Security] Bump handlebars in /source/nodejs/adaptivecards (#3692)

* Bump handlebars from 4.1.2 to 4.5.3 in /source/community/reactnative (#3694)

* [UWP] Fix null dereference in Media code path (#3669)

[UWP] Fix null dereference in Media code path

* [UWP] Fix RendererRegistration error handling and fix inheritance issue with WholeItemsPanel (#3710)

* updated the doc (#3706)

* updated the doc

* Updated specs

* updated the description

* Updated specs

* updated the doc to correct wrong info

* Updated specs

* [Accessibility] Fixing some color contrast issues in the website (#3698)

* Updating adaptivecards.io homepage's roadmap links to point to the updated productboard portal

* Fixes #3577 ; Fixes #3576:

* Fixing outlook.css since that is the style sheet that is being picked up by default when you hit the explorer page

* automatic package.json changes

* Fixing color syntax

* Site readme updates (#3699)

1. Including PreRequisite section around repo bootstrap linking to root readme
2. Cleaning up build commands to use lerna to be consistent with root readme and removing redundant steps

* added test to parse and render all sample cards (#3679)

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* [UWP] Remove image comparison from unit tests (#3724)

* [UWP] Remove image comparison from unit tests

* Code review feedback

* Added MaxActions Limit Check (#3696)

* Added MaxActions limit check and replaced multiple of GetActions() call
That returns a structure by value

* added UnitTesting and Warning

* added UnitTesting and Warning

fixed comments

Co-authored-by: almedina-ms <35784165+almedina-ms@users.noreply.github.com>
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* Jwoo/ios telephony update (#3680)

* updating telephony detection for markdown link

* undo uneccesary changes

* updated RichTextBlockRenderer to detect Telephony link

* updated sample card

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* [Android] Fix scrolling behaviour in multiline Input.Text (#3714)

* Fix scrolling behaviour in multiline text input

* Add test files

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* Fix vertical content alignment for elements in root (#3716)

* [SharedModel] Skip date/time tests outside of Pacific TZ (#3611)

* [SharedModel] Skip date/time tests outside of Pacific TZ

Fixes #3609

* Rename TEST_MODULE_INITIALIZE method

* Remove TEST_MODULE_INITIALIZE altogether

* Update macro name

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* Create cortana-beta-light.json (#3729)

New HostConfig for Cortana Windows UWP beta, light mode. To be added to the drop down as: Cortana (Beta) - Light

* Create cortana-beta-dark.json (#3730)

Co-authored-by: Matt Hidinger <matt.hidinger@gmail.com>

* [Android] Fix to have HH:mm in Input.Time elements (#3713)

* Fix to have short time format

* Change helper function

* Add unit tets

* Add sample test json

* Remove unnecessary test file

* Fixed #3741 (#3743)

* Updated Cover FillMode Behavior (#3725)

* Updated Cover FillMode Behavior

* Revew Comments Addresssed

* adding testing card

* Updated file

* Updated Handling of Preprocessed Text (#3727)

* Updated preprocessed text handling

* updated formatting

* Added Accesibility Tags

* updated accessibility

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* updated project file to expose media rendere (#3726)

* iOS new layout scheme (#3687)

* Updated iOS layout
* removed wrapper on TextBlock and RichTextBlock renderers
* updated layout views to use intrinsic contentsize
* updated property value for layout vies
* Added key value observation for hidden property to allow toggle
visibility and the new layout change to work together

* Updated views with toggle visibility to update its contentsize based on
their visibility changes
Updated padding priority for bleeding

* restores to working project file

* updated project file for xcode

* updated for CR comments

* Fixed for CR comments

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* updated the gradle property to handle error token (#3742)

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* More feedback updates

* Add backwards compatibility section

* Update to labels spec to reflect the latest discussions

* Add an update to the label spec to cover the current state of discussions

* Update some open discussion and comments

* Update link

* Flesh out host config options

* Fix some comments

* Fix more comments

* Split original spec into two options

* Fix comment from discussion

* Get the general spec on track with the other two

* Add almost final version

* Move costing outside of appendix

* Add index to point to topics easier

* Add table of contents for validation

* Add WCA Guidelines

* Add requirements

* Update specs

* Remove markdown from v1

* Make small updates to input validation spec

* Add fixes for comments from last meeting

* Update host config structure

* Take options out of scope for associated inputs

* Add changes from 05/26 meeting

* Update requirements

* Update last details of spec

* [Android] Show all ActionSet's in column (#4181)

* Adjust ActionSet container height to fit contents

* Add test card

* Fix UWP build break after branch change and merge

* Revert no longer relevent changes in samples and schema

Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: jarusse <59999260+jarusse@users.noreply.github.com>
Co-authored-by: Matt Hidinger <matt.hidinger@gmail.com>
Co-authored-by: Risheek Rajolu <risheekrr@gmail.com>

* [UWP] Input Evolution (#4088)

* Re add everything related to UWP

* Remove validation behaviour from host config

* Remove references to validation behaviour

* Update input retrieval

* Add changes to respect label and error messages on custom inputs

* Remove comment and repeated code

* Update namings in hostconfig

* Update host config and fixes broken error message setting

* Fix first batch of comments in PR

* Remove render context from input value constructor

* Fix more comments from PR

* Fix more comments

* Fix text wrapping in error message and bug in time input validation

* Fix input retrieval bug

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* [Android] Input labels and errors support (#4039)

* First working android version for inputs and errors

* Clean up android tests

* Fix tests for other input types

* Update swig files

* Fix build error

* Remove validation behaviour from host config

* Remove validation behaviour references

* Working version n1 for visible views only

* Add more changes to respect basic properties as spacing

* Add fix to compress casting tasks

* Fix some behaviours and check that all inputs work

* Update host config

* Updsate object model file

* Readd legacy card import for testing purposes

* Fix android not rendering elements

* Fix issues found in bug bash'

* Fix test fieks

* Fix tests

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* Fix casting issue

* Add missing file from previous commit

* [WPF] Input Evolution (#4172)

* Add NET shared model support and WPF rendering support for labels and error messages

* Fix validation bugs

* Fix some acessibility issues

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* [UWP] Fix inline actions not getting inputs (#4266)

* Fix inline actions not validating inputs

* Updated specs

Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>

* [UWP] Respect host config formatting for labels (#4289)

* Fix host config on labels

* Fix comments

* Fix crashes when no input exist in a card (#4316)

* [UWP] Sample custom input (#4282)

* Add sample input and changes the use of internal id for string id

* Fix commments from PR

* [WPF] Rename the input label host config property to match cpp shared model (#4308)

* Rename the input label host config properties

* Remove build files from git

* Remove invalid test cards and add new valid test cards

* Remove associated inputs from submit actions

* Fix failing tests

* Fix test errors

* Rename custom input to be the same as other renderers (#4328)

* Fix input visibility (#4306)

* Fix crash when clicking inline actin (#4290)

* Fix samples (#4347)

* Remove build files from git

* Add properties to hostconfig and fix duplicated id

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* [TS] Input accessibility + designer open sample dialog fixes (#4239)

* [JS] Input accessibility and designer fixes

* Fix Input.Number min/max not honored when set to 0

* Update package-lock.json

* Further package-lock.json updates

Co-authored-by: Paul Campbell (DEP) <paulcam@microsoft.com>
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* Ts/input label as label (#4354)

* [JS] Input label as <label>

* Fix typo

* Update package-lock.json

* Another package-lock update

* Small preview mode fix

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

* [Android] fix focus on elements (#4321)

* Add custom input element to verify correct label rendering

* Fix Focus Visibility on choiceset elements

* Add missing file change

* Fix build error

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* work in progress

* completed input view

* completed input label & work in progress for inputvalidation

* [UWP] Fix crash when invoking show cards (#4370)

* Remove control validation (#4379)

* [Android] Fix suffix rendering in labels (#4372)

* Remove build files from git

* Fix label suffix

* [Android] Fix visual input cue to clean the state on instantiation (#4373)

* Remove build files from git

* Fix preloaded visual cue

* [Android] Fix empty date input (#4374)

* Remove build files from git

* Fix date input to allow being empty on start

* complted implementing input validation

* [JS] Regenerate package-lock files

* code complete

* Revert "Merge branch 'jwoo/ios-input-evolution' into feature/inputEvolution"

This reverts commit dda9109802, reversing
changes made to 609f25e465.

* Emit warning for required inputs without label (#4435)

* [UWP] Fix Input.Number validation logic to ensure value is a number (#4432)

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* [WPF] Fix automation properties (#4371)

* Remove build files from git

* Fix AutomationProperties for Accessibility

* Fix comments from pr

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* Add warnings for empty labels in required inputs (#4409)

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* Add warning for empty label in required input (#4454)

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* Add input retrieval to inlinr submit actions (#4453)

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* [Android] Fix stretch textblock claiming all visible space (#4452)

* Fix elements taking the whole space

* Add sample files

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* Sample updates (#4455)

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* Change choiceset returns from null to empty (#4458)

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* ios input evolution (#4437)

* refactored and fixed bug bash bugs

* fixed merge error

* added warning messages when there is no error message is present when the input has the validations

* refactored code and fixed unit tests

* updated failed test card since bad card is fixed

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* Fix label to make hint always have attention color (#4456)

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>

* Fixing .NET CI tests for feature/inputEvolution (#4462)

* Ignoring default value for LabelConfig.inputspacing during serialization

* Updating API doc

* Fixing regression in WPF renderer processing v1.0 inputs

* Reverting changes to default launchSettings for the ImageRenderer sample

Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: David Claux <dclaux@users.noreply.github.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>
Co-authored-by: jarusse <59999260+jarusse@users.noreply.github.com>
Co-authored-by: Matt Hidinger <matt.hidinger@gmail.com>
Co-authored-by: Risheek Rajolu <risheekrr@gmail.com>
Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
2020-07-22 07:29:37 -07:00
Kyle Delaney 951a10b3b5
Fix ActionSet description (#3423)
* Fix ActionSet description

* Update ActionSet.md

Co-authored-by: Kyle Delaney <v-kydela@microsoft.com>
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Co-authored-by: Matt Hidinger <matt.hidinger@gmail.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: RebeccaAnne <rebecch@microsoft.com>
2020-07-20 10:46:23 -07:00
RebeccaAnne bf7879f158
Update documentation for ImageSet sizes (#4332)
* Update documentation for ImageSet sizes

* Update generated schema file
2020-07-10 10:13:13 -07:00
Matt Hidinger c0441b80bc
Updating docs for Image to clarify acceptable formats (#4253)
* Update Image.json

* update all image properties

* Updated specs

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
2020-06-30 08:46:25 -07:00
Matt Hidinger 1feac36d5c
Update TextBlock docs to clarify that markdown is supported (#4163)
* Update TextBlock docs to clarify that markdown is supported

* Clarify that TextRun does not support markdown

* Updated specs

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
2020-06-30 08:45:57 -07:00
Matt Hidinger 4a0fa018ba
Update Input.Text.json (#4169)
* Update Input.Text.json

Fixes #3296

* Fix typo

* Updated specs

Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
2020-06-29 14:39:19 -07:00
Joseph Woo 0a1ba95067
updated the doc (#3706)
* updated the doc

* Updated specs

* updated the description

* Updated specs

* updated the doc to correct wrong info

* Updated specs
2020-01-09 13:58:04 -08:00
RebeccaAnne 76c4fc5eab
Input Labels Spec Documents (#3618)
* Input Labels Spec Documents

* Updated with some feedback from design discussion meeting

* More review feedback upates

* Update schema and spec to have label on all inputs

* Update test app results for new sample
2019-12-04 16:09:28 -08:00
Matt Hidinger 0fb536edda
Updates to website and blog (#3261)
* experiment with a separate hexo blog

* fix bad merge

* blog polished, added rss, styling, improved editing.

had to rename `typed-schema` to `ac-typed-schema` since the pervious name conflicts with an already published npm package

* remove unusued files, style tweaks, fixing highlighting

* homepage coming together nicely

* site mostly working in subdir, hashing cleanup, lots of home content

* fixed blog relative links

* designer fix and generate schema explorer

* add build-model back to git

* testing

* fix env var

* tweaking github author generator

* fix images, links, favicon

* fix filename

* small tweaks

* added copy to clipboard button

* add Copy Code button, better feedback button, blog code snippets

* lots of polish

* changing blog to use subtitle instead of excerpt

* added site footer and polished blog styling

* blog and samples page fully working in desktop and mobile

* schema explorer styled

* added community call blog content

* update package lock

* made some of the site config driven, updated blog posts, cleanup

* fixed blog videos, added footer link

* fix designer open sample

* update quote

* update quotes

* cant async load highlightjs

* schema fix, blog fix, trying to fix fabric random build failures

* Updated specs

* fixed ac-typed-schema to return case-sensitive file names for examples

* forgot a file

* updated some docs and starting to bundle remote assets

* Updated blogging docs, tweaking home page copy based on feedback

Fixes #3432

* updated releases tags

* copy and styling

* update ufh header

* designer cdn: added CSS and updated unpkg references to be less fragile

* Bundling all third-party assets locally

* addressing accessibility color contrast requirements

* make homepage videos pause when not in viewport

* fixing small compliance issues

* remove old .net website hasn't been used in ages

* make homepage video autoplay

* visual tweaks to homepage

* typo in aria attribute

* accessibility fixes

* september blog post

* improving script load performance and improving accessibility

- selectively loaded scripts based on the page to delay uneeded downloads
- move scripts to the footer where possible to improve page load speed
- minor accessibility improvements to the roles of elements

* hardened script if other files couldn't load

* small fixes

* improving twitter share cards

* twitter meta fixes
2019-09-30 18:50:10 -07:00
Andrew Leader 4504ae56da
Remove backgroundImage from ColumnSet (#3250)
The property wasn't supposed to be on there and it was an accidental addition to the schema which none of the renderers support

* Removed the `backgroundImage` property from the schema
* Updated the `Input.Toggle.value` description since it had a new typo and was also worded very confusingly
* Generated the new `1.2.1` schema
2019-07-19 16:18:19 -07:00
Kyle Delaney caf7d8db16 Fix typo (#3108) 2019-07-01 11:28:26 -07:00
Andrew Leader a6383af354
Spec tooling and specs (#3068)
Added tooling so that we can generate specs from our schema, so that our spec'ing process starts with updating the schema first, leading to less errors and mistakes in the end :)

In `schemas\src`, add your new properties/elements to the schema

![UpdateSchema](https://user-images.githubusercontent.com/13246069/59529888-0fee6b80-8e97-11e9-8925-d29264c57b4d.gif)


### 3. Generate the updated spec

If you followed the setup instructions, simply save the file and the spec will be updated! Add any necessary rendering details to the spec.

![UpdatedSpec](https://user-images.githubusercontent.com/13246069/59530207-e2ee8880-8e97-11e9-8957-de92911c2935.gif)


## Review spec

Submit a pull request for your updated spec/schema. The proposed schema in the proposal becomes outdated and should be replaced with a link to the PR.

![image](https://user-images.githubusercontent.com/13246069/59530515-a8392000-8e98-11e9-8d25-62d40d550517.png)


I'll share more details about this at Monday's meeting. Lots of details about the new proposed spec'ing process are captured here: https://github.com/microsoft/AdaptiveCards/wiki/Project-Management

###### Microsoft Reviewers: [Open in CodeFlow](http://wpcp.azurewebsites.net/CodeFlowProtocolProxy2.php?pullrequest=https://github.com/microsoft/AdaptiveCards/pull/3068)
2019-06-18 10:45:07 -07:00
Andrew Leader 8efc5bc98b
Add px to Column.width and some other schema description updates (#3080)
* Add pixel widths to column

* Describe the pixel format of minHeight

* Update 1.2.0 schema descriptions

There's no actual schema validation changes, just description changes, so no need to bump the version number
2019-06-18 09:45:24 -07:00
Andrew Leader 8caee17196 Schema and site updates for 1.2 (#3044)
WOOT
2019-06-12 08:49:46 -07:00
Matt Hidinger 0b76208f68
add better description for version 2019-03-14 15:38:39 -07:00
Matt Hidinger e23268c8f7
Update some missing 1.1 docs / schema explorer stuff (#2295)
* fix designer css

* update some missing 1.1 docs. Fixes #2288

* unrelated change to fix something else

* added image height and width samples
2019-01-11 09:59:50 -08:00