Skip to content

Restore expand-all-hidden-comments feature - #5625

Merged
cheap-glitch merged 3 commits into
mainfrom
restore-expand-all
May 18, 2022
Merged

cheap-glitch merged 3 commits into
mainfrom
restore-expand-all

Conversation

@cheap-glitch

@cheap-glitch cheap-glitch commented May 11, 2022 •

Copy link
Copy Markdown
Contributor

Fixes #4921

Test URLs

  1. Go to https://togithub.com/lensapp/lens/pull/3910 and scroll down to the "131 hidden items / Load more" button.
  2. Alt-click it. Every comment in the main thread should load.
  3. Scroll down until you see a review thread with a "44 hidden comments" button.
  4. Alt-click it. Every review comment in the thread should load.

Screenshot

capture-1652448192.mp4

@cheap-glitch cheap-glitch left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The feature now clicks on new pagination forms as they are loaded, until it can't find one anymore.

It's been tested on main conversation threads as well as review sub-threads.

@cheap-glitch
cheap-glitch marked this pull request as ready for review May 13, 2022 13:30

@fregante fregante 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.

Looks great!

@cheap-glitch
cheap-glitch merged commit 9f19846 into main May 18, 2022
@cheap-glitch
cheap-glitch deleted the restore-expand-all branch May 18, 2022 18:54
@Nokel81

Nokel81 commented May 18, 2022

Copy link
Copy Markdown

Woot! Looking forward to the release with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

expand-all-hidden-comments doesn't work for PR conversations

3 participants