cheeaun / cheeaun/phanpy

"Show content" doesn't show content

Open
#538 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
1.5k
Forks
186
Avg merge
1d 36m
Merged PRs (30d)
11

Description

When in my main feed, a post with a content warning has a "Show content" button. When I select that button, however, it does not show the content, it is exactly the same result if I just clicked anywhere else on the post - it moves it to the right-side selected-post view, but still with the content hidden and a "Show content" button.

I think the correct behavior would be just to show the content, inline. There's no reason to think that I will interact with this post and, if I do, I just need to click on the now-visible content and phanpy can proceed as usual.

Here are two screenshots showing the current behavior.

![image](https://github.com/cheeaun/phanpy/assets/17555/663292c2-ac19-4df7-9f19-d2de4f4b6859)

![image](https://github.com/cheeaun/phanpy/assets/17555/3e338ce0-484a-4655-9f16-f14eee0b6c85)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in the main feed at the content-warning "Show content" button and trace how selecting it opens the right-side post view. Confirm the current hidden-content behavior, then make the button reveal the post inline without selecting it; done means the content is visible in the feed and normal post interaction still works.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.