libs/ui: dead ComponentStore shares its exported name with the live signalStore in dot-ai-image-prompt
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 970
- Forks
- 486
- Avg merge
- 3d 33m
- Merged PRs (30d)
- 170
Description
Two different files export the same symbol, DotAiImagePromptStore:
core-web/libs/ui/src/lib/components/dot-ai-image-prompt/ai-image-prompt.store.ts— a legacyComponentStore, not imported by anythingcore-web/libs/ui/src/lib/components/dot-ai-image-prompt/store/ai-image-prompt.store.ts— the livesignalStore, which the component actually provides
Neither is exported from the @dotcms/ui barrel, so this is internal only, but a same-named dead file one directory up is an easy thing to edit by mistake.
Found while auditing dotAI service usage for #37417. Deliberately not deleted there — unrelated to that feature and it deserves its own review.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare core-web/libs/ui/src/lib/components/dot-ai-image-prompt/ai-image-prompt.store.ts with store/ai-image-prompt.store.ts, starting by checking the legacy file's imports and usages. Confirm the component uses the signalStore, then remove or otherwise resolve the unused duplicate while leaving the live store intact.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Refactor
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100