fix(#1505): implement functional Navbar component#1669
Conversation
|
@ishani-1910 is attempting to deploy a commit to the PRIYANSHU DOSHI's projects Team on Vercel. A member of the Team first needs to authorize it. |
GSSoC Label Checklist 🏷️@Priyanshu-byte-coder — please apply the appropriate labels before merging: Difficulty (pick one):
Quality (optional):
Validation (required to score):
|
There was a problem hiding this comment.
Thanks for your first PR on DevTrack! 🎉
A maintainer will review it within 48 hours. While you wait:
- Make sure CI is passing (type-check + lint)
- Double-check the PR description is filled out and the issue is linked
- Feel free to ask questions in Discussions if you need help
If you find DevTrack useful, a ⭐ star on the repo is always appreciated — it helps the project grow and attract more contributors!
|
Closing — this PR adds a |
Summary
Enhanced the existing
PULL_REQUEST_TEMPLATE.mdto improve contribution quality, accessibility awareness, and reviewer guidance.Closes #1505
Type of Change
Changes Made
Here is a summary of the changes made to resolve the issue:
"use client";directive at the top of the file to support client-side hooks.useSessionhook to retrieve the current user's session details (such as the GitHub username)./dashboard/leaderboard/u/[username](resolving to/u/demoif no authenticated session is present).--border,--background,--accent,--foreground) to keep the visual design consistent.How to Test
Here is a summary of how to test these changes, suitable for copying directly into your pull request:
Testing Steps
1. Manual Verification
npm run dev./dashboard)/leaderboard)/u/<username>)/u/your-username)./u/demoroute.--background,--foreground,--border, and--accent).2. Automated Component Testing (Optional)
You can verify the component behavior programmatically with a test like the following using
vitestand@testing-library/react:Screenshots (if UI change)
N/A
Checklist
npm run lintpasses locallynpm run type-check)Accessibility Checklist
Additional Notes
This update standardizes pull request submissions and helps maintain consistent review quality across contributions.