Skip to content

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

Open
joanise wants to merge 6 commits into
dev.ej/replace-toastrfrom
dev.ej/use-signals
Open

joanise wants to merge 6 commits into
dev.ej/replace-toastrfrom
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

🚀 View preview at
https://ReadAlongs.github.io/Studio-Web/pr-preview/pr-619/

Built to branch gh-pages at 2026-10-06 18:26 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@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

This branch has not been deployed

No deployments
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