(shared): add 19 Teams official card samples#32
Merged
Conversation
Integrate all card samples from OfficeDev/Microsoft-Teams-Adaptive-Card-Samples into the test card gallery. These v1.5 cards demonstrate responsive layouts (targetWidth, Layout.AreaGrid), Badge, Icon, and other advanced features, providing valuable test coverage for both platforms. Sources: - 17 cards from main branch (account, book-a-room, cafe-menu, etc.) - 2 cards from PR #39 (project-dashboard, team-standup-summary)
f9d8ae7 to
eb5d150
Compare
VikrantSingh01
added a commit
that referenced
this pull request
Mar 11, 2026
(shared): add 19 Teams official card samples
VikrantSingh01
added a commit
that referenced
this pull request
Mar 12, 2026
(shared): add 19 Teams official card samples
VikrantSingh01
added a commit
that referenced
this pull request
Mar 14, 2026
- Toggle default state: sync iOS initial value with model's value/valueOn comparison to match Android behavior (#25) - ChoiceSet compact: restyle iOS to bordered dropdown (Menu + outlined button) matching Android's OutlinedButton + DropdownMenu (#27) - Table column width: use layoutPriority based on column weight definitions instead of equal sizing, fixing description truncation (#30) - Table vertical truncation: add fixedSize to prevent iOS content clipping at Center/Bottom sections (#36) - TextBlock truncation: add fixedSize(vertical) when wrap=true so iOS expands to full content height like Android (#31, #37) - Carousel page count: filter empty pages on both platforms for consistent page indicator dot counts (#32)
VikrantSingh01
added a commit
that referenced
this pull request
Mar 14, 2026
iOS fixes: - TextInputView: password style now ignores multiline flag, uses SecureField (#20) - TabSetView: fix tab text truncation with fixedSize, align icon-above-text layout (#24) - TableView: add fixedSize to prevent cell text truncation (#33) - ColumnSetView: reduce spacing for many-column layouts to prevent text wrapping (#22) - RatingDisplayView: add fixedSize to prevent garbled text in FlowLayout (#43, #44) - RatingInputView: ensure proper frame alignment (#43) - AdaptiveCardView: remove clipShape from root card to prevent bottom truncation (#41, #42) - DataGridInputView: format integers without decimal places (28 not 28.00) (#31) Android fixes: - TextInputView: add inline action button support and multiline min height (#19, #45, #49) - TextInputView: password style ignores multiline flag (#20 parity) - InputViews: change ChoiceSet compact style from button to bordered dropdown (#17) - InputViews: switch time display to 12h format for iOS parity (#18, #49) - MarkdownParser: parse inline markdown within numbered/bullet list items (#32)
VikrantSingh01
added a commit
that referenced
this pull request
Mar 15, 2026
…atforms iOS: Remove filled background highlight on selected tab, keep underline-only indicator matching Android. Remove fixedSize on tab text to allow truncation. Android: Use hostConfig emphasis background color for tab bar matching iOS. Issue #32
VikrantSingh01
added a commit
that referenced
this pull request
Mar 15, 2026
Remove filled background highlight on selected iOS tabs to match Android's underline-only indicator style. Also use default container background instead of emphasis background for the tab bar. Issue #32
VikrantSingh01
added a commit
that referenced
this pull request
Mar 15, 2026
…roid Issue #32: iOS tab bar used default background while Android uses emphasis background. Aligned iOS to use emphasis backgroundColor for consistency. Also fixed duplicate #if canImport(UIKit) directive.
VikrantSingh01
added a commit
that referenced
this pull request
Mar 20, 2026
- Toggle default state: sync iOS initial value with model's value/valueOn comparison to match Android behavior (#25) - ChoiceSet compact: restyle iOS to bordered dropdown (Menu + outlined button) matching Android's OutlinedButton + DropdownMenu (#27) - Table column width: use layoutPriority based on column weight definitions instead of equal sizing, fixing description truncation (#30) - Table vertical truncation: add fixedSize to prevent iOS content clipping at Center/Bottom sections (#36) - TextBlock truncation: add fixedSize(vertical) when wrap=true so iOS expands to full content height like Android (#31, #37) - Carousel page count: filter empty pages on both platforms for consistent page indicator dot counts (#32)
VikrantSingh01
added a commit
that referenced
this pull request
Mar 20, 2026
iOS fixes: - TextInputView: password style now ignores multiline flag, uses SecureField (#20) - TabSetView: fix tab text truncation with fixedSize, align icon-above-text layout (#24) - TableView: add fixedSize to prevent cell text truncation (#33) - ColumnSetView: reduce spacing for many-column layouts to prevent text wrapping (#22) - RatingDisplayView: add fixedSize to prevent garbled text in FlowLayout (#43, #44) - RatingInputView: ensure proper frame alignment (#43) - AdaptiveCardView: remove clipShape from root card to prevent bottom truncation (#41, #42) - DataGridInputView: format integers without decimal places (28 not 28.00) (#31) Android fixes: - TextInputView: add inline action button support and multiline min height (#19, #45, #49) - TextInputView: password style ignores multiline flag (#20 parity) - InputViews: change ChoiceSet compact style from button to bordered dropdown (#17) - InputViews: switch time display to 12h format for iOS parity (#18, #49) - MarkdownParser: parse inline markdown within numbered/bullet list items (#32)
VikrantSingh01
added a commit
that referenced
this pull request
Mar 20, 2026
…atforms iOS: Remove filled background highlight on selected tab, keep underline-only indicator matching Android. Remove fixedSize on tab text to allow truncation. Android: Use hostConfig emphasis background color for tab bar matching iOS. Issue #32
VikrantSingh01
added a commit
that referenced
this pull request
Mar 20, 2026
Remove filled background highlight on selected iOS tabs to match Android's underline-only indicator style. Also use default container background instead of emphasis background for the tab bar. Issue #32
VikrantSingh01
added a commit
that referenced
this pull request
Mar 20, 2026
…roid Issue #32: iOS tab bar used default background while Android uses emphasis background. Aligned iOS to use emphasis backgroundColor for consistency. Also fixed duplicate #if canImport(UIKit) directive.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
shared/test-cards/teams-official-samples/with a new "Teams Official" category on both platformstargetWidth,Layout.AreaGrid),Badge,Icon, and other advanced featuresCards added
account, author-highlight-video, book-a-room, cafe-menu, communication, course-video, editorial, expense-report, insights, issue, list, project-dashboard, recipe, simple-event, simple-time-off-request, standard-video, team-standup-summary, time-off-request, work-item
Changes
shared/test-cards/teams-official-samples/— 19 new JSON card filesCardGalleryScreen.kt—TEAMS_OFFICIALenum + 19 card definitions + descriptionCardGalleryView.swift—teamsOfficialSamplesinCardCategory/CardSectionenums, subdirectory load call, summary pillNo build config changes needed — Android asset dirs and iOS dynamic discovery handle the new subdirectory automatically.
Test plan
./gradlew :sample-app:assembleDebug— BUILD SUCCESSFUL./gradlew test— all tests passswift build— Build completeswift test— 232 tests, 0 failuresxcodebuild build— BUILD SUCCEEDED