Commit graph

148 commits

Author SHA1 Message Date
Richard Steinmetz
e1a3bb6571
fix(dashboard): don't reload hidden widgets
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-02-05 11:32:23 +01:00
Richard Steinmetz
6b55413c3e
fix(dashboard): don't initially load items of hidden api widgets
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-16 11:39:34 +01:00
Ferdinand Thiessen
bc3bdc236e fix(dashboard): Adjust widget border radius
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-23 16:43:54 +02:00
Ferdinand Thiessen
ea021df9fa
chore(deps): Update @nextcloud/auth to v2.4.0 and use getCSPNonce where possible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-13 17:54:47 +02:00
Joas Schilling
5368b93539
fix(dashboard): Use the widget icon URL when it was provided
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-11 14:18:22 +02:00
Marco Ambrosini
479d394a9e Feat: update panels border radius
Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-02 19:47:44 +00:00
Andy Scherzinger
9d4b944098
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-27 20:11:22 +02:00
Ferdinand Thiessen
9d2c3c1164
fix: Adjust dashboard and header menu to use new background colors
fix(UnifiedSearch): Adjust to new background color

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:21 +02:00
provokateurin
5f53e446da
refactor(dashboard): Let the statuses and layout endpoints use a saner format
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-05-10 09:44:01 +02:00
provokateurin
d82fe6c7b4
refactor(dashboard): Migrate saving layout and statuses to OCS
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-05-10 09:44:01 +02:00
Thomas Citharel
79476682af fix(dashboard): do not suggest to install new widgets if appstore is disabled
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-03-28 15:49:34 +00:00
Julius Härtl
a01860e932 fix(dashboard): Align icon of widgets with the images
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-21 08:30:26 +01:00
Ferdinand Thiessen
d4eb3bcac2 chore: Remove unused code from dashboard entrypoint
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-09 14:02:45 +01:00
Christopher Ng
693eb6926e fix(dashboard): Migrate to NcUserStatusIcon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-23 16:34:11 -08: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
Eduardo Morales
33637df9b3 fix(dashboard): changed h3 elements to h2
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-14 17:12:01 -06:00
Ferdinand Thiessen
1cd04e361e
fix(core): Make sure correct colors are used on blurred background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-14 17:59:30 +01: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