nextcloud/apps/files_trashbin
Daniel Calviño Sánchez f392e78d5b Move checkboxes to their own column
The selection column is not only a visual column, but also a real column
of the file list table. Unlike other columns whose width is reduced in
space constrained screens the selection column must stay the same so the
tapping area is large enough to be easily usable

The selection column does not appear in the search results table, so its
contents have to be explicitly aligned with those of the main table
based on whether the main table has a selection column or not (using the
"has-selection" CSS class in the same way as the "has-favorite" CSS
class was being used when there was a column for favorite actions).

In the tests the ":visible" selector can no longer be used. That
selector matches elements with a width or height that is greater than
zero, but the dimensions calculated in the unit tests are not reliable;
the width of the link was zero before these changes, and now moving the
checkbox to its own column causes the height of the link to become zero
too, so it no longer matches the ":visible" selector even if it is not
hidden. As hidding and showing the link is based on its "display" CSS
property its value is the one checked now.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-10-19 01:46:13 +02:00
..
ajax Move over files_trashbin 2016-11-03 14:00:33 +01:00
appinfo Add pinned class to trashbin 2017-09-21 14:00:37 +02:00
css Removed unneeded bgs and borders. Replaced hard coded colours by 2017-09-23 18:15:56 +02:00
img Svgo optimization 2016-09-27 20:56:26 +02:00
js Fix trashed file name corruption when rerendering trashbin list 2016-06-23 11:51:23 +02:00
l10n [tx-robot] updated from transifex 2017-10-14 02:29:04 +00:00
lib allow apps to control the trash bin 2017-09-15 11:32:45 +02:00
templates Move checkboxes to their own column 2017-10-19 01:46:13 +02:00
tests Don't use deprecated $this->getMock() method 2017-10-09 13:00:24 +02:00
list.php Fix apps/ 2016-07-21 18:13:57 +02:00