Commit graph

147 commits

Author SHA1 Message Date
Marcel Klehr
a7817d38a1 Fix(OC/password-confirmation): Hide the correct button
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-04 14:35:06 +02:00
julia.kirschenheuter
fc3744e949 Change contactsmenu structure to a list
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-30 14:38:52 +02:00
julia.kirschenheuter
ef97df258a Replace custom tooltips with native ones of entries in contacts menu.
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-29 15:02:18 +02:00
Christopher Ng
b3b4174d6c Add avatar contact img description
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-05 08:48:11 +00:00
Christopher Ng
56f644acac Add name for home breadcrumb in filepicker
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-02-26 22:19:48 +00:00
Louis Chemineau
6da48df354 Restore copy button text on directory fetch error
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-02-09 11:05:42 +01:00
Christopher Ng
6f3a0e2e91 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>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-18 15:06:57 -08:00
Vincent Petry
8d0c5cc66a Limit toggle grid view button scope
Limit the button action scope to the file picker dialog so that it
doesn't touch the file list present in the page.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-17 17:24:55 +00:00
Carl Schwan
2887ee0518 Fix icon of encrypted folders in filepicker
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-27 09:36:30 +00:00
John Molakvoæ
96bbc1a7a1 Fallback to root if the picker folder doesn't exists
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-01 17:13:04 +00:00
Carl Schwan
2f30d3227f
Various fixes
- Fix user status dialog
  - Add label where missing
  - Move emoji picker inside input field (similar to talk)
  - Fix selecting an emoji
- Fix multiselect
- Fix button with confirmation action
- Fix some other unrelated dark theme issues
- Fix select2 focus
- Run npm lint:fix

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +02:00
Daniel Kesselberg
f832db0801
Update typehint for confirmDestructive
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-08-24 12:56:41 +02:00
julia.kirschenheuter
6d12f8b8a1 Add ``aria-expanded`` value to select2-container om systemtag and file tags
Add ```aria-expanded``` to color picker
Add ```aria-expanded``` to UnifiedSearch.vue
Add ```aria-expanded``` to new button on files
Add ```aria-expanded``` to action menu
Add ```aria-expanded``` to icon .federation-menu
Add ```aria-expanded``` to app navigation collapse button

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-08-17 19:28:40 +00:00
Ferdinand Thiessen
003c76cca2 FilePicker: Hide also outline of new button if type is CHOOSE
If the filepicker mode is set to `FILEPICKER_TYPE_CHOOSE`
currently only the button but not the outline of it is hidden.

This also hides the outline to fix #33142

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-20 18:03:53 +00:00
Christopher Ng
7219847ad1 Add accessible names for file picker grid view toggle and new folder button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-01 00:44:05 +00:00
Christopher Ng
0ea95c3ff6 Rename a11y helper function
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:25:13 +00:00
Christopher Ng
343eab4c96 Update variable name
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:20:37 +00:00
Christopher Ng
189926b107 Add a11y utility function
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:17:19 +00:00
Christopher Ng
16d2238de5 Use keyboard controls for new folder creation
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:12:24 +00:00
Christopher Ng
0b0ef105c5 Use button for grid view toggle instead of hidden checkbox
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:09:57 +00:00
Christopher Ng
ba75c61868 Restore grid view toggle
Removed in https://github.com/nextcloud/server/pull/29966 and partially restored in https://github.com/nextcloud/server/pull/30452

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:04:49 +00:00
Christopher Ng
a9f6cd19a4 Prepend file picker to be initial keyboard focus target
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:00:13 +00:00
Christopher Ng
229c65b0d7 Handle keyboard navigation in the file picker
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-08 23:58:28 +00:00
Christopher Ng
c1054ea5eb Augment keyboard accessibility of contacts menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-07 16:57:13 +00:00
Vincent Petry
089b0a643e Add extra filter for file picker
Makes it possible to be more flexible when filtering entries to be
displayed.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-14 15:06:56 +00:00
Gnana Sekar
7696e3f5c6 Wrap contact search result in a link
Signed-off-by: Gnana Sekar <developersekar1992@gmail.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-04-11 17:13:33 +02:00
Louis Chemineau
4763a1263f Explicitly close div element
Fix: #30002
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-04 17:52:44 +00:00
John Molakvoæ
53f379fe3f Center dialog new file menu
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-07 13:03:18 +00:00
Carl Schwan
1fa58be1aa
Fix file picker not respecting hidden files settings
This will only respect the setting inside the file app. For other apps
we will either need to do an API call or add an input field with the
same idea to spare a blocking api call.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13 12:36:42 +01:00
Louis Chemineau
14e57bf70a Replace license information to SPDX expression
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +01:00
Louis Chemineau
37e5050d69 Import type from packages
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:13:08 +01:00
Louis Chemineau
9fc6cc9634 Add generic type and description when its missing
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:13:04 +01:00
Louis Chemineau
d92cbf5149 Typing corrections
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:12:55 +01:00
Louis Chemineau
9ee339d430
Fix undescore version
Reason: https://github.com/nextcloud/server/pull/27279
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:15:47 +01:00
John Molakvoæ (skjnldsv)
74b9803108
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:05 +01:00
Louis Chemineau
adfb9010d4
Migrate to webpack v5
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:12:47 +01:00
Louis Chemineau
e7026c0f57 Restore innocent code from IE purge
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-03 10:50:43 +01:00
Daniel Calviño Sánchez
3fa91ecf68 Fix persistent tooltip in the "new folder" input of the file picker
When a new folder is tried to be created in the file picker dialog a
tooltip is shown on the input if the folder name exists already.
However, this tooltip was not cleared, so it was still shown even if the
name was fixed, the folder was created and then the "New folder" input
was shown again.

Now the tooltip is cleared as soon as the input changes, as keeping it
shown in that case did not provide any benefit either (and it is
consistent with how the "new folder" input works in the Files app view).

The input is also cleared whenever the menu that shows the input is
opened again, as otherwise the tooltip would be still shown if the menu
was closed and opened again without changing the input (and the menu
could be opened again after changing to another directory where the new
folder name is no longer duplicated).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-12-20 20:14:39 +01:00
John Molakvoæ (skjnldsv)
a325141545
Remove isIE and associated legacy scripts
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-11-30 13:03:08 +01:00
Christopher Ng
3be9d3ca8f Profile frontend
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-19 04:59:36 +00:00
MichaIng
3a36984f50 Migrate deprecated toolip methods
With Bootstrap v4, the tooltip methods "fixTitle" and "destroy" have been removed. Only core/src/Polyfill/tooltip.js keeps them methods valid by translating them.

Signed-off-by: MichaIng <micha@dietpi.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-26 22:18:20 +02:00
Daniel Kesselberg
024881dbd3
Add email addresses to contacts menu
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-09-15 16:58:44 +02:00
Joas Schilling
40d4ff3704
Fix OC.linkToOCS so it works as before @nextcloud/router v2.0.0
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-31 12:57:59 +02:00
John Molakvoæ (skjnldsv)
3e624dc399
Bump js licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-31 12:17:18 +02:00
Joas Schilling
613606fb88
Fix encoding issue with OC.Notification.show
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-20 14:44:39 +01:00
Robin Appelman
e6f1b1033b fix loading mtime of new file in conflict dialog in firefox
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-01 21:45:00 +00:00
Christoph Wurst
ae0a496da8
Bump jquery from 2.2.4 to 3.1.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-13 08:46:35 +01:00
Christoph Wurst
5848c31fa2
Do not print deprecation warnings during testing
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-10 12:10:01 +01:00
Robin Appelman
b4107c3442
ensure filepicker list is empty before populating
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-11-02 16:07:50 +01:00
Robin Appelman
85ae8d5c9f catch errors when closing file conflict dialog
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-10-28 20:40:01 +00:00