Initial Working front-end of forum#69
Open
bntlyr wants to merge 14 commits intoFEUTechACMX:masterfrom
Open
Conversation
|
@bntlyr is attempting to deploy a commit to the FEU Tech ACMX's projects Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Pull Request Overview
Implements the initial working front-end for the forum, introducing reusable UI components, page layouts, and routing for forum features.
- Added core UI primitives and theme support
- Built out forum pages: topics, search, question listing, question detail, and ask form
- Configured layout with sidebar, header, context provider, and API route
Reviewed Changes
Copilot reviewed 28 out of 28 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/components/ui/dropdown-menu.tsx | Add dropdown menu UI component wrappers |
| src/components/ui/badge.tsx | Add Badge component with variants |
| src/components/ui/avatar.tsx | Add Avatar and related components |
| src/components/Spinner.tsx | Trim trailing whitespace |
| src/components/Home/Header.tsx | Trim trailing whitespace |
| src/components/Forum/theme-provider.tsx | Wrap NextThemesProvider for dark/light mode |
| src/components/Forum/question-card.tsx | Implement QuestionCard with voting buttons |
| src/components/Forum/header.tsx | Forum header with responsive search bar |
| src/components/Forum/app-sidebar.tsx | Sidebar navigation and theme toggle |
| src/app/utils/undertaking-generator/page.tsx | Update icon imports |
| src/app/forum/topics/page.tsx | Topics listing page |
| src/app/forum/search/page.tsx | Search results page |
| src/app/forum/questions/page.tsx | Questions listing page using context |
| src/app/forum/questions/ask/page.tsx | Ask question form page |
| src/app/forum/questions/[id]/page.tsx | Question detail and nested replies UI |
| src/app/forum/page.tsx | Forum home page |
| src/app/forum/layout.tsx | Root layout with sidebar, header, and theme/provider |
| src/app/api/forum/questions/route.ts | POST API route for creating questions |
| package.json | Add Radix UI & next-themes dependencies |
Comments suppressed due to low confidence (1)
src/components/Forum/question-card.tsx:26
- Consider adding unit tests to cover the
handleVotelogic inQuestionCardto verify that likes/dislikes state updates correctly when the buttons are clicked.
export function QuestionCard({ id, title, content, author, tags, likes: initialLikes, dislikes: initialDislikes, replies, createdAt }: QuestionCardProps) {
ColasRab
approved these changes
Jun 27, 2025
ColasRab
previously approved these changes
Jun 27, 2025
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
ColasRab
approved these changes
Jun 27, 2025
ColasRab
approved these changes
Jun 27, 2025
ColasRab
approved these changes
Jun 27, 2025
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.
need to install next-themes.
only latest commit is working, past commit were tests.
At the moment we are still working on backend routes along with database setup