Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Expand All" action to Comments panel #173132

Merged
merged 1 commit into from Feb 2, 2023

Conversation

hermannloose
Copy link
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.

Copy link
Member

@alexr00 alexr00 left a comment

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!

@alexr00 alexr00 closed this Feb 2, 2023
auto-merge was automatically disabled February 2, 2023 15:08

Pull request was closed

@alexr00 alexr00 reopened this Feb 2, 2023
@alexr00 alexr00 enabled auto-merge (squash) February 2, 2023 15:17
@alexr00 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