You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clean up unused methods and helpers in common config services, storage, and assert utils #9195
It looks like the issue description doesn't quite follow our template yet:
This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.
Hi maintainers! I'd like to take this cleanup task. I'll verify that the listed helpers are genuinely unused, remove only dead code, update affected unit tests, and run relevant frontend checks. I'll keep the change strictly behavior-preserving.
@sunny-kavixo thanks — go ahead. Comment /take on its own (exactly that) to assign the issue to yourself.
The list is shorter than the description says, because two items have already landed: dictionaryChangedSubject in #8817, and localRemoveObject / sessionRemoveObject in #9256. What's left is UserConfigService.getDict(), GuiConfigService.source() and assert in assert.ts — on main each is called only from its own spec.
One note on the specs: user-config.service.spec.ts reads getDict() to check that the cached dictionary follows fetch, set, delete, login and logout. Let's keep that coverage through behavior we can still observe — e.g. delete() sends a request only for a key in the cache — rather than dropping those cases.
Activity
github-actions commentedon Oct 27, 2026
👋 Thanks for opening this issue, @aglinxinyuan!
It looks like the issue description doesn't quite follow our template yet:
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.
sunny-kavixo commentedon Nov 11, 2026
Hi maintainers! I'd like to take this cleanup task. I'll verify that the listed helpers are genuinely unused, remove only dead code, update affected unit tests, and run relevant frontend checks. I'll keep the change strictly behavior-preserving.
aglinxinyuan commentedon Nov 12, 2026
@sunny-kavixo thanks — go ahead. Comment
/takeon its own (exactly that) to assign the issue to yourself.The list is shorter than the description says, because two items have already landed:
dictionaryChangedSubjectin #8817, andlocalRemoveObject/sessionRemoveObjectin #9256. What's left isUserConfigService.getDict(),GuiConfigService.source()andassertinassert.ts— onmaineach is called only from its own spec.One note on the specs:
user-config.service.spec.tsreadsgetDict()to check that the cached dictionary follows fetch, set, delete, login and logout. Let's keep that coverage through behavior we can still observe — e.g.delete()sends a request only for a key in the cache — rather than dropping those cases.sunny-kavixo commentedon Nov 14, 2026
/take
refactor(frontend): clean up unused config and assert helpers (apache…