-
Notifications
You must be signed in to change notification settings - Fork 7
Nuux #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
nuuxcode
wants to merge
187
commits into
nest-migration
Choose a base branch
from
nuux
base: nest-migration
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Nuux #30
Conversation
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
Migration from Next.js to NestJS and TRPC to RESTful API
… and naming - Renamed 'ownerId' to 'ownerUserId' in Forum model for clarity - Added 'slug' field to Forum model - Changed 'isHidden' to 'isVisible' in Post and Comment models for better readability - Refactored Attachment model to separate PostAttachment and CommentAttachment - Removed unnecessary whitespace and comments
chore(database) & refactor(schema): Delete redundant files and refine Prisma schema
- Change `passwordHash` to `password` in User model - Set default role to `user` in User model - Comment out `AuthModule` in app.module.ts - Create `UserResponseDTO` in auth.dto.ts - Change `name` to `username` in `RegisterUserDTO` - Update `AuthService` to use `username` and set default role - Comment out some routes in post.controller.ts - Change `name` to `username` in user.controller.ts
Feature: User Authentication, Post Controller Adjustments, and Data Seeding
…ent info in findOne and findAll
This commit adds pagination to the following methods: - getAllForums and getPostsForForum in ForumService - findAll in PostService The corresponding methods in ForumController and PostController are updated to: - accept pagination parameters - pass them to the service methods Swagger documentation for these methods is also updated to include the new parameters.
applied styling changes to SearchBox component in search.tsx. added rounded corners to enhance visual appearance.
…erService implemented getUser, getUserFollowers, getUserFollowing, getUserOwnedForum, getUserModeration, getUserPosts, getUserComments, getUserPostVotes, getUserCommentVotes, and getUserSubscriptions functions in UserController and UserService. these functions fetch user information, user followers, user followings, forums owned by the user, forums where the user is a moderator, posts authored by the user, comments made by the user, votes on posts by the user, votes on comments by the user, and user subscriptions respectively.
…ontroller and ForumService implemented getSubscribersForForum, subscribeToForum, and unsubscribeFromForum functions in ForumController and ForumService. these functions respectively fetch subscribers for a specific forum, allow users to subscribe to a forum, and allow users to unsubscribe from a forum.
…vice implemented votePost function in VoteController and VoteService to handle voting on posts. this function allows users to vote on posts.
changed 'getUser' function to 'getMe' in the CommentInput component to fix a typo in the useFetcher function name, ensuring consistency.
created a new directory for user profile pages to organize and manage user- related functionalities separately.
Create post
updated package dependencies in package.json and pnpm-lock.yaml to include the latest versions of '@types/nprogress' and 'nprogress'.
…ality refactored button color in the UserProfile component to use orange color for email display. Also, updated the follow/unfollow functionality to use proper API calls and updated button text accordingly.
updated favicon icon in favicon.ico to use the new icon.
fixed linting errors in the Layout component by removing unnecessary import and properly formatting the metadata object.
…cher hook refactored the follow/unfollow user functionality in the fetcher hook to properly mutate SWR keys after successful follow/unfollow actions.
updated button text from 'Follow' to 'Subscribe' for consistency with the forum subscription feature.
Create post modal
Update package dependencies and refactor button color and follow/unfollow functionality
…/unfollow button click handler Updated the follow/unfollow button click handler in the user profile page to check if currentUsername is null or undefined before executing the follow/unfollow action. This prevents errors when currentUsername is not defined.
Admin dash api
…mentInput.tsx, and fetcher.tsx Split long lines to improve readability and maintain code standards in the following files: - client/src/app/[username]/page.tsx - client/src/app/page.tsx - client/src/components/comment/commentInput.tsx - client/src/hooks/fetcher.tsx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
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 introduces a new
Admindashboard project built with Material-UI and Refine, including configuration, dependencies, localization, and Cypress tests. The changes are grouped into project setup, testing, and localization.Project Setup
.gitignorefile to exclude dependencies, build artifacts, and environment-specific files (Admin/.gitignore).package.jsonwith project metadata, scripts, dependencies, and devDependencies for React, Material-UI, Refine, and TypeScript (Admin/package.json).index.htmlfile with meta tags and a root element for the React app (Admin/index.html)..npmrcto handle peer dependency issues (Admin/.npmrc).Testing
Admin/cypress.config.ts).Admin/cypress/e2e/all.cy.ts. These tests cover login, resource management, UI interactions, and state persistence.Admin/cypress/tsconfig.json).Localization
de) translations for UI elements, error messages, and notifications inAdmin/public/locales/de/common.json. This supports multi-language functionality for the app.Documentation
README.mdwith project details, links to resources, and instructions to try the example locally or on CodeSandbox (Admin/README.md).