summaryrefslogtreecommitdiff
path: root/web/index.html
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-05-25 05:09:10 +0000
committerClaude <noreply@anthropic.com>2026-05-25 05:09:10 +0000
commit42bb6432d3e53042723b43330c22eafbf553e10f (patch)
tree7e95d5d70570cd34d21f35fa39f9141956b8755a /web/index.html
parentb44c8277465c3b4e03fe4de4dd93850413023b69 (diff)
refactor(web): remove the create-task modal from the UI (Phase 3)
The observability UI no longer creates tasks; chatbots do that via the chatbot MCP server. Removes the New Task button, the #task-modal (manual form + the now-defunct AI-elaborate textbox + validate panel), their handlers (elaborateTask/validateTask/buildValidatePayload/renderValidationResult/ openTaskModal/closeTaskModal/createTask) and the orphaned newTaskButtonShouldShowOnTab helper plus its test. Verified with node --test (267 JS tests pass) and a JS syntax check. Not browser-verified in this environment. https://claude.ai/code/session_01SESwn7kQ7oP62trWw6pc39
Diffstat (limited to 'web/index.html')
-rw-r--r--web/index.html45
1 files changed, 0 insertions, 45 deletions
diff --git a/web/index.html b/web/index.html
index 0632cd7..d3bf81b 100644
--- a/web/index.html
+++ b/web/index.html
@@ -36,7 +36,6 @@
</select>
<button id="btn-notifications" class="btn-secondary" title="Enable push notifications">🔔</button>
<button id="btn-start-next" class="btn-secondary">Start Next</button>
- <button id="btn-new-task" class="btn-primary">New Task</button>
</div>
</header>
<nav class="tab-bar">
@@ -76,50 +75,6 @@
</div>
</main>
- <dialog id="task-modal">
- <form id="task-form" method="dialog">
- <h2>New Task</h2>
- <div class="elaborate-section">
- <label>Describe what you want the agent to do
- <textarea id="elaborate-prompt" rows="3"
- placeholder="e.g. run tests with race detector and check coverage"></textarea>
- </label>
- <button type="button" id="btn-elaborate" class="btn-secondary">
- Draft with AI ✦
- </button>
- <p class="elaborate-hint">AI will fill in the form fields below. You can edit before submitting.</p>
- </div>
- <hr class="form-divider">
- <label>Repository URL
- <input name="repository_url" id="repository-url" placeholder="https://github.com/user/repo.git" required>
- </label>
- <label>Container Image
- <input name="container_image" id="container-image" placeholder="claudomator-agent:latest" value="claudomator-agent:latest">
- </label>
- <label>Name <input name="name" required></label>
- <label>Instructions <textarea name="instructions" rows="6" required></textarea></label>
- <div class="validate-section">
- <button type="button" id="btn-validate" class="btn-secondary">
- Validate Instructions
- </button>
- <div id="validate-result" hidden></div>
- </div>
- <label>Max Budget (USD) <input name="max_budget_usd" type="number" step="0.01" value="1.00"></label>
- <label>Timeout <input name="timeout" value="15m"></label>
- <label>Priority
- <select name="priority">
- <option value="normal" selected>Normal</option>
- <option value="high">High</option>
- <option value="low">Low</option>
- </select>
- </label>
- <div class="form-actions">
- <button type="button" id="btn-cancel-task">Cancel</button>
- <button type="submit" class="btn-primary">Create &amp; Queue</button>
- </div>
- </form>
- </dialog>
-
<!-- Side panel backdrop -->
<div id="task-panel-backdrop" class="panel-backdrop" hidden></div>