Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Post action links that cannot be used should be hidden

+11
−0

When I'm signed in, I see a set of post action links such as the following (this is from a question):

Permalink | History | Suggest edit | Close | Delete | Flag

The "Suggest edit" changes to "Edit" if I am able to edit immediately.

However, when I'm not signed in, the corresponding set of links is:

Permalink | History | Close | Delete | Flag

I'm actually afraid to try them out, but as a user that's not signed in, I really don't think I should be able to close or delete a question, and one can argue whether or not I should be able to flag it.

All this to suggest that each action link should only be shown if I have sufficient privileges to use it on the post in question. Absent other changes to the post in question in the interim, I shouldn't, as a user, see an action link that ultimately results in being told some variation of "permission denied". That's just bad UX.

In the particular case of questions visited by a user who is not signed in, I suspect that the set of action links shown should be permalink and history; possibly also flag (if flagging as a not-signed-in user is allowed, which I do not intend for this Q&A to discuss). Certainly not close and delete.

To be honest, I'm not sure if this is a bug or a feature-request.

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

I think it was fixed? (2 comments)

1 answer

+4
−0

I'd like to move Close and Delete to the Tools menu (now that we have that menu). This menu is generated based on what you have the privilege to do, so that's a better place for these items. Doing this also reduces the number of options a user has to consider on each post.

Flag should stay visible so that it's obvious to everybody, including casual visitors, that you can flag bad stuff if you see it (like spam). Suggest Edit/Edit is available to everybody (in one of those forms) and making it visible serves an informational purpose; new users might not realize that people other than the author can edit posts. So I think both of those should remain on the post proper even though they are, technically, tools.

Moving these items to the Tools menu does make it a little harder to see that you can delete your own post. Maybe we should show the author the delete link.

History
Why does this post require moderator attention?
You might want to add some details to your flag.

1 comment thread

General comments (1 comment)

Sign up to answer this question »