Commit Graph

485 Commits

Author SHA1 Message Date
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: vikunja/frontend#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 51bbad9794
Log the user out if the token could not be renewed 2020-12-15 12:30:02 +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: 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
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: vikunja/frontend#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 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 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
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: vikunja/frontend#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
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: vikunja/frontend#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
konrad 3343b1c240 Add showing and modifying user name (#306)
Make sure to use the user name field everywhere

Add showing and modifying user name

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#306
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-21 21:25:00 +00:00
konrad c536707f3a Authentication with OpenID Connect providers (#305)
Fix setting auth config from api in state

Verify auth state before authenticating

Add showing openid providers on login

Parse auth config from /info

Add authentication through openid

Add openid auth component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#305
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-21 16:38:40 +00:00
kolaente 460c30bd36
Improve comment avatars on mobile 2020-11-15 17:17:08 +01:00
kolaente 1d66218d5b
Add filters to gantt chart 2020-11-15 16:32:46 +01:00
kolaente 309b02d766
Fix avatar icon of attachments created by 2020-11-12 21:32:53 +01:00
kolaente 15a2da41ba
Show loading spinner when loading namespaces & lists 2020-11-12 20:57:39 +01:00
kolaente 50b1d378e0
Fix list not added to lists when duplicating 2020-11-12 20:02:40 +01:00
kolaente 3677ffd585
Create list through store to make sure it is updated everywhere 2020-11-12 19:59:32 +01:00
kolaente 2d70c1aabd
Fix list not being removed from the menu list when deleting it 2020-11-12 19:50:41 +01:00
kolaente 4733963749
Fix showing the keyboard shortcuts from the menu 2020-11-11 22:04:32 +01:00
kolaente a0d63272a6
Show all available shortcuts everywhere but indicate which work on the current page 2020-11-11 22:02:57 +01:00
kolaente 982d838dd4
Make keyboard shortcuts single keys 2020-11-11 21:31:11 +01:00
kolaente 4e2606a0d6
Fix renewing token on focus 2020-11-10 21:54:04 +01:00
konrad 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
kolaente b94c835af0
Add autocomplete attributes to login and register forms 2020-11-10 21:01:03 +01:00
kolaente 7343e98a26
Move focus directive to seperate file 2020-11-02 21:52:07 +01:00
kolaente 97aca96e7e
Fix logging out after reloading the page 2020-11-02 21:48:09 +01:00
konrad 2af53b16b6 Performance improvements (#288)
Only include needed parts from lodash

Don't prefetch

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#288
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-02 20:47:31 +00:00
konrad 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
kolaente 237a914dee
Add default color palette to picker 2020-11-01 14:59:47 +01:00
kolaente d9fe433619
Show created/updated by for tasks 2020-10-25 12:25:08 +01:00
kolaente 471301d1a7
Fix reminder inputs and the close buttons not properly aligned 2020-10-24 18:15:21 +02:00
kolaente da1d34789d
Get rid of the null reminder to fix jumping inputs when updating reminders 2020-10-24 18:12:14 +02:00
kolaente a01fc161fa
Remove "collapse menu button" and make the hamburger button always visible 2020-10-24 17:38:54 +02:00
kolaente 90b53176a6
Make the menu have a fixed width 2020-10-24 17:27:09 +02:00
kolaente 82d54b0751
Remove the focus of the bucket title element after saving the title 2020-10-24 17:23:13 +02:00
kolaente 5e046fbd06
Don't reset task relation kind after adding a task relation 2020-10-24 14:38:25 +02:00
kolaente 91c49352b6
Fix editor spacing 2020-10-18 21:11:54 +02:00
kolaente e1004d218a
Fix long text overflowing in task comments
Fixes #270
2020-10-18 21:04:28 +02:00