openscd / oscd-filtered-list

Apache License 2.0
0 stars 0 forks source link

Prevent browser issues (freezing) with "Select All" #45

Open juancho0202 opened 11 months ago

juancho0202 commented 11 months ago

Summary

As a user of the oscd-filtered-list I would like to avoid having browser performance issues with the "Select All" button when the list is too large.

To Refine:

  1. Determining the number of items that is our limit for providing a performant "Select All" functionality.
  2. Disabling the "Select All" button when we reach that limit.
juancho0202 commented 11 months ago

After a number of elements in the filtered list we ask the user "ARE YOU SURE?" before triggering the Select All functionality.