avo icon indicating copy to clipboard operation
avo copied to clipboard

Action dropdown issue: click only works on the icon

Open alansikora opened this issue 3 years ago • 2 comments

Describe the bug

The action only works when clicking on the icon of the action, the text does not work.

Steps to Reproduce

Click on an action

System configuration

Avo version: 2.15.3

Rails version: 7.0.3.1

Ruby version: 3.1.2

License type:

  • [ ] Community
  • [x] Pro

Screenshots

https://user-images.githubusercontent.com/575138/191134665-49e0b376-50cf-480c-83cc-ea7c35920de6.mp4

Impact

  • [ ] High impact
  • [x] Medium impact
  • [ ] Low impact

Urgency

  • [ ] High urgency
  • [x] Medium urgency
  • [ ] low urgency

alansikora avatar Sep 19 '22 23:09 alansikora

Thanks for getting back to us with this 🙌

That's actually a bug. So the action you are showing is disabled because you haven't selected any records. I you want to run actions without selecting records, then you should use standalone actions.

The bug you're seeing is that you can click an icon and run the action when you shouldn't be able to do that.

adrianthedev avatar Sep 23 '22 09:09 adrianthedev

Ok, and is it possible to have an action that runs on the entire table?

This is somewhat related to #1248

alansikora avatar Sep 27 '22 20:09 alansikora

Ok, and is it possible to have an action that runs on the entire table?

This is somewhat related to #1248

Hey @alansikora, since Avo 2.14 we are able to select all records from the entire table (with the current filters applied), then if you run an action it will run on all that records.

CleanShot 2022-08-23 at 13 09 57

Paul-Bob avatar Oct 09 '22 11:10 Paul-Bob

Ok, and is it possible to have an action that runs on the entire table?

This is somewhat related to #1248

Or the alternative is to create a standalone action, and you can run that on all records.

adrianthedev avatar Oct 09 '22 15:10 adrianthedev

Ok, and is it possible to have an action that runs on the entire table? This is somewhat related to #1248

Or the alternative is to create a standalone action, and you can run that on all records.

That's a possibility if you don't care about applied filters and just want to run the action on all records

Paul-Bob avatar Oct 09 '22 16:10 Paul-Bob