Skip to content

Backport fixes/features to 0.18.x#2482

Merged
veloce merged 6 commits intolichess-org:v0.18.xfrom
tom-anders:backport-fixes-to-0.18.x
Jan 6, 2026
Merged

Backport fixes/features to 0.18.x#2482
veloce merged 6 commits intolichess-org:v0.18.xfrom
tom-anders:backport-fixes-to-0.18.x

Conversation

@tom-anders
Copy link
Collaborator

... so that we can create 0.18.3 from this branch while we still have Riverpod 3 problems on main.

The most important commit is the notification fix (that was confirmed to work in 0.19.x), but I also cherry-picked some more fixes/features that seemed low risk and did not cause any non-trivial merge conflicts. Here's an overview:

lumiknit and others added 6 commits January 5, 2026 18:23
…, firi) and fixing staunty knight to be aligned center) (lichess-org#2380)

* Add purple board theme in list (chessground dependency)

* Change chessground version to 7.3.0
getAPNSToken() is the only iOS specific thing that happens in this file,
so I think there's a high probabillity that the issues are related to
that.

According to
https://firebase.google.com/docs/cloud-messaging/flutter/get-started we
need to get permission *before* calling getAPNSToken(). Currently it
looks like there could be a race condition where the connectivity change
listener fires before we call requestPermission(). Fix this by moving
the ref.listen() below the requestPermission() call.
And make sure _registeredDevice flag is only set when device is actually
registered.
This is an alternate fix for lichess-org#1232 which does not need the 500ms delay.

When entering the analysis board, the delay of 500ms before scrolling to
the current move is unexpected for users. With this solution, we can
jump to the current move immedialtely.
@tom-anders tom-anders requested review from Copilot and veloce and removed request for Copilot January 6, 2026 07:21
@tom-anders tom-anders closed this Jan 6, 2026
@tom-anders tom-anders reopened this Jan 6, 2026
@veloce
Copy link
Contributor

veloce commented Jan 6, 2026

Out of principle I would not include new features in a hot fix release, even small ones. But ok, let's keep them this time.

@veloce veloce merged commit b3dd310 into lichess-org:v0.18.x Jan 6, 2026
7 checks passed
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.

4 participants