home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
4.11k stars 2.81k forks source link

"Move to area" action in selection mode on devices list should perform the action and reset selection state #22923

Open rscheuermann opened 1 day ago

rscheuermann commented 1 day ago

Checklist

Describe the issue you are experiencing

On the "Devices" list screen, when attempting to move many devices into different areas of my house, I grouped all the devices by area first. Then I used multiple selection mode on the devices list to choose devices not in an area yet. I then chose a few devices, clicked "Move to area", picked an area. The devices moved to that group.

I then proceeded to choose the next set of devices and clicked "Move to area" again, but I didn't see or realize that all the previous devices I'd picked were still chosen. This moved all the previous devices into the latest area chosen.

This is not intuitive behavior for a multiple selection action.

I spent over 10 minutes moving 150 devices into areas only to end up moving all of them to the same area due to this UX issue.

Describe the behavior you expected

I expect that performing any bulk action, like "Add label" or "Move to area" on a multiple selection screen performs the action and then clears the selection state of the list. This allows the user to proceed to the next set of selections to perform a bulk action on.

Steps to reproduce the issue

  1. Open "Devices" screen
  2. Enter multiple selection mode
  3. Choose a few devices
  4. Click "Move to area"
  5. Notice that the selected devices remain selected when they should no longer be selected

What version of Home Assistant Core has the issue?

2024.11.2

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Brave

Which operating system are you using to run this browser?

macOS

State of relevant entities

N/A

Problem-relevant frontend configuration

N/A

Javascript errors shown in your browser console/inspector

N/A

Additional information

N/A