Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search is not where expected #43

Closed
stefan-niedermann opened this issue Jan 4, 2017 · 14 comments
Closed

Search is not where expected #43

stefan-niedermann opened this issue Jan 4, 2017 · 14 comments
Labels
enhancement New feature or request
Milestone

Comments

@stefan-niedermann
Copy link
Member

stefan-niedermann commented Jan 4, 2017

Hi @Henni ,
i recently updated the app and was happy to see the search functionality.
Though i didn't expect it in the left sidebar but in the top right corner next to the user name where it is in the files, contacts and calendar app, too.

So this is a request to move it to the well-known place :)

PS.: Works great! :)

cc @nextcloud/designers

@DirkR
Copy link

DirkR commented Jan 4, 2017

Hi @stefan-niedermann,
look at the "search function" as a filter: it filters the list of articles matching the search pattern in note title as well as body. Thus that's the correct place.

We might discuss, if the glass icon is the best icon for this job (=field). I would prefer a funnel. And one could argue, that the input field is somewhat hidden thanks to the "flat" design. A really visible input field might be better/more helpful. But the place is correct (IMHO).

@Henni
Copy link
Member

Henni commented Jan 4, 2017

@jancborchardt would love to have your feedback on this, as we talked about this a while ago.

@Bugsbane
Copy link
Member

Bugsbane commented Jan 5, 2017

it filters the list of articles matching the search pattern in note title as well as body.

I would expect that most users would think of this as "Search" and thus look for it with the traditional search icon and UI location, as the original poster did on this issue.

@eppfel
Copy link
Member

eppfel commented Jan 5, 2017

..and even if we provide full-text search later, the main use-case is finding the right note.

@jancborchardt
Copy link
Member

So, thinking about this it seems that uniformity with the other apps is more important than the value of experimenting with a new position for the search.

That’s a separate topic though still. With other considerations like accessibility on mobile – if it’s in the top of the sidebar, searching will be difficult to access and require a two-step process, if it’s discovered at all. Unlike the top right spot which people are used to from Android and also iOS to a certain extent.

So @Henni if you agree then the sensible solution might be to use the normal search field position after all.

@jancborchardt jancborchardt added the enhancement New feature or request label Apr 30, 2017
@stefan-niedermann
Copy link
Member Author

@jancborchardt @camilasan and i discussed this topic again in a design review at the hackweek and we came to the conclusion that even if it is technically filtering and not searching (what i do not aggree), the input should be on the top right position.

@skjnldsv
Copy link
Member

@stefan-niedermann I'll introduce a new standard for the search button soon :)

@jancborchardt
Copy link
Member

@skjnldsv anything we could implement here already? :)

Or could we fix it even without that new standard @nextcloud/notes?

@jancborchardt jancborchardt added this to the 2.4.0 – 🐛 Detail fixes milestone Jun 5, 2018
@skjnldsv
Copy link
Member

skjnldsv commented Jun 5, 2018

@jancborchardt Actually, there is already a standard for the search, so it might fit the needs of the notes app already :)
The lack of documentation is unfortunate though :/

The only work will be to make the standard 'standardized' enough so our new vue apps can work with it

@jancborchardt
Copy link
Member

@skjnldsv as this app is still in Angular, it would be awesome to get some pointers on how to use the standard way of searching in the Notes app for the time being. :)

@skjnldsv
Copy link
Member

skjnldsv commented Jun 5, 2018

Look at the JavaScript file that handle the search in server!
https://github.com/nextcloud/server/blob/master/core/search/js/search.js
Lots of comments it seems ;)

@korelstar korelstar mentioned this issue Jun 24, 2018
8 tasks
@korelstar
Copy link
Member

Nextcloud 14 will introduce a complete new search, see nextcloud/server#9912. However, as far as I can see, this will not be backwards-compatible. How to proceed?

The easiest way would be to

  • implement new search, but activate it only if the server runs on Nextcloud 14 (how to check this?), and
  • remove our search field in the Navigation (since we don't want to implement two searches)

This means, however, that users on Nextcloud 13 or older can't use the search. How do other apps cope with this?

@skjnldsv
Copy link
Member

@korelstar Apps will need to set their min-version of nextcloud to 14.
The search standard is just a hook so that anyone can use it though. So the differences between a search in 13 and 14 are not that big and search still needs to be managed internally by apps. :)

@korelstar
Copy link
Member

korelstar commented Jun 25, 2018 via email

@korelstar korelstar modified the milestones: M1 – 🐛 Detail fixes, 2.4.0 Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

8 participants