summaryrefslogtreecommitdiffstats
path: root/core/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * Always emit search eventfenn-cs2023-11-291-3/+2
| | | | | | | | | | | | | | | | For BOD, it's better to always emit the search event so apps (all of which we don't know) responding to this effect would receive notifications when the search happens within these apps. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* | Merge pull request #41855 from nextcloud/bugfix/41352/fix-settings-app-iconsJoas Schilling2023-11-291-0/+8
|\ \ | |/ |/| fix(theming): Fix color inverted icons based on theming and dark mode
| * Fix more active entry iconsJoas Schilling2023-11-291-0/+8
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Migrate openResult method to SearchResult componentfenn-cs2023-11-292-6/+6
|/ | | | | | | | | After moving the `SearchResult` to its own component and leaving out the openResult method, the search results do not lead anywhere but but error out. Signed-off-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Handle close GlobalSearchModal gracefullyfenn-cs2023-11-292-3/+12
| | | | | | | | | | | | The current close infrastructure modifies a prop which has no real effect aside bugs. In addition, calling the `NcModal.close()` as the primary way to close the search modal instead of using the states defined in `GlobalSearch` view causing re-open bugs (Modal cannot open, needs to click twice, and other weird stuff). Signed-off-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix date filter wording & improve search feedbackfenn-cs2023-11-291-12/+14
| | | | | | | | - Show loading when actually loading, instead of no content - Change modified label to `Date` as it applies to a bunch of things. Signed-off-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Unbold user names in SearchableListfenn-cs2023-11-291-0/+3
| | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Improve accesibility for search tags/chipsfenn-cs2023-11-291-7/+11
| | | | | | | | - Use stand font of filter tags/chips - No bold - Use close icon and no close thick Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix adding x-requested-with header for relative URLs when the base NC URL is ↵Julien Veyssier2023-11-241-2/+13
| | | | | | empty Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* Remove unneeded links and add `focus-visible` state on a linkjulia.kirschenheuter2023-11-241-24/+8
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* Merge pull request #41687 from nextcloud/fix/unified-search-viewFerdinand Thiessen2023-11-231-2/+4
|\ | | | | fix(core): Subscribe to navigation changes on mounted for Unified search
| * fix(core): Subscribe to navigation changes on mounted for Unified searchFerdinand Thiessen2023-11-231-2/+4
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Focus global search input on openfenn-cs2023-11-231-1/+14
| | | | | | | | | | | | | | | | | | | | For better accesibility, the search input in the global search modal should be focused when the search modal is opened. Resolves: https://github.com/nextcloud/server/issues/41651 Signed-off-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | Add app-based filtering to global searchfenn-cs2023-11-231-2/+24
|/ | | | | | | | Emit search queries from the global search modal that would trigger list filtering in various apps that support it. Signed-off-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Replace input form with `NcTextField`julia.kirschenheuter2023-11-222-64/+70
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* Move search result section to component & hide thumbnail if errorfenn-cs2023-11-213-99/+172
| | | | | | | | | The section that handles the search result list item is big and complex enough to have it's own component. Inside this component, a new method is added to hide the thumbnail preview if the image load errors out. Signed-off-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Round avatars when needed and show url-based mime iconsfenn-cs2023-11-211-9/+9
| | | | | | | | | - Pass `results.rounded` property that comes with search result data to determine if avatar would be rounded or not. - Icons loaded via url's now visible. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Improve date-range logic for global searchfenn-cs2023-11-212-24/+29
| | | | | | | | | | - Allow future dates in custom date range - Fix date ranges for example, before now, today range was roughly between `now()` to `now() + a few milli seconds` - Update text in custom date range modal, right align "Search in range" button. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Correct spellingValdnet2023-11-151-2/+2
| | | | | | | Unification of spelling in Transifex. Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Check in-app search availabilityfenn-cs2023-11-141-3/+4
| | | | | | | | Only show in-app serach button if available for specific app in question. Signed-off-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Improve no content feedbackfenn-cs2023-11-141-5/+17
| | | | | | Show some feedback when there are no search results. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Global search : Fix basic functional issuesfenn-cs2023-11-143-17/+24
| | | | | | | | | | | | - Fixes remove person filter/chip when applied - Close person searchable filter via workaround - Person filter has no effect fixed, now uses user property instead of id - Left align filters - Reduce avatar size in user chip and make photo non-clickable Resolves : https://github.com/nextcloud/server/issues/41381 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Close participants filter after clickMarco2023-11-131-1/+3
| | | | | Signed-off-by: Marco <marcoambrosini@icloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Use new SearchableList component for people filterfenn-cs2023-11-103-59/+63
| | | | | | | | This commit migrates away from NcSelect which has a couple of accesibility and display problems currently, hence a new component `SearchableList` is now used. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Create searchable list componentMarco2023-11-101-0/+149
| | | | Signed-off-by: Marco <marcoambrosini@icloud.com>
* Feat: New UI global searchfenn-cs2023-11-106-0/+1076
| | | | | | | | | | | | | | | We are introducing a new search UI that providers a lot more space for users via a large centralized modal and providers various filters which can by applied by adding various chips on the UI. For example, users can now filter their search or scope it by limiting the results to specific apps, time period and people by apply the appropriate filters on the new UI, previously filters where applied using text in the search box by prefixing with `::`. Resolves: #39162 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix: Show error message when CSRF check fails at loginChristoph Wurst2023-11-081-0/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix styles for input fields on focus statejulia.kirschenheuter2023-11-062-2/+19
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* feat(contactsmenu): Show user statusChristoph Wurst2023-10-313-44/+45
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(a11y): Increase contrast of contacts menu actionsChristopher Ng2023-10-301-12/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix: Settings nav entries typingChristopher Ng2023-10-261-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* enh(a11y): Add separate profile entryChristopher Ng2023-10-262-2/+150
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Merge pull request #40994 from nextcloud/fix/37092/user-menu-validationFerdinand Thiessen2023-10-202-4/+22
|\ | | | | fix(user_menu): pass only actual prop to user menu entries
| * fix(core): do not assign all navigation entry properties as html attributesGrigorii K. Shartsev2023-10-192-4/+22
| | | | | | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* | Merge pull request #40979 from nextcloud/fix/36965-fix-global-searchFerdinand Thiessen2023-10-201-1/+1
|\ \ | | | | | | Fix placement of actions within unified search
| * | Fix placement of actions within unified searchjulia.kirschenheuter2023-10-191-1/+1
| |/ | | | | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* / fix: replace non-standard autocorrect with spellcheck attributeGrigorii K. Shartsev2023-10-201-1/+1
|/ | | | | | `autocorrect` was actual for Safari long time ago when Safari didn't fully supported HTML 5 spellcheck. Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* Shortcut Ctrl+F for different keyboard layoutsAndrii Ilkiv2023-10-191-1/+1
| | | | Signed-off-by: Andrii Ilkiv <a.ilkiv.ye@gmail.com>
* Fix width of input on contacts menujulia.kirschenheuter2023-10-181-1/+0
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* fix(xhr-request): Make sure to also allow strings as urlFerdinand Thiessen2023-10-171-12/+17
| | | | | | | | | | Our utility to add `X-Requested-With` headers on API calls intercepts calls to `window.fetch`, so we must ensure we allow all parameters that the default browser provided `window.fetch` allows. In this case make sure to allow all stringify-able objects. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Replace password dialog with dialog from libraryjulia.kirschenheuter2023-10-173-93/+8
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* enh(a11y): Add label to app menu navChristopher Ng2023-10-161-1/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* enh(a11y): Add avatar descriptionChristopher Ng2023-10-161-5/+79
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* enh(a11y): Add accessible user menu semanticsChristopher Ng2023-10-161-71/+64
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Merge pull request #40749 from nextcloud/refactor/contacts-menu-to-vueChristoph Wurst2023-10-1611-682/+537
|\ | | | | refactor: Contacts menu to Vue
| * refactor: Contacts menu to VueChristoph Wurst2023-10-1611-682/+537
| | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | Merge pull request #40890 from ↵Christoph Wurst2023-10-161-0/+3
|\ \ | |/ |/| | | | | nextcloud/fix/search/close-unified-search-second-ctrl-f fix(search): Close unified search at the second ctrl+f
| * fix(search): Close unified search at the second ctrl+fChristoph Wurst2023-10-161-0/+3
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | only add x-requested-with header if requests point to NCJulien Veyssier2023-10-161-1/+12
|/ | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix: content info footer on guest pagesRichard Steinmetz2023-09-191-27/+1
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>