Skip to content

Non-modal dialogs #133

Description

@gbracha

Hopscotch does have direct support for non-modal dialogs. One has to construct them by hand. For example, when adding a class or document. In other cases, we simply transition to a dedicated presenter for the dialog. We should make this easier.

We support the web browser's window.alert() method directly, which is modal; this violates a key tenet of the Hopscotch design. It would be tempting to add support for window.confirm() in the same way. This is trivial, but leads to perdition.
Instead, we should support patterns like alert, confirm, and other input dialogs in a non-modal way. A call to confirm might add a banner at the top of the presenter with the dialog (much like the help display is managed today).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions