Closed ARSHIL1804 closed 1 month ago
yes adding backend routes for the same
@Bot-Rakshit we can directly add the link in frontend no?
True we can add, chess.com/member/{chessUsername} for now, I'll make a backend route to add more information when hovered for later. You can go ahead and make a pr to make the usernames clickables for now
I'll make a backend route to add more information when hovered for later. Ohh, that would be cool 👍
You can go ahead and make a pr to make the usernames clickables for now Sure 👍
How do we work on the community page in development mode? Whenever I try to open it, it doesn't load due to CORS errors. I would like to know a workaround for this issue.
@Prathamesh-B i'll add the localhost routes to the the cors. Things will get better post this weekend once i sort out the backend, but yes this is an issue for now. A workaround can be hit the dashboard endpoint copy the data , and create a mock api using the same data to work around it for now?
Thanks for the suggestion. I’ll check out the backend too. @Bot-Rakshit
@Prathamesh-B Or go to the original website and in localhost storage, you can find dahsboardData. Copy this and paste it into your vite localhost storage? Also in community.tsx file update UPDATE_INTERVAL value to 600000000(some random high value) CC: @Bot-Rakshit
How about adding a clickable link in the user name that will open the chess.com profile of that user on a new tab?