Merge remote-tracking branch 'origin/main' into refactor/ui
This commit is contained in:
@@ -254,7 +254,9 @@
|
|||||||
:label="
|
:label="
|
||||||
$t('parameters') +
|
$t('parameters') +
|
||||||
`${
|
`${
|
||||||
newParams$.length !== 0 ? ' \xA0 • \xA0 ' + newParams$.length : ''
|
newParams$.length !== 0
|
||||||
|
? ' \xA0 • \xA0 ' + newParams$.length
|
||||||
|
: ''
|
||||||
}`
|
}`
|
||||||
"
|
"
|
||||||
:selected="true"
|
:selected="true"
|
||||||
@@ -864,7 +866,12 @@ import { generateCodeWithGenerator } from "~/helpers/codegen/codegen"
|
|||||||
import { getSettingSubject, applySetting } from "~/newstore/settings"
|
import { getSettingSubject, applySetting } from "~/newstore/settings"
|
||||||
import { addRESTHistoryEntry } from "~/newstore/history"
|
import { addRESTHistoryEntry } from "~/newstore/history"
|
||||||
import clone from "lodash/clone"
|
import clone from "lodash/clone"
|
||||||
import { restEndpoint$, restParams$, restRequest$, setRESTEndpoint } from "~/newstore/RESTSession"
|
import {
|
||||||
|
restEndpoint$,
|
||||||
|
restParams$,
|
||||||
|
restRequest$,
|
||||||
|
setRESTEndpoint,
|
||||||
|
} from "~/newstore/RESTSession"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: { Splitpanes, Pane },
|
components: { Splitpanes, Pane },
|
||||||
@@ -915,7 +922,7 @@ export default {
|
|||||||
],
|
],
|
||||||
|
|
||||||
newEndpoint$: "",
|
newEndpoint$: "",
|
||||||
newParams$: []
|
newParams$: [],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
subscriptions() {
|
subscriptions() {
|
||||||
@@ -927,7 +934,7 @@ export default {
|
|||||||
"EXPERIMENTAL_URL_BAR_ENABLED"
|
"EXPERIMENTAL_URL_BAR_ENABLED"
|
||||||
),
|
),
|
||||||
newEndpoint$: restEndpoint$,
|
newEndpoint$: restEndpoint$,
|
||||||
newParams$: restParams$
|
newParams$: restParams$,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -2181,7 +2188,7 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
restRequest$.subscribe(x => console.log(x))
|
restRequest$.subscribe((x) => console.log(x))
|
||||||
this._keyListener = function (e) {
|
this._keyListener = function (e) {
|
||||||
if (e.key === "g" && (e.ctrlKey || e.metaKey)) {
|
if (e.key === "g" && (e.ctrlKey || e.metaKey)) {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
|
|||||||
Reference in New Issue
Block a user