Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add most voted badge to bot/server cards based on monthly votes #155

Merged
merged 7 commits into from
Jan 7, 2025

Conversation

chimpdev
Copy link
Member

@chimpdev chimpdev commented Jan 7, 2025

This pull request introduces a new "Most Voted" badge feature for bots and servers, updates the corresponding UI components, and adds localization strings for multiple languages. Additionally, it modifies the server-side search logic to include the "Most Voted" status.

UI Enhancements:

Localization:

  • client/locales/az.json, client/locales/en.json, client/locales/tr.json: Added localization strings for the "Most Voted" badge in Azerbaijani, English, and Turkish. [1] [2] [3] [4] [5] [6]

Server-Side Logic:

@chimpdev chimpdev added the Frontend: Feature Requests or discussions related to new features in the Next.js frontend. label Jan 7, 2025
@chimpdev chimpdev self-assigned this Jan 7, 2025
Copy link

what-the-diff bot commented Jan 7, 2025

PR Summary

  • Enhanced Card Components:

    • The components related to the display of Bots and Servers are updated. There's a new system in place, in form of 'badges', to highlight the most popular or voted bot/server in each category. These badges include stylish tooltip and trophy icon for better visual representation.
  • Improved Responsiveness on Hero Component:

    • The display mechanism of the main component has been modified for better compatibility across various screen sizes, which will improve user experience on both mobile and desktop viewing.
  • Localization Enhancements:

    • Added translations in different languages i.e., Azerbaijani, English, and Turkish. This brings in better accessibility for users from different language backgrounds.
  • Backend Logic Modification for Vote Tracking:

    • The logic in the backend that deals with databases is upgraded. There's now a way to track votes for the most popular bot/server, refreshed every month. This feature will help keep the highlighting system up-to-date based on user’s choices and preferences.

@chimpdev chimpdev merged commit 8b7f12e into main Jan 7, 2025
5 checks passed
@chimpdev chimpdev deleted the patch branch January 7, 2025 05:07
@github-actions github-actions bot mentioned this pull request Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frontend: Feature Requests or discussions related to new features in the Next.js frontend.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant