Skip to content

HTML content for alert / confirm dialog elements #2726

@cityremade

Description

@cityremade

At the moment confirm dialog supports only custom text.
It stores content value which is html layout of the element but we can only configure text and current content parameter wraps the buttons which resolve user action.

Image

Would be good to take out confirm buttons to sit outside content so that I can pass some html layout when we have some more information for the user.

Also how about scraping that header navy both in confirm and alert? It was a good idea at the time but now our dialogs have evolved plain white.

Image

Here's example, custom popup I am making right now

Buttons aligned without full width, plain white header which can support an icon for readability.

Image

To do

  • true / false buttons to sit outside params.content, ideally in a flexbox aligned to end
  • simplify alert / confirm header - plain white.

Metadata

Metadata

Assignees

Labels

CSSChanges in stylesheetsUI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions