Skip to content

(shared): add 19 Teams official card samples#32

Merged
VikrantSingh01 merged 1 commit into
mainfrom
feat/teams-official-samples
Feb 14, 2026
Merged

(shared): add 19 Teams official card samples#32
VikrantSingh01 merged 1 commit into
mainfrom
feat/teams-official-samples

Conversation

@VikrantSingh01

@VikrantSingh01 VikrantSingh01 commented Feb 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • Integrates all 19 card samples from OfficeDev/Microsoft-Teams-Adaptive-Card-Samples into the test card gallery
  • 17 cards from the main repo + 2 responsive layout cards from PR #39
  • Cards placed in shared/test-cards/teams-official-samples/ with a new "Teams Official" category on both platforms
  • All cards are Adaptive Card v1.5 with responsive layouts (targetWidth, Layout.AreaGrid), Badge, Icon, and other advanced features

Cards 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 files
  • Android CardGalleryScreen.ktTEAMS_OFFICIAL enum + 19 card definitions + description
  • iOS CardGalleryView.swiftteamsOfficialSamples in CardCategory/CardSection enums, subdirectory load call, summary pill

No build config changes needed — Android asset dirs and iOS dynamic discovery handle the new subdirectory automatically.

Test plan

  • All 19 JSON files validate as proper Adaptive Cards (v1.5)
  • Android ./gradlew :sample-app:assembleDebug — BUILD SUCCESSFUL
  • Android ./gradlew test — all tests pass
  • iOS swift build — Build complete
  • iOS swift test — 232 tests, 0 failures
  • iOS SampleApp xcodebuild build — BUILD SUCCEEDED

@VikrantSingh01 VikrantSingh01 changed the title feat(shared): add 19 Teams official card samples (shared): add 19 Teams official card samples Feb 14, 2026
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)
@VikrantSingh01 VikrantSingh01 force-pushed the feat/teams-official-samples branch from f9d8ae7 to eb5d150 Compare February 14, 2026 16:53
@VikrantSingh01 VikrantSingh01 self-assigned this Feb 14, 2026
@VikrantSingh01 VikrantSingh01 merged commit 586fd40 into main Feb 14, 2026
21 checks passed
VikrantSingh01 added a commit that referenced this pull request Mar 11, 2026
(shared): add 19 Teams official card samples
@VikrantSingh01 VikrantSingh01 deleted the feat/teams-official-samples branch March 12, 2026 00:56
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.
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.

1 participant