Skip to content

Conversation

@AnoushkaKhajanchi
Copy link
Collaborator

Status: 🚀 Ready

Description

Made a leaderboard component that includes members rank, name, points and events attended.

The goal of this pull request is to improve the points system and to allow members to easily see and keep track of their points.

Closes # 8

Screenshots

image

@vercel
Copy link

vercel bot commented Mar 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
points-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 25, 2023 11:32pm

@sarenayang
Copy link
Collaborator

sarenayang commented Apr 25, 2023

Status: 🚧 In development

Description

Made a leaderboard component using a react table and ChakraUI that includes members rank, name, points, events attended, and their netid. There is also pagination included.

Things that still need to be done:

  • Add a search feature to make it easier to search for your name and others
  • Pagination buttons aren't working properly, debugging needed
  • Better pagination implementation? Currently using the package chakra-pagination (https://github.com/mnzsss/react-chakra-pagination) but there may be better ones/implement ourselves.
  • Change from dummy data to real data from /users endpoint

The goal of this pull request is to add a leaderboard, ranking members based on the number of points they have accumulated.

Screenshots

Leaderboard:
image

Pagination:
image

@inolasv inolasv force-pushed the main branch 11 times, most recently from ae97d48 to 7378c73 Compare August 20, 2024 16:13
firmianaw and others added 22 commits February 2, 2025 13:23
* have meaningful pop-up

* displaying no text when logged out

* fixing pr error

* Update api.ts

* Update index.tsx

---------

Co-authored-by: Firmiana <[email protected]>
* displaying qr code

* loading screen route and automatic redirect

* adding points logging

* Al/qr code modal (#43)

* Add Show QR button and draft QR modal

* Add empty onClick handlers

* Left align QR code modal content (#37)

---------

Co-authored-by: Ashley Li <[email protected]>

* Add draft loading screen

* Finalize error page (#41)

* Hi/downloadable qr code (#42)

* Add edit event modal

* Add edit event modal

* Fix create event modal and successful edit message

* Cl/edit icon (#34)

* adding explicit logout login button

* removing automatic redirect

* Add edit icon to events only visible to officers

* Remove extraneous commits

* Make it conditional to officers

* Update api.ts

* fix times

* fix login redirect

* merge edit icon and button

* remove excess code

* fix event modal close button

* fix logo width mobile

* fix default points value

* remve value

* adding download png and download svg feature to url

* Update api.ts

* Update api.ts

* Hi/login logout button (#33)

* adding explicit logout login button

* removing automatic redirect

* fixing temporary error issue when logged out

* Update api.ts

* fix err unknown

* fixing qr code quality

---------

Co-authored-by: Ashley Li <[email protected]>
Co-authored-by: Camryn <[email protected]>
Co-authored-by: Firmiana <[email protected]>
Co-authored-by: Firmiana Wang <[email protected]>

* Remove success console logs (#41)

* Modify loading screen timing

* Al/change qr color (#48)

* Add draft QR code color switcher

* Clean up code

* Modify toggle color

* Add success page

* Style adds success

* Fix artificial loading screen delay

---------

Co-authored-by: ashleyyli <[email protected]>
Co-authored-by: Ashley Li <[email protected]>
Co-authored-by: Camryn <[email protected]>
Co-authored-by: Firmiana <[email protected]>
Co-authored-by: Firmiana Wang <[email protected]>
Co-authored-by: camryyn <[email protected]>
* prod reload 404 fix -- need to test in prod

* fix conflict?
@kikis05
Copy link

kikis05 commented Mar 30, 2025

Added a separate Leaderboard Page to the website containing the leaderboard, also removed the netId column and events attended column, and displayed only first name last initial for name column.

@kikis05
Copy link

kikis05 commented Mar 30, 2025

Screenshot 2025-03-30 at 3 24 08 PM

Copy link
Collaborator

@inolasv inolasv left a comment

Choose a reason for hiding this comment

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

some small changes but otherwise good!

Copy link
Collaborator

Choose a reason for hiding this comment

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

this is gonna be so picky of me but could we have it be "Leaderboard" instead of "LeaderBoard"

Copy link
Collaborator

Choose a reason for hiding this comment

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

make sure to undo this change whenever you make a commit!

@helenailic helenailic closed this Nov 6, 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.

10 participants