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

Phase 3: Implement bookmarks + application tracker (/my-list)

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
supabase, typescript

調査の方向性

Start with the bookmarks schema in src/db/schema.ts lines 66-81, the non-functional control in src/components/directory/resource-card.tsx lines 90-92, and the existing auth flow in src/proxy.ts and src/lib/supabase. Then review the planned entry points in src/app/my-list/page.tsx, src/app/my-list/actions.ts, and src/lib/resources.ts. Done means authenticated users can save resources, edit all four statuses from the card and /my-list, and see the specified empty state.

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

説明

enhancement

Description

Implement the bookmarks and application tracker feature as specified in PRD §8.7. This is a P1 requirement for Phase 3.

Acceptance Criteria (from PRD §8.7)

  • Sign up/in via Supabase Auth (email + Google OAuth) — already implemented in /submit
  • "Save" icon on every card → adds to /my-list
  • Status pill per saved resource: Interested / Applied / Got it / Rejected — updates from the card itself, no separate page needed

Current State

  • Database schema already has bookmarks table with status enum ['interested', 'applied', 'got_it', 'rejected'] (src/db/schema.ts lines 66-81)
  • Supabase Auth plumbing already in place: src/lib/supabase/{server,client}.ts, src/proxy.ts
  • /submit page already has Google + email-link sign-in working
  • ResourceCard has a non-functional bookmark button (line 90-92 in resource-card.tsx)

Implementation Plan

  1. Bookmark API/Server Actions:
    • Create server actions for: add bookmark, update status, remove bookmark
    • Location: src/app/my-list/actions.ts or similar
  2. /my-list page:
    • Protected route (requires auth)
    • Show user's bookmarks grouped by status
    • Allow status changes inline (pill buttons)
  3. ResourceCard integration:
    • Make bookmark button functional
    • Show current status if bookmarked
    • Allow status change from card (dropdown or pill cycle)
  4. Auth protection:
    • Use existing src/proxy.ts pattern for /my-list route
    • Or use Server Component auth check

Files to Create/Modify

  • src/app/my-list/page.tsx (new) - main tracker page
  • src/app/my-list/actions.ts (new) - Server Actions for bookmark CRUD
  • src/components/directory/resource-card.tsx - functional bookmark button
  • src/proxy.ts - add /my-list to matcher for auth redirect
  • src/lib/resources.ts - add getUserBookmarks(), toggleBookmark(), updateBookmarkStatus()

Database Schema (already exists)

bookmarks: {
  userId: uuid (references auth.users)
  resourceId: integer (references resources.id)
  status: 'interested' | 'applied' | 'got_it' | 'rejected'
  createdAt: timestamp
  PK: (userId, resourceId)
}

UX Notes

  • Status pills on card: clicking cycles through states or opens small popover
  • /my-list shows all bookmarks with inline status editing
  • Empty state: "Save resources to track them here"
  • Reuse existing UI patterns (shadcn/ui Badge, Select, etc.)
主要言語
TypeScript
スター
1
フォーク
6
平均マージ
12時間 16分
マージ済み PR(30日)
14

環境構築

はじめの一歩

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

Your-Voldemort/StudentStack のほかの issue

Your-Voldemort/StudentStack の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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