Skip to content

feat(design): add a dialog component #585

Closed

Description

@uniqueg

Why

Apps built on @elixir-cloud/design need modal dialogs: confirmations, forms, and the consent banner of #458. The design package has no Dialog yet. As @anuragxxd said in the review of #509, the package should hold generic building blocks; consent and legal footers are features of each app.

Expected result

  • ecc-utils-design-dialog, matching shadcn's Dialog:
    • open, show() and close();
    • slots for trigger, title, description, body and footer;
    • closes on Escape and on an overlay click;
    • focus trap, with focus returned on close;
    • an open-change event (ecc-dialog-open-changed).
  • Accessible: aria-modal, labelled by the title, described by the description.
  • Tests, a docs page, a demo and a changeset.

Part of #458: the consent banner and footer move to the apps and build on this component.

Activity

  1. self-assigned this
    on Nov 16, 2026
  2. added
    priority: medium
    status: in progress
    type: feature
    workload: days
    on Nov 16, 2026
  3. moved this from Backlog to In progress in ELIXIR On-Cloudon Nov 16, 2026
  4. moved this from In progress to In review in ELIXIR On-Cloudon Nov 16, 2026
  5. moved this from In review to Done in ELIXIR On-Cloudon Nov 18, 2026
  6. removed
    status: in progress
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: mediumtype: featureworkload: days

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions