hexaquarks / chess_pace_tracker

1 stars 0 forks source link

Add search limit for games in the database #39

Open hexaquarks opened 3 months ago

hexaquarks commented 3 months ago

Currently, if a client queries N games of game mode G through a GET call like

image

Then apparently it doesn't make sense, as per the Lichess' API creator:

image

I'm not sure where to go from here. I suppose one way to counter this is to set a limit of games that the program will search through.

hexaquarks commented 3 months ago

Ohhhh I have an idea

Maybe during the query, when the spinner is on the middle of the screen, I could have a loading bar that also indicates x/N processed games!

This way, if it's stuck on 0 (the search goes through the user's game history and nothing is found), then I could actually dynamically indicate "It seems like the user has doesn't have many games in this format do you wish to cancel the search"