-
Notifications
You must be signed in to change notification settings - Fork 221
Kata editing permission is not thoroughly documented and UI is not consistent #1723
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
Comments
I can confirm this also happens on:
|
I just looked at the code. For approved kata, "Edit Kata" is shown to authors and users with enough honor to approve kata (6000). This doesn't make any sense :( I'll change this to show if you have enough honor to coauthor (4000). EDIT: For approved kata, there's more conditions. See #1723 (comment) |
@kazk Good, I can see the UI part is fixed. Can you confirm this part in the OP?
|
Yeah, I deployed that fix like 30 minutes ago. For "dangling issue for a week", I'm still looking. I don't think I touched it since I inherited so it should be the same as before. |
@Bubbler-4 For approved kata, you can edit if
So unresolved issue/suggestion is needed in order to become a new coauthor. For beta kata, this restriction doesn't apply. I'll add this to the documentation. |
Added to the bottom of Privileges |
Describe the bug
At 4000 honor, a user is supposed to get a power to contribute to others' katas. For approved katas though, the permission seems to vary from one kata to another. Also, a kata is sometimes editable even when it doesn't show "edit kata" button in the UI.
To Reproduce
Steps to reproduce the behavior:
/kata/(kata_title)/edit/(language_name)
Notably, both katas have Haskell versions as translations with <10 solves, and ~300 solves as whole kata. Also, both authors are active (last seen Feb 2019). The only difference is that the first hasn't got any issues yet. I remember that a kata is unlocked to community when it has a dangling issue for a week - is it still correct?
For the UI,
my rough guess is that "Edit kata" gets hidden if the kata has "allow contributor" disabled, and it doesn't check for the "unlocked" status.Looking at this one, it already has "allow contributor" enabled but still doesn't show the "edit kata" button.Contexts
The text was updated successfully, but these errors were encountered: