Skip to content

Report automation run results as toasts, not an inline box that stays #2863

Open

Description

@Flix6x

On an asset's Automations page, Run now reports its result in a green box under the table ("Queued 3 job(s) for automation 4. Recent jobs are listed on the status page."; #automations_msg, showAutomationsMessage in asset_automations.html). The box has no close button and stays until the next run or a page reload.

Elsewhere on the same page, results already show as toasts (showToast): failing to update, delete or copy an automation, for instance. Run errors, though, also go to an inline box (#automations_err).

Proposal: report run results, and run errors, as toasts, like the page's other messages, and drop the two inline boxes. The success toast could link to the status page ("Recent jobs are listed on the status page"), so the hint becomes a link.

Seen while reviewing #2706, which adds Run with dependents and Run with ascendants, whose results show in the same box.

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

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions