Skip to content

feat: add preview of ongoing items in the group for copilot variant#5637

Merged
OEvgeny merged 3 commits intomainfrom
feat/copilot-cot-fold
Nov 20, 2025
Merged

feat: add preview of ongoing items in the group for copilot variant#5637
OEvgeny merged 3 commits intomainfrom
feat/copilot-cot-fold

Conversation

@OEvgeny
Copy link
Copy Markdown
Collaborator

@OEvgeny OEvgeny commented Nov 20, 2025

Fixes #

Changelog Entry

  • (Experimental) Reworked the copilot variant to align with the modern Copilot UX, in PR #5630, by @OEvgeny, in PR #5634, by @OEvgeny, in PR #5637, by @OEvgeny,
    • The legacy design is temporarily available as copilot-deprecated for migration
    • Added loading animation for copilot, copilot-deprecated and fluent variants
    • Added preview for ongoing messages in the group for copilot variant

Description

This adds a preview of ongoing items from the activities group for the new copilot variant and shuffles a bit logics we use to display group title and status.

Specific Changes

-

  • I have added tests and executed them locally
  • I have updated CHANGELOG.md
  • I have updated documentation

Review Checklist

This section is for contributors to review your work.

  • Accessibility reviewed (tab order, content readability, alt text, color contrast)
  • Browser and platform compatibilities reviewed
  • CSS styles reviewed (minimal rules, no z-index)
  • Documents reviewed (docs, samples, live demo)
  • Internationalization reviewed (strings, unit formatting)
  • package.json and package-lock.json reviewed
  • Security reviewed (no data URIs, check for nonce leak)
  • Tests reviewed (coverage, legitimacy)

Comment thread __tests__/html2/part-grouping/fluent.dark.html.snap-1.png
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a preview feature for ongoing (incomplete) items in activity groups for the new Copilot variant. When a group is collapsed, it displays a preview of the incomplete message with smooth CSS animations and transitions.

Key Changes

  • Implements CSS animations for smooth collapsing/expanding of activity groups with preview of incomplete items
  • Refactors group header logic to conditionally display incomplete message abstracts
  • Adds a new CollapsibleGroupingList component to wrap activity lists with proper styling

Reviewed Changes

Copilot reviewed 10 out of 109 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
PartGroupingDecorator.module.css Adds CSS custom properties, animations, and transitions for collapsible group preview feature with incomplete item visibility
TranscriptFocus.module.css Adds min-height: 0 to enable proper CSS grid overflow behavior
TranscriptActivityList.tsx Wraps component with memo for performance optimization
PartGroupingActivity.tsx Refactors group header logic to show incomplete message abstracts and integrates new CollapsibleGroupingList
PartGroupingActivity.module.css Sets gap to 0 for activity list (gap now managed by parent)
CollapsibleGroupingList.tsx New component providing structured list wrapper with CSS class management
CollapsibleGrouping.module.css Adds grid layout and margin-based spacing for list items
folded.copilot.html / folded.copilot.dark.html New test files for copilot variant folded state
Snapshot PNG files Binary test snapshots (not reviewable for code issues)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread __tests__/html2/part-grouping/folded.skip.html Outdated
Comment thread __tests__/html2/part-grouping/folded.skip.html Outdated
Comment thread __tests__/html2/part-grouping/folded.skip.html Outdated
Comment thread __tests__/html2/part-grouping/folded.skip.html
Comment thread __tests__/html2/part-grouping/index.html.snap-9.png
@OEvgeny OEvgeny marked this pull request as ready for review November 20, 2025 21:45
@OEvgeny OEvgeny merged commit 1ebbb68 into main Nov 20, 2025
53 of 54 checks passed
@OEvgeny OEvgeny deleted the feat/copilot-cot-fold branch November 20, 2025 23:59
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