Webhook manager: replace the browser confirm() dialogs with ConfirmModal

Open Beginner friendly
#3,889 4 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@Nandaninaulaa is already working on this.

Since Nov 29, 2026.

  • #3896 by @TariQMah — open
  • #3920 by @Nandaninaulaa — closed without merging

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
90/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active

Research direction

Start with src/components/webhook/WebhookManager.tsx, especially the delete and secret-rotation flows, and inspect how GoalTracker uses ConfirmModal. Add component coverage showing that cancel preserves the webhook and confirm calls the API, then capture both dialogs in Arcade and Daylight. The issue is complete when no confirm( remains in the file, both actions use the themed accessible modal, and the listed tests and screenshots are provided.

Written by the indexing model from the issue text.

Description

good first issue level 1 level:beginner status:assigned type:design
Summary

Deleting a webhook and rotating its secret in Settings use the browser's native confirm() popup. Everywhere else the app uses its own ConfirmModal, which matches the theme, is keyboard accessible and can be tested.

Where

src/components/webhook/WebhookManager.tsx (lines 179 and 268)

Expected outcome

Both actions open ConfirmModal (see how GoalTracker uses it to delete a goal), with a clear title, the consequence in the body, and a destructive-styled confirm button.

Acceptance criteria
  • No confirm( left in the file
  • Component test: cancel keeps the webhook; confirm calls the API
  • Screenshot of both dialogs in Arcade and Daylight
Dominant language
TypeScript
Stars
246
Forks
436
Avg merge
9h 33m
Merged PRs (30d)
213

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Priyanshu-byte-coder/devtrack

All issues in Priyanshu-byte-coder/devtrack

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.