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

feat (container): quickly editing environment variables (#546) #570

Closed
wants to merge 1 commit into from

Conversation

Filirom1
Copy link
Contributor

@Filirom1 Filirom1 commented Feb 5, 2017

Hello,

Is it something like this you were thinking of in #546 ?

env

If so, I can apply it to all key-value components.

Cheers
Romain

@ncresswell
Copy link
Member

ncresswell commented Feb 5, 2017 via email

@deviantony
Copy link
Member

ping @psykzz

Have a look at the provided example and tell us what you think.

@psykzz
Copy link

psykzz commented Feb 5, 2017

That's perfect!

Exactly what i was looking for

@thojkooi
Copy link
Contributor

thojkooi commented Feb 5, 2017

I feel this should be done in addition to the existing edit environment variables functionality. Perhaps with some toggle button to switch between both edit modes?

@ncresswell
Copy link
Member

ncresswell commented Feb 5, 2017 via email

@Filirom1
Copy link
Contributor Author

Filirom1 commented Feb 6, 2017

Having 2 modes for doing the same thing is not my prefered solution. It makes the user interface more complex and increase the number of click needed by the user to get to it.

I am aware that, it looks less sophisticated, but it's more powerful.

I tried to make it prettier, but when I add span to separate keys and values, the copy/paste function of Chrome add extra spaces between keys and values that are unwanted

@deviantony
Copy link
Member

deviantony commented Feb 8, 2017

@Filirom1 got a point. I do think that having multiple modes is bad for the UX.

On the other side, I feel that somehow this enhancement goes against the will behind Portainer which is really simple user experience.

Maybe we can mix both of the world by having the browser remembering which mode is selected so that when the user goes back to the container-creation view the last mode he used will be displayed.

@ncresswell what do you think?

@ncresswell
Copy link
Member

ncresswell commented Feb 8, 2017 via email

@deviantony
Copy link
Member

@Filirom1 would you be able to implement it as an 'advanced settings' behavior?

@deviantony deviantony added the changes-required Waiting for an update of the contributor label Feb 14, 2017
@deviantony
Copy link
Member

Any update on that PR @Filirom1 ?

@deviantony
Copy link
Member

ping @Filirom1

@deviantony deviantony added the rebase-required Indicates that the PR must be rebased on the latest development branch label Jul 20, 2017
@deviantony deviantony added status/1-functional-review Indicates that the PR is currently under functional review and removed contrib/tech-review-in-progress labels Sep 19, 2018
@metehus
Copy link

metehus commented Jul 7, 2020

updates on this?

@ghost
Copy link

ghost commented Oct 28, 2021

Closing as we now have the ability to add multiple key val pairs for env vars via a text box via advanced mode
image

@ghost ghost closed this Oct 28, 2021
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes-required Waiting for an update of the contributor has conflicts rebase-required Indicates that the PR must be rebased on the latest development branch status/1-functional-review Indicates that the PR is currently under functional review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants