Commit 9d7dd0f
Nest switch (#362)
* feat: implement comprehensive comment system with real-time features
- Added a new README for the comment system detailing features, architecture, and usage.
- Integrated socket.io for real-time comment updates and reactions.
- Created hooks for managing comments, reactions, and real-time interactions.
- Developed UI components for comment threads, moderation dashboard, and user interactions.
- Updated project and API types to support new comment system functionalities.
- Implemented validation and content filtering for comments to enhance moderation capabilities.
* feat: update project and profile components with new features and optimizations
- Updated project components to utilize new CrowdfundingProject type for better type safety.
- Enhanced profile components with public views and improved data handling.
- Introduced new hooks for managing follow statistics and user interactions.
- Refactored various components to streamline data flow and improve performance.
- Removed deprecated components and optimized existing ones for better maintainability.
- Added new utility functions for handling user activities and project interactions.
* chore: update Next.js and related dependencies to version 16.0.10
- Upgraded Next.js and its associated packages in package.json and package-lock.json to version 16.0.10 for improved features and performance.
- Ensured compatibility across all relevant modules by synchronizing version updates.
* fix: update socket connection URLs to use BETTER_AUTH_URL
- Changed socket connection URLs in useCommentRealtime, useVoteRealtime, and useSocket hooks to utilize NEXT_PUBLIC_BETTER_AUTH_URL for improved configuration management.
* feat: add CheckEmail component for email verification flow
- Introduced a new CheckEmail component to inform users about the verification email sent to their address.
- Updated SignupForm to redirect users to the CheckEmail page after sending the verification email.
- Refactored AuthPage to streamline mode handling and state synchronization with query parameters.
- Removed unused state management in SignupForm for improved clarity and performance.
* feat: implement invitation acceptance layout and loading states
- Added a new AuthLayoutWrapper component for the accept invitation page, providing a consistent layout with animated transitions.
- Enhanced the AcceptInvitationPage component to include a loading spinner and improved user feedback during the invitation acceptance process.
- Updated various organization-related components to use the new 'id' field instead of '_id' for better consistency across the application.
- Refactored organization-related API calls and state management to align with the new data structure.
* refactor: standardize ID usage and improve component logic
- Replaced instances of '_id' with 'id' across various components and hooks for consistency.
- Updated the Hackathon API and related types to reflect the new data structure.
- Simplified resource handling in Hackathon components by removing unnecessary nesting.
- Enhanced the organization-related components to utilize the new 'organizationId' field.
- Cleaned up unused code and improved overall readability in several files.
* feat: enhance hackathon participant management and UI
- Introduced the HackathonParticipants component to display participant details.
- Updated HackathonPage to integrate participant data and improve tab management.
- Refactored participant data handling in useParticipants hook for better type safety and clarity.
- Enhanced loading states and error handling in various components.
- Cleaned up unused code and improved overall readability in related files.
* feat: add console logs for debugging and update API response handling
* fix: update background class to use gradient for HackathonStickyCard
* feat: Refactor submission and discussion handling
- Updated CreateSubmissionModal to include participationType and set default values.
- Modified submission handling in useSubmission hook to accommodate new data structure.
- Removed deprecated discussions API and related hooks, transitioning to a more streamlined comment system.
- Updated CommentItem component to reflect changes in comment structure and user data.
- Adjusted API calls in lib/api to align with new backend requirements for submissions and comments.
- Enhanced type definitions for comments and submissions to improve type safety and clarity.
- Cleaned up unused code and comments related to discussions, focusing on the new comment structure.
* feat(metadata): Enhance SEO metadata generation and add utility functions
- Updated default Open Graph image URLs to use absolute paths.
- Introduced utility functions for generating absolute image URLs, slugs, and truncating descriptions for SEO.
- Enhanced page and blog metadata generation with additional fields for Open Graph, Twitter Card, and structured data.
- Added JSON-LD structured data generation for blog posts and breadcrumbs.
- Updated blog post type definitions to reflect changes in metadata structure.
fix(organization): Remove debug trace from OrganizationProvider
- Removed console.trace statement for organization data to clean up logs.
refactor(blog): Update blog post structure and request types
- Changed 'content' and 'image' fields to 'description' and 'coverImage' in BlogPost interface.
- Added new fields for categories and updated request types to include filtering options for blog posts.
* feat(blog): refactor BlogCard and BlogSection components for improved navigation and data fetching
* feat: add hackathon participants, resources, rewards, and teams API
- Implemented participants API with registration, submission, and voting functionalities.
- Created resources API to fetch hackathon resources.
- Added rewards API for assigning ranks and managing escrow details.
- Developed teams API for team recruitment posts and management.
- Refactored hackathon types into core, draft, participant, judging, rewards, and team modules for better organization and maintainability.
- Enhanced upload service to support multiple tags.
* fix: update tag handling in UploadService to use JSON.stringify for single uploads
* fix: update tag handling in UploadService to append tags individually
* feat: enhance navigation in StreamingBlogGrid with transition handling and loading state
* feat: update styles and improve responsiveness across AboutUsHero, OurTeam, and Blog components
* feat: Implement code changes to enhance functionality and improve performance
* feat: Refactor blog components and API for improved data handling and metadata generation
* Update components/organization/tabs/ProfileTab.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update components/organization/hackathons/details/HackathonSidebar.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update components/landing-page/blog/BlogSectionClient.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update components/organization/hackathons/new/NewHackathonTab.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update components/notifications/NotificationDropdown.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update components/organization/hackathons/new/NewHackathonSidebar.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update components/landing-page/hackathon/HackathonCard.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update components/landing-page/blog/BlogCard.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update components/profile/update/Settings.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: Fix typo in updateNotificationsSettings function name
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 47fb664 commit 9d7dd0f
289 files changed
Lines changed: 19235 additions & 14824 deletions
File tree
- app
- (landing)
- about
- accept-invitation
- [invitationId]
- blog
- [slug]
- code-of-conduct
- disclaimer
- hackathons
- [slug]
- preview/[orgId]/[draftId]
- me
- settings
- organizations/[id]/hackathons
- [hackathonId]
- judging
- participants
- profile/[username]
- projects/[id]
- milestone/[milestoneId]
- api/blog
- categories
- posts
- search
- tags
- auth
- check-email
- verify-email
- preview
- test-new-comments
- user
- campaigns
- projects
- components
- auth
- bounties
- campaigns
- back-project
- backing-history
- launch
- comments
- escrow
- follow
- hackathons
- discussion
- overview
- participants
- resources
- submissions
- team-formation
- landing-page
- blog
- hackathon
- project
- CreateProjectModal
- layout
- notifications
- organization
- cards
- GradeSubmissionModal
- hackathons
- details
- new
- tabs
- rewards
- settings
- tabs
- MembersTab
- overview
- profile
- update
- project-details
- comment-section
- project-backers
- project-milestone
- milestone-details
- project-sidebar
- project-voters
- projects
- project
- providers
- skeleton
- ui
- user
- docs
- hooks
- hackathon
- project
- lib
- api
- hackathons
- auth
- data
- providers
- stores
- utils
- types
- hackathon
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | | - | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 57 | | |
61 | 58 | | |
62 | 59 | | |
| |||
68 | 65 | | |
69 | 66 | | |
70 | 67 | | |
71 | | - | |
72 | | - | |
73 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
74 | 100 | | |
75 | 101 | | |
76 | 102 | | |
| |||
81 | 107 | | |
82 | 108 | | |
83 | 109 | | |
| 110 | + | |
84 | 111 | | |
85 | 112 | | |
86 | 113 | | |
| |||
110 | 137 | | |
111 | 138 | | |
112 | 139 | | |
113 | | - | |
114 | | - | |
| 140 | + | |
| 141 | + | |
115 | 142 | | |
116 | 143 | | |
117 | 144 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
9 | 19 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
13 | 31 | | |
14 | | - | |
| 32 | + | |
15 | 33 | | |
16 | 34 | | |
17 | 35 | | |
| |||
21 | 39 | | |
22 | 40 | | |
23 | 41 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 42 | + | |
29 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
30 | 50 | | |
31 | 51 | | |
32 | 52 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 53 | + | |
37 | 54 | | |
38 | 55 | | |
39 | 56 | | |
40 | 57 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 58 | + | |
45 | 59 | | |
46 | 60 | | |
47 | 61 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 62 | + | |
55 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
56 | 70 | | |
57 | 71 | | |
58 | 72 | | |
59 | 73 | | |
60 | 74 | | |
61 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
62 | 80 | | |
63 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
64 | 91 | | |
65 | 92 | | |
66 | 93 | | |
67 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
68 | 118 | | |
0 commit comments