From 3b47db1b353efa6836698e0f62016530bbdf3c0e Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Fri, 27 Mar 2026 14:07:08 +0200 Subject: [PATCH] feat: UI --- tests/wallets/index.html | 76 ++++++++++++++++++++++++++++------------ 1 file changed, 54 insertions(+), 22 deletions(-) diff --git a/tests/wallets/index.html b/tests/wallets/index.html index d66e06c8b..d36727eec 100644 --- a/tests/wallets/index.html +++ b/tests/wallets/index.html @@ -762,11 +762,18 @@ .function-mock-cell-stack { display: grid; gap: 12px; + align-content: start; } .function-mock-subfield { display: grid; gap: 6px; + align-content: start; + } + + .function-mock-cell-stack--rpc { + grid-auto-rows: min-content; + align-self: start; } .function-mock-json-cell { @@ -1656,15 +1663,6 @@ -
- -
-
{{ mockSet.error }}
@@ -1957,20 +1955,32 @@ -
+
- + :options="functionMockRequestTypeOptions" + emit-value + map-options + outlined + dense + options-dense + behavior="menu" + hide-dropdown-icon + class="fixture-select" + @update:model-value="handleFunctionMockRequestTypeChange(mockRow)" + > + +
- Request Type: Optional request payload format such as - json. + Request Type: Choose REST for HTTP mocks or + RPC for Python patch mocks.
@@ -1980,16 +1990,16 @@ v-model="mockRow.method" class="native-input" type="text" - placeholder="GET" + :placeholder="mockRow.requestType === 'function' ? 'package.module.symbol' : 'GET'" spellcheck="false" @input="persistFunctionMocks({ silent: true })" />
- Method: HTTP verb or RPC method name used by this reusable mock. + {{ functionMockMethodHint(mockRow) }}
-
+