Skip to content

refactor: use signals instead of bool variables to talk between the controller and the GUI - #619

Merged
joanise merged 6 commits into
mainfrom
dev.ej/use-signals
Oct 15, 2026
Merged

joanise merged 6 commits into
mainfrom
dev.ej/use-signals

Conversation

@joanise

@joanise joanise commented Oct 6, 2026

Copy link
Copy Markdown
Member

PR Goal?

With Angular 22, just using protected some_flag = false and updating in in the .js won't get those changes reflected into the painted UI. Instead, we need signals.

I first wrote all these changes after doing the upgrade to Angular 22 -- see #618 -- but I want to splice them into their own PR for cleaner reviewing, so this is what this PR is: put together all conversions to signals.

Fixes?

Make the code work with signals in anticipation of Angular 22 conversion.

Feedback sought?

Careful review of the code, as well as testing.

Priority?

low

Tests added?

well covered by CI, thankfully, which helped me detect all these issues.

How to test?

Play with the GUI, make sure everything still works. It might be worth testing both this PR's preview, which is still on Angular 21, as well as #618's PR preview, which contain the same GUI signal changes but on Angular 22.

Confidence?

pretty decent now, thanks @deltork for helping me get the last issue fixed!

Version change?

not this PR, but the whole Angular 22 conversion stack will warrant a patch bump.

@semanticdiff-com

semanticdiff-com Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.6.3
Preview removed because the pull request was closed.
2026-10-15 16:10 UTC

@joanise
joanise requested a review from deltork October 6, 2026 19:02
@joanise
joanise added this pull request to stack #621 October 6, 2026 19:44

@deltork deltork left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

looks good

@joanise joanise mentioned this pull request Oct 6, 2026
Base automatically changed from dev.ej/replace-toastr to main October 15, 2026 15:33
@joanise
joanise merged commit 09c4836 into main Oct 15, 2026
5 of 7 checks passed
@joanise
joanise deleted the dev.ej/use-signals branch October 15, 2026 15:33
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.

2 participants