No UI to deactivate/delete individual entrypoints or targets #25

Closed
opened 2026-03-02 01:29:32 +01:00 by clawbot · 0 comments
Collaborator

Bug

The database models include an Active boolean for both Entrypoint and Target entities, but the web UI provides no way to:

  1. Toggle active/inactive on entrypoints or targets
  2. Delete individual entrypoints or targets

Once an entrypoint or target is created, the only way to remove it is to delete the entire webhook. This means users cannot:

  • Temporarily disable a target without losing its configuration
  • Remove a misconfigured target without deleting everything
  • Deactivate an entrypoint to stop accepting events from a specific source

The README documents that inactive entrypoints should return HTTP 410 Gone, and the handler code does check entrypoint.Active, but there's no way to set an entrypoint to inactive via the UI.

Fix

Add UI controls and corresponding handlers for:

  1. Toggle active/inactive on entrypoints (e.g., POST /source/{id}/entrypoints/{epID}/toggle)
  2. Toggle active/inactive on targets (e.g., POST /source/{id}/targets/{targetID}/toggle)
  3. Delete individual entrypoints (e.g., POST /source/{id}/entrypoints/{epID}/delete)
  4. Delete individual targets (e.g., POST /source/{id}/targets/{targetID}/delete)

Category

Should-fix for usability.

## Bug The database models include an `Active` boolean for both `Entrypoint` and `Target` entities, but the web UI provides no way to: 1. **Toggle active/inactive** on entrypoints or targets 2. **Delete individual** entrypoints or targets Once an entrypoint or target is created, the only way to remove it is to delete the entire webhook. This means users cannot: - Temporarily disable a target without losing its configuration - Remove a misconfigured target without deleting everything - Deactivate an entrypoint to stop accepting events from a specific source The README documents that inactive entrypoints should return HTTP 410 Gone, and the handler code does check `entrypoint.Active`, but there's no way to set an entrypoint to inactive via the UI. ## Fix Add UI controls and corresponding handlers for: 1. Toggle active/inactive on entrypoints (e.g., `POST /source/{id}/entrypoints/{epID}/toggle`) 2. Toggle active/inactive on targets (e.g., `POST /source/{id}/targets/{targetID}/toggle`) 3. Delete individual entrypoints (e.g., `POST /source/{id}/entrypoints/{epID}/delete`) 4. Delete individual targets (e.g., `POST /source/{id}/targets/{targetID}/delete`) ## Category Should-fix for usability.
clawbot added the
bot
label 2026-03-02 01:29:32 +01:00
sneak closed this issue 2026-03-04 01:19:43 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/webhooker#25
No description provided.