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

feat(ui): Adding Mute/Block user/domain to the post dropdown menu as well #1673

Closed
wants to merge 1 commit into from

Conversation

peterbud
Copy link
Contributor

@peterbud peterbud commented Feb 8, 2023

This PR adds parity functions, enabling Mute/ Block user/Block domain directly from the post dropdown menu, without the need to open the user's profile.

Fixes #1518

@stackblitz
Copy link

stackblitz bot commented Feb 8, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@netlify
Copy link

netlify bot commented Feb 8, 2023

Deploy Preview for elk-docs canceled.

Name Link
🔨 Latest commit eb4076b
🔍 Latest deploy log https://app.netlify.com/sites/elk-docs/deploys/63e35fd39a04540008725dd3

@netlify
Copy link

netlify bot commented Feb 8, 2023

Deploy Preview for elk-zone ready!

Name Link
🔨 Latest commit eb4076b
🔍 Latest deploy log https://app.netlify.com/sites/elk-zone/deploys/63e35fd39898a9000813f82e
😎 Deploy Preview https://deploy-preview-1673--elk-zone.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@Shinigami92 Shinigami92 added the c: feature Request for new feature label Feb 25, 2023
@Shinigami92 Shinigami92 added the needs rebase There is a merge conflict label May 5, 2023
@Shinigami92
Copy link
Member

@peterbud could you please rebase and fix the conflict?

@click="toggleBlockAccount(useRelationship(status.account).value!, status.account)"
/>

<CommonDropdownItem
Copy link
Contributor

Choose a reason for hiding this comment

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

The "Block/Unblock Domain" items should only be shown when the account is on a different domain to the current user. See the equivalent v-if in AccountMoreButton.vue

@aaga aaga mentioned this pull request Jun 22, 2023
@patak-dev
Copy link
Member

Thanks for the work here @peterbud! We merged it through #2184 (sorry I missclicked and ended up removing the attribution 🙏🏼)

@patak-dev patak-dev closed this Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: feature Request for new feature needs rebase There is a merge conflict
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Easier way to mute
4 participants