Comments (10)
The current sort is also the one used on the website profile page game section: https://lichess.org/@/thibault/all
from lila.
Yes but on website it include all the games even the ongoing ones. So you can't really change the sort order.
But as explained, on the app it only shows the finished games, so here it makes sense to have a different sort order, doesn't it?
from lila.
I understand. The problem is that we have almost 9 billion games in the DB.
Adding a new sort order requires adding a new index, on the pair [userId, updatedAt]. The index would use 210GB on the prod DB server. And more later as the collection grows.
from lila.
I guess that lila-search should be able to solve this. as it stores last move timestamp.
from lila.
I see. So it would not be an issue if the website would use the same, by last update order.
In my opinion that order would also be better for the website. But I'd understand if you don't want to bother with that change.
from lila.
Oh and I considered only the game list. Maybe this index has other usages making the other order incompatible?
from lila.
You bet. Lots of usages.
from lila.
Maybe a separate tab for just correspondence games would help.
from lila.
I have an issue to implement filters on the app repo.
Filtering by perf would be the way to go imo, if possible.
from lila.
I don't think mongodb can handle it, so that would need to hit elasticsearch.
from lila.
Related Issues (20)
- External engine not connecting to Lichess HOT 5
- Lichess API doesn't support read Swiss max parameter even though its possible to create Ux tournaments HOT 2
- Improve player hovercard games and joined HOT 1
- Long games don't get anayzed completely HOT 1
- leaderboard in tournaments is not shown HOT 1
- Why the player names, their color and etc. not shown in mobile? HOT 2
- When a player late-joins a Swiss tournament (at least during round 2).
- DGT Livechess connector reveals opponent info in zen mode
- Make a nice 404 page for /fide not found HOT 3
- You should be able to browse through previous moves in zen mode HOT 2
- I don't think blogs from banned users should be hidden when they have been posted before their ban HOT 1
- Recent forum posts not shown on users profiles HOT 1
- Feat: add user creation setting in team tournament arena/swiss anti-cheat entry requirement HOT 2
- Broadcast: round form update insert lcc source
- Support disabling takeback requests and time bonuses in anonymous games HOT 1
- I can't play with men HOT 1
- Change the Lichess logo to make it at the colors of the Rainbow flag HOT 1
- Feat: Support for local setting for user preference for front page or top priority blogs
- Feat: Support custom time for puzzle storm
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lila.