chinesedfan / hsrecorder

Single HTML page for recording information about your HearthStone games
https://hsrecorder.vercel.app/html/main.html
1 stars 0 forks source link

add pagination #18

Open chinesedfan opened 10 years ago

chinesedfan commented 10 years ago

With the data increases, loading them all is not a good idea.

We can only load the first page, and load others when users click the certain page. Every time the data is updated(i.e. insert or delete), navigate to the first page automatically.

Some new problems may come. For example, because the web page only has partial datas now, how to find the last legendary card when the current one is deleted? A simple solution is that querying the database immediately.