Commit graph

133 commits

Author SHA1 Message Date
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
kolaente
82d54b0751
Remove the focus of the bucket title element after saving the title 2020-10-24 17:23:13 +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
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
5705b5afd1
Always focus inputs on kanban when adding a new task or bucket 2020-08-11 21:04:22 +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
e4f4df0655
Hide the user menu if clicked outside of it 2020-07-29 22:01:54 +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
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
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
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
c1ba0f7868
Disabele spellcheck on bucket titles 2020-07-09 19:01:00 +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
d43427623c
Mark tasks as done from the kanban board with ctrl+click 2020-07-05 21:29:14 +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
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
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
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
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
8d94bdb081
Color the whole card on kanban if the task has a color 2020-06-21 18:24:01 +02:00
kolaente
fc4b9d439b
Restructure components 2020-06-17 22:15:59 +02:00