Skip to content

Conversation

@drybalka
Copy link
Contributor

@drybalka drybalka commented Jun 9, 2023

Closes #6554

The simuls overview page is functional, but ugly (sorry, styling is not my forte). Besides, I was not sure which information is really useful there and how to present it.

I added a kinda-hack to the SimulRepo so that old simuls which do not have a "conditions" field in the db could still be loaded and processed.

I wish there were icons signifying player side, i.e., "WhitePieces", "BlackPieces", "RandomColor", but in the Licon.scala there is only the random one. Therefore, I had to load them as svg, which is fine, I think, but a bit off stylistically.

drybalka and others added 4 commits June 9, 2023 10:16
* master: (287 commits)
  scala tweaks
  New Crowdin updates (lichess-org#13001)
  upgrade site pgn viewer
  scala tweaks
  expand study chapter pgn in ublogs
  upgrade lichess-pgn-viewer to fix chessops circles
  redirect to the default study chapter when the chapter id is wrong
  ~Fixing missing swiss translations lichess-org#12961
  fail faster if the study chapter is missing
  restore previous behaviour of study chapter fallback
  highlight the board menu toggle for a little while
  remove unused monitoring
  Revert "rename emoji images - revert after d52a143 lands"
  don't change study chapter names with their Event PGN tag
  refactor/simplify getChapterNameFromPgn
  New Crowdin updates (lichess-org#12994)
  fix glaring timer bug
  fix round board menu keyboardMove toggle
  make it more obvious that boolPrefXhrToggle reloads the page by default
  Couple lichess study chapter names w/ PGN Event tag
  ...
@ornicar
Copy link
Collaborator

ornicar commented Jun 12, 2023

db.simul.updateMany({conditions:{$exists:0}},{$set:{conditions:{}}})
db.simul.updateMany({'clock.hostExtraTimePerPlayer':{$exists:0}},{$set:{'clock.hostExtraTimePerPlayer':NumberInt(0)}})

@drybalka
Copy link
Contributor Author

db.simul.updateMany({conditions:{$exists:0}},{$set:{conditions:{}}})

I did not think you actually modified the prod db like that. It is much better this way, thanks!

@ornicar ornicar merged commit cadfacf into lichess-org:master Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: General improvements to simul settings

2 participants