Skip to content

(Samples): add responsive layout samples — Team Standup Summary & Project Dashboard#39

Open
VikrantSingh01 wants to merge 1 commit into
OfficeDev:mainfrom
VikrantSingh01:samples/responsive-layout-cards
Open

(Samples): add responsive layout samples — Team Standup Summary & Project Dashboard#39
VikrantSingh01 wants to merge 1 commit into
OfficeDev:mainfrom
VikrantSingh01:samples/responsive-layout-cards

Conversation

@VikrantSingh01

@VikrantSingh01 VikrantSingh01 commented Feb 14, 2026

Copy link
Copy Markdown

Summary

Adds two new sample cards that demonstrate responsive layout patterns using Layout.AreaGrid and targetWidth breakpoints:

1. Team Standup Summary

  • Displays daily standup status for team members with avatar, progress notes, and blocker highlights
  • Uses Layout.AreaGrid with targetWidth: "atLeast:Standard" to render a 2x2 grid on desktop that collapses to a single-column stack on Narrow/VeryNarrow
  • Dual-rendered header: ColumnSet for Narrow+ and stacked Container for VeryNarrow
  • Badge components for status indicators (On track, Blocked, Not reported)
  • Attention-styled blocker summary container for immediate visibility

2. Project Dashboard

  • Comprehensive project overview with KPI tiles, milestone timeline, team roster, and activity feed
  • Two Layout.AreaGrid layouts on KPI container: 4-column row at Standard+, 2x2 grid at Narrow, default stack at VeryNarrow
  • Layout.AreaGrid on milestones/team section for 60/40 side-by-side at Standard+ → stacked on mobile
  • targetWidth on individual elements to conditionally show/hide timestamps and dates
  • RichTextBlock activity feed with mixed-weight inline text

Responsive features demonstrated

Feature Team Standup Project Dashboard
Layout.AreaGrid ✅ (multiple)
targetWidth on layouts
targetWidth on elements
Badge component
Icon component
RichTextBlock
Dual-rendered content

Both samples include full README.md with responsive layout documentation, breakpoint tables, and implementation details. catalog.json updated with both entries.

Test plan

  • Validate card JSON in Adaptive Card Designer
  • Test at VeryNarrow, Narrow, Standard, and Wide breakpoints
  • Verify Light Mode, Dark Mode, and High Contrast themes
  • Test on mobile (iOS portrait/landscape, Android portrait/landscape)
  • Verify catalog.json loads correctly

…ive layout samples

Two new sample cards demonstrating Adaptive Cards responsive layout patterns:

- Team Standup Summary: Uses Layout.AreaGrid with targetWidth to display
  team members in a 2-column grid on Standard+ screens that collapses to
  a single-column stack on Narrow/VeryNarrow. Includes Badge components
  for status indicators and a highlighted blocker summary.

- Project Dashboard: Uses multiple Layout.AreaGrid definitions with
  different targetWidth breakpoints for KPI tiles (4-col → 2x2 → stack),
  milestones+team section (side-by-side → stacked), and targetWidth on
  individual elements to show/hide timestamps and dates based on width.

Co-Authored-By: Claude <noreply@anthropic.com>
@VikrantSingh01 VikrantSingh01 changed the title feat(samples): add responsive layout samples — Team Standup Summary & Project Dashboard (Samples): add responsive layout samples — Team Standup Summary & Project Dashboard Feb 14, 2026
@VikrantSingh01

Copy link
Copy Markdown
Author

Sample card outputs :

Screenshot 2026-02-14 at 8 05 53 AM Screenshot 2026-02-14 at 8 05 06 AM

@VikrantSingh01 VikrantSingh01 left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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