Feature (Phase 3): Accountless localStorage eligibility profile ('Only what I'm eligible for' toggle) + auth sync & per-user ICS
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- nextjs, react, supabase, typescript
調査の方向性
Start with src/lib/directory-filters.ts and its test src/lib/directory-filters.test.ts: add the eligibility check inside applyFilters() and let the existing unit tests drive it. Then wire the toggle and the new src/components/directory/eligibility-sheet.tsx into src/components/directory/directory-client.tsx, persisting the profile to localStorage. The ICS route src/app/u/[token]/deadlines.ics/route.ts and the Supabase profile sync are separate pieces that can land later. Done means the toggle filters the directory and the new unit tests pass.
索引モデルが issue の本文から書いたものです。
説明
Description
Tracked from docs/2026-09-18-improvement-plan.md (§3.4 #1, §4 Phase 3.1 & 3.3). Relates to #34 and #42.
A key insight from the competitive landscape (§3.4 #1) is that students shouldn't have to create an account just to filter the directory down to what they can claim or apply to.
Implementation Plan
- Accountless Eligibility Profile (
localStoragefirst, optional Supabase sync):- Build a skippable "My Eligibility" sheet/drawer accessible from the directory header:
- Country / State (default
IN) - Degree Level (
UG/PG/PhD/HighSchool) - Year of study (
1–5+) - Branch / Field (
CS,ECE,Mechanical,Design, etc.) - Checkboxes:
"I have a .edu / college email","I have the GitHub Student Developer Pack","I have a valid Student ID"
- Country / State (default
- Persist immediately in
localStorageso it works with zero sign-up friction. - When a user signs in (via existing Supabase Auth), sync the profile to
profiles.
- Build a skippable "My Eligibility" sheet/drawer accessible from the directory header:
- "Only what I'm eligible for" toggle in Directory (
src/lib/directory-filters.ts,src/components/directory/directory-client.tsx):- Single toggle switch in the directory filter bar: "Only what I'm eligible for".
- Evaluates client-side inside
applyFilters():- Matches
resource.verificationNeededagainst user's verification methods (.edu, GitHub Pack, Student ID). - Matches
resource.region/regionsagainst user's country. - Matches
resource.eligibility(levels,countries,states,minYear,fields) where populated on the resource (treating unset eligibility fields as open/unrestricted).
- Matches
- Per-user saved deadlines ICS feed (
/u/[token]/deadlines.ics):- For signed-in users with bookmarked/tracked opportunities (#33), generate a personal calendar token so they can subscribe to
/u/<token>/deadlines.icscontaining only their saved/applied items with-P1Dalerts.
- For signed-in users with bookmarked/tracked opportunities (#33), generate a personal calendar token so they can subscribe to
Acceptance Criteria
- Users can configure their eligibility profile without signing in, persisted in
localStorage. - Toggling "Only what I'm eligible for" in
/directoryaccurately filters resources acrossverificationNeeded,region, andeligibilityJSONB rules. - Signed-in users have their local eligibility profile synced and can subscribe to
/u/[token]/deadlines.icsfor their bookmarked deadlines. - Unit tests in
src/lib/directory-filters.test.tsverify client-side eligibility matching.
Files Involved
src/lib/directory-filters.tssrc/lib/directory-filters.test.tssrc/components/directory/directory-client.tsxsrc/components/directory/eligibility-sheet.tsx(new)src/app/u/[token]/deadlines.ics/route.ts(new)
- 主要言語
- TypeScript
- スター
- 1
- フォーク
- 6
- 平均マージ
- 23時間 53分
- マージ済み PR(30日)
- 27
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Your-Voldemort/StudentStack のほかの issue
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 18/100
Your-Voldemort/StudentStack#83 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
Your-Voldemort/StudentStack#82 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 1週間以上 初心者へのやさしさ 22/100
Your-Voldemort/StudentStack#79 ·
メンテナーはふだん 1 日以内に返信
-
Feature (Phase 1): Extend resources schema for opportunities (kind, opensAt, recurrence, amount, provider, eligibility)対応中かも @Cipher-Shadow-IR が 1 日前に担当しました。 オープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
Your-Voldemort/StudentStack#78 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
Your-Voldemort/StudentStack#42 ·
メンテナーはふだん 1 日以内に返信
Your-Voldemort/StudentStack の issue をすべて見る
似ている issue
-
Sequências em espanhol: «Atualizado em», a aba «Fila» e o valor 'pause' ainda saem em portuguêsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
melgarafael/DeskcommCRM#3104 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug service: webapp
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Ocelot-Social-Community/Ocelot-Social#10684 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nicobailon/pi-subagents#2978 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
getsentry/sentry-conventions#732 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信