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

Support suggesting in zen mode #5131

Open
exzhawk opened this issue Jan 3, 2021 · 2 comments
Open

Support suggesting in zen mode #5131

exzhawk opened this issue Jan 3, 2021 · 2 comments
Labels
enhancement Adding or requesting a new feature. ux Issues related to user experience.

Comments

@exzhawk
Copy link
Contributor

exzhawk commented Jan 3, 2021

Is your feature request related to a problem? If so, please describe.
I noticed that a user with only "Suggest" privilege can not use zen mode.
The user has no zen mode button on the translation interface. And if he manually enters zen mode by changing URL, weblate will alert "Insufficient privileges for saving translations.".

Describe the solution you'd like
I wonder is it possible to allow a user with only "Suggest" privilege to contribute Suggestions using zen mode. The zen mode does help boosting efficiency for some users. So it's frustrating that they can't use it.

Describe alternatives you've considered
I'm going to do some frontend hack to see if my idea is possible/easy to use.

Additional context
If a user with both "Suggest" and "Translate" privilege is using zen mode, it might be confusing whether he is going to submit the contribution as Suggestion or Translation. My idea is providing a single select option somewhere, which can control if it's a Suggestion or Translation. The option should default to Translation if the user has "Translate" privilege, and disabled(greyed out) the "Translation" option if the user doesn't have the privilege.

@nijel nijel added enhancement Adding or requesting a new feature. ux Issues related to user experience. labels Jan 3, 2021
@exzhawk
Copy link
Contributor Author

exzhawk commented Jan 3, 2021

FYI, I've made a clumsy implement here. exzhawk@429569c
It's too hacky to be PR, so I'll leave it there.
A screenshot.
image

@nijel
Copy link
Member

nijel commented Jan 4, 2021

It isn't that bad :-). The UI would need some improvement and the permission check on the first unit in the list is problematic as it might be read-only or approved string which user can not edit, but he might have permissions to edit other ones...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adding or requesting a new feature. ux Issues related to user experience.
Projects
None yet
Development

No branches or pull requests

2 participants