portainer/app/docker/views/services/edit/includes
itsconquest a5e8cf62d2
feat(UX): introduce new env variables UI (#4175)
* feat(app): introduce new env vars ui

feat(app): introduce new env vars ui

feat(UX): WIP new env variables UI

feat(UX): update button and placeholder

feat(UX): mention .env file in message

feat(UX): allow add/remove value & load correctly

feat(UX): restrict filesize to 1MB

feat(UX): vertical align error message

feat(UX): fill UI from file & when switching modes

feat(UX): strip un-needed newline character

feat(UX): introduce component to other views

feat(UX): fix title alignment

feat(UX): only populate editor on mode switch when key exists

feat(UX): prevent trimming of whitespace on values

feat(UX): change editor to async

feat(UX): add message describing use

feat(UX): Refactor variable text to editorText

refactor(app): rename env vars controller

refactor(app): move env var explanation to parent

refactor(app): order env var panels

refactor(app): move simple env vars mode to component

refactor(app): parse env vars

refactor(app): move styles to css

refactor(app): rename functions

refactor(container): parse env vars

refactor(env-vars): move utils to helper module

refactor(env-vars): use util function for parse dot env file

fix(env-vars): ignore comments

refactor(services): use env vars utils

refactor(env-vars): rename files

refactor(env-panel): use utils

style(stack): revert EnvContent to Env

style(service): revert EnvContent to Env

style(container): revert EnvContent to Env

refactor(env-vars): support default value

refactor(service): use new env var component

refactor(env-var): use one way data flow

refactor(containers): remove unused function

* fix(env-vars): prevent using non .env files

* refactor(env-vars): move env vars items to a component

* feat(app): fixed env vars form validation in Stack

* feat(services): disable env form submit if invalid

* fix(app): show key pairs correctly

* fix(env-var): use the same validation as with kubernetes

* fix(env-vars): parse env var

Co-authored-by: Chaim Lev-Ari <chiptus@gmail.com>
Co-authored-by: Felix Han <felix.han@portainer.io>
2021-06-14 18:59:07 +12:00
..
configs.html chore(project): add prettier for code format (#3645) 2020-04-11 09:54:53 +12:00
constraints.html chore(project): add prettier for code format (#3645) 2020-04-11 09:54:53 +12:00
container-specs.html chore(project): add prettier for code format (#3645) 2020-04-11 09:54:53 +12:00
containerlabels.html chore(project): add prettier for code format (#3645) 2020-04-11 09:54:53 +12:00
environmentvariables.html feat(UX): introduce new env variables UI (#4175) 2021-06-14 18:59:07 +12:00
hosts.html chore(project): add prettier for code format (#3645) 2020-04-11 09:54:53 +12:00
image.html feat(docker): show docker pull rate limits (#4666) 2021-03-24 19:27:32 +01:00
logging.html chore(project): add prettier for code format (#3645) 2020-04-11 09:54:53 +12:00
mounts.html fix(service-details): clear volume source when changing type (#4671) 2021-03-02 23:10:34 +01:00
networks.html feat(docker/services): Add the ability to edit a service networks (#3957) 2020-08-07 11:11:47 +12:00
placementPreferences.html chore(project): add prettier for code format (#3645) 2020-04-11 09:54:53 +12:00
ports.html chore(project): add prettier for code format (#3645) 2020-04-11 09:54:53 +12:00
resources.html chore(project): add prettier for code format (#3645) 2020-04-11 09:54:53 +12:00
restart.html chore(project): add prettier for code format (#3645) 2020-04-11 09:54:53 +12:00
secrets.html chore(project): add prettier for code format (#3645) 2020-04-11 09:54:53 +12:00
servicelabels.html chore(project): add prettier for code format (#3645) 2020-04-11 09:54:53 +12:00
tasks.html chore(project): add prettier for code format (#3645) 2020-04-11 09:54:53 +12:00
updateconfig.html chore(project): add prettier for code format (#3645) 2020-04-11 09:54:53 +12:00