Project Detail View Page (Full Lifecycle — View + Submit + Judge + Moderate)
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- typescript
- 领域
- api, authorization, full-stack
调研方向
Start with the proposed /projects/[id]/page.tsx entry point and the listed components: Header.tsx, Overview.tsx, Team.tsx, Submission.tsx, ScorePanel.tsx, ModerationPanel.tsx, and Timeline.tsx. Trace the existing project APIs and permission handling before planning the lifecycle, scoring, moderation, loading, error, and timeline behavior; done means the stated role-based workflows and test cases are implemented.
由索引模型根据 Issue 内容生成。
描述
🧠 What are we building?
A complete Project Detail Page that is not just for viewing, but for:
- 📦 Submission (Participant)
- ⭐ Scoring (Judge)
- 🛡️ Moderation (Organizer/Admin)
- 📊 Evaluation tracking
👉 This is the core execution layer of hackathons/events
🎯 Goal
Build a fully functional, role-aware Project Page that:
- shows complete project data
- supports submission flow
- supports judging & scoring
- supports moderation
- handles real-world workflows
🧠 Core Concept
Project Page = View + Actions + Evaluation + Moderation
🏗️ Route
/projects/:projectId
📦 Page Layout
Header (Title + Status + Actions)
---------------------------------
Project Overview
---------------------------------
Team Info
---------------------------------
Submission Details
---------------------------------
Attachments / Links
---------------------------------
Scoring & Feedback (Judge)
---------------------------------
Moderation Panel (Organizer/Admin)
---------------------------------
Activity / Timeline
🔹 1. Header
Show:
-
Project Title
-
Status Badge:
- Draft
- Submitted
- Under Review
- Approved
- Rejected
-
Event Name + Type
-
Action Buttons (role-based)
🔹 2. Project Overview
- Description
- Tech Stack (skills)
- GitHub Repo
- Live Demo URL
🔹 3. Team Section
- Team Name / Solo
- Members list
🔹 4. Submission Details
- Submission Status
- Submitted At
- Last Updated
- Version (draft vs final)
🔹 5. Attachments
- Screenshots
- Docs
- Links
⭐ 6. Scoring System (CRITICAL)
Only for Judges
Scoring UI
Fields:
Innovation (0–10)
Technical Complexity (0–10)
Design / UX (0–10)
Impact (0–10)
Total Score
Auto calculated
Feedback
- text area for judge comments
Submit Score
- button → submit score
API
POST /api/v1/projects/:id/score
Data Model (Example)
Score {
projectId
judgeId
innovation
technical
design
impact
totalScore
feedback
submittedAt
}
Rules
- judge can score only assigned projects
- score editable until deadline
- multiple judges → average score
🧑💻 7. Participant Actions
- Edit Project (only draft)
- Delete Project (only draft)
- Submit Project
Submit Flow
Click Submit
↓
Validation check
↓
Status → submitted
↓
Lock editing
API
POST /api/v1/projects/:id/submit
🏢 8. Organizer Moderation Panel
Actions
- View all submissions
- Approve / Reject project
- Delete inappropriate project
API
POST /api/v1/projects/:id/approve
POST /api/v1/projects/:id/reject
DELETE /api/v1/projects/:id
🛡️ 9. Admin Controls
- Delete project
- Suspend project
- Ban user
📊 10. Score Aggregation
Show:
- average score
- number of judges
- ranking (optional)
avgScore = totalScore / numberOfJudges
📜 11. Activity Timeline
Show events:
- project created
- edited
- submitted
- scored
- approved/rejected
⚙️ API (FULL)
Get Project
GET /api/v1/projects/:id
Submit Project
POST /api/v1/projects/:id/submit
Score Project
POST /api/v1/projects/:id/score
Moderate
POST /api/v1/projects/:id/approve
POST /api/v1/projects/:id/reject
DELETE /api/v1/projects/:id
🔐 Permissions (VERY IMPORTANT)
Participant → own project only
Organizer → community projects
Judge → assigned projects
Admin → full access
🧩 States
Loading
- skeleton
Error
- retry
Not Found
- project not found
Unauthorized
- access denied
🛡️ Edge Cases
- scoring after deadline
- duplicate scoring
- editing after submission
- unauthorized judge access
- project deleted mid-view
🎨 UI Requirements
- clean sections
- clear scoring inputs
- responsive layout
- action buttons visible by role
- status badges
🧪 Test Cases
- participant submit works
- judge scoring works
- multiple judges handled
- organizer moderation works
- admin actions work
- permissions enforced
- timeline updates
📂 File Structure
/projects/[id]
├── page.tsx
├── components/
│ ├── Header.tsx
│ ├── Overview.tsx
│ ├── Team.tsx
│ ├── Submission.tsx
│ ├── ScorePanel.tsx
│ ├── ModerationPanel.tsx
│ └── Timeline.tsx
🚀 Future Enhancements
- live scoring updates
- judge discussion panel
- AI scoring assistance
- leaderboard
✅ Done When
- full project lifecycle handled
- scoring system works
- moderation works
- permissions enforced
- UI responsive
🎯 Priority
🔥 CRITICAL — Core evaluation system
🏁 Final Note
This page is the heart of your platform.
This is where projects are built, judged, and validated.
👉 Build it like a real hackathon system, not just a detail page.
- 主要语言
- TypeScript
- 星标
- 7
- 派生
- 17
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NexGenStudioDev/CommDesk 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
NexGenStudioDev/CommDesk#140 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
NexGenStudioDev/CommDesk#138 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
NexGenStudioDev/CommDesk#130 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
NexGenStudioDev/CommDesk#123 · 2 条评论 ·
-
[UX] Hardcoded window dimensions not DPI-aware — UI broken on high-DPI displays可能重新可做 @anshul23102 于 80 天前认领,目前没有进行中的 PR。 未关闭
NexGenStudioDev/CommDesk#141 · 已指派 1 人 ·
查看 NexGenStudioDev/CommDesk 的全部 Issue
相似的 Issue
-
module-request
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
appandflow/stim#1604 · 1 条评论 ·
维护者通常 1 天内回复
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
难度 1/5 1 小时以内 新手友好度 92/100
lingdojo/kana-dojo#31060 · 1 条评论 · 5 个 reaction ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
paperclipai/paperclip#14173 ·
维护者通常 1 天内回复
-
needs-triage
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复