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

Show "suggest edit" and "flag" links when not signed in, and prompt for signin if clicked #1401

Open
cellio opened this issue Sep 10, 2024 · 0 comments
Labels
area: html/css/js Changes to front-end code complexity: unassessed Needs further developer investigation before complexity/feasibility can be determined. priority: medium type: change request New feature or request

Comments

@cellio
Copy link
Member

cellio commented Sep 10, 2024

meta:291586

Some elements, such as the tag "subscribe" button, are present for everybody but if you're not logged in, clicking them prompts you to log in. Can we do that on posts for "suggest edit" and "flag"? Two reasons:

  1. visibility: the new user can see that yes there's a way to alert us to that offensive content or fix that post's formatting
  2. convenience: you don't have to go to the top of the page, sign in, find your way back to possibly an answer far down on the page, and then do the thing (the reason pointed out in the meta post)

"Suggest edit" is a link so I assume we could do it the same way as for other links that require sign-in. "Flag" is a modal, so I don't know if we can intercept that to prompt for login -- that part of this request might not be practical. I guess we'd have to show a flag link when not signed in and turn it into the flag modal after sign-in?

@cellio cellio added area: html/css/js Changes to front-end code type: change request New feature or request priority: medium complexity: unassessed Needs further developer investigation before complexity/feasibility can be determined. labels Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: html/css/js Changes to front-end 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

1 participant