Commit Graph

112 Commits

Author SHA1 Message Date
0ada383395
fix(tests): fake current time in gantt tests to make them more reliable 2022-10-01 10:13:23 +02:00
d76b526916
feat: use pnpm 2022-09-21 17:29:36 +02:00
2445f0eec8
chore: align docker cypress image version with drone 2022-09-05 17:43:56 +02:00
Dominik Pschenitschni
ff655808b3 feat: settings background script setup (#2104)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2104
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-09-01 16:09:50 +00:00
51ffe93048
fix: clear all localstorage when logging out 2022-08-09 11:55:19 +02:00
ef0fe0b11d
fix(tests): correctly set task position in cypress test fixtures 2022-07-13 17:00:38 +02:00
2a20c95ba5
fix(tests): remove old label task relations before adding a new one 2022-07-12 09:12:04 +02:00
a073cfac66
fix(tests): set correct user issuer for test users 2022-07-08 17:22:33 +02:00
02f985d8a3 fix: button styling 2022-07-06 21:07:26 +00:00
3b9bc5b2f8 feat: use BaseButton where easily possible
This replaces links with BaseButton components. BaseButton will use `<button type="button">` inside for this case. This improves accessibility a lot. Also we might be able to remove the `.stop` modifiers in some places because AFAIK the button element stops propagation by default.
2022-07-06 21:07:26 +00:00
c6d214b9eb fix: cypress plugins 2022-07-04 21:50:48 +00:00
321850ec20 chore: rename js files to ts 2022-07-04 21:50:48 +00:00
7fe9f17e43 feat: setup cypress 2022-07-04 21:50:48 +00:00
2b8a786825
fix: archiving a list 2022-06-30 18:04:41 +02:00
78baf4c662
fix(faker): imports 2022-06-22 21:30:30 +02:00
9d0415e24c
fix: setting user settings in cypress tests 2022-06-16 18:17:44 +02:00
0f4e6fa3f2 chore(deps): update dependency cypress to v10 (#2015)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#2015
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-06-08 18:18:34 +00:00
efed128f03 fix: rely on api to properly sort tasks on home page (#1997)
This PR changes the behaviour of how tasks are sorted. Before, the frontend would sort tasks but this resulted in some cases where tasks were not sorted properly. Most of this is test code to reliably reproduce the problem and make fixing it easier.
The actual bug was in Vikunja's api, therefore I've removed all sorting of tasks in the frontend and ensured the api properly sorts tasks.

Fixes https://github.com/go-vikunja/frontend/issues/54

Depends on vikunja/api#1177

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#1997
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-06-01 16:59:59 +00:00
0b6a74d11e
Merge branch 'main' into feature/date-math 2022-02-20 20:25:06 +01:00
60f58af41a
chore: align wording in task detail view
Changes only in task detail view. Probably this should be done everywhere:

- some buttons were using the uppercase words consistently, some were not
- some were using articles, some were not  => I removed them everywhere to shorten the label length
- some buttons were refering to the task, some were not. Since we are already in the context of the task (we are not the task detail page) I removed the reference everywhere.
2022-02-20 12:03:45 +01:00
Dominik Pschenitschni
eac07d3169 feat: make profile picture clickable (#1531)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1531
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-02-13 21:57:33 +00:00
69654b823e
feat: increase task drop area size for bucket list 2022-02-13 13:49:31 +01:00
d272eb2a7a
Merge branch 'main' into fix/upcoming
# Conflicts:
#	src/views/tasks/ShowTasks.vue
2022-02-05 20:02:30 +01:00
a8ac2fc2dd
Merge branch 'main' into feature/login-improvements 2022-02-05 18:04:33 +01:00
a5b0a834bc
fix(tests): make sure the namespace exists before trying to run the history tests
If there's no namespace, there is no lists in state to show in the view. The CI runs all tests from a blank state which isn't the case when running the tests locally. Therefore, if the test doesn't create a new namespace, there won't be any to test for.
2022-01-30 22:51:29 +01:00
b7c8138ad5
fix(tests): make sure to create all lists before doing anything 2022-01-30 22:47:59 +01:00
9995abf64c
fix: mark broken test as skipped 2022-01-30 22:11:26 +01:00
ec65a37dcb
Merge branch 'main' into feature/vue3-modals-with-router-4 2022-01-30 19:59:11 +01:00
81cf8f2f29 feat(tests): replace cypress-file-upload with .selectFile() (#1460)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#1460
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-30 16:17:03 +00:00
3f893fb16d
fix(tests): don't visit / directly but use navigation instead 2022-01-30 15:25:34 +01:00
05350affad
fix(tests): don't assert for h3 anymore 2022-01-30 14:37:41 +01:00
6ab7aac5ce
fix(tests): wait until lists are loaded 2022-01-30 14:10:46 +01:00
6c1857b133
fix(tests): assert absence of last viewed headline more precisely 2022-01-30 14:03:50 +01:00
3212bc8e86
fix(tests): add more waits for namespaces loaded 2022-01-30 14:00:14 +01:00
e6eb48b5af
fix(tests): wait until namespaces are loaded before checking if the history is present 2022-01-30 13:07:08 +01:00
423195155e
Merge branch 'main' into feature/vue3-modals-with-router-4 2022-01-30 12:40:36 +01:00
cd92d224a2 Merge branch 'main' into feature/login-improvements 2022-01-23 17:06:49 +00:00
Dominik Pschenitschni
6db0559b81 fix: replace faker with community fork faker-js/faker (#1408)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1408
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-01-20 07:54:39 +00:00
e2d9aa3d7f
Merge branch 'main' into feature/vue3-modals-with-router-4
# Conflicts:
#	src/router/index.ts
#	src/views/tasks/TaskDetailView.vue
2022-01-18 21:47:17 +01:00
01323a1b45
Merge branch 'main' into fix/upcoming
# Conflicts:
#	src/views/tasks/ShowTasks.vue
2022-01-09 11:48:37 +01:00
044f2b927d feat: changed green "Done" button to read "Mark task done" (#1340)
The green button can be confusing because the wording "Done" can be interpreted as "done editing the task" or "the task should be marked as done". Changing the text in the button makes the description more precise.

Co-authored-by: David Morlitz <david@morlitz.com>
Reviewed-on: vikunja/frontend#1340
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dmorlitz <david@morlitz.com>
Co-committed-by: dmorlitz <david@morlitz.com>
2022-01-08 21:18:06 +00:00
19a161ff78
fix: password validation field in test 2022-01-08 13:49:07 +01:00
c618b7e0b6 fix: namespace new buttons on mobile (#1262)
Before:

![image](/attachments/7626e28d-8a13-4f92-b162-697676f765c7)

After:

![image](/attachments/5331af47-4887-4ba5-98d7-ee70311e20d7)

Co-authored-by: kolaente <k@knt.li>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1262
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-05 12:46:33 +00:00
f3358269e5
fix task remove label test 2022-01-04 21:55:32 +01:00
58207db6c3
fix: kanban tests 2022-01-04 21:55:31 +01:00
da8cf13619
fix: task done label test 2022-01-04 21:55:31 +01:00
e78d47fdcf
fix: list specs 2022-01-04 21:55:30 +01:00
5937f01cc5
fix: list loading 2022-01-04 21:55:30 +01:00
Dominik Pschenitschni
cdbd1c2ac4 feat: create BaseButton component (#1123)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1123
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-01-04 18:58:06 +00:00
de77393905 feat: move the calculation of the current salutation to a different function 2022-01-04 18:44:07 +00:00