core icon indicating copy to clipboard operation
core copied to clipboard

Not feedback to user after executing async workflow action

Open dsilvam opened this issue 6 months ago • 0 comments

Parent Issue

No response

Problem Statement

Users don't get any immediate feedback after executing async workflow actions.

This leads to confusion and probably the thinking that nothing got executed and potentially making the user to fire the action again and again assuming it didn't work the previous times.

Steps to Reproduce

  1. Configure dotAI
  2. Create a CT with one binary field
  3. Create a workflow action "Generate Image" under the System Workflow that includes the AI Generate Image + Save subactions
  4. Save a new piece of content for the content type configured in step 2
  5. From the Content Search, right click on the piece of content and execute the "Generate Image" action.

It will give no immediate feedback to the user. It will display a popup just after the workflow gets completed, which may take more time than the acceptable to give feed back to the user.

Here's a video with an example of this:

https://github.com/user-attachments/assets/03eb8e1d-308e-4d9b-ad2b-8d0f71bb12a6

Acceptance Criteria

  • Show a bubble/popup immediately which says "Workflow executing in the background"
  • Then after the workflow is executed, give the user a message in he notifications area (not in a bubble/popup). Or if there was some kind of error, put the message about the error in the notifications area.

dotCMS Version

Master

Proposed Objective

Core Features

Proposed Priority

Priority 3 - Average

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

No response

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

dsilvam avatar Aug 23 '24 20:08 dsilvam