Skip to content
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

Add alerts to embeds #1138

Merged
merged 3 commits into from
Aug 8, 2023
Merged

Add alerts to embeds #1138

merged 3 commits into from
Aug 8, 2023

Conversation

pfrazee
Copy link
Collaborator

@pfrazee pfrazee commented Aug 8, 2023

Embeds currently don't have alerts when they should:

CleanShot 2023-08-08 at 12 37 48@2x CleanShot 2023-08-08 at 12 34 11@2x

This PR fixes that:

CleanShot 2023-08-08 at 12 33 37@2x

This also applies to a "downgrading" behavior† which applies to self quote posts:

CleanShot 2023-08-08 at 12 45 59@2x

† Moderation UI "downgrades" from filters & blurs to just alerts for your own content. This is to avoid confusingly absent content, but it's currently a little inconsistent -- it correctly downgrades on quote posts but not on images. I'm going to tweak this behavior a bit, but for now it's useful to get this fix done.

Copy link
Member

@estrattonbailey estrattonbailey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, was able to run e2e mock server and seeds locally to confirm

@pfrazee pfrazee merged commit bbe9861 into main Aug 8, 2023
@pfrazee pfrazee deleted the embed-alerts branch August 8, 2023 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants