Skip to content

Feat: use react component for dialogs instead of window alerts #3057

@erezrokah

Description

@erezrokah

Is your feature request related to a problem? Please describe.
There are several places in the code that use window.confirm/alert for dialogs (one example is when uploading an existing media file).

I think we should should consider switching to a friendlier UI (maybe we can use the existing redux-notifications package we're using for status messages).

Describe the solution you'd like
Use a react component for dialogs instead of window dialogs.

Describe alternatives you've considered
We can write our own modals but I'm guessing there should be a library for that.

Additional context
Related to this #2822

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions