Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Phase 4: Comparison view for overlapping resource clusters

已关闭
#36 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

已经有一个关联 PR 被合并了。

  • #101 来自 @Aryan-Techie —— 已合并

评估

难度
3/5
预计耗时
3-5 天
新手友好度
68/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript
领域
frontend, web-dev

调研方向

Start with PRD §8.9 and the existing route map, then inspect the resource fields used by the planned /compare/[set] route. Create the three hand-picked comparison sets, the dynamic page, and the comparison table in the named files, then add navigation from relevant category pages or resource cards. Done means all three sets render the specified columns responsively with links, badges, a highlighted Free cost type, and a sticky header.

由索引模型根据 Issue 内容生成。

描述

enhancement

Description

Implement comparison view as specified in PRD §8.9. This is a P1 requirement for Phase 4.

Acceptance Criteria (from PRD §8.9)

  • For pre-defined overlapping clusters (cloud credits, AI coding assistants, design tools) show a side-by-side table
  • v1 ships with 3 hand-picked comparison sets; more added as content, not as a user-facing "build your own comparison" tool

Current State

  • Route map shows /compare/[set] as planned route
  • No comparison page or data exists yet
  • Resources have categories and tags that can define comparison sets

Implementation Plan

  1. Define comparison sets (hand-picked, 3 initial):
    • Cloud Credits: AWS, Azure, GCP, DigitalOcean, Vercel, etc.
    • AI Coding Assistants: GitHub Copilot, Cursor, Codeium, Tabnine, etc.
    • Design Tools: Figma, Canva, Framer, etc.
  2. Create comparison data structure:
    • Could be a JSON file or database table
    • Each set: slug, name, description, resource slugs[]
  3. Build /compare/[set] page:
    • Dynamic route: src/app/compare/[set]/page.tsx
    • Fetch resources for the set
    • Render side-by-side comparison table
  4. Comparison table columns:
    • Name / Tagline
    • Cost Type (Free/Discount/Credits)
    • Verification Required
    • Credit Card Required
    • Duration
    • Platform tags
    • Claim Link
  5. Navigation: Add links from relevant category pages or resource cards

Files to Create

  • src/lib/comparisons.ts - comparison set definitions
  • src/app/compare/[set]/page.tsx (new) - comparison page
  • src/components/comparison/comparison-table.tsx (new) - table component

Comparison Set Definition Example

export const COMPARISON_SETS = {
  'cloud-credits': {
    slug: 'cloud-credits',
    name: 'Cloud Credits Comparison',
    description: 'Compare free cloud credits for student developers',
    resourceSlugs: ['aws-free-tier', 'azure-student', 'gcp-free-tier', 'digitalocean', 'vercel-pro'],
  },
  'ai-coding-assistants': {
    slug: 'ai-coding-assistants',
    name: 'AI Coding Assistants',
    description: 'AI-powered code completion and generation tools',
    resourceSlugs: ['github-copilot', 'cursor', 'codeium', 'tabnine'],
  },
  'design-tools': {
    slug: 'design-tools',
    name: 'Design Tools for Students',
    description: 'Professional design tools with student plans',
    resourceSlugs: ['figma', 'canva-education', 'framer'],
  },
};

UX Notes

  • Table should be responsive (horizontal scroll on mobile)
  • Highlight "Free" cost type
  • Show verification badges
  • Sticky header for scroll
  • Link to individual resource or claim URL
主要语言
TypeScript
星标
1
派生
6
平均合并
1 天 45 分钟
30 天内合并 PR
52

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。