Skip to content

Add "Expand All" action to Comments panel - #173132

Merged
Alex Ross (alexr00) merged 1 commit into
microsoft:mainfrom
hermannloose:expand-all
Feb 2, 2023
Merged

Add "Expand All" action to Comments panel#173132
Alex Ross (alexr00) merged 1 commit into
microsoft:mainfrom
hermannloose:expand-all

Conversation

@hermannloose

Copy link
Copy Markdown
Contributor

Fixes #172539.

I took inspiration from #85428 to only show one action at a time in the same place, making Expand All available when all items are collapsed.

Verified manually in a workspace with comments across two files and I mostly mirrored what was there for Collapse All, but I am not very familiar with the tree view APIs, so I hope I am using them correctly.

@alexr00 Alex Ross (alexr00) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks great, thank you fo rthe PR!

auto-merge was automatically disabled February 2, 2023 15:08

Pull request was closed

@alexr00
Alex Ross (alexr00) enabled auto-merge (squash) February 2, 2023 15:17
@alexr00
Alex Ross (alexr00) merged commit 263a672 into microsoft:main Feb 2, 2023
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Offer "Expand All" in Comments view

3 participants