Commit Graph

87 Commits

Author SHA1 Message Date
3b940cb56c
feat: don't rethrow same error and handle errors globally 2021-10-16 18:59:53 +02:00
9c730d3381
fix: remove wrong active prop 2021-10-16 13:54:01 +02:00
3a7a4bdc42
Merge branch 'main' into vue3
# Conflicts:
#	src/components/input/editor.vue
#	src/components/list/partials/filters.vue
#	src/components/tasks/partials/editAssignees.vue
#	src/helpers/find.ts
#	src/helpers/time/formatDate.js
#	src/main.ts
#	src/store/modules/attachments.js
#	src/store/modules/kanban.js
#	src/views/list/views/List.vue
#	yarn.lock
2021-10-07 12:20:52 +02:00
dpschen
b59b5def57 feat: compress media files (#818)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#818
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-10-03 18:48:02 +00:00
e779681905
feat: upgrade to packages for vue 3
- vue3-notification
- vue-advanced-cropper 2
- vuedraggable 4
- vue-shortkey -> moved in repo
2021-10-01 18:49:54 +02:00
72518212da
feat: use vue-router 4 for vue3 2021-10-01 18:47:41 +02:00
51a740f53c
fix: use vue3 v-model bindings
see: https://v3.vuejs.org/guide/migration/v-model.html
2021-10-01 18:45:42 +02:00
db49b9b532
fix: directly set arrays, objects and delete directly
Not needed since vue3 uses proxies
2021-10-01 18:45:42 +02:00
2b20f328cb
fix: compiler warnings
see:
- https://v3.vuejs.org/guide/migration/key-attribute.html
- https://v3.vuejs.org/guide/migration/v-bind.html
- https://v3.vuejs.org/guide/migration/v-on-native-modifier-removed.html
2021-10-01 18:45:42 +02:00
ebeca48be4
fix: namespace collision of global error method with draggable error method 2021-09-24 21:46:42 +02:00
0da7a46612
feat: formatting
- remove unneeded data props
- prepare for compiler warnings vue3; see https://v3.vuejs.org/guide/migration/v-bind.html
2021-09-24 21:46:42 +02:00
dpschen
0a8505f53c fix: vuex mutation violation from draggable (#674)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#674
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-08-23 19:24:52 +00:00
3c2d89a0f6
Don't allow dragging a list when the user does not have the rights 2021-07-29 13:05:33 +02:00
c4067c7c35 PWA improvments (#622)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#622
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-28 20:58:12 +00:00
3c7f8d7aa2 Reorder tasks, lists and kanban buckets (#620)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#620
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-28 19:56:29 +00:00
a08306d612 Add vite (#416)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#416
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-25 13:27:15 +00:00
7355204d2f Improve some translations (#581)
Reviewed-on: vikunja/frontend#581
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: andreymal <andriyano-31@mail.ru>
Co-committed-by: andreymal <andriyano-31@mail.ru>
2021-07-09 08:22:20 +00:00
f0498fd767 Add translations (#562)
Reviewed-on: vikunja/frontend#562
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-06-23 23:24:57 +00:00
cdc805c8da
Refactor success and error messages 2021-06-22 22:07:57 +02:00
9c799ab161
Fix removing a namespace from state after it was deleted 2021-05-26 17:39:57 +02:00
e8d26be1b1
Hide favorite list edit menu 2021-05-19 17:26:05 +02:00
fa5b1807c7
Make hidden lists in the menu more compact 2021-04-19 23:56:00 +02:00
1a03c035f0
Don't hide all lists of namespaces when loosing network connectivity 2021-04-19 22:36:31 +02:00
62bfbcce79
Fix showing and hiding lists in the menu 2021-02-20 16:28:45 +01:00
e0be77d88f Move list edit/namespace to separate pages and in a menu (#397)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#397
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-30 16:17:04 +00:00
ddadd89c64 Move all create views to better looking popups (#383)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#383
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-21 22:33:16 +00:00
aa5d0d437d
Fix namespace actions alignment in the menu 2021-01-16 22:33:49 +01:00
5e67934bfe
Fix list counter in the navigation counting archived lists 2021-01-14 22:40:13 +01:00
e44be61d2a Fix loading states for unrelated components (#370)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#370
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-09 14:24:06 +00:00
ab24885ee9
Move "Teams" menu further down the list 2020-12-23 21:28:32 +01:00
f9d295fc67
Only show loading spinner over menu when loading namespaces 2020-12-23 21:26:43 +01:00
3c3d6a4af3 Mobile Menu Fixes (#332)
Fix main body overflow on medium screen sizes

Remove wait for done button in cypress test

Add wait for done button in cypress test

Calc whether menu should be open on first page load

Mobile Menu fixes

- Doesn't scrunch the main content on opening the menu
- Keep main content aligned left when the menu is open

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#332
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-Authored-By: azymondrian <azymondrian@protonmail.com>
Co-Committed-By: azymondrian <azymondrian@protonmail.com>
2020-12-17 11:45:26 +00:00
b822b3616b Frontend Testing With Cypress (#313)
Wait until the request is finished

Wait for the newly created task exists in the dom

Wait until the login request is done

Wait until the list request is done

Make sure no user token is in local storage when trying to register

Make sure to always upload test results

Disable capturing videos of test runs in CI

Add uploading test result screenshots from ci

Assert a success notification is shown after creating a new list

Change input element locators

Fix testing for favorite lists

Make sure faked usernames are always random

Make sure the tests work

Make sure to use node 12 everywhere in ci

Add docs

Fix setting api url for running tests

Use a working node version

Ignore cypress screenshots and videos

Set cache folders

Explicitly ignore cypress files when running unit tests

Trigger Drone

Only run unit tests with yarn test:unit

Add serve dist command to serve built static files

Trigger Drone

Fix cypress image

Change cypress image

Unify test & build step back again to prevent double installation of dependencies

Add cache location config

Move test steps to separate pipeline

Run cypress tests in drone

Fix all tests

Make all factory methods static

Use factories everywhere

Cleanup

Add tests for the editor

Add tests for viewing link shares

Fix seed

Add test to make sure settings elements are hidden if the user does not have the right to edit the current list

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#313
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-10 13:52:35 +00:00
5d995a2758
Move next week/next month task overview pages into a single "Upcoming" page and allow toggle 2020-11-22 18:05:25 +01:00
15a2da41ba
Show loading spinner when loading namespaces & lists 2020-11-12 20:57:39 +01:00
092e5165dc Build custom v-tooltip (#290)
Remove tooltips when their elements are unbound

Add support for .bottom modifier

Remove v-tooltip from dependencies

Add comments

Fix usage with bigger tooltips

Add very basic vanilla js tooltip

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#290
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-10 20:47:39 +00:00
588b4f507a Refactor app component (#283)
Fix redirect to home

Move redirect to home to no auth component

Move setup stuff to separate functions

Renew token in authenticated component

Use vue's router object

Move auth type checks to computed properties

Move after route stuff to authenticated content component

More Cleanup

Cleanup

Hide the navigation on mobile in the navigation component

Load namespaces from inside the navigation component

Fix logout

Move not authenticated content to separate component

Fix favoriting lists

Move link share authenticated stuff to separate component

Move authenticated stuff to separate component

Move side navigation to separate component

Move top navigation bar to separate component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#283
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-01 17:36:00 +00:00