Commit graph

134 commits

Author SHA1 Message Date
Christopher Ng
e429435349
fix(dashboard): Migrate to NcUserStatusIcon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 693eb6926e)
2024-02-02 16:08:51 +01:00
Ferdinand Thiessen
ba336f650b 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 15:16:35 +00:00
Eduardo Morales
558a3afb08 [stable28] fix(dashboard): changed h3 elements to h2
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-15 08:51:46 +00:00
Grigorii K. Shartsev
3b017ec3ff fix(dashboard): use span instead of div for icon to html
- div is not valid in h2
- div is not valid in label

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-23 16:20:47 +02:00
Grigorii K. Shartsev
c4684c8ec5 fix(dashboard): remove duplicated IDs
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-04 16:19:38 +02:00
Richard Steinmetz
6982597b6a
feat(dashboard): implement widget item api v2
This API enables the dashboard to render all widgets from the API data
alone without having apps to provide their own bundles. This saves a lot
of traffic and execution time as a lot less javascript has to be parsed
on the frontend.

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-08-22 08:36:53 +02:00
Julien Veyssier
41af382d68
only show weather credits if the app is enabled and the weather status is enabled
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-07-21 13:39:18 +02:00
julia.kirschenheuter
34bbb4ed48 Set double outline to buttons in focus state
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-07-11 11:22:39 +02:00
Ferdinand Thiessen
902d00d980 fix(dashboard): Adjust border radius of panels to match main content container
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-17 00:57:50 +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
julia.kirschenheuter
0df1361ddd Add aria-hidden='true' to decorative icons inside of modal dialogs
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-04-06 12:37:40 +02: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
julia.kirschenheuter
b111c180a5 Fix description for icons in dashboard widgets
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-20 10:23:57 +01:00
hamza221
8358311568 Some Dashboard widgets are larger than others
Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
2023-02-02 13:34:41 +01:00
Simon L
07de9fa4e8 fix dashboard scrolling
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-11-08 19:03:31 +01:00
Christopher Ng
58abed2059 Invert header icons on bright preset backgrounds
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-19 19:12:56 +00:00
Christopher Ng
295d03869e Fix various theming bugs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-28 17:12:56 +00:00
Jérôme Herbinet
b5d8fc9666
DashBoard : Allow up to 5 widgets side by side
Signed-off-by: Jérôme Herbinet <j.herbinet@protonmail.ch>

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2022-09-22 15:23:03 +02:00
greta
02cc42d40a Move background settings from dashboard app to Appearance and accessibility settings
Signed-off-by: greta <gretadoci@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-14 20:17:01 +00:00
Carl Schwan
c5ab8fa361
Improve dashboard default scrollbar behavior
- Decrease spacing so that scrollbar doesn't appear on laptop screen
  when having one row of panel
- Move scrollbar to content so that on chromium the scrollbar is not so
  ugly

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 10:07:53 +02:00
szaimen
079d444f53 dashboard should not have a scrollbar by default
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-08 07:54:22 +00:00
Julius Härtl
b6a6802857
Some more fixes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:42 +02:00
Julius Härtl
ac134f5f47
Restore dashboard layout
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:40 +02:00
Julius Härtl
ce9c0b5e30
Fix status button background on dashboard
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-29 08:05:51 +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
Julius Härtl
57233fd99a
Expose core background image
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-19 11:55:10 +02:00
Julius Härtl
49ddaaecbf
Move dashboard to new variables
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-19 11:55:10 +02:00
rakekniven
d7e553c634 l10n: Changed plural to singular
Here you can select the default theme image, not images.

Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-08-14 08:29:01 +00:00
Ferdinand Thiessen
800f6b350e dashboard: Fix dark theme detection
When system default color theme is selected for theming,
the enabledThemes array is empty or just contains one entry 'default',
in this case the color theme has to be retrieved from the browser.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-26 11:54:35 +00:00
Artur Neumann
d2e58d844d make 'text-overflow: ellipsis' possible again in dashboard
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-06-21 09:16:55 +00: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æ
73918b8af9
Cleanup and compile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:13:00 +02:00
John Molakvoæ
fe47cf40da Dashboard fixes
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-27 10:56:20 +00:00
John Molakvoæ
1dee36c761
Remove accessibility
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 19:00:28 +02:00
Vanessa Pertsch
0cdd7e9fcd quick fix for focus on weather and customize button
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-23 13:26:55 +00:00
Quentin Guidée
f9d9fe79bf
Dashboard customize view: revert to large
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2022-03-19 19:39:50 +01:00
Quentin Guidée
1631a6c078
Refine dashboard customize view
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2022-03-19 12:01:14 +01:00
szaimen
1116529b56 fix all modals after vue 5.0
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-22 13:27:14 +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)
dd7bf0f902
Fix dynamic loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:53 +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
szaimen
cabe36c0ab Dashboard - fix touch layout
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-09 14:59:09 +00:00
Julien Veyssier
984f3903f5 refs #26113 do not escape display name in dashboard welcome text
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-11 16:17:05 +00:00
Valdnet
9c6b01abeb
l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-06-02 17:49:32 +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
Jo Sprague
dc1413cad9
Make background cover whole viewport
Without a min-height, wider viewports can result in a blank white space at the bottom of the screen. This CSS ensures that doesn't happen.

Signed-off-by: Jo Sprague <git@josprague.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-19 14:06:22 +01:00
John Molakvoæ (skjnldsv)
428907c685
Fix @nextcloud/vue imports
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-01-14 17:32:13 +01:00
Julien Veyssier
27f7b9f3ce
refs #24970 fix night condition in dashboard greeting
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-01-13 18:41:53 +01:00