Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Frontend] Add quick runway preset buttons (+7 days, +30 days, +90 days) to TopUpModal

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

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

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

2026年10月19日 から。

  • #1685 @aazminu による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
83/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
next.js, typescript
領域
frontend, payments

調査の方向性

frontend/src/components/stream-creation/TopUpModal.tsxから始めて、streamのレートと金額入力の処理を追い、既存のテストパターンを確認するためにfrontend/src/components/stream-creation/__tests__/TopUpModal.test.tsxを調べてください。指定された秒単位のレート計算を使って3つのプリセットを追加し、金額が入力されたときに予測終了日を表示してください。3つすべてのプリセットで正確な金額が入力され、その動作が単体テストでカバーされていれば完了です。

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

説明

drips-wave frontend good-first-issue ux

Overview

When topping up an active stream in frontend/src/components/stream-creation/TopUpModal.tsx, senders must manually calculate how many tokens are needed to extend the stream by a specific number of days.

Problem

  • Calculating ratePerSecond * 86400 * days mentally is error-prone and slows down recurring payroll top-ups.

Proposed Changes

  1. Add three quick-fill pill buttons inside TopUpModal.tsx: +7 Days, +30 Days, and +90 Days.
  2. Clicking a preset automatically computes the token amount from the stream's ratePerSecond and populates the amount input field.

Acceptance Criteria

  • Clicking +7 Days, +30 Days, or +90 Days populates the exact deposit amount required.
  • Displays the new projected end date below the input when an amount is entered.
  • Unit test added in frontend/src/components/stream-creation/__tests__/TopUpModal.test.tsx.
主要言語
TypeScript
スター
18
フォーク
250
平均マージ
5日 6時間
マージ済み PR(30日)
82

環境構築

はじめの一歩

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

LabsCrypt/flowfi のほかの issue

LabsCrypt/flowfi の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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