mgr/dashboard: unselect rows in datatables#45313
Conversation
|
Is it possible to verify this in a small unit test? @Sarthak0702 |
Thats a good idea, will try to add that. |
|
jenkins test windows |
|
jenkins test make check |
|
This fix breaks the multi select functionality in data-tables (Cluster-> OSDs ). Need to investigate this. |
1287083 to
cfbf9a3
Compare
Fixed. As unselect functionality is natively supported by ngx-datatables for |
cfbf9a3 to
2940734
Compare
|
jenkins test dashboard |
|
jenkins test dashboard cephadm |
votdev
left a comment
There was a problem hiding this comment.
Nice idea, but i would like to see that this feature behaves the way a desktop user is used to from operating systems like Windows or Gnome, especially Windows Explorer, Nautilus or other file navigation tools. There you can unselect a row by using CTRL + LMB. It is not good to introduce a different workflow instead of implementing a widely used and accepted standard.
So are you suggesting to use |
Yes, that is the standard in Windows and Linux UIs. |
Hmm, I see. FYI, for |
Yes i know, this was IMO also not implemented the right way. But it's not my decision which style the Dashboard follows, but i think it should go the same way as the most common operating systems and file navigators do. I mean, the LMB approach to select and unselect will work on touch devices, but i don't think someone is using the Dashboard on those devices. |
Honesty I do find using CTRL+ LMB to unselect rows a bit inorganic in a web based application. Have a look at this: https://www.patternfly.org/v4/components/table#composable-row-click-handler-hoverable--selected-rows |
|
jenkins test dashboard |
change request to be covered in a different tracker: https://tracker.ceph.com/issues/55095
|
jenkins test dashboard |
36c424d to
761c112
Compare
|
jenkins test dashboard cephadm |
1 similar comment
|
jenkins test dashboard cephadm |
|
jenkins test dashboard |
1 similar comment
|
jenkins test dashboard |
761c112 to
84d74d8
Compare
|
jenkins test make check |
1 similar comment
|
jenkins test make check |
5753c66 to
78ca0cc
Compare
d2cbc31 to
b69ad53
Compare
|
jenkins test dashboard cephadm |
1 similar comment
|
jenkins test dashboard cephadm |
|
jenkins test api |
|
jenkins test dashboard cephadm |
Fixes: https://tracker.ceph.com/issues/53244 Signed-off-by: Sarthak0702 <sarthak.0702@gmail.com>
b69ad53 to
b79e2a6
Compare
User should be able to unselect a selected row in data-tables.
referred from: swimlane/ngx-datatable#775 (comment)
Fixes: https://tracker.ceph.com/issues/53244, https://tracker.ceph.com/issues/54575
Signed-off-by: Sarthak0702 sarthak.0702@gmail.com
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows