Skip to content

Convert clan-state.service BehaviorSubjects to Angular signals - #617

Open
dcaslin wants to merge 1 commit into
masterfrom
dcaslin/signal-adoption
Open

Convert clan-state.service BehaviorSubjects to Angular signals#617
dcaslin wants to merge 1 commit into
masterfrom
dcaslin/signal-adoption

Conversation

@dcaslin

@dcaslin dcaslin commented Apr 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Converted 17 BehaviorSubjects in ClanStateService to Angular signals (signal())
  • Updated 16 consumer components and templates across the clan feature
  • Replaced .next().set(), .getValue()(), removed | async pipe from templates
  • Converted .subscribe() patterns in 4 child components to effect() with local signal state
  • Removed AsyncPipe from 8 components that no longer need it

Test plan

  • npm run test:ci — 254 tests pass, coverage thresholds met
  • npm run lint — 0 errors

🤖 Generated with Claude Code

Converted 17 BehaviorSubjects in ClanStateService to signals and updated
16 consumer components/templates. Replaced .next() with .set(), .getValue()
with direct signal calls, removed async pipe from templates, and converted
component subscriptions to effect(). Also converted local BehaviorSubjects
in 4 child components to signals.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant