summaryrefslogtreecommitdiffstats
path: root/core/src/components/UnifiedSearch
Commit message (Collapse)AuthorAgeFilesLines
* fix(unified-search): filteredProviders now inherits all provider propsnfebe2025-02-031-6/+6
| | | | | | | | | | | | | | | | | The main providers come from both the backend and client side plugins such as `in-folder` search. The main providers may carry callbacks functions and other information that should be passed to the `filteredProviders`. This is important because the current code does not make a distinction between `filteredProviders` and `providers` rightly so, becuase they are the same thing! Without the mentioned distinction above, sooner or later, we try to access a property on the `filteredProviders` which we did not transfer with the manual property copy. ---- This fix prevents in-folder search from searching everywhere when "load more results" is clicked; Essentially ignoring the in-folder search filter. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix: Use `searchFrom` property for client side pluginsnfebe2025-01-311-9/+12
| | | | | | | | | | | | | | The client-side plugin `in-folder` uses the `files` provider, this makes it overlap with the main files provider itself. This change follows eecda06f1ad2832cc2a7b31d646458f730c8412a after it was discovered that some apps/providers like `dav` use providers from another app like `contacts` Signed-off-by: nfebe <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix: unified search provider idSebastianKrupinski2025-01-311-1/+1
| | | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(unified-search): Prevent multiple file picker triggers in in-folder searchbackport/50129/stable30nfebe2025-01-291-1/+6
| | | | | Signed-off-by: nfebe <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(unified-search): Use appId for searchingnfebe2025-01-291-2/+8
| | | | | | | | | | | | | | Each provider may search from a particular app so we should use that for searching. Before this commit, we used `provider.id` instead of `provider.appId` the problem with the previous approach is that it forces the provider id to be a valid search provider (an app that supports search) limiting the developers ability to use unique IDs to identify the different providers (especially plugin providers) inside the places filter. For example the Files search plugin "In folder" (search in folder plugin) was required to have id as `files` while the files provider itself already has id as `files`. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(UnifiedSearch): request data only when opening modalMaksim Sukharev2025-01-181-12/+13
| | | | Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
* feat: Adapt providers `disabled` property to match user applied filtersnfebe2025-01-171-6/+19
| | | | | | | | | | Some filters are only available for certain providers, the UI should give the user a hint to what providers such filters are available in. Currently, if a filter (date or person) is not support by an a provider, the provider is blurred out in the places dropdown. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(UnifiedSearch): Restore normal dialog sizefenn-cs2024-09-021-1/+3
| | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(UnifiedSearch): Focus search input on openfenn-cs2024-08-201-3/+10
| | | | | | Resolves : https://github.com/nextcloud/server/issues/47056 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* refactor: Fix some linting issues in frontend codeFerdinand Thiessen2024-07-191-2/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(UnifiedSearch): Implement design comments and focus input on openFerdinand Thiessen2024-06-271-18/+54
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Add in-app searchMarco Ambrosini2024-06-272-0/+889
| | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-136-40/+22
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(unifiedSearch): Prevent broken avatars for federated usersfenn-cs2024-04-291-1/+5
| | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Unified search: update people select with API callsfenn-cs2023-12-121-0/+4
| | | | | | | | On change/input from user which has the effect of filtering, we want to send the query to the API to obtained fresh results, based on the databased on not just preloaded contacts. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Rename "global search" to "unified search"fenn-cs2023-12-125-188/+697
| | | | | | | | | - Changes appearances of "Global search" to "Unified search" in UI - Refactors code, to remove usage of term "GlobalSearch" in files and code structure - Rename old unified search to `legacy-unified-search` Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* chore(eslint): fix missing import extensionsJohn Molakvoæ2023-03-231-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Add focus border for search resultsChristopher Ng2023-02-231-5/+4
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Fix UnifiedSearchCarl Schwan2022-09-081-0/+1
| | | | | | | | | - Fix too big margins - Fix horizontal scrolbar (caused by margin in text field) - Add some spacing between the items (4px) - Center items (I love flex) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Accessibility improvements to unified searchChristopher Ng2022-09-021-5/+5
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Add Nc prefix to Nc vue component namesVincent Petry2022-08-251-3/+3
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Auto fix warningsLouis Chemineau2022-01-211-2/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Use new div method in scssLouis Chemineau2022-01-081-1/+3
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Add default font sizeGretaD2020-11-031-1/+1
| | | | Signed-off-by: GretaD <gretadoci@gmail.com>
* Fix search placeholder animation & dark theme compatibilityJohn Molakvoæ (skjnldsv)2020-09-033-145/+100
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Allow unified search filteringJohn Molakvoæ (skjnldsv)2020-09-032-0/+98
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Make ellipsized unified search results visible on hoverChristoph Wurst2020-08-261-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Show mime icon, bump bundles, make the SearchResultEntry class ↵John Molakvoæ (skjnldsv)2020-08-042-5/+98
| | | | | | non-abstract, Fix header search icon, various fixes Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix unified searchJohn Molakvoæ (skjnldsv)2020-08-031-0/+211
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>