Skip to content

On NewBlock notifications, redraw the solved puzzles.#37

Merged
deuszx merged 1 commit intomainfrom
newblock-notifications-subscription
Sep 17, 2025
Merged

On NewBlock notifications, redraw the solved puzzles.#37
deuszx merged 1 commit intomainfrom
newblock-notifications-subscription

Conversation

@deuszx
Copy link
Contributor

@deuszx deuszx commented Sep 17, 2025

Motivation

Frontend is not re-rendering list of solved puzzles.

Proposal

Subscribe to NewBlock notifications and re-render the list.

Test Plan

Manual

@deuszx deuszx merged commit 0034972 into main Sep 17, 2025
2 checks passed
@ma2bd ma2bd deleted the newblock-notifications-subscription branch September 17, 2025 15:56

const result = await lineraAdapter.queryApplication<any>(query);
console.log("[GOL] Got completed puzzle IDs", result);
// console.log("[GOL] Got completed puzzle IDs", result);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@deuszx @TudorEsan Should we remove this line?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we can remove in another PR. The same thing was logged twice, in the same scenario, and was a bit confusing.

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.

3 participants