One shared `ConnectPrompt` component for the duplicated "connect your wallet" cards

オープン
#164 コメント 3 件 リアクション 0 件 担当者 1 名 GitHub で見る

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

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

2026年11月22日 から。

評価

この issue はまだ評価されていません。

説明

difficulty: beginner good first issue help wanted refactor Stellar Wave web

Difficulty: Beginner

Problem

The Dashboard, Create, History and Withdraw pages each contain their own copy of the "Connect your wallet" card with the same button and spinner logic.

Why it matters

Four copies drift apart and make wording or accessibility changes four times as expensive.

Scope of work

Create a ConnectPrompt component (title and message as props) and replace the four copies without changing the visible result.

Expected outcome

A single component renders all connect prompts.

Acceptance criteria

  • The four pages use the component with unchanged appearance.
  • Lint and build pass.

Relevant files

  • web/app/dashboard/page.tsx, web/app/create/page.tsx, web/app/history/page.tsx, web/app/withdraw/page.tsx, web/components/ (new)

Dependencies

Several open PRs edit these pages; rebase as needed.

Maintainer discussion needed?

No.

主要言語
TypeScript
スター
0
フォーク
4
平均マージ
54分
マージ済み PR(30日)
6

環境構築

はじめの一歩

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

Yormee-103/PayLoop のほかの issue

Yormee-103/PayLoop の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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