Commit graph

157 commits

Author SHA1 Message Date
Simon L
a96a7f0c82 fix header-elements being not shown correctly
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-11 22:36:20 +01:00
Christoph Wurst
5198c1ce2b
fix(a11y): Aria-hide contacts menu icon images
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-11 15:15:31 +01:00
Eduardo Morales
707c1c0b0b enh(core): replaced previous native a element with NcButton
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-09 10:33:00 -06:00
Ferdinand Thiessen
fde6914ae1 fix: Adjust colors of app menu and dashboard
Those elements are shown directly on the background which has the `color-primary`,
so they need to use `color-primary-text` instead of `color-primary-element-text` for guranteed contrast.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-20 14:53:17 +01:00
fenn-cs
527c51a18e Unified search: update people select with API calls
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>
2023-12-12 21:24:52 +01:00
fenn-cs
0b171f6095 Rename "global search" to "unified search"
- 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>
2023-12-12 20:34:37 +01:00
fenn-cs
aa25590130 Correct semantics for link opening in global search
Following the update of `NcListItem` to allow control over
 where and how passed `hrefs` open, the search result component
 can now make use of these props.

See : https://github.com/nextcloud-libraries/nextcloud-vue/pull/4923

Resolves :  #41800

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-06 16:49:21 +01:00
Grigorii K. Shartsev
e02db1fb48 fix(core): app icon alignment in app menu
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-30 10:53:04 +01:00
fenn-cs
00bb1bc86e Migrate openResult method to SearchResult component
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>
2023-11-29 15:55:20 +00:00
fenn-cs
1c5ceaff9b
Unbold user names in SearchableList
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-29 11:35:31 +01:00
fenn-cs
1fe7ba57c8
Improve accesibility for search tags/chips
- 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>
2023-11-29 11:35:27 +01:00
julia.kirschenheuter
58d34f0f60 Remove unneeded links and add focus-visible state on a link
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-24 00:51:33 +01:00
fenn-cs
701e626d18 Move search result section to component & hide thumbnail if error
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>
2023-11-21 13:29:03 +00:00
fenn-cs
4964cb838b Improve date-range logic for global search
- 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>
2023-11-21 11:26:22 +01:00
Valdnet
b9473b46ad Correct spelling
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>
2023-11-15 19:26:58 +00:00
fenn-cs
5a4cc8c98a Global search : Fix basic functional issues
- 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>
2023-11-14 20:26:58 +01:00
Marco
7799f6701a Close participants filter after click
Signed-off-by: Marco <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-13 09:20:20 +00:00
fenn-cs
360a372afc Use new SearchableList component for people filter
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>
2023-11-10 11:32:26 +01:00
Marco
8feacd0384 Create searchable list component
Signed-off-by: Marco <marcoambrosini@icloud.com>
2023-11-10 11:27:32 +01:00
fenn-cs
20b3338288 Feat: New UI global search
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>
2023-11-10 11:27:32 +01:00
Christoph Wurst
a5422a3998
fix: Show error message when CSRF check fails at login
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-08 15:18:34 +01:00
Christoph Wurst
ac168cf9ff feat(contactsmenu): Show user status
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-31 11:52:46 -07:00
Christopher Ng
5dd61b54e6 fix(a11y): Increase contrast of contacts menu actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-30 17:10:28 -07:00
Christopher Ng
3b402559ac enh(a11y): Add separate profile entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Ferdinand Thiessen
a6d137c9a7
Merge pull request #40994 from nextcloud/fix/37092/user-menu-validation
fix(user_menu): pass only actual prop to user menu entries
2023-10-20 16:17:30 +02:00
Grigorii K. Shartsev
2d6cd78c32
fix: replace non-standard autocorrect with spellcheck attribute
`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>
2023-10-20 00:35:51 +02:00
Grigorii K. Shartsev
776f5da831 fix(core): do not assign all navigation entry properties as html attributes
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-19 18:47:02 +02:00
Christopher Ng
a7de1137d7 enh(a11y): Add label to app menu nav
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:54:41 -07:00
Christoph Wurst
6a375ca161 refactor: Contacts menu to Vue
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-16 14:12:20 +00:00
Christopher Ng
ffe29518e8 chore: Migrate to new @nextcloud/vue API
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-29 11:05:51 -07:00
fenn-cs
77aa4cf7f4 Wrap long productName on login form
Resolves : https://github.com/nextcloud/server/issues/39804

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-13 11:10:26 +00:00
Ferdinand Thiessen
7f861980a3
fix(core): Do not invert app menu text color
* Also fixes other cypress test
* Build assets

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-19 09:49:36 +02:00
julia.kirschenheuter
1d6121be4d Fix contrast for inactive elements of the main navigation
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-06-05 14:46:48 +02:00
ZetaTom
d17fd1910c
Fix app menu flicker
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-05-31 15:48:28 +02:00
Ferdinand Thiessen
687b95519f feat(login): Improve passwordless login box
* Remove wrong background of error message boxes
* Use `NcTextInput` for username or mail to align with login box
* Add a heading for better overview where you (as a user) are currently

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-17 03:33:48 +02:00
Simon L
f5e8268ced Use the color-primary-element* variables
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-13 10:15:33 +00:00
Ferdinand Thiessen
88f344339d fix(AppMenu): On bright color theme the app icons in the overflow menu must be inverted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-03 14:42:14 +00:00
Daniel Kesselberg
e025cf067f
fix: wrong redirect when skipping recommended apps
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-04-23 22:15:51 +02:00
Josh Richards
fb25cd4b0a More honest reset password request response
Addresses request in additional comments of #37408

* Honest but still won't leak information
* Also reminds user to verify the provided user id email address/user

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>

Refine reset password response copy

Co-authored-by: Louis <6653109+artonge@users.noreply.github.com>
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>

Wrap honest password reset request response
2023-04-13 17:31:49 -04:00
John Molakvoæ
8633f13e0a
chore(eslint): fix missing import extensions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +01:00
Julius Härtl
322dbe8860 feat: Add notes as recommended app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-02 23:04:43 +00:00
Christopher Ng
e77b0f6693 Add focus border for search results
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-23 17:21:04 -08:00
Christopher Ng
c77998209f Port user menu to Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-09 17:54:59 -08:00
Christopher Ng
966872f23b Port global search menu to focus trapped NcHeaderMenu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-18 11:04:25 -08:00
Christopher Ng
f6aa5224c4 Focus trap contacts menu with NcHeaderMenu port
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-13 23:19:28 +00:00
Thomas Citharel
56c5273206
Allow target="_blank" in app navigation items
Which was removed in the Vue rewrite in #33728. This breaks things like https://github.com/nextcloud/external/issues/79

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-01-05 07:13:50 +01:00
Thomas Citharel
ab6e7d33f8 Remove jstz usage from server
Every proper browser has this kind of data now, with more up-to-date
data than what's inside this package, which hasn't been updated in 3
years.

https://github.com/pellepim/jstimezonedetect/issues/6
https://github.com/pellepim/jstimezonedetect/issues/9

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-04 17:40:40 +00:00
Richard Steinmetz
fc4dd3041c
Fix default redirect on successful WebAuthn login
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-12-05 12:51:53 +01:00
Simon L
d8d15c3c2b
Merge pull request #35501 from nextcloud/enh/enh-33741-Focused_item_overlaps_neighbor_elements_with_text_and_border
Change app menu focused items behavior that neighbor elements (text and border) have no overlapping
2022-11-30 10:32:38 +01:00
julia.kirschenheuter
db67670477 Change focused items behavior that neighbor elements (text and border) have no overlapping.
Add native tooltips to items.

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-30 08:22:49 +00:00