Commit graph

221 commits

Author SHA1 Message Date
konrad
85e55d1300 Fix tasks moving infinitely in gantt chart (#493)
Fixes https://kolaente.dev/vikunja/frontend/issues/489

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/493
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-04-25 16:01:17 +00:00
kolaente
4d998d891e
Fix pasting text into task comments or task descriptions 2021-04-25 17:35:00 +02:00
kolaente
603345b326
Fix setting a default color when none was saved 2021-04-18 19:16:53 +02:00
kolaente
7ace71ad2e
Reduce quick task edit fields 2021-04-18 19:16:40 +02:00
kolaente
15985889da
Use a lighter grey for comment created dates 2021-04-18 18:50:29 +02:00
kolaente
747a9fe505
Focus task detail elements when they show up 2021-04-18 16:50:12 +02:00
kolaente
30067935d1
Fix undo when marking a task as done 2021-04-15 17:17:45 +02:00
kolaente
4ed5d1e8fe
Add repeat mode setting for tasks
See https://kolaente.dev/vikunja/api/pulls/834
2021-04-14 10:24:07 +02:00
kolaente
35ed61839d
Fix checking for undefined behaviour when viewing a task 2021-03-23 22:26:54 +01:00
konrad
c076298cf0 Add notifications overview (#414)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/414
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-02-21 15:13:58 +00:00
kolaente
2bf5ffa1a1
Fix task pagination 2021-02-20 17:10:56 +01:00
kolaente
d441751c5b
Fix reloading the task list after changing a filter 2021-02-20 16:43:39 +01:00
kolaente
074b7e53f5
Don't show the list color in the list view 2021-02-20 15:54:12 +01:00
kolaente
08dcc77228
Fix deleting task relations
See vikunja/api/commit/eb3a94567817b78a3325a937cedce237837e3785
2021-02-18 23:36:06 +01:00
kolaente
7f5140bbb4
Play a sound when marking a task as done 2021-01-30 21:45:54 +01:00
konrad
e0be77d88f Move list edit/namespace to separate pages and in a menu (#397)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/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
kolaente
4df33d1152
Fix attachment not being added if the task was not a kanban task 2021-01-28 21:24:22 +01:00
kolaente
23552b2b1b
Fix attachments being added mutliple times 2021-01-28 19:29:50 +01:00
konrad
8828426c91 Move all content to cards (#387)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/387
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-24 13:00:21 +00:00
kolaente
850e4ecc15
Show list if the search result for a task belongs to a different list 2021-01-23 19:05:26 +01:00
kolaente
0d64506d73
Make sure all popups & dropdowns are animated 2021-01-23 18:54:22 +01:00
konrad
d1a2eefca6 Improve consistency of the layout (#386)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/386
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-23 17:18:09 +00:00
kolaente
9f35ac372b
Show call to action for task description if there is none 2021-01-20 22:33:11 +01:00
kolaente
4dac10454e
Remove the shadow at the "+" button for related tasks 2021-01-20 22:26:33 +01:00
kolaente
0b23e91f8d
Make sure attachements are only added once to the list after uploading
+ Make sure the attachment list shows up every time after adding an attachment
2021-01-18 21:58:34 +01:00
konrad
2aceca54ca Move buttons to separate component (#380)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/380
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-17 17:57:57 +00:00
kolaente
4f872c92d8
Rename .noshadow to .has-no-shadow 2021-01-17 13:21:58 +01:00
kolaente
e960202607
Use buttons more consistently 2021-01-17 13:04:49 +01:00
konrad
3313801174 Fix closing popups when clicking outside of them (#378)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/378
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-17 10:36:57 +00:00
kolaente
6ef4a36bbc
Fix label spacing 2021-01-17 10:55:04 +01:00
kolaente
b644c00f59
Add view image modal for image attachments 2021-01-16 22:15:48 +01:00
kolaente
e473a6b70b
Make the "upload attachment" button less obvious 2021-01-16 21:59:09 +01:00
kolaente
f4b47ec374
Fix task detail view spacings 2021-01-16 21:55:43 +01:00
kolaente
cf951d2846
Hide new related tasks form when related tasks exist 2021-01-16 21:40:07 +01:00
kolaente
01a1e29db0
Add repeat after one-click intervals 2021-01-16 21:09:11 +01:00
kolaente
b778c76cbd
Fix task title heading ux 2021-01-15 23:47:14 +01:00
kolaente
873b36e6cd
Rework attachments list to look great everywhere 2021-01-15 23:33:43 +01:00
kolaente
2b852de06f
Make full task in task list clickable
Fixes #362
2021-01-15 21:04:48 +01:00
kolaente
526eee361f
Show label colors when searching for labels 2021-01-14 22:06:22 +01:00
kolaente
d89a855ca7
Fix priority label width in task list 2021-01-10 21:46:45 +01:00
kolaente
e87642026b
Fix task icons on kanban if there were multiple different ones 2021-01-10 18:27:18 +01:00
kolaente
aa427c7a7d
Only show attachments table header when there are attachments 2021-01-08 23:05:07 +01:00
konrad
fe6d975134 Replace vue-multiselect with a custom component (#366)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/366
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-06 22:36:31 +00:00
azymondrian
158e697988 Show task progress on task (#354)
Shows the task completion percent as progress bar in task lists and on kanban cards.

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/354
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: azymondrian <azymondrian@protonmail.com>
Co-committed-by: azymondrian <azymondrian@protonmail.com>
2020-12-31 15:16:07 +00:00
profi248
8fe362c267 Show an icon if a task has non-empty description (Kanban view and List view) (#360)
Add an icon to indicate that task has a description (similar to Trello). Would also be nice to add a counter for comments, but it's not possible to reasonably currently implement unless the API also gets changed.

Also add attachment icon to List view, and change the icon in Kanban view to be consistent with the rest of the icon set.

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/360
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: profi248 <kostal.david8@gmail.com>
Co-committed-by: profi248 <kostal.david8@gmail.com>
2020-12-30 21:20:33 +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
f22942e883
Fix repeat after layout 2020-11-28 16:02:38 +01:00
kolaente
d0e304e43b
Add disabled state for task titles 2020-11-28 15:30:34 +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
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
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
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
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
da1d34789d
Get rid of the null reminder to fix jumping inputs when updating reminders 2020-10-24 18:12:14 +02:00
kolaente
5e046fbd06
Don't reset task relation kind after adding a task relation 2020-10-24 14:38:25 +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
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
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
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
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
b1b5398c56
Add more prefetching of components 2020-07-28 10:14:42 +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
d49cf5635b
Show namespace name in list search field
Resolves #169
2020-06-27 23:12:33 +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
68681ef007
Fix related tasks search 2020-06-21 18:09:15 +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
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
366c469843
Add repeating tasks from current date setting 2020-06-14 14:43:01 +02: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
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
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
0953400321
Enable resetting search input 2020-05-22 17:32:18 +02:00
kolaente
68e6b23610
Remove old tasks when loading list view 2020-05-21 11:36:42 +02:00
kolaente
0d94386e99
Fix gantt chart not updating when navigating between lists 2020-05-21 11:19:44 +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
0dc4e6b95d
Fix trying to load the current tasks even when not logged in (Fixes #133) 2020-05-12 15:08:17 +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
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
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
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