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

Adding a text box in the manual scaling window fow the quick and precise input of the new replicas count #4700

Open
taimish opened this issue Jan 17, 2022 · 1 comment
Labels
area/ui enhancement New feature or request good first issue Good for newcomers

Comments

@taimish
Copy link

taimish commented Jan 17, 2022

What would you like to be added:
In the manual scaling window for deployments, stateful sets (and maybe others, I don't know what else can be scaled manually) add a text box to be able to input the new replicas count by typing digits. On the first single click all the content of the box should be selected so that inputting the new value will remove the old one.

Why is this needed:
If I need to increase/decrease deployment count by a couple of items then I can click on "+" and "-" buttons. If I want to scale a deployment from some value to a zero I can use the slider input. But if I want to scale a deployment from 0 to, for example, 6 now I need to precisely move the slider or press the "+" button several times and both ways are annoying. An ability to specify the required replicas count from a keyboard could solve that.

Environment you are Lens application on:

  • Kubernetes distribution: AKS
  • Desktop OS: Windows 10 PRO
@taimish taimish added the enhancement New feature or request label Jan 17, 2022
@Nokel81 Nokel81 added area/ui good first issue Good for newcomers labels Jan 17, 2022
@joao-zanutto
Copy link

Hey guys, I'm new here. I want to take on this task, how should I proceed?
I already have a draft code in my local computer where I implemented the input field as a native <input type="number"> tag.
I'm also facing an issue trying to parse the number string type to its actual number type in the onChange function. Any tips how can I accomplish this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants