Skip to content

Remove the unused dictionaryChangedSubject from UserConfigService #8816

Closed

Description

@aglinxinyuan

Task Summary

UserConfigService has a private dictionaryChangedSubject that it calls .next() on from updateEntry and updateDict. Nothing has ever subscribed to it.

Introduced by #1162 (2021-06-27, "Add UserDictionaryService (User Presets Step 2)"). The Subject was private from the start, with no getter or asObservable(). Later commits only moved and renamed the file.

Usage removed by: never used. The only readers are four spec cases that reach the private field through (service as any).

This is a pure deletion with no behaviour change: updateEntry / updateDict keep every guard, delete and assignment; only the .next() lines go.

Task Type

  • Refactor / Cleanup

Activity

  1. added theissue type on Oct 2, 2026
  2. added a commit that references this issue on Oct 2, 2026
    1fc75b1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions