Commit Graph

156 Commits (b9ab00a59e2d906fdb43eaaea37eb7a4a9cc8a13)

Author SHA1 Message Date
Grigorii K. Shartsev 8ba8c26053 perf(dashboard): lags on dashboard items drag
- `aria-labelledby` is not needed here, it is a hidden icon
- `visually-hidden` has transformations that have huge performance
impact in combination with other transformations, for example, on
draggable

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2025-05-29 09:18:57 +07:00
Ferdinand Thiessen b06f5ba4c4
refactor: Migrate nextcloud-vue usage to new import schema
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-20 02:28:13 +07:00
Ferdinand Thiessen bbde768152
fix(dashboard): Correctly handle non-rounded icons for dashboard widgets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-14 21:51:39 +07:00
Richard Steinmetz 0bb7be28f0
fix(dashboard): don't initially load items of hidden api widgets
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-14 13:02:44 +07:00
Ferdinand Thiessen dff4412251
fix(apps): Add back `<main>` element to dashboard and settings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-14 09:18:43 +07:00
Richard Steinmetz 84c20650d2
fix(dashboard): don't reload hidden widgets
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-09 15:39:39 +07:00
Daniel Kesselberg 4df99d5ef4
feat(dashboard): wish happy birthday
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-12-10 22:33:38 +07:00
Ferdinand Thiessen f6e6ba4851 refactor(styles): Adjust code style in SCSS sources to match our stylelint config
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-19 09:42:13 +07:00
Ferdinand Thiessen aea0e8df6a fix: Adjust more places for logical position
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-29 08:32:48 +07:00
Mostafa Ahangarha 723780d184 feat: Add bidi support in core directory
Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
2024-08-29 08:32:47 +07:00
Ferdinand Thiessen a6556e9b46 fix(dashboard): Adjust widget border radius
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-22 18:07:33 +07: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 +07: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 +07: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 +07:00
Andy Scherzinger 9d4b944098
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-27 20:11:22 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Christopher Ng 693eb6926e fix(dashboard): Migrate to NcUserStatusIcon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-23 16:34:11 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
John Molakvoæ 8633f13e0a
chore(eslint): fix missing import extensions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +07: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 +07:00
hamza221 8358311568 Some Dashboard widgets are larger than others
Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
2023-02-02 13:34:41 +07:00
Simon L 07de9fa4e8 fix dashboard scrolling
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-11-08 19:03:31 +07: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 +07:00
Christopher Ng 295d03869e Fix various theming bugs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-28 17:12:56 +07: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 +07: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 +07: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 +07: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 +07:00
Julius Härtl b6a6802857
Some more fixes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:42 +07:00
Julius Härtl ac134f5f47
Restore dashboard layout
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:40 +07: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 +07:00
Carl Schwan 1d35a53991
More dark theme fixes
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +07: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 +07: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 +07:00
Julius Härtl 57233fd99a
Expose core background image
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-19 11:55:10 +07:00