Feature (Phase 1): Extend resources schema for opportunities (kind, opensAt, recurrence, amount, provider, eligibility)
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start with the resources table definition in src/db/schema.ts, then follow the Resource type and column list in src/lib/resources.ts and the fixtures in src/lib/mock-data.ts. Add the new columns and the ResourceEligibility type, generate the Drizzle migration, and check that it applies without changing the existing rows, which should default to kind = 'perk'. Done when the admin form in src/components/admin/resource-form.tsx and the actions in src/app/admin/(dashboard)/actions.ts create and edit the new fields.
索引モデルが issue の本文から書いたものです。
説明
Description
Tracked from docs/2026-09-18-improvement-plan.md (§4 Phase 1 — Schema additions).
To support scholarships, fellowships, internships, mentorship programs, and open-source/hackathon programs alongside software perks, resources needs orthogonal opportunity fields (all nullable or defaulted with zero migration risk to existing perk rows).
Schema Additions (src/db/schema.ts)
kindenum column:
(Categories stay as they are;kind: text("kind", { enum: ["perk", "scholarship", "fellowship", "internship", "mentorship", "program"], }) .notNull() .default("perk"),kindis orthogonal.)- Timeline & funding metadata:
opensAt: timestamp("opens_at")deadline: timestamp("deadline")(already exists)recurrence: text("recurrence")(e.g."annual, opens Feb")amount: text("amount")(e.g."₹31,000/month","$1,500–6,600")provider: text("provider")(e.g."Google","AICTE","Ministry of Education")
- Structured
eligibilityJSONB column:export type ResourceEligibility = { levels?: ("UG" | "PG" | "PhD" | "HighSchool")[]; countries?: string[]; // ISO codes e.g. ["IN"] states?: string[]; minYear?: number; maxAge?: number; gender?: string; incomeCapInr?: number; fields?: string[]; // e.g. ["CS", "ECE"] };eligibility: jsonb("eligibility").$type<ResourceEligibility>()
- Update
Resourcetype & Admin form:- Expose the new columns in
src/lib/resources.ts(resourceColumns,Resourcetype) andsrc/lib/mock-data.ts. - Add inputs for
kind,opensAt,recurrence,amount,provider, andeligibilityinsrc/components/admin/resource-form.tsxand admin actions (src/app/admin/(dashboard)/actions.ts).
- Expose the new columns in
Acceptance Criteria
-
src/db/schema.tsdefineskind,opensAt,recurrence,amount,provider, andeligibilityonresources(andingestion_candidateswhere applicable). - Drizzle migration is generated and applies cleanly without breaking existing 593 rows (which default to
kind = 'perk'). -
ResourceTypeScript type, mock data, and/admincreate/edit resource form support the new fields.
Files Involved
src/db/schema.tssrc/lib/resources.tssrc/lib/mock-data.tssrc/components/admin/resource-form.tsxsrc/app/admin/(dashboard)/actions.ts
- 主要言語
- TypeScript
- スター
- 1
- フォーク
- 6
- 平均マージ
- 1日 41分
- マージ済み PR(30日)
- 28
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Your-Voldemort/StudentStack のほかの issue
-
Feature (Phase 3): Accountless localStorage eligibility profile ('Only what I'm eligible for' toggle) + auth sync & per-user ICS対応中かも @Aryan-Techie が今日担当しました。 オープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
Your-Voldemort/StudentStack#84 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Feature (Phase 2): Implement named ingestion sources (RSS feeds, GitHub markdown/YAML lists, Apify actors) & deadline expiry rules対応中かも @Aryan-Techie が今日担当しました。 オープンenhancement
難易度 5/5 1週間以上 初心者へのやさしさ 18/100
Your-Voldemort/StudentStack#83 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Feature (Phase 4): Expand public API (/api/resources filters & /api/resources/[slug]), add API & Agents page + llms.txt, and community freshness/credits対応中かも @Aryan-Techie が今日担当しました。 オープンenhancement
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
Your-Voldemort/StudentStack#82 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Content/Data (Phase 1): Import student_resources.json (tensorboy 91 net-new rows), curate 40+ flagship deadlines, and seed mentorship programs対応中かも @Aryan-Techie が今日担当しました。 オープンenhancement
難易度 4/5 1週間以上 初心者へのやさしさ 22/100
Your-Voldemort/StudentStack#79 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
Your-Voldemort/StudentStack#42 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
Your-Voldemort/StudentStack の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
mobile-next/mobile-mcp#526 ·
メンテナーはふだん 1 日以内に返信
-
e2e-failure ready-to-code
難易度 1/5 1時間未満 初心者へのやさしさ 73/100
redhat-developer/rhdh-plugin-export-overlays#4470 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
anthropics/anthropic-sdk-typescript#1273 ·
メンテナーはふだん 10 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
CopilotKit/OpenBot#815 ·
メンテナーはふだん 1 日以内に返信