Sale prices and discounts

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

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
css, sql, supabase
領域
full-stack

調査の方向性

Start with supabase/schema.sql and the existing game table definition, then find the purchase_game function that the checklist says must charge the sale price. After that, locate the components that render game cards and game pages plus the store filter list, since the strike-through price, the discount badge and the "On sale" filter are added there. Done means the schema has nullable sale price and end date, the purchase path charges the sale price only while the sale window is active, and the UI and filter reflect it; note that the issue asks for a schema plan in a comment before any work starts.

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

説明

backend database frontend help wanted

Let games go on sale.

  • Add an optional sale price and end date to game in supabase/schema.sql
  • Show the original price struck through, plus a "-40%" badge, on cards and game pages
  • purchase_game charges the sale price while the sale is active
  • Add a "On sale" filter to the store

Comment with your planned schema change before starting.

主要言語
CSS
スター
1
フォーク
1
平均マージ
39分
マージ済み PR(30日)
6

環境構築

はじめの一歩

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

NotADIM2/GameVault のほかの issue

NotADIM2/GameVault の issue をすべて見る

似ている issue

Web Dev の issue をもっと見る

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

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