cheeaun / cheeaun/phanpy

Pictures not blurred even behind a CW

Open
#440 3 comments 1 reaction 0 assignees View on GitHub
bug in progress
Dominant language
JavaScript
Stars
1.5k
Forks
186
Avg merge
1d 36m
Merged PRs (30d)
11

Description

**Describe the bug**

When a post has a CW (content warning), the pictures are not blurred in the timeline - they are blurred in the stand-alone post, though.

- Which site: phanpy.social
- Which instance: pouet.it

**To Reproduce**
Steps to reproduce the behavior:
1. Go to phanpy.social
2. Wait until a person posts with CW and images 😬
3. See error

**Expected behavior**
The pictures have to be blurred if the post has a CW.

**Screenshots**

The following picture is a screenshot of my timeline (names and non-relevant posts blurred in GIMP for anonymity): to the left, in the timeline, we can see a post with a CW and images. The images are visible. To the right, the same post is opened, the content is not shown and the pictures are correctly blurred.

![A screenshot of Phanpy with the timeline to the left, centred on a post, and the same post opened to the right](https://github.com/cheeaun/phanpy/assets/1056086/53f5b9b3-402a-41fb-9e8b-996c364aee5b)

**Desktop (please complete the following information):**
- OS: Linux Ubuntu 20.04
- Browser: Firefox
- Version: 123.0

**Additional context**
- I'm not really sure that behaviour is linked to the boost carousel or is global; I did not find an example outside a carousel when searching in order to open this issue.
- On the Mastodon web interface, the pictures are blurred correctly.

Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue on phanpy.social with a CW post containing images, comparing the timeline and stand-alone post views; the report does not name files or tests. Trace the two rendering paths, including the boost carousel if relevant, then verify that CW images are blurred in the timeline.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.