Phase 3: Implement /deadlines route with deadline view
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- full-stack, web-dev
Hướng nghiên cứu
Start with PRD §8.4, then inspect src/lib/resources.ts, src/components/directory/resource-card.tsx, and the existing app routes. Review scripts/normalize-data.ts and offers.json to determine how deadline data should be added. Done means /deadlines lists dated resources in ascending order, marks deadlines within 14 days, collapses expired items into a past section, and is linked from the homepage or directory.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
Implement the /deadlines route as specified in PRD §8.4. This is a P0 requirement for Phase 3.
Acceptance Criteria (from PRD §8.4)
-
/deadlinesroute lists all resources with a non-nulldeadline, soonest first - Resources with deadlines within 14 days get a visually distinct "closing soon" badge
- Expired deadlines auto-move to a collapsed "past" section, not deleted (useful for next year's cycle)
Current State
- Database schema already has
deadlinecolumn onresourcestable (nullable timestamp) src/db/schema.tsline 54:deadline: timestamp("deadline")- No deadline data exists in current seed (see PROGRESS.md judgment call #8)
- Need to add deadline data to
offers.json/ normalization
Implementation Plan
- Add deadline data: Update
offers.jsonor normalization to include deadline data for scholarship/internship resources - Create
/deadlinespage: New route atsrc/app/deadlines/page.tsx - Create deadline query: Add
getResourcesWithDeadlines()tosrc/lib/resources.ts - Build UI components:
- Upcoming deadlines list (sorted by deadline ASC)
- "Closing soon" badge (deadline within 14 days)
- Collapsible "Past deadlines" section
- Add to navigation: Link from homepage/directory
Files to Create/Modify
src/app/deadlines/page.tsx(new)src/lib/resources.ts- add deadline queriesscripts/normalize-data.ts- add deadline parsing if data existssrc/components/directory/resource-card.tsx- reuse card or create deadline-specific card- Homepage/directory - add link to
/deadlines
Design Notes
- Public route (no auth required)
- Server Component for initial data fetch
- Can reuse ResourceCard component with deadline-specific props
- "Closing soon" = deadline < 14 days from now
- "Past" = deadline < now
- Ngôn ngữ chính
- TypeScript
- Star
- 1
- Fork
- 6
- Merge trung bình
- 11 giờ 16 phút
- Pull request đã merge (30 ngày)
- 16
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Your-Voldemort/StudentStack
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
Your-Voldemort/StudentStack#42 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Your-Voldemort/StudentStack#41 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Your-Voldemort/StudentStack#40 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
Your-Voldemort/StudentStack#38 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Your-Voldemort/StudentStack#37 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Your-Voldemort/StudentStack
Issue tương tự
-
Bump Firebase JS SDK (12.19.0 → 13.0.0)Có thể đã có người làm @SelaseKay đã nhận hôm nay. Đang mởNeeds Attention type: enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
invertase/react-native-firebase#9364 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 4 ngày
-
[fullsend] E2E: rhdh-version-override — run-e2e.sh overrides RHDH_VERSION to non-existent 2.1Đang mởe2e-failure ready-to-code
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
redhat-developer/rhdh-plugin-export-overlays#4261 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] 官网文档的图片挂了Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:cli bug triage:in-progress
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày