nextcloud/apps/dashboard
François Freitag 70edda0342 Port dav calendar settings page to Vue.js
- Drop reliance on deprecated global jQuery object.
- Allow testing user interactions.
- Use newer technology stack.

---

Test user interactions with the groupware dav settings

Add infrastructure to test Vue components:

- Use recommended libraries:

    - https://vuejs.org/v2/guide/testing.html#Recommendations
    - Use jest-dom for robust assertions on the DOM state
    - Use user-event to be more representative of user actions

- Code is transpiled by Jest, with the help of vue-jest.

Ignore test files for no-unpublished-import. Prevent ESLint from
flagging:

```
/home/runner/work/server/server/apps/dav/src/views/CalDavSettings.spec.js
Error:   1:24  error  "@testing-library/vue" is not published         node/no-unpublished-import
Error:   2:23  error  "@testing-library/user-event" is not published  node/no-unpublished-import
```

Signed-off-by: François Freitag <mail@franek.fr>
2021-06-05 11:22:25 +02:00
..
appinfo This is 22 2021-02-03 08:38:41 +01:00
css Dashboard: Fix accessibility skip links 2020-09-17 20:31:21 +02:00
img Add previews 2020-08-19 17:07:30 +02:00
js Port dav calendar settings page to Vue.js 2021-06-05 11:22:25 +02:00
l10n [tx-robot] updated from transifex 2021-06-04 02:28:13 +00:00
lib Some psalm fixes for the DashboardController 2021-02-10 20:00:04 +01:00
src l10n: Spelling unification 2021-06-02 17:49:32 +02:00
templates Dashboard: add missing strict_types 2021-04-14 16:46:25 +02:00
.l10nignore Ignore bundled assets in l10n 2020-09-15 11:28:10 +02:00
README.md l10n: Unify spelling in "Readme" 2021-05-20 07:33:20 +00:00
webpack.js Bump js licenses 2021-03-31 12:17:18 +02:00

Dashboard

Background picture credits

Background picture requirements

A reference to why it was very difficult to actually find good background pictures there are quite some requirements when it comes to picking:

  • It needs to be an exceptionally good photo of course since when chosen, people will see it every day.
  • We need to have a good balance of different motives, e.g. not too many landscape pics.
  • Same for a good balance of different colors.
  • The photo needs to work as a background. Photos with objects focused in the middle dont really work as they will be overlapped by the widgets anyway.
  • Especially the top part cannot have too much differing contrast, as then its not possible to see the navigation icons.
  • We serve the pictures at 4k resolution and most of the selected images are also available in 6k or higher so it is future-proof.
  • For the search of course we had to limit to CC0, CC By and CC By-Sa. Only CC0 would have been practically impossible cause theres just not so many good ones which fit.