Skip to content
Snippets Groups Projects

When a post with a subject is collapsed, hide its attachments.

Merged nia requested to merge scarlett/pleroma-fe:attachment-collapse into develop

Currently, attachments will appear in the timeline even if a post is collapsed.

This hides them when the post is collapsed and reveals them when the post is expanded.

If the attachment is marked NSFW, the NSFW clickthrough will still be there won't be there if collapse subjects is on.

I did this because I noticed I wasn't realising that posts with subjects and attachments had post bodies that I could read, because my brain thought that since I could see the attachments, I must be looking at the full post.

This frees up more space in a timeline when a user collapses a post, because there won't be big image blocks there.

Before (collapsed)

before

After (collapsed)

yearofands

Expanded (except imagine no NSFW clickthrough)

expanded

Edited by nia

Merge request reports

Pipeline #3283 passed

Pipeline passed for 52ce86ed on scarlett:attachment-collapse

Approval is optional

Merged by kaniinikaniini 6 years ago (Aug 26, 2018 12:02am UTC)

Merge details

  • Changes merged into develop with a7c6007d.
  • Did not delete the source branch.

Pipeline #3285 failed

Pipeline failed for a7c6007d on develop

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading