cheeaun / cheeaun/phanpy

Option to Hide Sensitive Content does not appear if Sensitive Content is set to show by default

Open
#853 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.5k
Forks
186
Avg merge
1d 36m
Merged PRs (30d)
11

Description

**Describe the bug**
A clear and concise description of what the bug is.
- Which site: `phanpy.social`
- Which site version: `2024.08.31.1b8ab47`
- Which instance: [eldritch.cafe](https://eldritch.cafe/)

**To Reproduce**
1. In Mastodon Preferences -> Appearance
2. Set Media display to "Always show media"
3. See a post with Sensitive Content.
There is no way to hide the sensitive content without filtering the post (which seemingly can't be done on Phanpy? but that's a separate issue...)
![image](https://github.com/user-attachments/assets/164b3ffc-8f24-4e12-a144-090e23d2b639)

**Expected behaviour**
Content appears, but I should still have the option to hide the content.
![image](https://github.com/user-attachments/assets/d6b4e731-64a9-45e8-9c64-30f87e67b81f)
This is the behaviour on my instance's home web interface, glitch.soc.

**Desktop (please complete the following information):**
- Browser: `Firefox 131.0 (64-bit)`

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue using the listed Mastodon Appearance setting and a post marked as sensitive. Trace the sensitive-content media controls in the frontend and how the "Always show media" preference is handled. Done means sensitive content appears by default while still offering an option to hide it.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.