Server: Indeterminate checkbox style in files app inconsistently applied

Created on 1 May 2020  路  2Comments  路  Source: nextcloud/server

Steps to reproduce

  1. Go to the files app and navigate to a folder with some files.
  2. Select a file (but not all files).

Expected behaviour

The checkbox to select all files should have an indeterminate state in case one file, but not all files are selected.

Actual behaviour

The checkbox to select all files does not show an indeterminate state.
However, if you search for a file so that other files are filtered and then select all files, the checkbox shows the indeterminate state. This is already inconsistent, especially since the state stays when you clear the search. And even if you unselect the files, the indeterminate state stays. See the GIF below for clarification:

checkbox

@jancborchardt Could you please confirm that it is the expected behaviour to show the indeterminate state whenever files, but not all files are selected?

@nextcloud/javascript Are there any plans to migrate the files app to vue, or does it still make sense to fix the problem in the current javascript code?

Server configuration

Nextcloud version: latest master 24bb4a05c46069d459086a36cfc896d1f5b6915e

1. to develop bug design files javascript

Most helpful comment

@nextcloud/javascript Are there any plans to migrate the files app to vue, or does it still make sense to fix the problem in the current javascript code?

There are some plans but nothing specific has been started I think. So yeah, fixing this in the old code makes sense if it's not too much effort.

All 2 comments

@jancborchardt Could you please confirm that it is the expected behaviour to show the indeterminate state whenever files, but not all files are selected?

Yup, confirmed! :)

@nextcloud/javascript Are there any plans to migrate the files app to vue, or does it still make sense to fix the problem in the current javascript code?

There are some plans but nothing specific has been started I think. So yeah, fixing this in the old code makes sense if it's not too much effort.

Was this page helpful?
0 / 5 - 0 ratings