bm_frontend icon indicating copy to clipboard operation
bm_frontend copied to clipboard

Share Your Games FEATURE ♘

Open vatan45 opened this issue 1 year ago • 8 comments

We need to implement a new page titled "Share Your Games" that allows users to share and view chess games. This page should include the ability for users to post their games, view games shared by others, and interact with them. The feature will enhance user engagement by allowing users to showcase their chess games directly on our platform.

Functionality Requirements

  1. a page to view game
  2. This page will have a share game popup where you will have a dropdown to select any recent game ( option will have timestamp with opponent name and verdict ) and a text field to add some text.
  3. A user can click on a game from that page and go to that specific game page (/games/:id) and there he can see the game/add comment

vatan45 avatar Jul 23 '24 16:07 vatan45

I am picking up games listing page

Sparsh-Malhotra avatar Jul 24 '24 03:07 Sparsh-Malhotra

Hey guys,

I found this issue open for quite some time and thought of contributing.

As of now I am able to fetch recent games for a user and user can select which game needs to be shared. Sharing a short video clip of it.

Kindly share your feedback on this @vatan45 @Bot-Rakshit . Im happy to discuss further steps.

https://github.com/user-attachments/assets/4f1216bf-3673-4ab9-8039-66957f000aae

Thanks, Ritik

RitikBora avatar Sep 25 '24 08:09 RitikBora

great work man, ideally we should fetch this from the backend instead of the client side, so wait till we have the turbo repo in place ( ideally close to a week)

Bot-Rakshit avatar Sep 25 '24 09:09 Bot-Rakshit

Hey @Bot-Rakshit ,

Yes , Im fetching from the backend itself. Both frontend and backend are running on my local. Backend is the one calling chess.com API's . The chess routes section.

I forked your backend as well. I can add those changes to the turborepo as well.

RitikBora avatar Sep 25 '24 10:09 RitikBora

nice to know ritik, i'll try to get the turpo repo live with the new auth soon

Bot-Rakshit avatar Sep 25 '24 11:09 Bot-Rakshit

Hey @Bot-Rakshit , Is the turbo repo private a of now?

RitikBora avatar Sep 25 '24 11:09 RitikBora

yeah making it live soon

Bot-Rakshit avatar Sep 25 '24 11:09 Bot-Rakshit

Cool looking forward to contributing!

RitikBora avatar Sep 25 '24 12:09 RitikBora