Commit Graph

142 Commits

Author SHA1 Message Date
Jan C. Borchardt 8052382a75
Fix wording 'User status' to just 'Status'
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-21 22:02:57 +02:00
Julien Veyssier fd2e4e496c
fix checkbox order and icons
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-08-21 17:05:10 +02:00
Julien Veyssier 3940abcf48
add buttons in modal to toggle all statuses
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-08-21 15:25:38 +02:00
Julien Veyssier 006157b12f
now able to toggle statuses
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-08-21 14:58:12 +02:00
Julien Veyssier 18057dbfbb
add attributions and warning for external services in modal, sort statuses
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-08-21 10:26:23 +02:00
Jan C. Borchardt 57b33a7805 Dashboard: Fix status bubbles open but unfocused background
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-20 19:00:32 +00:00
Jan C. Borchardt 66b77790fa
Dashboard: Suppress scrollbars inside widgets
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 18:32:31 +02:00
Jan C. Borchardt f092d9c704
Dashboard: Fix text on background choices
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 18:07:49 +02:00
Jan C. Borchardt b08434b6a8
Adjust design of 'Get more widgets' button
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 18:07:27 +02:00
Jan C. Borchardt d52ca95143
Dashboard: Move panels to more semantically correct h2
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 18:07:07 +02:00
Julien Veyssier 316c2155f5
build dashboard js
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-08-20 15:58:08 +02:00
Jan C. Borchardt 2fc732aebf
Dashboard: Ellipsize widget headings to one line
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 15:55:50 +02:00
Jan C. Borchardt db42b4691f
Dashboard: No need to extend height of widgets if only one column is shown
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 15:55:49 +02:00
Julien Veyssier 1ce5dbd95f
remove background-color for user status and weather status in dashboard, build all
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-08-20 12:34:15 +02:00
Julius Härtl 8a3016565f
Small fixes to cleanup code
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-20 12:27:57 +02:00
Roeland Jago Douma f6578b74f4
Allow using geolocation in the dashboard
Else the weather geolocation is kind of useless.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-20 09:00:03 +02:00
Julien Veyssier 143db7f5ee
better translations, fix status color, build user status and dashboard
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-08-20 01:44:53 +02:00
Jan C. Borchardt f0a306c3fe
Weather status: Fix small design issues
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 00:54:11 +02:00
Morris Jobke 72df65c810
Fix psalm warnings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 21:55:13 +02:00
Julius Härtl 93e671e812
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:31 +02:00
Julius Härtl e2f71fd322
Only show app store link if user is admin
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:30 +02:00
Jan C. Borchardt 1c3e95670d
Dashboard: fix visual glitch when clicking on active background
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +02:00
Julius Härtl 2b51b62f94
Add previews
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:30 +02:00
Jan C. Borchardt 8eff3f02b6
Dashboard: Adjust for dark and high contrast themes
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +02:00
Jan C. Borchardt 3a3fa036e6
Dashboard: Adjust for dark and high contrast themes
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +02:00
Jan C. Borchardt 6e92c7212e
Dashboard: Finish image list and attribution
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +02:00
Jan C. Borchardt d1a2482dda
Dashboard: Add more feedback for selected background
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +02:00
Julius Härtl 9a7f7ea5e7
Fix php cs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:29 +02:00
Julius Härtl a4ebef75e9
Fix const visibility
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:29 +02:00
Julius Härtl 1e61cf617a
Add active indicator to background selector
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:29 +02:00
Julius Härtl d288a11cee
Only invert header buttons
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:29 +02:00
Julius Härtl 551d435f89
Make it possible to define theme header styling per background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Jan C. Borchardt 5932376333
Dashboard: fix HTML structure of background picker
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:28 +02:00
Julius Härtl 135ceb4a9d
Fix late night errors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Julius Härtl d02a92e870
WIP: Start off with attribution for shipped backgrounds
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Julius Härtl 5661775568
Allow to set a primary color background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Julius Härtl fa2072e36b
Fix keyboard navigation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Jan C. Borchardt 38afee82bd
Dashboard: Customize modal design improvements
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:28 +02:00
Julius Härtl 8d22d02422
Remove old shipped background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl 9a90351435
Add images
Signed-off-by: Julius Härtl <jus@bitgrid.net>

update images

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl 4118cb0be6
Do not reset background on every save
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl 338f09b04b
Push widget metadata to callback
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl b49f814faa
Implement background reset and proper shipped setting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl 2535e0ec04
Fix loading as guest
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:26 +02:00
Julius Härtl 4ec0afd0e7
Allow to set a custom background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:26 +02:00
Julius Härtl 1e043d5a24
Move customize button to the bottom
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 13:55:08 +02:00
Julius Härtl a3bcf73408
Sticky header background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 13:55:07 +02:00
Julius Härtl ac95e069c4
Bump outdated dashboard bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-13 10:10:40 +02:00
Jan C. Borchardt 4507c362cd
Dashboard: Add photo credit
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-11 16:45:02 +02:00
Jan C. Borchardt 227b4761b8
Dashboard: Fix wording issue on greetings
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-11 10:12:25 +02:00
Julius Härtl 81ba90a0fe
Dynamically generate background image url
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-11 07:54:34 +02:00
Jan C. Borchardt 6a4d416e36
Dashboard: Fix dark mode, add background
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-08 01:09:21 +02:00
Jan C. Borchardt 2b9b85e44a
Dashboard: add background image, improve panel design
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-07 18:47:22 +02:00
Jan C. Borchardt 3a2cc39dd9
Dashboard: remove header fade
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-07 16:55:56 +02:00
Jan C. Borchardt df06940317
Dashboard: Remove icons from greeting
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-07 15:57:38 +02:00
Julius Härtl 258cde135d
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:05:54 +02:00
Julius Härtl dbbc675a96
Fix drag behavior in modal
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:39 +02:00
Julius Härtl 61cc356e0b
Fix php cs check
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:39 +02:00
Jan C. Borchardt 739914654c
Dashboard: Fix full height of Widgets based on new component
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-05 17:03:39 +02:00
Julius Härtl c97a805f1d
Add first run hint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:39 +02:00
Julius Härtl 97feb89a4b
Make header the drag handler
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:39 +02:00
Julius Härtl d9dcd59ae1
Load sidebar on dashboard
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:38 +02:00
Julius Härtl 018be662f4
Refactor API to match the widget wording
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:38 +02:00
Julius Härtl 6accf4d857
Fix default height
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:38 +02:00
Julius Härtl 7e2ded5a79
Fix default order of widgets
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:38 +02:00
Julius Härtl 3be3c34e39
Status integration
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:36 +02:00
Julius Härtl ae6be0c110
Expose firstRun parameter to frontend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:01:30 +02:00
Julius Härtl bd3d791ee0
Only show display name if set
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:01:30 +02:00
Julius Härtl c983094625
WIP: drag and drop in modal
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:01:29 +02:00
Jan C. Borchardt da8a29f42e
Dashboard: Wording change from panels to widgets
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-05 17:01:29 +02:00
Jan C. Borchardt 995144faa6
Dashboard: Fix small misalignment of widget header icon
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-05 17:01:29 +02:00
Julius Härtl 90f56dd2b0
Replace vue-smoothdnd with vuedraggable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:01:28 +02:00
Jan-Christoph Borchardt 0135eed7da
Dashboard: Adjust headings to new spacing for 44px icons
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-08-05 17:01:28 +02:00
Jan-Christoph Borchardt 1448f54e04
Experiment with fade in dashboard panel header
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-08-05 17:01:28 +02:00
Jan-Christoph Borchardt 9cde19889e
More design fixes to dragging and edit panels
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-08-05 17:01:28 +02:00
Jan-Christoph Borchardt 28a01a9728
Design enhancements to panels, headings, and edit button
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-08-05 17:01:27 +02:00
Julius Härtl 429049c809
Allow userdefined order and start with drag and drop resorting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:01:27 +02:00
John Molakvoæ (skjnldsv) f23bc7a68e
Add @nextcloud/event-bus to babel transpile
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-31 13:33:26 +02:00
John Molakvoæ (skjnldsv) 3a31397ac2
Use `babel-loader-exclude-node-modules-except`
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-31 11:00:33 +02:00
John Molakvoæ (skjnldsv) 0f8aca9d87
Bump compiled files
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-31 09:26:43 +02:00
Julius Härtl 6b2bb32f23
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 10:54:34 +02:00
Julius Härtl 0c35218e61
Include name in translatable greeting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:12 +02:00
Julius Härtl 35bdb998ef
Dashboard strict typing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:12 +02:00
Julius Härtl e6fb1b9878
Load more than one panel
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:12 +02:00
Jan-Christoph Borchardt 879b756995
Update Dashboard app icon
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-07-15 09:28:11 +02:00
Julius Härtl b71de68f43
Cleanup public api methods
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:11 +02:00
Julius Härtl 66ce9ede91
Initialize panels early to make sure that scripts can be loaded
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:11 +02:00
Julius Härtl 81e5593133
Move to lazy panel registration during registration context
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:27:57 +02:00
Julius Härtl a0cd760481
Separate icon from translatable text
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:24:51 +02:00
Jan-Christoph Borchardt 829bf1ad11
Fix Dashboard layout, positioning and responsiveness
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-07-15 09:24:51 +02:00
Jan-Christoph Borchardt 4b9d47fa53
Modify dashboard welcome sentences
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-07-15 09:24:51 +02:00
Julius Härtl 5a1874910b
Add dashboard app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:24:51 +02:00