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
Conversation
ping @psykzz Have a look at the provided example and tell us what you think. |
That's perfect! Exactly what i was looking for |
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? |
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 |
@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? |
@Filirom1 would you be able to implement it as an 'advanced settings' behavior? |
Any update on that PR @Filirom1 ? |
ping @Filirom1 |
updates on this? |
Hello,
Is it something like this you were thinking of in #546 ?
If so, I can apply it to all key-value components.
Cheers
Romain