Feat/create me dashbaord - #371
Merged
Merged
Conversation
refactor: update user data structure in auth store and API response style: adjust sidebar inset background color and site header text color
- Implemented DeleteCampaignAlert component for deleting crowdfunding campaigns with confirmation dialog and success/error handling. - Integrated RecentProjects component into MeDashboard to display user's recent projects. - Updated ActivityFeed and ProfileDataClient components to accommodate new user data structure. - Created RecentProjects component to list user's recent crowdfunding projects with sorting and pagination. - Enhanced ProjectsTab to reflect updated user data structure and display projects correctly. - Added smart breadcrumb navigation to SiteHeader for better user experience. - Introduced DataTablePagination for improved table navigation and row selection feedback. - Updated API methods for fetching crowdfunding projects and user data to align with new backend structure. - Refactored user and project types to accommodate changes in API response structure.
- Implemented a new modal component for submitting evidence related to project milestones. - Added file upload functionality with validation for document types and sizes. - Included status selection and evidence description fields with character limits. - Integrated error handling and submission logic for milestone evidence. - Updated ProjectCard to use project slug instead of ID for routing. - Modified Confirm component to accept project slug. - Adjusted ProjectLayout and Milestone components for consistent styling and functionality. - Enhanced API functions for milestone management, including validation and document uploads. - Updated types to reflect changes in project structure and added new milestone-related functions.
…ts into a new features directory.
…nd updated project status handling
…`eslint` and `@creit.tech/stellar-wallets-kit` dependencies.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedToo many files! This PR contains 214 files, which is 64 over the limit of 150. You can disable this status message by setting the
✨ Finishing touches🧪 Generate unit tests (beta)
Important Action Needed: IP Allowlist UpdateIf your organization protects your Git platform with IP whitelisting, please add the new CodeRabbit IP address to your allowlist:
Failure to add the new IP will result in interrupted reviews. Comment |
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.
This pull request contains several improvements and refactors across the codebase, with a focus on project and milestone pages, code organization, and minor UI/UX enhancements. The most significant changes include migrating project-related imports to the new
features/projectsdirectory, improving milestone data fetching and display, and cleaning up unused code and console statements.Project and Milestone Page Refactors:
slugparameter instead ofid, updated imports to use the newfeatures/projectsdirectory, and improved milestone data fetching by retrieving both project and milestone details in parallel. Also added a new "Proof & Status" tab with detailed milestone status and evidence display. (app/(landing)/projects/[slug]/page.tsx,app/(landing)/projects/[slug]/milestone/[milestoneId]/page.tsx) (app/(landing)/projects/[slug]/page.tsxL5-R18, app/(landing)/projects/[slug]/page.tsxL25-R28, app/(landing)/projects/[slug]/page.tsxL35-R38, app/(landing)/projects/[slug]/milestone/[milestoneId]/page.tsxR5-R66, app/(landing)/projects/[slug]/milestone/[milestoneId]/page.tsxR99-R107, app/(landing)/projects/[slug]/milestone/[milestoneId]/page.tsxL88-R133)Code Organization and Import Updates:
@/components/landing-page/projectand related paths to@/features/projects, including types, API, and components, for better modularity and maintainability. (app/(landing)/hackathons/[slug]/page.tsx,app/(landing)/hackathons/preview/[orgId]/[draftId]/page.tsx,app/(landing)/profile/[username]/profile-data.tsx) (app/(landing)/hackathons/[slug]/page.tsxL16-R16, app/(landing)/hackathons/preview/[orgId]/[draftId]/page.tsxL11-R11, app/(landing)/profile/[username]/profile-data.tsxL5-R5)UI/UX Improvements:
app/(landing)/projects/[slug]/milestone/[milestoneId]/page.tsx,app/(landing)/notifications/page.tsx) (app/(landing)/projects/[slug]/milestone/[milestoneId]/page.tsxR99-R107, [1] [2] [3]Cleanup and Removal of Unused Code:
.eslintrc.jsand cleaned up unused imports, console logs, and error handling in various files for a cleaner codebase. (.eslintrc.js,app/(landing)/about/page.tsx,app/(landing)/me/layout.tsx,app/(landing)/organizations/[id]/hackathons/page.tsx,app/(landing)/hackathons/[slug]/team-invitations/[token]/accept/page.tsx) [1] [2] [3] [4] [5] app/(landing)/organizations/[id]/hackathons/page.tsxL98-R98, app/(landing)/organizations/[id]/hackathons/page.tsxL122-R122, app/(landing)/organizations/[id]/hackathons/page.tsxL202-R203, app/(landing)/hackathons/[slug]/team-invitations/[token]/accept/page.tsxL75-L76)New Feature: Contributions Page
app/(landing)/projects/[slug]/contributions/page.tsx) (app/(landing)/projects/[slug]/contributions/page.tsxR1-R92)