#21636: feat/tasks tab
app: web-ui
gateway
size: XL
Cluster:
UI Enhancements and Fixes
- **feat(gateway-ui): add Tasks tab**
- **fix(gateway): route tasks API under control-ui basePath**
<!-- greptile_comment -->
<h3>Greptile Summary</h3>
Added a Tasks tab to the gateway control UI with full CRUD API support for task management. The backend properly routes `/api/tasks` under the `controlUiBasePath`, but the frontend fetch calls use hardcoded paths without considering `basePath`, which will break when the gateway is configured with a non-root `controlUiBasePath` (e.g., `/openclaw`).
<h3>Confidence Score: 3/5</h3>
- Safe to merge with one critical path issue
- The implementation is well-structured with proper auth, validation, and sanitization. However, the frontend API calls don't respect `basePath`, which will cause failures in non-root deployments. This is a critical bug for users with custom base paths configured.
- Pay close attention to `ui/src/ui/views/tasks.ts` - all fetch calls need basePath support
<sub>Last reviewed commit: 48fb33c</sub>
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#12168: feat: integrate Mission Control dashboard into Control UI
by riftagent-git · 2026-02-08
78.1%
#20844: feat: add task-queue, swarm, and trust RPC handlers + dashboard tabs
by TGambit65 · 2026-02-19
72.5%
#8713: feat: gateway memory monitor, install linger, docs and failover
by quratus · 2026-02-04
72.3%
#8522: feat(control-ui): Add Model Requests panel for real-time API monito...
by GiantAxeWhy · 2026-02-04
70.6%
#13960: fix(ui): preserve structured config validation error details
by constansino · 2026-02-11
69.6%
#8402: fix(ui): bypass /api in Control UI handler
by LarHope · 2026-02-04
69.3%
#5496: Fix: Windows path separators stripped in Gateway scheduled task
by giuliozelante · 2026-01-31
68.9%
#21679: fix: Mission Control dashboard issues for agent status, stale sessi...
by thejawdoc · 2026-02-20
68.9%
#7316: fix: /chat dashboard performance
by felipcsousa · 2026-02-02
68.8%
#9909: Gateway: add HITL approvals integration
by FletcherFrimpong · 2026-02-05
68.4%