Commit Graph

57 Commits

Author SHA1 Message Date
kolaente b12869e509
Fix labels randomly changing color after saving 2021-01-17 11:51:07 +01:00
konrad 4a02a1b496 Add setting for sending reminder emails (#343)
Fix the "Import your data button" in the settings

Add setting for sending reminder emails

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#343
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-19 00:12:30 +00:00
kolaente 0b620a07ef
Fix parsing task done at date 2020-12-08 15:43:51 +01:00
kolaente 3f2056bbf9
Show done at in task detail view 2020-11-28 15:52:15 +01:00
konrad 3343b1c240 Add showing and modifying user name (#306)
Make sure to use the user name field everywhere

Add showing and modifying user name

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#306
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-21 21:25:00 +00:00
konrad 2af53b16b6 Performance improvements (#288)
Only include needed parts from lodash

Don't prefetch

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#288
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-02 20:47:31 +00:00
konrad 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 a8a7f70a3c
Cleanup code & make sure it has a common code style 2020-09-05 22:35:52 +02: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: vikunja/frontend#234
2020-09-04 20:01:02 +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
kolaente 903cdcc93a
Use team update route to update a team member's admin status 2020-08-05 17:32:18 +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: vikunja/frontend#200
2020-08-02 17:17:29 +00: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
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 58f6762f5c
Fix changing task dates 2020-06-23 22:41:52 +02:00
kolaente 736fe03b39
Add color picker to change task color to task detail view 2020-06-21 20:27:39 +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
kolaente 0b154936e7
Use the right Id when loading unsplash thumbnails 2020-05-31 22:08:18 +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: vikunja/frontend#144
2020-05-31 19:17:10 +00:00
kolaente 991de38980
Add todoist migrator to the frontend 2020-05-24 15:31:27 +02:00
kolaente d46faec23d
Make api url configurable in index.html 2020-05-05 22:44:58 +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: vikunja/frontend#121
2020-04-27 10:59:49 +00:00
kolaente 86aebc48a0
Fix uploading attachments 2020-04-26 16:28:02 +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: vikunja/frontend#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: vikunja/frontend#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: vikunja/frontend#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 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
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: vikunja/frontend#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: vikunja/frontend#79
2020-04-04 16:26:35 +00:00
konrad cafb960c8d Colors for lists and namespaces (#74)
Show colors for namespaces bigger

Show colors for lists and namespaces

Add changing color for lists

Add changing color for namespace

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#74
2020-03-25 21:27:29 +00:00
kolaente a706089f7b
Fix changing task dates (due/start/end/reminders)
Fixes #71
2020-03-08 20:07:21 +01: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 f690a6f457
Swap moment.js with date-fns 2020-03-02 21:55:22 +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: vikunja/frontend#66
2020-02-25 20:11:36 +00:00
kolaente 0591531949
Fix adding a task to an empty list 2020-02-14 17:45:06 +01:00
kolaente 161f853361
Make sure to use date objects everywhere where dealing with dates 2020-02-08 14:16:06 +01: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: vikunja/frontend#50
2020-01-30 20:49:00 +00:00
konrad d61a7511da Migration Improvements (#47)
Make "migration" "import everywhere"

Add checking for migration status before trying to migrate

Add get status from migrations

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#47
2020-01-20 21:22:32 +00:00
konrad 9b232c7d4f Add Wunderlist migration (#46)
Complete migration flow

Add migration in progress animation

Add handling wunderlist migration flow

Basic migration init structure

Add migrator structure

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#46
2020-01-19 19:23:06 +00:00
konrad 2302a46d9b Task Pagination (#38) 2019-12-03 18:09:12 +00:00
konrad 4e5d14d969 Task Detail View (#37) 2019-11-24 13:16:24 +00:00
konrad 2705c1571e Handle task relations the right way (#36) 2019-10-28 21:45:37 +00:00
konrad d83fb24bbd Added link sharing (#30) 2019-09-09 17:55:43 +00:00
kolaente 52bce0b9f1
Use the new listuser endpoint to search for users 2019-07-22 13:27:20 +02:00
konrad 0b18ca73c2
Fixed task update not working (again) 2019-06-05 22:15:30 +02:00
konrad 263374985b
Fixed task update not working 2019-06-05 19:36:32 +02:00