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

Flag button on user profile #1484

Open
trichoplax opened this issue Dec 13, 2024 · 3 comments
Open

Flag button on user profile #1484

trichoplax opened this issue Dec 13, 2024 · 3 comments
Labels
area: ruby Changes to server-side code complexity: unassessed Needs further developer investigation before complexity/feasibility can be determined. priority: medium type: change request New feature or request

Comments

@trichoplax
Copy link
Contributor

Is your feature request related to a problem? Please describe.
If a user has no posts and only exists to host a spam link in the user profile, there is currently no way to flag this for moderator attention (the workaround of flagging one of their posts doesn't work if they have no posts).

Describe the solution you'd like
A button on the user profile to allow anyone to flag it for moderator attention.

@cellio cellio added area: ruby Changes to server-side code type: change request New feature or request priority: medium complexity: unassessed Needs further developer investigation before complexity/feasibility can be determined. labels Dec 13, 2024
@cellio
Copy link
Member

cellio commented Dec 13, 2024

I think the only flag "type" that makes sense here is "mod attention", as only mods can do anything about profiles, so let's make it a flag button/link that asks for details in a textbox. Don't need flag menus here. (Let's distinguish it from the "mod attention" flag on posts. I believe that one's baked in, not defined in the flags YAML file, and this profile flag should be baked in too.)

The flags list will also need to display profile flags. I don't think posts are baked in there because comments are flaggable, but there might be some underlying code assumptions that'll need to be broadened.

@trichoplax
Copy link
Contributor Author

trichoplax commented Dec 13, 2024

I could imagine different types being useful if sufficient flags had an automatic effect (such as 10 spam flags hiding the profile from non-mods until a mod has made a decision), but if there are no plans for that then just the one text box sounds good. I don't think that would exclude any future enhancements.

@cellio
Copy link
Member

cellio commented Dec 13, 2024

Oh, that's a good point. I think when we get to that point, converting the single flag into a menu won't be big deal, but it sounds like it'd be a good idea for the underlying code to assume more than one option, so that we're only changing the UI when we get there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ruby Changes to server-side code complexity: unassessed Needs further developer investigation before complexity/feasibility can be determined. priority: medium type: change request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants