redhat-developer / redhat-developer/web-terminal-operator
Make the error messages great again
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 42
- Forks
- 24
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 1
Description
Is your enhancement related to a problem? Please describe.
"Terminal is disabled for cluster-admin users" is buried in the error message, and the prompt 'Please try again' stands out

Describe the solution you'd like
Don't ask users to try again if they are doing something that isn't supported
Describe alternatives you've considered
Dont' present the web terminal icon in the console if I'm logged in as cluster admin
Additional context
The context is that i'm tired and didn't notice the exact message, and I kept trying again (was just doing what the console said to do!)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the codebase for the exact message “Terminal is disabled for cluster-admin users” and the console entry point that displays the web terminal icon. Check how unsupported cluster-admin use is presented and identify the relevant UI tests, if any. Done means the message no longer asks users to retry and the icon is not presented for cluster-admin users.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100