Fix: Make university names case-insensitive in dashboard registration graph#24
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: icy-r <87885588+icy-r@users.noreply.github.com>
There was a problem hiding this comment.
Pull Request Overview
This PR fixes the dashboard registration graph to handle university names case-insensitively, preventing duplicate entries for the same university with different casing.
- Implements case-insensitive aggregation of university registration counts
- Uses a Map-based approach to group universities by normalized (lowercase) names
- Preserves original casing for display while combining counts for case variations
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
@copilot Error: You have commit messages with errors |
Co-authored-by: icy-r <87885588+icy-r@users.noreply.github.com>
I've reverted the pnpm-lock.yaml changes in commit 7fd45f8. The lock file is now back to its original state. Regarding the "Initial plan" commit message: This commit was created as an empty progress report and doesn't follow the conventional commit format. Since force push is not available, I cannot amend or rebase to fix this historical commit. However, all subsequent commits now follow the correct format:
The PR now only contains changes to |
The CI is failing due to the "Initial plan" commit (59c4f8c) which doesn't follow conventional commit format. This was an empty progress report commit. Since force push is not available, I cannot rewrite git history to fix this commit message. The commit needs a type prefix like "Chore: Initial plan" or "Docs: Initial plan". Options:
The actual code changes in commits a9b35ba and 7fd45f8 are correct and follow the conventional commit format. |
|
The 'Initial plan' commit (59c4f8c) in this PR doesn't follow conventional commit format and was causing CI failures. Since force push is not available to rewrite the git history, I've created a new PR #25 with only the valid commits that follow the proper commit message convention. The code changes are identical - this is purely to fix the commit history issue. |
Changes Made:
src/components/dashboard/registrations.jsxto group universities by normalized (lowercase) nameOriginal prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.