Pricing Highlight brings back cleared features

クローズ 初心者向け
#375 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

2026年10月31日 から。

評価

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

調査の方向性

src/templates/saas/pricing-highlight.ts の43~48行目から始めます。そこではissueがフォールバックの動作を特定しています。2つの機能を設定し、残りの2つを消去して再現します。カードに入力した2つの機能だけが表示されれば完了です。

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

説明

bug

Describe the bug
Pricing Highlight always lists four features. Each one falls back to its default with || (src/templates/saas/pricing-highlight.ts:43-48), so a plan with two features still shows Advanced analytics and Custom integrations under the price, which the plan doesn't include.

To Reproduce

  1. Open the Pricing Highlight template in the editor
  2. Set Feature 1 to 5 projects and Feature 2 to Email support
  3. Clear Feature 3 and Feature 4
  4. The card still lists Advanced analytics and Custom integrations

Expected behavior
Only 5 projects and Email support.

Actual behavior
The two cleared features come back with their default text.

Environment

  • Browser: Chrome
  • OS: macOS

Additional context
Same pattern as #358 and #372.

主要言語
TypeScript
スター
8
フォーク
4
平均マージ
8時間 47分
マージ済み PR(30日)
157

環境構築

はじめの一歩

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

codercops/ogcops のほかの issue

codercops/ogcops の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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