[add] Hackathon Project page & components#45
Merged
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. Comment |
Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Migrate team details page for hackathon project
Migrate hackathon team detail page from HOP repository
Jan 3, 2026
TechQuery
requested changes
Jan 3, 2026
- Added Member and Product types with corresponding models in Hackathon.ts - Updated team detail page to query members and products using new models - Added CommentBox component placeholder at bottom of team page - Improved product display with links to preview and source code Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>
TechQuery
requested changes
Jan 3, 2026
- Removed manual Person filtering since MemberModel query already filters by project - Updated to use Member data directly instead of fetching all People - Destructured fields in callback functions for cleaner code - Used Card body shorthand for simpler markup - Removed unused imports (Person, PersonModel, LarkImage) - Display member info from Member table (person name, summary, githubAccount) Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>
[add] Evaluation form modal [fix] missing Main Navigator links
TechQuery
approved these changes
Jan 3, 2026
…DE buttons - Imported Hackathon.module.less styles for consistent UI design - Added hero section with gradient background to project detail page - Restructured layout to use styled sections (team members, products, creator) - Applied darkCard style to member cards with purple gradient - Applied lightCard style to creator section with warm gradient - Updated ProductCard to render null when no sourceLink - Added multiple cloud IDE buttons (GitHub, GitHub.dev, Codespaces, GitPod) - Removed tabs layout in favor of sectioned content display - Enhanced visual consistency with main hackathon page Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>
Contributor
Author
Done in commit 6d3896c.
|
Copilot
AI
changed the title
[add] Hackathon Project page & components
[add] Hackathon Project page & components
Jan 4, 2026
[optimize] update Upstream packages
- Applied projectCard gradient style (pink to yellow) for visual consistency - Moved sourceLink conditional check inside card body (not at component level) - Replaced badge images with text-only buttons for cleaner appearance - Updated text colors to dark theme matching gradient background - Removed unnecessary borders and adjusted spacing - Button labels: GitHub, GitHub.dev, Codespaces, GitPod Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>
Contributor
Author
TechQuery
approved these changes
Jan 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Team Detail Page Migration - Complete ✅
Summary
Successfully migrated the hackathon team detail page from the HOP repository to work with the Open Source Bazaar's Lark database architecture with consistent UI design and enhanced cloud IDE integration.
What Was Done
/hackathon/[id]/team/[tid]Implementation Details
Route:
/hackathon/[id]/team/[tid].tsxFeatures Implemented:
Models Added:
Membertype andMemberModelclass - For querying team members with status filterProducttype andProductModelclass - For querying team products/worksUI/UX Enhancements:
Hackathon.module.lessstyles matching homepagedarkCard(purple gradient) for team memberslightCard(warm gradient) for creator infoprojectCard(pink-to-yellow gradient) for productsProductCard Improvements (Latest):
sourceLinkcheck inside card body instead of component returnCode Quality Improvements:
<Card body>shorthand instead of verbose markupAddressing Review Comments
✅ Comment 1: Use MemberModel with query for approved members - DONE
✅ Comment 2: Use ProductModel with query for products - DONE
✅ Comment 3: Add CommentBox component at bottom - DONE
✅ Comment 4: Remove manual filtering since query already filters by project - DONE
✅ Comment 5: Destructure fields in callbacks and use Card body shorthand - DONE
✅ Comment 6: Make project detail page UI consistent with hackathon homepage - DONE
✅ Comment 7: Rewrite ProductCard with cloud IDE buttons when sourceLink exists - DONE
✅ Comment 8: Apply gradient styling to ProductCard for consistency - DONE
✅ Comment 9: Use text buttons instead of badge images - DONE
✅ Comment 10: Move sourceLink conditional inside card body - DONE
Human changes
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.