Invoice PDF footer hardcodes "Stellar testnet demo"

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

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

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

2026年11月22日 から。

  • #110 @nilhn9660 による — オープン

評価

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

調査の方向性

まず、「Stellar testnet demo」というラベルをハードコードしている InvoiceDocument コンポーネントと、同じテキストを含む web/app/layout.tsx のフッターから始めてください。config.network がどのように読み込まれているかを確認し、両方の箇所で再利用して、PUBLIC の場合はラベルが表示されないようにします。受け入れ基準を満たせば完了です。NEXT_PUBLIC_NETWORK=PUBLIC のとき、請求書シートとフッターからテキストが消えていて、TESTNET の出力が変わらないことを確認してください。

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

説明

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

Difficulty: Beginner

Description

InvoiceDocument always prints "Stellar testnet demo", ignoring config.network. The layout footer in web/app/layout.tsx has the same hardcoded text.

Why it matters

A mainnet deployment would print false text on real invoices and receipts.

Implementation suggestions

Derive the label from config.network (for example, hide it on PUBLIC). Do the same for the layout footer.

Acceptance criteria

  • With NEXT_PUBLIC_NETWORK=PUBLIC, no "testnet demo" text appears in the invoice sheet or footer.
  • TESTNET behaviour is unchanged.

Dependencies / related

Related to #31 (mainnet-readiness checklist).

主要言語
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 を短くまとめたダイジェスト。