Commit Graph

263 Commits

Author SHA1 Message Date
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 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
kolaente 91c49352b6
Fix editor spacing 2020-10-18 21:11:54 +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: vikunja/frontend#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 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
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: vikunja/frontend#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: vikunja/frontend#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
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: vikunja/frontend#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
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: vikunja/frontend#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: vikunja/frontend#211
2020-08-11 18:18:59 +00: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: vikunja/frontend#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: vikunja/frontend#199
2020-08-01 13:17:10 +00:00
kolaente aa67a6971a
Trigger @change when pasting content into editor 2020-07-29 21:57:35 +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: vikunja/frontend#193
2020-07-25 14:52:04 +00:00
kolaente 0be280aae3
Show legal links from api if configured 2020-07-18 21:39:30 +02:00
kolaente 6662cbe264
Don't show a confusing message if no options are available 2020-07-15 21:13:59 +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: vikunja/frontend#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 792a80ab44
Fix task list if it has tasks with a long unbreakable title 2020-07-07 21:38:59 +02:00
kolaente 5e170e14cc
Fix checking for existing migration from other services 2020-07-05 17:31:15 +02:00
konrad a9e8a3969b Add list duplicate (#172)
Add list duplicate

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#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: vikunja/frontend#168
2020-06-27 17:04:30 +00: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 736fe03b39
Add color picker to change task color to task detail view 2020-06-21 20:27:39 +02:00
kolaente 68681ef007
Fix related tasks search 2020-06-21 18:09:15 +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 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
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: vikunja/frontend#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: vikunja/frontend#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: vikunja/frontend#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 366c469843
Add repeating tasks from current date setting 2020-06-14 14:43:01 +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: vikunja/frontend#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: vikunja/frontend#149
2020-06-11 15:34:13 +00:00
kolaente 23d73adeae
Add mention of unsplash in the background settings 2020-06-03 21:01:47 +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