Phase 4: Comparison view for overlapping resource clusters
维护者通常 1 天内回复
已经有一个关联 PR 被合并了。
- #101 来自 @Aryan-Techie —— 已合并
评估
- 难度
- 3/5
- 预计耗时
- 3-5 天
- 新手友好度
- 68/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
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 内容生成。
描述
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
- 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.
- Create comparison data structure:
- Could be a JSON file or database table
- Each set: slug, name, description, resource slugs[]
- Build
/compare/[set]page:- Dynamic route:
src/app/compare/[set]/page.tsx - Fetch resources for the set
- Render side-by-side comparison table
- Dynamic route:
- Comparison table columns:
- Name / Tagline
- Cost Type (Free/Discount/Credits)
- Verification Required
- Credit Card Required
- Duration
- Platform tags
- Claim Link
- Navigation: Add links from relevant category pages or resource cards
Files to Create
src/lib/comparisons.ts- comparison set definitionssrc/app/compare/[set]/page.tsx(new) - comparison pagesrc/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
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
Graphify-Labs/graphify#4860 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
sveltejs/eslint-plugin-svelte#1615 ·
维护者通常 7 天内回复
-
Parallel reticle_verify opens per-flow leases without the source lease's ignoreHTTPSErrors可能已有人在做 @as992949791 今天认领。 未关闭good first issue help wanted
难度 2/5 1-3 小时 新手友好度 85/100
reticlehq/reticle#2033 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复