feat: added inline environment variable edit button (#2813)

* refactor: changes v-if render to v-show on Environments tabs

* feat: adds selectText prop to EnvInput

* feat: adds editing variable name to env Details modal

* feat: adds actions to invoke edit env modals

* feat: adds edit action to tooltip env

* refactor: adds destructuring assignment on action handlers for edit env modals

* refactor: fix comment on environment modals action

* chore: minor ui improvements

* refactor: change text selecion prop on EnvInput to something more meaningful

* refactor: removes comment on HoppEnvironment extension

* refactor: renames isTextSelected EnvInput prop to selectTextOnMount

* refactor: remove type definition of automatic inferrable variables

* refactor: edit environment call to only allow accepted types

* feat: introduce type safe action arguments

* fix: revert v-show to v-if

* chore: minor ui improvements

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
This commit is contained in:
Francisco Emanuel de Sales Pereira
2022-11-02 09:25:22 -03:00
committed by GitHub
parent 696c612489
commit 0069f51ea4
10 changed files with 176 additions and 30 deletions

View File

@@ -132,6 +132,7 @@ a {
.cm-tooltip {
.tippy-box {
@apply shadow-none;
@apply fixed;
@apply inline-flex;
@apply -mt-6;
@@ -166,10 +167,9 @@ a {
}
.env-icon {
@apply transition;
@apply inline-flex;
@apply items-center;
@apply mr-1;
@apply text-accentDark;
}
}