openroberta-lab icon indicating copy to clipboard operation
openroberta-lab copied to clipboard

bootstrap table: deleting table entries even though they aren't selected

Open PamoCurtis opened this issue 1 year ago • 0 comments

Describe the bug

  • When you have more than 10 saved programs/configurations/users in groups and they are split up onto multiple pages, it is possible to delete them on accident even though they aren't selected to be deleted.

To Reproduce Steps to reproduce the behavior:

  1. Go to test.open-roberta.org

  2. Log in

  3. Have more than 10 programs saved and switch to "my program ..."

  4. Click on "Hide/Show Pagination" so that your programs are split up onto multiple pages

  5. select some programs Screenshot from 2024-01-15 12-43-13

  6. switch to the next page Screenshot from 2024-01-15 12-43-24

  7. switch back (the selected programs aren't selected anymore which is correct) Screenshot from 2024-01-15 12-43-30

  8. click on the "deleteSomeProg" button

  9. The programs that where selected before will now be shown in the list of the "to be deleted" popup Screenshot from 2024-01-15 12-43-41

  10. After pressing "Ok" (which you should only do if you really wanna delete them), the programs are deleted now Screenshot from 2024-01-15 12-43-58

Expected behavior

  • Either there should be an indicator that they are still selected by having the checkbox selected OR (which is the better solution) they shouldn't be selected at all, the list of selected objects should be reset after switching the pages

Device information

  • Type Desktop
  • OS: Linux Ubuntu 20.04
  • Browser chrome 120.0.6099.129

PamoCurtis avatar Jan 15 '24 11:01 PamoCurtis