Commit graph

162 commits

Author SHA1 Message Date
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
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
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
Lucas Grzegorczyk
9aaaa8394f
Make "Move task to different list" wording shorter 2020-05-04 21:33:01 +02:00
kolaente
b043369245
Fix navigating back to list view after deleting a task 2020-04-30 12:49:42 +02:00
kolaente
fb64aeb2d4
Fix pagination for tasks 2020-04-27 21:05:53 +02:00
kolaente
31b025cc55
Fix related tasks input size 2020-04-26 15:44:23 +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
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
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
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
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
konrad
724275e653 Table View for tasks (#76)
Save sort order to local storage

Save selected columns to localStorage

Loading spinner

More sorting

Add sorting

Styling and hiding of column filter

Add checkbox to show/hide columns

Use fancycheckbox everywhere

Fix is done badge

Change sort order in table view

Add is done column to table

Better text handling

Refactor is done into seperate component

Add pagination to table view

Add assignees to table view

Fix redirecting to table view

Add date tooltip to date field

Add date tooltip to date field

labels for table view

Styling

Add basic table view

Extend priority label

Split list view in mixins

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/76
2020-04-01 20:13:57 +00:00
kolaente
701a46ecd4
Fix updating a task with repeat after interval from list view (Fixes #75) 2020-03-26 20:01:05 +01:00
kolaente
51de1fe880
Enable marking tasks as done from the task overview 2020-03-23 23:24:14 +01:00
kolaente
3b18b83239
Add task search term to query param to enable navigation 2020-03-23 18:39:55 +01:00
kolaente
28c2f3573d
Fix comments not being loaded again when switching between tasks 2020-03-23 18:29:25 +01:00
konrad
7d2bd192ab Add support for archiving lists and namespaces (#73)
Use fancy checkbox for archiving namespace

Show is archived badge for namespaces

Fix is archived badge in navigation bar

Add check to filter out archived lists or namespaces

Show if a list is archived in menu

Hide edit task if the list is archived

Hide marking tasks as done if the list is archived

Show is archived message on list

Add archiving a list

Add archiving a namespace

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/73
2020-03-22 20:40:13 +00:00
kolaente
4408115f41
Add creating new related tasks 2020-03-04 21:29:40 +01:00
kolaente
2b5888805f
Add user to attachments list 2020-03-04 20:35:00 +01:00
konrad
2104d1ea4b Input length validation for new tasks, lists and namespaces (#70)
Fix input validation for new tasks

Better layout for input validation for new lists

Add input length validation for new namepaces

Add input length validation for new lists

Add input length validation for new tasks

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/70
2020-03-04 19:27:27 +00:00
kolaente
fe6c859150
Revert "Use deep imports for importing lodash to make tree shaking easier"
This reverts commit 3c3767a9
2020-03-03 21:02:13 +01:00
kolaente
3c3767a91e
Use deep imports for importing lodash to make tree shaking easier 2020-03-02 22:37:36 +01:00
kolaente
aeba5651af
Ensure labels of a task get updated when updating them 2020-03-02 22:25:38 +01:00
kolaente
5972476735
Add undo button to notification when marking a task as done 2020-03-02 21:19:26 +01:00
kolaente
94714b2964
Fix avatar sizes 2020-03-01 21:58:58 +01:00
kolaente
ff4299beb1
Fix reminders not being shown on task detail view on mobile 2020-03-01 17:20:25 +01:00
kolaente
6d4ac2f2b6
Add saving task title with ctrl+enter 2020-03-01 16:57:42 +01:00
kolaente
22cf54f1f9
Add saving the description with ctrl+enter 2020-03-01 16:50:05 +01:00
konrad
57f78ee0d4 Task Comments (#66)
Better edit/remove buttons

Spacing

More loading

Add loading

Better dates formatting

Add editing comments

Move closing delete modal to finally

Add delete comments

Add keycode modifier

Comment styling

Comment form

Add basic task comments functionality

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/66
2020-02-25 20:11:36 +00:00
kolaente
6258c59c18
Fix initial dates on task edit sidebar 2020-02-09 17:33:04 +01:00
kolaente
301c23fa9a
Add auto save for task edit sidebar 2020-02-09 17:30:42 +01:00
kolaente
63d21b54c4
Rearrange button order on task detail view 2020-02-09 14:54:09 +01:00
kolaente
2223072881
Set the end date to the same as the due date if a start date was set but no end date 2020-02-09 14:52:45 +01:00
kolaente
64cbfc113a
Fix "Add a reminder" being shown 2020-02-09 14:48:21 +01:00
kolaente
b41a4380d8
Add a button to the task detail page to mark a task as done 2020-02-09 14:46:01 +01:00
kolaente
05da96e545
Use the same method everywhere to calculate the avatar url 2020-02-09 13:28:33 +01:00
kolaente
d42e88b26d
But the add reminders button on the task detail page higher up 2020-02-09 12:50:57 +01:00
kolaente
37d6ceb963
Fix date handling on task detail page 2020-02-08 18:37:23 +01:00
konrad
96fddd9bbd Fix task title on mobile (#54)
Use a contenteditable for task title to make it look good on mobile

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/54
2020-01-31 16:09:29 +00:00
kolaente
5f0b5a0945
Sort tasks on start page by due date desc and id desc 2020-01-31 11:09:45 +01:00
konrad
309f75b19d Task Search (#52)
Add hiding the search

Add actually searching for tasks

Fix jumping search button on page load

Add search button

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/52
2020-01-31 10:05:53 +00:00
kolaente
c8130bef61
Directly link to the task for tasks on the start page 2020-01-30 22:50:28 +01:00
konrad
1170e030f6 Use message mixin for handling success and error messages (#51)
Use message mixin everywhere

Add mixin for success and error messages

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/51
2020-01-30 21:47:08 +00:00
konrad
a0c4732f81 Add moment.js for date related things (#50)
Fix saving

Use mixin everywhere

Format attachment dates

Add format date mixing

Use moment js on task list page

Use moment js on home page tasks

Add moment js

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/50
2020-01-30 20:49:00 +00:00
konrad
22d2d1a777 Add removing of tasks (#48)
Add removing of tasks

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/48
2020-01-22 20:18:39 +00:00
kolaente
ed0ae210ac
Fix height of task add button 2020-01-22 21:00:41 +01:00
konrad
9c66a7570a Reorganize Styles (#45) 2019-12-19 22:09:23 +00:00
kolaente
6b7fe8ee47
Fix priority label styling 2019-12-18 22:38:26 +01:00
konrad
81e9eef154 Show parent tasks in task overview list (#41) 2019-12-18 18:55:28 +00:00
kolaente
d041384999
Fix loading tasks for the first page after navigating to a new list 2019-12-17 23:03:55 +01:00
konrad
11d9aaae12 Update dependencies (#40) 2019-12-15 20:42:40 +00:00
konrad
52017aca83 Task sorting (#39) 2019-12-07 16:35:42 +00:00
kolaente
a9291a5f2f
Fix not using router links for previous and back buttons 2019-12-03 19:14:05 +01:00
konrad
2302a46d9b Task Pagination (#38) 2019-12-03 18:09:12 +00:00