Files
linkliti a4beae645e fix(webui): let settings, secrets and editor textareas resize
The shared settings stylesheet forces resize: none on every textarea and animates all properties, so the Global LiteLLM parameters and model config Additional parameters fields, the secrets and variables fields, and the agent editor and project edit forms had no vertical grip and dragging fought the transition. The affected textareas carry the shared resizable-textarea class, which re-enables the vertical grip and drops the all-properties transition so dragging follows the pointer.

Validation: pytest tests/test_settings_resizable_textareas.py tests/test_projects_editor_webui.py (4 passed); tests/test_agent_editor_webui.py (8 passed, tooltip failure pre-exists on the clean tree, proven by stash run)
2026-11-28 13:35:53 +03:00

42 lines
1.7 KiB
HTML

<html>
<head>
<title>Secrets</title>
</head>
<body>
<div x-data="{ get settings() { return $store.settings.settings } }">
<template x-if="settings">
<div>
<div class="section-title">Secrets Management</div>
<div class="section-description">
Keep credentials out of prompts and logs while still letting tools receive them when needed.
</div>
<div class="field field-full">
<div class="field-label">
<div class="field-title">Variables</div>
<div class="field-description">
Non-sensitive <code>.env</code> values the agent may see, such as service hosts or usernames. See <a href="javascript:openModal('settings/secrets/example-vars.html')">example</a>.
</div>
</div>
<div class="field-control">
<textarea class="resizable-textarea" style="height: 16em" x-model="settings.variables"></textarea>
</div>
</div>
<div class="field field-full">
<div class="field-label">
<div class="field-title">Secrets</div>
<div class="field-description">
Sensitive <code>.env</code> values that are masked from the agent, chat history, and logs. Values shorter than 4 characters are not masked. See <a href="javascript:openModal('settings/secrets/example-secrets.html')">example</a>.
</div>
</div>
<div class="field-control">
<textarea class="resizable-textarea" style="height: 16em" x-model="settings.secrets"></textarea>
</div>
</div>
</div>
</template>
</div>
</body>
</html>