Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add option to show contents of collapsed comments#438

Merged
dessalines merged 12 commits into
LemmyNet:mainfrom
twizmwazin:show-collapsed-comment-contents
Jun 7, 2023
Merged

Add option to show contents of collapsed comments#438
dessalines merged 12 commits into
LemmyNet:mainfrom
twizmwazin:show-collapsed-comment-contents

Conversation

@twizmwazin

@twizmwazin twizmwazin commented Jun 6, 2023

Copy link
Copy Markdown
Contributor

Basic functionality is working, but still a few TODOs on this:

  • No indication if a comment is collapsed since the whole body is shown. Boost uses a little +N icon in the top bar.
  • Comments folding isn't animated currently
  • Settings migrations needs to be tested

@dessalines

dessalines commented Jun 6, 2023

Copy link
Copy Markdown
Member

Looking good so far! You might need to ping me whenever you need me to review, not sure how smartly github handles draft -> non-draft prs.

@twizmwazin twizmwazin force-pushed the show-collapsed-comment-contents branch from f0b84a2 to 874486e Compare June 6, 2023 21:23
@twizmwazin twizmwazin force-pushed the show-collapsed-comment-contents branch from 874486e to 8856507 Compare June 6, 2023 21:38
@twizmwazin twizmwazin marked this pull request as ready for review June 6, 2023 23:05
@twizmwazin twizmwazin requested a review from dessalines as a code owner June 6, 2023 23:05
@twizmwazin

Copy link
Copy Markdown
Contributor Author

Alright @dessalines, this should be ready!

@a1studmuffin

Copy link
Copy Markdown
Contributor

FYI I've also made a PR that fixes the comment collapsing feature I added from closing the top-level comment, which felt a bit weird/clumsy: #446

I don't mind which way we go though, just thought I'd throw it out there. :)

Comment thread app/src/main/java/com/jerboa/ui/components/common/TimeAgo.kt Outdated
Comment thread app/src/main/java/com/jerboa/ui/components/comment/CommentNode.kt
@dessalines

Copy link
Copy Markdown
Member

@a1studmuffin I'm good with either, we'll have to put out a poll to see what people prefer.

@twizmwazin

Copy link
Copy Markdown
Contributor Author

I'm testing the color fix right now and it should be posted in minutes.

Regarding the two PRs, I obviously have a preference towards mine. However, @a1studmuffin, I wouldn't mind adding a toggle to enable the behavior in your PR so that users can choose. My design is pretty much a one-to-one copy of boost's behavior.

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

Thanks, looks good!

Once it passes CI we can merge, run the ./gradlew formatKotlin

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

Thanks, looks good!

Once it passes CI we can merge, run the ./gradlew formatKotlin

@dessalines dessalines enabled auto-merge (squash) June 7, 2023 20:09
auto-merge was automatically disabled June 7, 2023 20:13

Head branch was pushed to by a user without write access

@dessalines dessalines enabled auto-merge (squash) June 7, 2023 20:14
@dessalines dessalines merged commit 4d62a1b into LemmyNet:main Jun 7, 2023
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