Commit graph

2345 commits

Author SHA1 Message Date
azymondrian
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: https://kolaente.dev/vikunja/frontend/pulls/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
renovate
8e2b5d3bdd Update dependency vue-easymde to v1.3.2 (#335)
Update dependency vue-easymde to v1.3.2

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/335
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-16 20:49:21 +00:00
kolaente
3346fe00eb
Add downloading assets when building docker images 2020-12-16 20:23:38 +01:00
konrad
66d4738ec5 Make sure task title and task id are properly shown on mobile (#334)
Make sure task title and task id are properly shown on mobile

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/334
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-16 11:54:01 +00:00
kolaente
4fc73626b7
Properly cache html files 2020-12-16 12:28:54 +01:00
renovate
f04ee6f130 Update dependency dompurify to v2.2.4 (#330)
Update dependency dompurify to v2.2.4

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/330
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-16 10:51:58 +00:00
renovate
30704dea8c Update dependency eslint-plugin-vue to v7.3.0 (#333)
Update dependency eslint-plugin-vue to v7.3.0

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/333
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-16 10:45:13 +00:00
renovate
b4d7d11f56 Update dependency marked to v1.2.7 (#331)
Update dependency marked to v1.2.7

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/331
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-16 00:19:24 +00:00
kolaente
464cff3a57
Merge pull request #9 from go-vikunja/dependabot/npm_and_yarn/ini-1.3.8
Bump ini from 1.3.5 to 1.3.8
2020-12-15 12:40:37 +01:00
dependabot[bot]
b72509b5dc
Bump ini from 1.3.5 to 1.3.8
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-15 11:40:13 +00:00
kolaente
51bbad9794
Log the user out if the token could not be renewed 2020-12-15 12:30:02 +01:00
renovate
a6f69ff459 Update dependency vue-advanced-cropper to v0.19.2 (#328)
Update dependency vue-advanced-cropper to v0.19.2

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/328
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-14 13:45:51 +00:00
renovate
f036c666bb Pin dependencies (#324)
Pin dependencies

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/324
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-13 22:06:58 +00:00
renovate
9e2eab6e23 Update dependency vue-advanced-cropper to v0.19.1 (#327)
Update dependency vue-advanced-cropper to v0.19.1

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/327
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-13 22:06:42 +00:00
renovate
768511c90e Update dependency marked to v1.2.6 (#326)
Update dependency marked to v1.2.6

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/326
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-10 18:10:07 +00:00
renovate
081ea7e360 Update dependency vue-advanced-cropper to v0.18.1 (#322)
Update dependency vue-advanced-cropper to v0.18.1

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/322
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-10 18:09:46 +00:00
renovate
ff9e4c0da5 Update dependency register-service-worker to v1.7.2 (#323)
Update dependency register-service-worker to v1.7.2

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/323
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-10 15:36:38 +00:00
renovate
8915cdd9ef Update dependency cypress to v6.1.0 (#325)
Update dependency cypress to v6.1.0

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/325
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-10 15:36:08 +00:00
kolaente
53ec2364bf
Remove the drone cache image since there is no arm compatible image available 2020-12-10 15:53:03 +01:00
kolaente
6b0edd2d9a
Use yarn caches when building docker images 2020-12-10 15:46:51 +01:00
kolaente
0ca9862ffe
Add wait in cypress test for user settings 2020-12-10 15:30:10 +01:00
konrad
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: https://kolaente.dev/vikunja/frontend/pulls/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
Bouni
1dcf4520a0 Add color indicators to task list (#321)
fix requested changes

use computed for listColor, moved .colorBubble to theme.scss

fixed tabs

add color indicator to task list

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/321
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-Authored-By: Bouni <bouni@owee.de>
Co-Committed-By: Bouni <bouni@owee.de>
2020-12-10 12:06:49 +00:00
kolaente
ffde50453a
Add openid scope when redirecting to external openid provider 2020-12-08 19:33:35 +01:00
kolaente
b4e0e7e2f6
Change cache key for dependencies 2020-12-08 19:21:21 +01:00
kolaente
935a75cac1
Add more spacing to the "Archived" badge in namespace overview 2020-12-08 18:53:58 +01:00
kolaente
6c06554ebe
Add more spacing for checkboxes in the editor 2020-12-08 18:51:46 +01:00
kolaente
c0130b2b48
Only show a loading spinner per task when updating a task on the kanban board 2020-12-08 18:49:28 +01:00
kolaente
188d54ebe6
Make sure the editor does not break if the text has checkboxes 2020-12-08 18:40:13 +01:00
kolaente
0b620a07ef
Fix parsing task done at date 2020-12-08 15:43:51 +01:00
kolaente
b885eb7ff2
Update browserlist db 2020-12-07 17:28:37 +01:00
renovate
5fc489be9c Update dependency eslint to v7.15.0 (#318)
Update dependency eslint to v7.15.0

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/318
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-07 15:49:56 +00:00
renovate
ed1b766e56 Update dependency dompurify to v2.2.3 (#320)
Update dependency dompurify to v2.2.3

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/320
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-07 15:49:42 +00:00
konrad
e15d15ed90 Add yarn cache to drone (#312)
Fix cache configuration for releases

Change cache bucket

Change dependency cache folder

Only start installing dependencies once cache has been restored

Fix configuration for dependency caching

Fix s3 access key & secret

Add yarn cache to drone

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/312
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-06 17:45:44 +00:00
renovate
46b7f71000 Update dependency eslint-plugin-vue to v7.2.0 (#319)
Update dependency eslint-plugin-vue to v7.2.0

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/319
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-06 10:11:16 +00:00
renovate
ba40d82a6e Update dependency snake-case to v3.0.4 (#316)
Update dependency snake-case to v3.0.4

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/316
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-02 12:41:52 +00:00
renovate
e57078b5e8 Update dependency camel-case to v4.1.2 (#315)
Update dependency camel-case to v4.1.2

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/315
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-02 07:05:10 +00:00
kolaente
f22942e883
Fix repeat after layout 2020-11-28 16:02:38 +01:00
kolaente
3f2056bbf9
Show done at in task detail view 2020-11-28 15:52:15 +01:00
kolaente
25bd9d17f9
Show a loading spinner when creating a new kanban task 2020-11-28 15:44:48 +01:00
kolaente
1e72105635
Fix task background color for link shares 2020-11-28 15:32:58 +01:00
kolaente
d0e304e43b
Add disabled state for task titles 2020-11-28 15:30:34 +01:00
kolaente
79c8783fdb
Fix tooltip still existing in viewport after hiding them 2020-11-28 15:17:50 +01:00
renovate
5827800564 Pin dependency jest to 26.6.3 (#311)
Pin dependency jest to 26.6.3

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/311
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-11-28 14:09:40 +00:00
konrad
fb3cf94cba Better reminders (#308)
Fix setting the new reminder component to null after adding a new date

Add "close on change" event which only fires if the component closed and the value actually changed

Hide the "today" option after 21:00

Add "confirm" button to close the component

Use disabled in reminders

Add a disabled property to the datepicker

Cleanup workarounds for flatpickr

Use the new datepicker for end dates

Use the new datepicker for start date

Use the new datepicker for due dates

Mobile styling

Format

Sync flatpickr when clicking on choose a date

Make sure to only hide the popup when not clicked something inside of it

Make flatpickr dates work

Use datepicker component for reminders

Merge branch 'master' into feature/better-reminders

Fix bottom padding of inline flatpickr

Set time

Add method to calculate the neares time

Move time helpers in separate folder

Remove separate flatpickr date

Cleanup

Set the flatpickr date when setting changing the date

Better formatting of the chosen date

Bubble

Set date when choosing one

Fix test

Show correct weekday in preview

Change hover background color

Make label to show if selected date is null configurable

Use a different icon for weekend

Ignore test files when linting

Add tests to dron

Move day interval calculation to separate file and test it

Add next date calculation

Add basic date picker component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/308
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-28 13:59:27 +00:00
renovate
ba142c92ef Update dependency vuex to v3.6.0 (#309)
Update dependency vuex to v3.6.0

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/309
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-11-25 20:18:38 +00:00
kolaente
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
kolaente
ed40249bb3
Add proper focus styles 2020-11-22 17:47:47 +01:00
konrad
148cc1dcca Better save messages for tasks (#307)
Add success messages when managing assignees

Add success messages when managing labels

Add better loading animations for related tasks

Add better loading animations for comments

Don't block everything while loading

Move task heading to separate component which handles all saving related things

Make sure to only show the loading spinner and saved message when saving the description

Show a maximum of 2 notifications

Move task description to separate component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/307
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-22 16:32:35 +00:00
kolaente
b9eeec0125
Hide menu on mobile after navigating 2020-11-21 22:31:34 +01:00