Commit graph

107 commits

Author SHA1 Message Date
Christopher Ng
3a49400944 Port global search menu to focus trapped NcHeaderMenu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-19 07:44:37 +00: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
Thomas Citharel
23f9dd3cc8
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:40:17 +01:00
julia.kirschenheuter
055f4217c8
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-12-22 15:31:19 +01:00
Joas Schilling
ea41d47992 Remove old code from comment to not trigger automatic scanners more than needed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-29 15:59:03 +00:00
Christopher Ng
e68be69dc9 Close global search menu when focus leaves
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-17 17:18:32 +00:00
Simon L
17a2e832a1 Fix AppMenu icons for firefox
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-11-16 01:47:38 +00:00
Christopher Ng
caceb9d0a8 Fix rendering of login headline
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-15 08:35:07 +00:00
Christopher Ng
b772dbd416 Fix more icon color
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-21 08:35:07 +00:00
Christopher Ng
4fc531bd03 Invert header icons on bright preset backgrounds
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-20 06:47:29 +00:00
Christopher Ng
adbaff71de Fix empty password string being submitted to server
- Fix reveal password not working

Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit dbaf8f3b89)
2022-10-19 17:20:00 +00:00
Joas Schilling
6b1901f0e7 🧭 Fix rebuilding the navigation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-18 20:36:28 +00:00
Daniel Kesselberg
383701914c
Set focus to input field
Fix:
- TypeError: this.$refs.user.focus is not a function
- TypeError: this.$refs.password.focus is not a function

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-16 10:51:24 +02:00
Joas Schilling
5267ea2624
Add an OCP method to check the shortcut state and use it for global search and menu control
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-15 11:20:08 +02:00
Vincent Petry
71eab82117
Adjust recommended apps page
Removed collabora code.
Added description for richdocuments as the name will be "Nextcloud
Office" pulled from the app store.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-14 18:28:19 +02:00
szaimen
cf7f6daa88 add a heading to the login form
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-12 19:02:48 +02:00
Carl Schwan
9e045447f7
Fix UnifiedSearch
- 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>
2022-09-08 18:07:09 +02:00
Carl Schwan
43d1aa38df
More cleaning up of the login component
- Move css in scopped vue components
- Port to NcNoteCard all the warning messages

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-06 15:20:29 +02:00
Carl Schwan
df40fc9172
Use new vue components in login form
- Improve accessibility
- Simply code

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-05 11:34:00 +02:00
Christopher Ng
a7016170cf Accessibility improvements to unified search
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-02 01:38:13 +00:00
Julius Härtl
ad8fadf157
Fix active app indicator position
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 14:38:39 +02:00
Julius Härtl
3ad4e82195
Address some more accessibility concerns
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 10:24:05 +02:00
Julius Härtl
09d8214e37
Use resize observer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 10:24:04 +02:00
Julius Härtl
e8193c2434
Fix focus border and adjust active app indicator
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 10:24:04 +02:00
Julius Härtl
5b4708c5be
Move app menu to vue
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 10:24:03 +02:00
Carl Schwan
1d35a53991
More dark theme fixes
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +02:00
Vincent Petry
d0473214cd
Add Nc prefix to Nc vue component names
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:38:00 +02:00
Vincent Petry
7080187958
Bump @nextcloud/vue to 6.0.0-beta.3 and related
Update @nextcloud/vue to 6.0.0-beta.3
Update vue and vue-template-compiler to 2.7.8
Update calendar-availability-vue to 0.5.0-beta.1 to fix conflicts.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:37:46 +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
Carl Schwan
bbfad33a40 Fix caldav invitation related public pages
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-27 10:43:22 +02:00
Carl Schwan
253118298d Redesign guest pages for better accessibility
- Use white box and put content on it
- Improve focus indicator

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-27 10:43:21 +02:00
Carl Schwan
9d8870eede Fix contrast of the search icon
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-25 12:48:35 +02:00
Marcel Klehr
c991089bfc LoginForm: Fix password label translation call
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-18 10:29:31 +00:00
Joas Schilling
1ad24d22df
Fix duplicate id "hole"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-14 14:36:56 +02:00
Christopher Ng
8aaac57ee6 Use Button component to show password for improved accessibility
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-07 17:46:49 +00:00
Louis Chemineau
719515afe7 Properly calculate carret position
The carret position is currently hard coded based on the position of the icon in the header.

This PR calculate its position relatively to the header icon.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-07 13:16:20 +02:00
Carl Schwan
c1499519d4 Improve accessibility with more visible focus indication for non vue apps
- Add visible-focus effect on each header entry
- Show focus outline when using focus-visible (keyboard navigation)
- Add polyfy for focus-visible since it's only very recently available
  on webkit
- Change text for link to home button to describe the destination and
  not the current page
- Improve focus effect in app sidebar navigation

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-16 13:21:48 +02:00
John Molakvoæ (skjnldsv)
a1aaaaa0c8
Update and fix theming images
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-04-21 09:31:06 +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
christophe canovas
d6a9278422 Target_Blank option to open External links
Signed-off-by: christophe canovas <christophecanovas66@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-15 09:57:50 +00:00
Louis Chemineau
e101882b92
Auto fix warnings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-21 13:13:52 +01:00
Christopher Ng
22768769c3 Improve installation pages
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-01-14 19:59:46 +00: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
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
b312db382d
Use new div method in scss
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:11:58 +01:00
Christopher Ng
7ad07d6aa6 Improve accessibility
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-26 00:26:20 +00:00
Carl Schwan
b7a35afcf1
Add autocompletion for password reset
Using autocomplete="current-password" and autocomplete="new-password"
will help browser with integrated password managers to generate safe
password for the users.

See https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_an_html_input_element
and https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input/password#allowing_autocomplete.

Also unify autocapitalize="none" autocorrect="off" behavior in a few
other places for password input fields.

Close #27885

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Co-Authored-By: Julien Veyssier <eneiluj@posteo.net>
Co-Authored-By: Pytal <24800714+Pytal@users.noreply.github.com>
2021-10-22 12:18:26 +02: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
Luka Trovic
f5c3ec5365 Replace some icons with pretty icons
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-10 13:56:48 +00:00
Carl Schwan
4027bba202 Fix position of search bar
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-31 15:12:55 +00:00