Skip to content

feat: add location tagging and nearby peer filter (Closes #72) - #73

Open
Atharv094 wants to merge 4 commits into
arpit2006:mainfrom
Atharv094:feature/location-tagging
Open

Atharv094 wants to merge 4 commits into
arpit2006:mainfrom
Atharv094:feature/location-tagging

Conversation

@Atharv094

Copy link
Copy Markdown
Contributor
## Description
This PR implements location tagging for student profiles and nearby

peer discovery, resolving issue #72.
Changes introduced:
- Added a location field (City / Campus Region) to the User profile
JSON structure.
- Updated the Profile Setup and Profile Update UI forms to include
the Location input field.
- Added a location search/filter input to the Community Connect
(/social) page.
- Updated the backend controller getSocial to filter the peer
directory by the provided location query.
- Ensured pagination links preserve the location filter query state.
- Configured student cards to display the user's location directly in
the community directory.

## Related Issue
Closes #72

## Type of Change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [x] Design/CSS styling changes
- [ ] Documentation update (README, CONTRIBUTING, etc.)

## How Has This Been Tested?
Please describe the steps you took to verify your changes:
1. Verified that saving profile setup and updates correctly parse and

persist the new location field.
2. Verified the Community Connect page correctly filters the students
list by location across varying casing.
3. Confirmed pagination functions seamlessly alongside the active
search parameters.

## Checklist:
- [x] My code follows the coding guidelines of this project.
- [x] I have performed a self-review of my own code.
- [x] I have commented my code, particularly in hard-to-understand

areas.
- [x] My changes generate no new warnings or console errors.

@Atharv094
Atharv094 requested a review from arpit2006 as a code owner August 30, 2026 08:03
@vercel

vercel Bot commented Aug 30, 2026

Copy link
Copy Markdown

@Atharv094 is attempting to deploy a commit to the arpit2006's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown
Contributor

🎉 Thank you @Atharv094 for submitting a Pull Request!

We're excited to review your contribution.

Before Review

✅ Ensure all CI checks pass
✅ Complete the PR template
✅ Link the related issue

📖 Before your PR is reviewed, check the PR Checklist in our Contributing Guide.

Happy Contributing! 🚀

@github-actions

Copy link
Copy Markdown
Contributor

📏 Pull Request Size Report

🟢 Classification: Small

Metric Value
Files Changed 6
Lines Added +76
Lines Deleted -9
Total Changes 85

Size Meter

████░░░░░░

Recommendation

✅ Excellent! This PR is easy to review.


Generated automatically by PR Size Analyzer.

@github-actions

Copy link
Copy Markdown
Contributor

👋 Welcome Back!

Hi @Atharv094,

Thanks for contributing to CampusCompass again!

We appreciate your continued support ❤️



🌟 General Tips

  • Keep commits focused
  • Respond to review comments
  • Ask questions if you're unsure
  • Make sure CI passes before requesting review

Happy Coding! 🚀


Generated automatically by Contributor Learning Assistant.

@github-actions

Copy link
Copy Markdown
Contributor

📋 Pull Request Preview

📊 Summary

Metric Value
📄 Files Changed 6
➕ Additions +76
➖ Deletions -9
🔄 Total Changes 85
📦 PR Size 🟢 Small

📂 File Breakdown

Category Files
🎨 Frontend 0
⚙️ Backend 0
🧪 Tests 0
📚 Documentation 0
🤖 GitHub Actions 0
📦 Other 6

⏱️ Estimated Review Time

5 minute(s)


✅ Reviewer Checklist

  • Linked issue
  • Code follows project guidelines
  • Tests added/updated (if required)
  • Documentation updated (if required)
  • CI passes

🤖 Generated automatically by the PR Preview Bot

@Atharv094

Copy link
Copy Markdown
Contributor Author

Hi @arpit2006

If you feel the thoroughness and code quality of this contribution go beyond the expected scope, would it be possible to consider it for the good-pr,good-backend,good-ui or good-issue Bonus XP label?

Thank you so much for the opportunity to work on this performance enhancement!

@github-actions

Copy link
Copy Markdown
Contributor

⏳ Please Be Patient

Hi @Atharv094 👋

We noticed that you mentioned @arpit2006 regarding this Pull Request.

Your contribution has been received and will be reviewed by the maintainers. Please be patient while the PR goes through the review and merging process.

Maintainers may need some time to:

  • 🔍 Review the changes
  • 🧪 Test the implementation
  • 💬 Provide feedback
  • ✅ Approve and merge the PR

Please avoid repeatedly mentioning maintainers for merge requests.

Thank you for your contribution and patience! ❤️

— 🤖 Automated Repository Bot

@github-actions

Copy link
Copy Markdown
Contributor

👋 This pull request has been automatically marked as stale because it has had no activity for 14 days.

It will be closed in 7 days if no further activity occurs.

If you are still working on this, please:

  • Push new commits or leave a comment with a status update
  • Ensure all CI checks are passing
  • Request a review from a maintainer

Thank you for your contribution to CampusCompass! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant