feat(console): parameter builder in the command explorer (phase 3)
The detail pane's Parameters section is now an editable form: each parameter is a type-hinted input field (string / number / json, optional marked), and a live "Builds" preview shows the command being assembled. String values are auto-quoted; a required field left empty keeps its placeholder and disables "Insert & run"; trailing empty optionals are omitted. Insert and Insert & run now use the assembled command (not just the template), so Insert & run works for parameterized commands once the required fields are filled — destructive commands still confirm first. Param fields reset when the selected command changes or the modal opens. Keyboard nav (Up/Down/Enter) is scoped to the search box so typing in a field doesn't move the selection. A best-effort parseParamSpecs turns the human-readable param templates into fields; JSON-array params (z_sendmany, createrawtransaction) surface as a single "json" field the user pastes into. Adds the console_ref_builds label + 8 translations. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -229,6 +229,7 @@
|
||||
"console_no_daemon": "Kein Daemon",
|
||||
"console_not_connected": "Fehler: Nicht mit Daemon verbunden",
|
||||
"console_quit_note": "'quit'/'exit' werden hier nicht benötigt — schließen Sie einfach das Fenster.",
|
||||
"console_ref_builds": "Ergibt",
|
||||
"console_ref_cancel": "Abbrechen",
|
||||
"console_ref_destructive": "Folgenreich",
|
||||
"console_ref_example": "Beispiel",
|
||||
|
||||
@@ -229,6 +229,7 @@
|
||||
"console_no_daemon": "Sin daemon",
|
||||
"console_not_connected": "Error: No conectado al daemon",
|
||||
"console_quit_note": "'quit'/'exit' no son necesarios aquí — simplemente cierra la ventana.",
|
||||
"console_ref_builds": "Genera",
|
||||
"console_ref_cancel": "Cancelar",
|
||||
"console_ref_destructive": "Delicado",
|
||||
"console_ref_example": "Ejemplo",
|
||||
|
||||
@@ -229,6 +229,7 @@
|
||||
"console_no_daemon": "Pas de daemon",
|
||||
"console_not_connected": "Erreur : Non connecté au daemon",
|
||||
"console_quit_note": "'quit'/'exit' ne sont pas nécessaires ici — fermez simplement la fenêtre.",
|
||||
"console_ref_builds": "Génère",
|
||||
"console_ref_cancel": "Annuler",
|
||||
"console_ref_destructive": "Sensible",
|
||||
"console_ref_example": "Exemple",
|
||||
|
||||
@@ -229,6 +229,7 @@
|
||||
"console_no_daemon": "デーモンなし",
|
||||
"console_not_connected": "エラー:デーモンに接続されていません",
|
||||
"console_quit_note": "ここでは 'quit'/'exit' は不要です — ウィンドウを閉じるだけで構いません。",
|
||||
"console_ref_builds": "生成",
|
||||
"console_ref_cancel": "キャンセル",
|
||||
"console_ref_destructive": "要注意",
|
||||
"console_ref_example": "例",
|
||||
|
||||
@@ -229,6 +229,7 @@
|
||||
"console_no_daemon": "데몬 없음",
|
||||
"console_not_connected": "오류: 데몬에 연결되지 않았습니다",
|
||||
"console_quit_note": "여기서는 'quit'/'exit'가 필요 없습니다 — 그냥 창을 닫으세요.",
|
||||
"console_ref_builds": "생성",
|
||||
"console_ref_cancel": "취소",
|
||||
"console_ref_destructive": "주의",
|
||||
"console_ref_example": "예시",
|
||||
|
||||
@@ -229,6 +229,7 @@
|
||||
"console_no_daemon": "Sem daemon",
|
||||
"console_not_connected": "Erro: Não conectado ao daemon",
|
||||
"console_quit_note": "'quit'/'exit' não são necessários aqui — basta fechar a janela.",
|
||||
"console_ref_builds": "Gera",
|
||||
"console_ref_cancel": "Cancelar",
|
||||
"console_ref_destructive": "Sensível",
|
||||
"console_ref_example": "Exemplo",
|
||||
|
||||
@@ -229,6 +229,7 @@
|
||||
"console_no_daemon": "Нет daemon",
|
||||
"console_not_connected": "Ошибка: Не подключено к daemon",
|
||||
"console_quit_note": "Здесь не нужны 'quit'/'exit' — просто закройте окно.",
|
||||
"console_ref_builds": "Формирует",
|
||||
"console_ref_cancel": "Отмена",
|
||||
"console_ref_destructive": "Осторожно",
|
||||
"console_ref_example": "Пример",
|
||||
|
||||
@@ -229,6 +229,7 @@
|
||||
"console_no_daemon": "无守护进程",
|
||||
"console_not_connected": "错误:未连接到守护进程",
|
||||
"console_quit_note": "这里不需要 'quit'/'exit'——直接关闭窗口即可。",
|
||||
"console_ref_builds": "生成",
|
||||
"console_ref_cancel": "取消",
|
||||
"console_ref_destructive": "谨慎",
|
||||
"console_ref_example": "示例",
|
||||
|
||||
Reference in New Issue
Block a user