Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.

Conversation

@danxuliu
Copy link
Member

This pull request fixes the No results found tooltip not being shown. It also adds the code needed to hide it based on the one used in the server.

Note, however, that is does not address the problems with that code (for example, if a search is started and while it is being performed the input field is cleared the tooltip would be still shown once the search response is received, even if the input field is now empty).

Probably not worth a backport, although it should be straightforward to do it.

How to test:

  • Open an album in the Gallery app
  • Show the Share dialog for the album
  • In the search field type the name of a user that does not exist

Expected result:
A No results found tooltip is shown for the input field; if the input field is emptied the tooltip goes away.

Actual result:
No tooltip is shown.

There is no "view" nor "configModel" in a Share of the gallery;
configuration parameters are got using "oc_appconfig".

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
The "No results found" tooltip is now removed when the input field is
cleared.

This unifies its behaviour with the one used in the server, but it does
not address its problems (for example, if a search is started and while
it is being performed the input field is cleared the tooltip would be
still shown once the search response is received, even if the input
field is now empty).

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@danxuliu danxuliu added bug Something isn't working feature:sharing 3. to review Waiting for reviews labels Mar 22, 2018
@danxuliu danxuliu added this to the Nextcloud 14 milestone Mar 22, 2018
@MorrisJobke MorrisJobke merged commit 9c0f087 into master Mar 23, 2018
@MorrisJobke MorrisJobke deleted the fix-no-results-found-tooltip branch March 23, 2018 07:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

3. to review Waiting for reviews bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants