BrewBlox/brewblox-ui

Quick Actions that use prompts do not highlight when active

Closed this issue · 0 comments

Describe the bug
When a Quick Action is configured to prompt for a particular setting value, activating the Quick Action does not update the configured value for the setting, so the Action is not highlighted as currently active.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the Dashboard
  2. Add a new Quick Action
  3. Add a block change for any available block (e.g., a set point block)
  4. Configure the block change to prompt for one of the values (e.g., "Stored setting")
  5. Click "Show basic widget" to close the edit interface
  6. Click the play button next to the Quick Action
  7. Supply any value for the prompt other than the default value
  8. Observe that Action correctly applies the setting change to the block
  9. Observe that Action incorrectly remains unhighlighted

Expected behavior

  • Action should become highlighted

Screenshots
Activating the Quick Action and specifying a value for the setting prompt:
image

The Quick Action remains unhighlighted:
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: Latest

Smartphone (please complete the following information):

  • Device: Google Pixel 5a
  • OS: Android 13
  • Browser: Chrome
  • Version: Latest

Additional context
The problem occurs with pre-existing Quick Actions that I had before updating to current edge as well as newly created Quick Actions.