redhat-developer / redhat-developer/web-terminal-operator

Make the error messages great again

Open
#65 4 comments 0 reactions 0 assignees View on GitHub

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

image

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.