-
Notifications
You must be signed in to change notification settings - Fork 231
Add select picker to env tab on pod page #674
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
Add select picker to env tab on pod page #674
Conversation
2a28378
to
5cab672
Compare
Is the "Container hello-openshift Environment Variables" something being passed into the kve? Otherwise i think I'd rather see Container [container dropdown] environment variables |
It seems odd that the environment tab on the pod page would be different than deployment configs and replication controllers. But if we change the other pages, we'll have to think about editing environment variables. Not sure how well the dropdown works in those cases. If I add a variable and switch containers, will I lose my change? What if I have an invalid value in a field that's not visible? This also doesn't fix any performance problems if there are a lot of variables for one container. I think we need to reproduce and profile the key value editor to find the bottleneck. |
@jwforres agree, lemme check and get rid of that extra heading. |
Right, but it's an editor, too. So we need to solve the usability problems with using selects for editing. And we should look at updating the "Set Resource Limits" and "Add Health Checks" editors if we add the container select here. |
Ie, decide if we want a "done" button for each one & alert the user if they select a different container but haven't finished the first? We could let them edit both & submit, but I wonder if that is a more confusing interface. |
The problem is the first done click will usually trigger a new deployment for a deployment config. Then you'll get a bunch of conflict errors if you try to edit the second container's variables because of deployment status updates. |
Hmm. So perhaps a msg indicating "currently editing, not saved", might even be smart to put the "done" button on top...? |
Looking at this again. Ideally we would disable the I'm looking at DCs now. When I change an env var, I'll get ~10 updates via |
Origin Web Console Action Required: Pull request cannot be automatically merged, please rebase your branch from latest HEAD and push again |
Looking @ addressing #620
@jwforres @spadgett