Skip to content

libs/ui: dead ComponentStore shares its exported name with the live signalStore in dot-ai-image-prompt #37422

Description

@fmontes

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 legacy ComponentStore, not imported by anything
  • core-web/libs/ui/src/lib/components/dot-ai-image-prompt/store/ai-image-prompt.store.ts — the live signalStore, 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions