-
-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bookmark Games #868
Bookmark Games #868
Conversation
Signed-off-by: ZTL-UwU <[email protected]>
Signed-off-by: ZTL-UwU <[email protected]>
Signed-off-by: ZTL-UwU <[email protected]>
Signed-off-by: ZTL-UwU <[email protected]>
Signed-off-by: ZTL-UwU <[email protected]>
Signed-off-by: ZTL-UwU <[email protected]>
Signed-off-by: ZTL-UwU <[email protected]>
Blocked by #594 (comment) |
|
||
Future<void> bookmark(GameId id, {int v = -1}) async { | ||
// if v is -1, toggle the bookmark value on server | ||
// otherwise explicitly set the new value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If think -1
is a bad idea, better to always explicitly set the new value, than to assume the current server state.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this a temporary solution. When the bookmarked
field is added I will remove the -1
.
@ZTL-UwU what is missing here to complete this feature? I think we can move on now since lichess-org/lila#15773 has been merged. Also can you please fix the conflicts? Thanks. |
Yes, we can move on now. I'm just a bit busy irl. I'll pick it up once I have some free time. |
Thanks, go ahead! |
closes #594