-
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Boosts carousel renders 'hide completely' filtered posts as empty elements #350
Comments
I've realised that not all CW'd posts experience this bug. For example: https://transmom.love/@elilla/111524776145758292 renders properly: For my original example, the rendered html for this element is just empty: oh and here's the post that experiences this bug. it's a request for mutual aid, so if you can chip in, it would help them a lot. https://comms.thedigitallancabin.net/objects/3675c771-d013-4ad8-a69f-4f3fd34f88e3 |
@MaddyUnderStars may I know what's the version of Phanpy you're using? On Phanpy, go to Settings and scroll to bottom to see the version in About section. |
dev.phanpy.social is running 2023.12.05.8009a8d, and phanpy.social is running 2023.12.06.efca016. it occurs on both. |
I've found another example of this behaviour. Here's a copy of the /home response for this boost {
"id": "111616402264784483",
"created_at": "2023-12-21T03:58:56.783Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "https://bungle.online/notes/9ni8m8zzax/activity",
"url": null,
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"edited_at": null,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"content": "",
"filtered": [
{
"filter": {
"id": "3296",
"title": "#mutualaid",
"context": [
"home"
],
"expires_at": null,
"filter_action": "hide"
},
"keyword_matches": [
"MutualAid"
],
"status_matches": null
}
],
"reblog": {
"id": "111616400134269650",
"created_at": "2023-12-21T03:58:25.492Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": "en",
"uri": "https://heckin.how/notes/9ni8lkusb9qu8q1e",
"url": "https://heckin.how/notes/9ni8lkusb9qu8q1e",
"replies_count": 0,
"reblogs_count": 4,
"favourites_count": 0,
"edited_at": null,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"content": "removed by me to remove the scroll bar",
"filtered": [
{
"filter": {
"id": "3296",
"title": "#mutualaid",
"context": [
"home"
],
"expires_at": null,
"filter_action": "hide"
},
"keyword_matches": [
"MutualAid"
],
"status_matches": null
}
],
"reblog": null,
"account": {
// not going to archive this
}
},
"account": {
// not going to archive this
},
"media_attachments": [],
"mentions": [],
"tags": [],
"emojis": [],
"card": null,
"poll": null
} After looking through this, I believe it might be due to my filter for "#mutualaid" set to hide completely (they just make me sad and I'm poor). So I guess the post renderer or whatever is returning |
I can confirm that setting the filter to hide with a warning instead renders correctly. |
Describe the bug
In the boosts carousel, posts with content warnings are rendered as 1px tall with no content.
Clicking the 1px tall element does bring up the correct post and is properly rendered.
To Reproduce
Expected behavior
For the standard "show content warning", blurred text, cw description, and username to be displayed.
Screenshots
![image](https://private-user-images.githubusercontent.com/46743919/289250845-d3e0a7f1-5047-4228-88f2-9409533c5089.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAwMDkyMjAsIm5iZiI6MTcyMDAwODkyMCwicGF0aCI6Ii80Njc0MzkxOS8yODkyNTA4NDUtZDNlMGE3ZjEtNTA0Ny00MjI4LTg4ZjItOTQwOTUzM2M1MDg5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAzVDEyMTUyMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYzZDk2ZDVmODMwOTVmMjA1Mzk1NTExMDg3MDNmODIwMDUyOGNlMjJmZTA3MTdkZWE0MDk1ODZmZWYyMjlmY2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.C9YQWEOJ6xW_hphu3bmu0WPX6JfAjL87hHXLmLfgEL4)
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: