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

オープン 初心者向け
#3,889 コメント 4 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Nandaninaulaa がすでに取り組んでいます。

2026年11月29日 から。

  • #3896 @TariQMah による — オープン
  • #3920 @Nandaninaulaa による — マージされずにクローズ

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
90/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
next.js, react, typescript

調査の方向性

src/components/webhook/WebhookManager.tsx から始め、特に削除とシークレットローテーションのフローに注目し、GoalTracker が ConfirmModal をどのように使用しているかを確認します。キャンセル時に webhook が保持され、確認時に API が呼び出されることを示すコンポーネントテストを追加し、その後、Arcade と Daylight の両方で両ダイアログを取得します。ファイルに confirm( が残っておらず、両方のアクションがテーマ付きアクセシブルモーダルを使用し、記載されたテストとスクリーンショットが提供された時点で、Issue は完了となります。

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
TypeScript
スター
246
フォーク
436
平均マージ
9時間 33分
マージ済み PR(30日)
213

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Priyanshu-byte-coder/devtrack のほかの issue

Priyanshu-byte-coder/devtrack の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。