Commit graph

685 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: 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
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: 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
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: 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
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
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: https://kolaente.dev/vikunja/frontend/pulls/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: https://kolaente.dev/vikunja/frontend/pulls/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: https://kolaente.dev/vikunja/frontend/pulls/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: https://kolaente.dev/vikunja/frontend/pulls/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: https://kolaente.dev/vikunja/frontend/pulls/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
konrad
1935af83c3 Allow setting api url from the login screen (#264)
Cleanup

Use the http factory everywhere instead of the created element

Use the current domain if the api path is relative to the frontend host

Format

Prevent setting an empty url

Fix styling

Add changing api url

Add change url component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/264
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-10-11 10:13:35 +00:00
kolaente
844905b0d9
Make sure to always load the home route when starting the app 2020-10-08 22:17:41 +02:00
kolaente
5bb8afbde5
Open unsplash author links in a new window 2020-10-08 22:00:45 +02:00
kolaente
2870f9217e
Show caldav url in settings if it's enabled server side 2020-10-03 14:58:33 +02:00
kolaente
2c6ec6ec35
Fix due date changes not saved on mobile 2020-10-03 14:30:26 +02:00
renovate
92965ad4e2 Update dependency eslint-plugin-vue to v7 (#255)
Fix lint errors

Update dependency eslint-plugin-vue to v7

Co-authored-by: kolaente <k@knt.li>
Co-authored-by: konrad <konrad@kola-entertainments.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/255
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-02 16:47:45 +00:00
konrad
4defe4c28a Fix Assignees being deleted when adding a due date (#254)
Use a model to make sure all changes of task assignees are bubbled back up to the task

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/254
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-10-02 16:40:04 +00:00
kolaente
12fb89ad31
Fix task title input taking up almost no space if empty 2020-09-28 21:01:37 +02:00
kolaente
0440c2cbed
Fix sort order when marking a task as done from the overview 2020-09-28 20:37:06 +02:00
kolaente
21968ab86d
Don't create a label through quick add if the title is empty 2020-09-28 20:20:19 +02:00
konrad
6b1ebbabb7 Saved filters (#239)
Fix saving

Cleanup

Fix single value prepare

Add prepare percent done stub

Fix populating filters with saved values when editing for single values

Fix populating filters with saved values when editing

Add edit filter view page

Hide adding new tasks to pseudolists

Make sure all filter values are passed as strings as per requirement from the api

Add redirect to list after creating it

Add creating saved filter

Add filter by percent done

Add end date filter

Add start date filter

Add extra checkbox to enable/disable priority filter

Add changing priority

Add more filter stubs

Fix dates for filters

Add saved filter create form

Add include nulls and concat to filter options

Add new saved filter component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/239
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-09-26 21:02:37 +00:00
konrad
f2fcf42639 Favorite lists (#237)
Remove/show favorites namespace if a task/list is the first to being marked as favorite

Add special case to prevent marking an archived list as favorite

Add marking a task as favorite  on namespaces page

Prevent toggling the favorite state for the favorites list

Add method to toggle list favorite in the menu

Add favorite icon to lists in menu

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/237
2020-09-06 14:20:48 +00:00
kolaente
5a0ef73b54
Only show the list at the end of the task if it was not specially required to show the list 2020-09-05 23:42:34 +02:00
kolaente
5f5db5f12f
Fix task in list style for tasks with assignees 2020-09-05 23:41:23 +02:00
kolaente
a8a7f70a3c
Cleanup code & make sure it has a common code style 2020-09-05 22:35:52 +02:00
konrad
4a8b15e7be Favorite tasks (#236)
Add loading spinner when updating a task

Show favorites namespace if the favorited task is the first favorite

Show the list favorited tasks belong to

Fix task width

Add method to mark a function as favorite

Make favorite clickable

Format

Hide favorite button when not hovered

Add button to mark a task as favorite

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/236
2020-09-05 20:16:17 +00:00
konrad
cac8b09263 Add limits for kanban boards (#234)
Prevent dropping a task onto a bucket which has its limit reached

Fix closing the dropdown

Add notice to show the limit

Add input to change kanban bucket limit

Add menu item to save bucket limit

Fix parsing dates from the api

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/234
2020-09-04 20:01:02 +00:00
kolaente
71ecdd23e7
Remove html from tooltip
Resolves #224
2020-08-31 22:36:47 +02:00
kolaente
42500da8a9
Fix archived lists still showing up in the side menu 2020-08-15 22:28:38 +02:00
kolaente
5705b5afd1
Always focus inputs on kanban when adding a new task or bucket 2020-08-11 21:04:22 +02:00
kolaente
0ae73c906d
Fix create new bucket button having no margin to the right 2020-08-11 20:57:55 +02:00
kolaente
d95571309b
Fix bottom padding on kanban 2020-08-11 20:47:27 +02:00
kolaente
282c86f19a
Fix pagination button hover color 2020-08-11 20:32:17 +02:00
kolaente
219ee29ecf
Fix bottom white margin 2020-08-11 20:32:05 +02:00
konrad
3c07c6e8c0 Hide UI elements if the user does not have the right to use them (#211)
Hide Team UI elements if the user does not have the rights to use them

Fix replacing the right saved in the model when updating

Hide UI-Elements on task if the user does not have the rights to use them

Hide UI-Elements on gantt if the user does not have the rights to use them

Hide UI-Elements on kanban if the user does not have rights to use them

Fix canWrite condition

Hide list components if the user has no right to write to the list

Add max right to model

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/211
2020-08-11 18:18:59 +00:00
kolaente
5c9e8b8b0c
Prevent rendering html in tooltips 2020-08-06 12:28:41 +02:00
kolaente
903cdcc93a
Use team update route to update a team member's admin status 2020-08-05 17:32:18 +02:00
kolaente
b779500240
Fix update available breaking the navbar position 2020-08-05 17:04:40 +02:00
konrad
ec1b039daa More avatar providers (#200)
Reload the avatar after changing it

Hide cropper after upload

Fix aspect ratio

Add loading variable

Move avatar settings to seperate component

Add avatar crop

Fix avatar upload

Add avatar file upload

Add abstract methods for file upload

Add saving avatar status

Add avatar setting

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/200
2020-08-02 17:17:29 +00:00
konrad
617bcea04e Add deferring task's due dates directly from the overview (#199)
Make the defer popup responsible

Add buttons to defer by 1/3/7 days

Add updating due date

Add update method

Add component to defer the due date from the task overview

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/199
2020-08-01 13:17:10 +00:00
kolaente
e4f4df0655
Hide the user menu if clicked outside of it 2020-07-29 22:01:54 +02:00
kolaente
aa67a6971a
Trigger @change when pasting content into editor 2020-07-29 21:57:35 +02:00
kolaente
d9361bcd53
Redirect to current list view on click on list in menu again
Fixes #196
2020-07-29 13:02:46 +02:00
kolaente
b1b5398c56
Add more prefetching of components 2020-07-28 10:14:42 +02:00
konrad
be093e3779 Keyboard Shortcuts (#193)
Add the keyboard shortcuts button

Add task keyboard shortcuts

Add info

Move keyboard shortcuts modal toggle to menu

Add modal for shortcuts

Add shortkeys for some task actions

Add shortkey to toggle menu

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/193
2020-07-25 14:52:04 +00:00
kolaente
5521ba7c71
Fix comparing the currently loaded list with the current list to make sure to only load the list if needed 2020-07-25 15:10:36 +02:00
kolaente
708b057634
Add more debugging when loading lists or buckets 2020-07-25 15:07:22 +02:00
kolaente
dc4f85e808
Fix related tasks list spacing 2020-07-24 22:20:10 +02:00
kolaente
57d0609577
Put the editor container higher up for task description 2020-07-24 22:02:46 +02:00
kolaente
7ad24c6d45
Make sure to make the list id from the route an int to not fail the comparison 2020-07-24 18:47:33 +02:00
konrad
b4cdc0b3c4 Add creating labels when creating a task (#192)
Make sure to wait until all labels were added to modify the task title and remove all label slugs

Create the label if it does not exist

Add getting label and adding it to a newly created task

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/192
2020-07-24 16:39:38 +00:00
kolaente
3acadfc6db
Add debug logs for loading list + kanban buckets 2020-07-24 10:42:30 +02:00
kolaente
a09cefd9f1
Add checkbox to show only tasks which have a due date 2020-07-22 12:39:07 +02:00
kolaente
8d18ef1dbb
Add options to show tasks in range on the overview pages 2020-07-22 12:29:03 +02:00
kolaente
0be280aae3
Show legal links from api if configured 2020-07-18 21:39:30 +02:00
kolaente
e3d843cece
Make the task view full width for shares if the list has a background 2020-07-16 14:54:46 +02:00
kolaente
6662cbe264
Don't show a confusing message if no options are available 2020-07-15 21:13:59 +02:00
kolaente
cf203faf01
Add loading spinner when duplicating a list 2020-07-14 21:33:54 +02:00
konrad
3874355953 Add easymde & markdown preview for editing descriptions and comments (#183)
Make sure no text from previous mounts is left in the editor text field

Make preview not the default when rendering descrition settings

Add option to show editor by default while still having the option to show preview

Add option to show editor by default while still having the option to show preview

Use editor component for edit labels

Use editor component for edit team

Use editor component for edit namespace

Use editor component for edit list

Use editor component for edit task

Make sure we find all checkboxes

Fix checking wrong checkbox

Make finding and replacing checkboxes in a function actually work

Add upading text with checked checkboxes

Lazy load editor

Remove preview since we have a better one

Make easymde smaller by default

Add image upload from comments

Rename easymde component to editor

Only show preview button if editing is currently active

Make editor tabs look better when commenting

Make comments meta look better

Don't try to update if the value was initially set

Use editor to render and edit comments

Make preview optional

Make tabs look better

Don't switch to preview after editing

Centralize attachment state

Render markdown by default

Fix title being "null"

Fix loading attachment images

Add standalone preview

Fix callback url

Add onsuccess callback

Add file upload

Fix date parsing once and for all

Add more props for upload and such

Fix editor border color

Fix changing text after mounting

Add link to guide

Fix sizing of icons

Add timeout for changes

Add all easymde icons

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/183
2020-07-14 19:26:05 +00:00
kolaente
6a6aabae3b
Revert "Start adding easymde icons"
This reverts commit 0ccb971c
2020-07-10 10:19:21 +02:00
kolaente
0ccb971c5c
Start adding easymde icons 2020-07-09 19:14:35 +02:00
kolaente
c1ba0f7868
Disabele spellcheck on bucket titles 2020-07-09 19:01:00 +02:00
kolaente
9e189c5afd
Include fonts css in the main css bundle 2020-07-07 22:16:13 +02:00
konrad
a0b9acee41 Add Page Titles Everywhere (#177)
Add page titles everywhere

Add global mixin to set page title

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/177
2020-07-07 20:07:13 +00:00
kolaente
d23f07d5ac
Fix task layout in kanban 2020-07-07 22:02:44 +02:00
kolaente
792a80ab44
Fix task list if it has tasks with a long unbreakable title 2020-07-07 21:38:59 +02:00
kolaente
d43427623c
Mark tasks as done from the kanban board with ctrl+click 2020-07-05 21:29:14 +02:00
kolaente
5e170e14cc
Fix checking for existing migration from other services 2020-07-05 17:31:15 +02:00
kolaente
5455c28d56
Add notice to a list if it has no tasks 2020-07-04 19:12:15 +02:00
kolaente
6a4164513f
Automatically scroll to the bottom of a bucket after adding a new task to it 2020-07-04 19:08:01 +02:00
kolaente
e66c8bf6b3
Don't cache everything in the service worker, only explicitly assets 2020-07-04 18:58:29 +02:00
kolaente
3c6c5ff845
Make task list, teams and settings pages max width of $desktop and centered 2020-07-03 19:37:20 +02:00
kolaente
c68886e1c0
Prevent loading the list + kanban board again when closing the task popup 2020-07-01 19:16:01 +02:00
kolaente
cc904f07aa
Always break kanban card titles 2020-07-01 11:11:26 +02:00
kolaente
7800a25544
Fix notifications not using task title 2020-07-01 08:39:31 +02:00
konrad
a9e8a3969b Add list duplicate (#172)
Add list duplicate

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/172
2020-06-30 20:53:25 +00:00
kolaente
d49cf5635b
Show namespace name in list search field
Resolves #169
2020-06-27 23:12:33 +02:00
konrad
cd588caa02 Fix Datetime Handling (#168)
Fix task filters

Fix null dates

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/168
2020-06-27 17:04:30 +00:00
kolaente
d586e15c56
Add option to hide the menu on desktop 2020-06-25 23:56:41 +02:00
kolaente
efc047ced7
Fix edit task repeat after being undefined (again) 2020-06-25 21:11:30 +02:00
kolaente
81cc2c17e6
Fix task title not editable in edit task pane 2020-06-25 21:10:17 +02:00
kolaente
b86e1f3eca
Fix repeat after value being undefined error in task edit panel 2020-06-25 21:08:01 +02:00
kolaente
2a0632aa51
Don't disable the task add button if input is empty 2020-06-25 21:02:46 +02:00
kolaente
46179bf51e
Don't show the task id in list view 2020-06-25 21:01:05 +02:00
kolaente
7873896a4a
Fix not showing changes in kanban when switching between views 2020-06-23 22:51:10 +02:00
kolaente
58f6762f5c
Fix changing task dates 2020-06-23 22:41:52 +02:00
kolaente
5283f006f5
Fix register 2020-06-21 20:54:57 +02:00
kolaente
5cbc0f08fe
Fix related tasks overflowing if a related task has a long name 2020-06-21 20:32:54 +02:00
kolaente
736fe03b39
Add color picker to change task color to task detail view 2020-06-21 20:27:39 +02:00
kolaente
8d94bdb081
Color the whole card on kanban if the task has a color 2020-06-21 18:24:01 +02:00
kolaente
68681ef007
Fix related tasks search 2020-06-21 18:09:15 +02:00
kolaente
ce277b64ee
Only load tasks when the user is authenticated 2020-06-21 17:42:08 +02:00
kolaente
8a7ecfa3bb
Check if we have a service worker available before trying to communicate with it 2020-06-21 13:19:54 +02:00
kolaente
82ac226fc1
Rename routes to follow the same pattern 2020-06-17 22:24:37 +02:00
kolaente
fc4b9d439b
Restructure components 2020-06-17 22:15:59 +02:00
kolaente
87b7f6de15
Fix not sending the user to the view they came from when viewing task details 2020-06-17 22:02:10 +02:00
kolaente
3248aca041
Fix search on mobile 2020-06-17 21:44:44 +02:00
kolaente
35d52c3404
Remove title length restrictions 2020-06-17 19:10:48 +02:00
kolaente
b32976043f
Fix login form on mobile 2020-06-17 09:12:41 +02:00
kolaente
b354ab51e7
Fix kanban board height 2020-06-17 09:02:27 +02:00
konrad
cf136132e3 Namespaces & Lists Page (#160)
Center list backgrounds

Better alignment of new namespace and filter button

Make creating new namespace button clear

Hide archived lists unless the user wants it

Make all cards responsive

Cleanup

Show it if a namespace is archived

Show if a list is archived

Fix not updating the list in store after updating the background

Make task cards smaller

Display list backgrounds in cards and look good while doing it

lighter shadow

Change background to stripes

Set list backgrounds as card backgrounds

Add background color check to color appropriatly

Move color check to mixin

Use background color from tasks

Change list card color

Make create new namespace button stick to the right

Shadow all the things

Don't keep list backgrounds set when navigating back

Make links to list clickable

Add seperate page for namespaces

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/160
2020-06-16 22:20:37 +00:00
konrad
98fb043e15 Hide hints on start page if a user has tasks (#159)
Format

Add migration to Settings

Merge branch 'master' into feature/hide-hints

Hide hints on start page if a user has tasks

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/159
2020-06-15 16:47:17 +00:00
konrad
e266c69acd Add option to remove color from label, task, namespace or list (#157)
Add reset to color picker

Move all usages of verte to seperate component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/157
2020-06-15 09:46:52 +00:00
kolaente
f10eaf9b28
Don't try to make a request to get the totp status if its disabled 2020-06-15 10:44:47 +02:00
kolaente
0720f644d0
#PrideMonth 2020-06-14 22:43:08 +02:00
kolaente
366c469843
Add repeating tasks from current date setting 2020-06-14 14:43:01 +02:00
kolaente
b2a9c13897
Change logo primary color 2020-06-12 20:47:31 +02:00
kolaente
b754399489
Redirect the user to login page if the token expired when the tab gets focus again 2020-06-12 20:11:23 +02:00
kolaente
dc29604f94
Only renew user token on tab focus events 2020-06-12 20:02:32 +02:00
kolaente
cd98b41bec
Fix list title on mobile 2020-06-12 19:32:37 +02:00
kolaente
7065b52053
Fix user dropdown on mobile 2020-06-12 19:07:42 +02:00
kolaente
914e8f2084
Fix hamburger icon on mobile padding 2020-06-12 19:00:00 +02:00
kolaente
e2fb50c39b
Show task index instead of id on kanban 2020-06-11 23:35:50 +02:00
konrad
6a00c31c3d List Background upload (#151)
Formatting

Show loading if a file is uploading

Only show image files in upload

Hide background settings if none are available

Fix showing uploaded background after uploading a new one

Add background upload

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/151
2020-06-11 17:27:21 +00:00
konrad
ef01e8807e Task FIlters (#149)
Set done filter based on passed params

Make due date filter actually work

Move filters into seperate config

Merge branch 'master' into feature/task-filters

Change done task filter text

Make sure done tasks are always shown in table view

Table view filter improvements

Add done filter to table view

Fix indent

Add filter icon

Move search and filter container

Add filter for done tasks

Hide done tasks by default

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/149
2020-06-11 15:34:13 +00:00
kolaente
3c45f34f78
Add border to colorpicker (fixes #146) 2020-06-04 13:59:32 +02:00
kolaente
23d73adeae
Add mention of unsplash in the background settings 2020-06-03 21:01:47 +02:00
kolaente
36a02a3f62
Fix kanban tasks with backgrounds 2020-06-03 10:50:58 +02:00
kolaente
66b73f669b
Don't show a success message if it is obvious the action has been successful 2020-06-01 00:12:13 +02:00
kolaente
25579f5da2
Don't show a success message if it is obvious the action has been successful 2020-06-01 00:09:21 +02:00
kolaente
5a7c07ca4d
Don't try to fetch the initial unsplash results when unsplash backgrounds are disabled 2020-05-31 23:39:08 +02:00
kolaente
0b154936e7
Use the right Id when loading unsplash thumbnails 2020-05-31 22:08:18 +02:00
kolaente
6b6b0af819
Fix error when adding a background to a list which did not have one before 2020-05-31 21:38:07 +02:00
kolaente
3441072c2c
Show list background when viewing a link share 2020-05-31 21:31:42 +02:00
konrad
4b3f92ae34 Custom backgrounds for lists (#144)
Make backgrounds list responsive

Show initial collection of backgrounds

Remove test data

Fix "backgroundInformation is null" when navigating

Fix kanban height

Remove debug log

Move list title to top header

Add styling for title in top header

Set the current list (and background) when loading settings

Only load the background if it changed

Make task detail view look good again

Fix bottom spacing

Make list and table view look good again

Make pages with background at least 100vh

Fix kanban height

Make extra buttons look good again

Move list title and view-switcher in one row

Add styling for backgrounds

Set background globally

Add getting list background and putting it in vuex

Add setting list background

Move list background setting to seperate list

Add search timeout to not search on every keypress

Add getting thumbnails through api

Add basic search for unsplash backgrounds

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/144
2020-05-31 19:17:10 +00:00
kolaente
cc51ea8c61
Fix typo when no upcoming tasks are available 2020-05-29 23:12:38 +02:00
kolaente
c3ba068dd7
Hide totp settings if it is disabled server side 2020-05-29 18:49:50 +02:00
kolaente
bc603605a7
Fix error messages when trying to update tasks in kanban if kanban hasn't been opened yet 2020-05-29 16:34:29 +02:00
kolaente
32984b88a3
Fix saving list view if not present in browser 2020-05-29 16:33:57 +02:00
kolaente
405dd1c1a6
Fix getting migration status 2020-05-24 15:49:58 +02:00
kolaente
991de38980
Add todoist migrator to the frontend 2020-05-24 15:31:27 +02:00
kolaente
0953400321
Enable resetting search input 2020-05-22 17:32:18 +02:00
kolaente
8592652e5b
Save list view per list and not globally 2020-05-22 17:28:26 +02:00
kolaente
68e6b23610
Remove old tasks when loading list view 2020-05-21 11:36:42 +02:00
kolaente
a4bc95902a
Fix trying to load kanban buckets if the kanban board is not in focus 2020-05-21 11:35:09 +02:00
kolaente
0d94386e99
Fix gantt chart not updating when navigating between lists 2020-05-21 11:19:44 +02:00
kolaente
12727900de
Remember list view when navigating between lists 2020-05-21 11:13:19 +02:00
kolaente
1da7ffb23c
Add changing list identifier 2020-05-16 13:14:57 +02:00
konrad
d7b4b2189a Ensure consistent naming of title fields (#134)
Merge branch 'master' into fix/title-fields

Change task text field to title

Change namespace name field to title

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/134
2020-05-16 10:31:16 +00:00
kolaente
c4b92a8f52
Fix redirect when not logged in 2020-05-16 12:02:30 +02:00
kolaente
d0f6a4ce99
Better responsive layout for unauthenticated pages 2020-05-12 15:18:37 +02:00
kolaente
b876a4d4dc
Fix redirecting for unauthenticated pages to login 2020-05-12 15:17:47 +02:00
kolaente
0dc4e6b95d
Fix trying to load the current tasks even when not logged in (Fixes #133) 2020-05-12 15:08:17 +02:00
kolaente
cc46809639
Fix sharing rights not displayed correctly 2020-05-11 20:56:35 +02:00
kolaente
687b8dc824
Remove task in kanban state when removing in task detail view 2020-05-11 17:25:04 +02:00
kolaente
995dec33ea
Add list title in overview page 2020-05-11 16:52:58 +02:00
kolaente
b85f66140b
Fix %done in table view 2020-05-11 11:43:25 +02:00
kolaente
058570c9a7
Make sure the api url does not have a / at the end 2020-05-10 18:26:33 +02:00
kolaente
f524a3efc1
Less explicit matching of api routes for service worker 2020-05-10 18:10:29 +02:00
kolaente
b1de52fc0b
Fix redirecting to list view from task detail 2020-05-09 23:38:32 +02:00
kolaente
2ca8eef4f7
Fix undefined getter for related tasks 2020-05-09 23:32:04 +02:00
kolaente
c2135338d3
Show parent list and namespace for tasks in detail views 2020-05-09 23:28:54 +02:00
kolaente
495350fa83
Fix not redirecting to login page after logging out 2020-05-09 22:31:33 +02:00
kolaente
f878063015
Only set fullpage state to false if the page is actually fullpage 2020-05-09 22:24:42 +02:00
kolaente
bd351550ee
Fix loading state for kanban board 2020-05-09 22:08:18 +02:00
kolaente
ce1bfba5fd
Don't show the llama background when on mobile 2020-05-09 21:46:28 +02:00
kolaente
8789135eed
Add logging frontend version to console on startup 2020-05-09 21:39:46 +02:00
kolaente
48df1a44e8
Show the list of a related task if it belongs to a different list 2020-05-09 19:33:37 +02:00
kolaente
2d59b0a1b0
Fix date table cell getting wrong data 2020-05-09 19:23:46 +02:00
kolaente
a822a07c89
Open popup detail view when opening from task overview 2020-05-09 19:21:17 +02:00
kolaente
e74c72f486
Don't open task detail in popup for list and table view 2020-05-09 19:19:06 +02:00
kolaente
85a1f9f2a1
Fix listId not defined in list view switcher 2020-05-09 19:15:20 +02:00
konrad
4e42810522 Update tasks in kanban board after editing them in task detail view (#130)
Fix due date disappearing after moving it

Fix removing labels not being updated in store

Fix adding labels not being updated in store

Fix removing assignees not being updated in store

Fix adding assignees not being updated in store

Fix due date not resetting

Fix task attachments not updating in store after being modified in popup view

Fix due date not updating in store after being modified in popup view

Fix using filters for overview views

Fix not re-loading tasks when switching between overviews

Only show undone tasks on task overview page

Update task in bucket when updating in task detail view

Put all bucket related stuff in store

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/130
2020-05-09 17:00:54 +00:00
kolaente
2270272a8f
Fix using filters for overview views 2020-05-09 15:46:05 +02:00
kolaente
67de7e7c8f
Fix not re-loading tasks when switching between overviews 2020-05-09 14:54:42 +02:00
kolaente
be10ba0f62
Only show undone tasks on task overview page 2020-05-09 14:51:37 +02:00
kolaente
8ae03fa6e9
Highlight the current list when something list related is called 2020-05-08 21:07:33 +02:00
konrad
5724b98358 Vuex (#126)
Merge branch 'master' into feature/vuex

Cleanup

Move namespaces handling to store

Move fullpage setting to store

Move online/offline handling to store

Remove debug log

Fix loading namepaces

Rename errorMsg

Handle registering through the store

Use store to determine wether or not a user is authenticated on login page

Use store in edit team

Use store to get the current user's avatar

Use store to figure out if the current user belongs to a team

Use store to figure out if the current user is list admin

Use store to get user info when listing labels

Use store to get username on home

Use store to figure out if the user is namespace admin

Use the store for configuration

Use the store to check if a user is authenticated everywhere

Only renew token if the user is logged in

Fix renewing auth from jwt token

Move logout to store

Move renew token to store

Move log in to store

Only show enabled migrators

Only show registration button if registration is enabled

Put all config information from the backend in the store

Remove old config handler

Move config state to seperate module

Add vuex and get the motd through it

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/126
2020-05-08 18:43:51 +00:00
kolaente
b1b5fd3cf8
Let labels take all available space on tasks 2020-05-06 21:43:31 +02:00
kolaente
ff70696111
Fix task modal with when attachments are present 2020-05-06 21:41:42 +02:00
kolaente
815844fe2a
Fix opening link share list view 2020-05-06 21:23:47 +02:00
kolaente
38c7e4b3c2
Fix avatar url 2020-05-05 23:30:15 +02:00
kolaente
d46faec23d
Make api url configurable in index.html 2020-05-05 22:44:58 +02:00
Lucas Grzegorczyk
9aaaa8394f
Make "Move task to different list" wording shorter 2020-05-04 21:33:01 +02:00
Lucas Grzegorczyk
3edcc790de
Remove llama-upside-down.svg 2020-05-04 20:45:15 +02:00
kolaente
183f1411f9
Fix not all labels being shown 2020-05-04 10:14:17 +02:00
kolaente
010da8cf07
Fix listId not changing when switching between lists 2020-05-01 11:50:12 +02:00
kolaente
5009308c52
Fix parsing nested array with non-objects when updating 2020-04-30 23:45:22 +02:00
kolaente
b043369245
Fix navigating back to list view after deleting a task 2020-04-30 12:49:42 +02:00
kolaente
120d5a8c19
Fix user search bar not hiding in edit team view 2020-04-28 12:09:09 +02:00
kolaente
fb64aeb2d4
Fix pagination for tasks 2020-04-27 21:05:53 +02:00
kolaente
229999546c
Fix bucket spacing on kanban board 2020-04-27 13:06:03 +02:00
kolaente
dca90477d9
Fix task title overflowing in detail view 2020-04-27 13:03:47 +02:00
konrad
623879381b Fix team managment (#121)
Fix member/admin button overflowing

Fix changing team member admin status

Fix adding team members

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/121
2020-04-27 10:59:49 +00:00
kolaente
a5c0b035e7
Fix creating a new task on a list when in list view 2020-04-27 12:08:38 +02:00
kolaente
d6642550bd
Add input length validation for team names 2020-04-26 18:32:34 +02:00
kolaente
f4847be320
Remove debug log 2020-04-26 18:22:18 +02:00
kolaente
c59501958f
Fix attachment icon 2020-04-26 16:32:30 +02:00
kolaente
86aebc48a0
Fix uploading attachments 2020-04-26 16:28:02 +02:00
kolaente
747a912475
Make the task font size smaller for task cards 2020-04-26 15:55:14 +02:00
kolaente
31b025cc55
Fix related tasks input size 2020-04-26 15:44:23 +02:00
kolaente
2a7bbf3c83
Fix related tasks list being too large 2020-04-26 15:37:49 +02:00
kolaente
6c24cc66b2
Fix parsing nested models 2020-04-26 15:04:58 +02:00
konrad
c7845bb9c1 Kanban (#118)
Add error message when trying to create an invalid new task in a bucket

Prevent creation of new buckets if the bucket title is empty

Disable deleting a bucket if it's the last one

Disable dragging tasks when they are being updated

Fix transition when opening tasks

Send the user to list view by default

Show loading spinner when updating multiple tasks

Add loading spinner when moving tasks

Add loading animation when bucket is loading / updating etc

Add bucket title edit

Fix creating new buckets

Add loading animation

Add removing buckets

Fix creating a new bucket after tasks were moved

Fix warning about labels on tasks

Fix labels on tasks not updating after retrieval from api

Fix property width

Add closing and mobile design

Make the task detail popup look good

Move list views

Move task detail view in a popup

Add link to tasks

Add saving the new task position after it was moved

Fix creating new bucket

Fix creating a new task

Cleanup

Disable user selection for task cards

Fix drag placeholder

Add dragging style to task

Add placeholder + change animation duration

More cleanup

Cleanup / docs

Working of dragging and dropping tasks

Adjust markup and styling for new library

Change kanban library to something that works

Add basic calculation of new positions

Don't try to create empty tasks

Add indicator if a task is done

Add moving tasks between buckets

Make empty buckets a little smaller

Add gimmick for button description

Fix color

Fix scrolling bucket layout

Add creating a new bucket

Add hiding the task input field

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/118
2020-04-25 23:11:34 +00:00
kolaente
d4b82a4cc9
Add moving tasks between lists 2020-04-18 14:39:56 +02:00
konrad
99c10d49be TOTP (#109)
Fix not telling the user about invalid totp passcodes when logging in

Add disabling totp authentication

Add totp passcode when logging in

Add totp settings

Add general post method function

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/109
2020-04-17 23:46:07 +00:00
konrad
a75670e4f0 Add user settings (#108)
Add email update

Add settings link to menu

Add password update route

Add password update page

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/108
2020-04-17 20:46:50 +00:00
kolaente
e7c1c98c6a
Fix id params not being named correctly 2020-04-17 12:19:53 +02:00
kolaente
588b87fb96
Fix maintaining the current page for the list view when navigating back from another page 2020-04-14 23:37:08 +02:00
kolaente
cc02fc82fc
Fix closing of notifications by clicking on it not working 2020-04-14 23:09:18 +02:00
kolaente
bb84d03776
Remove debug logging 2020-04-14 22:55:50 +02:00
kolaente
7587821927
Move conversion of snake_case to camelCase to model to make recursive models still work 2020-04-14 22:46:27 +02:00
kolaente
a77b4253cb
Fix task relation kind dropdown 2020-04-14 22:25:46 +02:00
kolaente
e2137d08a5
Pluralize related task kinds if there is more than one 2020-04-14 22:23:42 +02:00
kolaente
cd6dee88b9
Add scrolling for task table view 2020-04-14 22:15:35 +02:00
kolaente
575b2f28ef
Fix task sort parameters 2020-04-14 21:54:27 +02:00
konrad
4a413e7f3c Make all api fields snake_case (#105)
Change all snake/camelCase mix and match to camelCase everywhere

Fix conversion to not interfer with service interceptors

Add dynamic conversion between camelCase and snake_case to services

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/105
2020-04-12 21:54:46 +00:00
kolaente
066cd63771
Schedule token renew every minute 2020-04-04 18:29:36 +02:00
konrad
8480bf334f Fix gantt chart (#79)
Fix moving tasks in Gantt

Start fixing gantt

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/79
2020-04-04 16:26:35 +00:00
kolaente
27e2839f4c
Work around browsers preventing Vue bindings from working with autofill (Fixes #78) 2020-04-02 21:53:18 +02:00