Skip to content

Initial Working front-end of forum#69

Open
bntlyr wants to merge 14 commits intoFEUTechACMX:masterfrom
bntlyr:master
Open

Initial Working front-end of forum#69
bntlyr wants to merge 14 commits intoFEUTechACMX:masterfrom
bntlyr:master

Conversation

@bntlyr
Copy link

@bntlyr bntlyr commented Jan 14, 2025

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

@vercel
Copy link

vercel bot commented Jan 14, 2025

@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.

@ColasRab ColasRab enabled auto-merge February 26, 2025 14:23
@fit-alpha-coma fit-alpha-coma requested a review from Copilot June 1, 2025 07:42
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 handleVote logic in QuestionCard to 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
ColasRab previously approved these changes Jun 27, 2025
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
ColasRab and others added 2 commits June 28, 2025 01:44
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ColasRab ColasRab closed this Jun 27, 2025
auto-merge was automatically disabled June 27, 2025 17:52

Pull request was closed

@ColasRab ColasRab reopened this Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants