Skip to content

Service Controllers: State + Actions Split #9180

Open

Description

@luapmartin

Description

The current "Service Controllers" like RecordController are hybrid anti-patterns that mix:

  • State Management (should be Injectable)
  • Action Handling (should NOT be Injectable)

Proposed Solution: State + Actions Split
Instead of:

RecordController (Injectable + Actionable) // Hybrid mix of Action Controller and State

We should have:

RecordState (Injectable) // Pure state management
RecordActionsController (NOT Injectable) // Pure action handling
Image

Activity

  1. added this to the Audacity 4.0 milestone on Aug 1, 2025
  2. self-assigned this
    on Aug 1, 2025
  3. added theissue type on Aug 1, 2025
  4. added
    Task
    on Aug 1, 2025
  5. moved this from Design - Todo to Ready for Dev in [AU4] Main Board(archive)on Aug 1, 2025
  6. added
    P2
    refactoring
    on Jan 9, 2026
  7. removed this from the Audacity 4.0 milestone on Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Taskrefactoring

Type

Fields

Priority

None yet

Effort

None yet

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions