Commit Graph

213 Commits

Author SHA1 Message Date
kolaente 20a82ee8ae
Make the icons in the menu light grey 2021-01-16 22:59:23 +01:00
kolaente aa5d0d437d
Fix namespace actions alignment in the menu 2021-01-16 22:33:49 +01:00
kolaente b644c00f59
Add view image modal for image attachments 2021-01-16 22:15:48 +01:00
kolaente f4b47ec374
Fix task detail view spacings 2021-01-16 21:55:43 +01:00
kolaente 60baa3353f
Fix task icon size 2021-01-16 21:48:38 +01:00
kolaente 9a2be2afff
Fix filter container positioning 2021-01-16 17:22:42 +01:00
kolaente 65ce1de445
Fix filter container positioning in link shares 2021-01-16 16:50:13 +01:00
kolaente 09b7a903d2
Add success message when modifying buckets 2021-01-15 23:46:43 +01:00
kolaente 873b36e6cd
Rework attachments list to look great everywhere 2021-01-15 23:33:43 +01:00
kolaente bd3f54e51b
Fix editor buttons alignment 2021-01-15 22:43:02 +01:00
kolaente c1148bcbda
Fix datepicker popup not fully aligned on mobile 2021-01-15 21:11:29 +01:00
kolaente 2b852de06f
Make full task in task list clickable
Fixes #362
2021-01-15 21:04:48 +01:00
kolaente 55b9b68258
Make sure the loading spinner is always visible at the end of the page 2021-01-14 22:19:28 +01:00
kolaente 526eee361f
Show label colors when searching for labels 2021-01-14 22:06:22 +01:00
kolaente 85eeccee28
Inline mutliselect search input for multiple elements 2021-01-10 22:46:50 +01:00
kolaente e87642026b
Fix task icons on kanban if there were multiple different ones 2021-01-10 18:27:18 +01:00
konrad fe6d975134 Replace vue-multiselect with a custom component (#366)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#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
profi248 2da6d7649f Make adding fields to tasks more intuitive (#365)
Reviewed-on: vikunja/frontend#365
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: profi248 <kostal.david8@gmail.com>
Co-committed-by: profi248 <kostal.david8@gmail.com>
2021-01-04 21:22:56 +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: vikunja/frontend#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: vikunja/frontend#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
profi248 36d62d796c Fixed squishy color bubble (#358)
Fixed squishy color bubble

The bubble was getting squished on smaller screens because of flex-shrink. Changed flex-shrink to 0.

Reviewed-on: vikunja/frontend#358
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-29 13:14:30 +00:00
kolaente f2441a9f2b
Fix related tasks width when the task is opened in a modal 2020-12-18 23:26:43 +01:00
azymondrian 3c3d6a4af3 Mobile Menu Fixes (#332)
Fix main body overflow on medium screen sizes

Remove wait for done button in cypress test

Add wait for done button in cypress test

Calc whether menu should be open on first page load

Mobile Menu fixes

- Doesn't scrunch the main content on opening the menu
- Keep main content aligned left when the menu is open

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#332
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-Authored-By: azymondrian <azymondrian@protonmail.com>
Co-Committed-By: azymondrian <azymondrian@protonmail.com>
2020-12-17 11:45:26 +00:00
konrad 66d4738ec5 Make sure task title and task id are properly shown on mobile (#334)
Make sure task title and task id are properly shown on mobile

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#334
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-16 11:54:01 +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: vikunja/frontend#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 935a75cac1
Add more spacing to the "Archived" badge in namespace overview 2020-12-08 18:53:58 +01:00
kolaente f22942e883
Fix repeat after layout 2020-11-28 16:02:38 +01:00
kolaente 1e72105635
Fix task background color for link shares 2020-11-28 15:32:58 +01:00
kolaente d0e304e43b
Add disabled state for task titles 2020-11-28 15:30:34 +01:00
kolaente 79c8783fdb
Fix tooltip still existing in viewport after hiding them 2020-11-28 15:17:50 +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: vikunja/frontend#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
kolaente ed40249bb3
Add proper focus styles 2020-11-22 17:47:47 +01: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: vikunja/frontend#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
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 15a2da41ba
Show loading spinner when loading namespaces & lists 2020-11-12 20:57:39 +01:00
kolaente a0d63272a6
Show all available shortcuts everywhere but indicate which work on the current page 2020-11-11 22:02:57 +01:00
konrad 092e5165dc Build custom v-tooltip (#290)
Remove tooltips when their elements are unbound

Add support for .bottom modifier

Remove v-tooltip from dependencies

Add comments

Fix usage with bigger tooltips

Add very basic vanilla js tooltip

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#290
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-10 20:47:39 +00:00
kolaente d9fe433619
Show created/updated by for tasks 2020-10-25 12:25:08 +01:00
kolaente 471301d1a7
Fix reminder inputs and the close buttons not properly aligned 2020-10-24 18:15:21 +02:00
kolaente a01fc161fa
Remove "collapse menu button" and make the hamburger button always visible 2020-10-24 17:38:54 +02:00
kolaente 90b53176a6
Make the menu have a fixed width 2020-10-24 17:27:09 +02:00
kolaente 82d54b0751
Remove the focus of the bucket title element after saving the title 2020-10-24 17:23:13 +02:00
kolaente e1004d218a
Fix long text overflowing in task comments
Fixes #270
2020-10-18 21:04:28 +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 2870f9217e
Show caldav url in settings if it's enabled server side 2020-10-03 14:58:33 +02:00
kolaente 12fb89ad31
Fix task title input taking up almost no space if empty 2020-09-28 21:01:37 +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: 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
konrad f2fcf42639 Favorite lists (#237)
Remove/show favorites namespace if a task/list is the first to being marked as favorite

Add special case to prevent marking an archived list as favorite

Add marking a task as favorite  on namespaces page

Prevent toggling the favorite state for the favorites list

Add method to toggle list favorite in the menu

Add favorite icon to lists in menu

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#237
2020-09-06 14:20:48 +00:00
kolaente 5f5db5f12f
Fix task in list style for tasks with assignees 2020-09-05 23:41:23 +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 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
kolaente 0ae73c906d
Fix create new bucket button having no margin to the right 2020-08-11 20:57:55 +02:00
kolaente d95571309b
Fix bottom padding on kanban 2020-08-11 20:47:27 +02:00
kolaente 282c86f19a
Fix pagination button hover color 2020-08-11 20:32:17 +02:00
kolaente 219ee29ecf
Fix bottom white margin 2020-08-11 20:32:05 +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: vikunja/frontend#211
2020-08-11 18:18:59 +00:00
kolaente b779500240
Fix update available breaking the navbar position 2020-08-05 17:04:40 +02: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
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 dc4f85e808
Fix related tasks list spacing 2020-07-24 22:20:10 +02:00
kolaente 57d0609577
Put the editor container higher up for task description 2020-07-24 22:02:46 +02:00
kolaente 8d18ef1dbb
Add options to show tasks in range on the overview pages 2020-07-22 12:29:03 +02:00
kolaente 0be280aae3
Show legal links from api if configured 2020-07-18 21:39:30 +02:00
kolaente e3d843cece
Make the task view full width for shares if the list has a background 2020-07-16 14:54:46 +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 9e189c5afd
Include fonts css in the main css bundle 2020-07-07 22:16:13 +02:00
kolaente d23f07d5ac
Fix task layout in kanban 2020-07-07 22:02:44 +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 5455c28d56
Add notice to a list if it has no tasks 2020-07-04 19:12:15 +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 cc904f07aa
Always break kanban card titles 2020-07-01 11:11:26 +02:00
kolaente d49cf5635b
Show namespace name in list search field
Resolves #169
2020-06-27 23:12:33 +02:00
kolaente d586e15c56
Add option to hide the menu on desktop 2020-06-25 23:56:41 +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 68681ef007
Fix related tasks search 2020-06-21 18:09:15 +02:00
kolaente 3248aca041
Fix search on mobile 2020-06-17 21:44:44 +02:00
kolaente b32976043f
Fix login form on mobile 2020-06-17 09:12:41 +02:00
kolaente b354ab51e7
Fix kanban board height 2020-06-17 09:02:27 +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 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 b2a9c13897
Change logo primary color 2020-06-12 20:47:31 +02:00
kolaente cd98b41bec
Fix list title on mobile 2020-06-12 19:32:37 +02:00
kolaente 7065b52053
Fix user dropdown on mobile 2020-06-12 19:07:42 +02:00
kolaente 914e8f2084
Fix hamburger icon on mobile padding 2020-06-12 19:00:00 +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: vikunja/frontend#149
2020-06-11 15:34:13 +00:00
kolaente 3c45f34f78
Add border to colorpicker (fixes #146) 2020-06-04 13:59:32 +02:00
kolaente 23d73adeae
Add mention of unsplash in the background settings 2020-06-03 21:01:47 +02:00
kolaente 36a02a3f62
Fix kanban tasks with backgrounds 2020-06-03 10:50:58 +02:00
kolaente 3441072c2c
Show list background when viewing a link share 2020-05-31 21:31:42 +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 d0f6a4ce99
Better responsive layout for unauthenticated pages 2020-05-12 15:18:37 +02:00
kolaente 995dec33ea
Add list title in overview page 2020-05-11 16:52:58 +02:00
kolaente ce1bfba5fd
Don't show the llama background when on mobile 2020-05-09 21:46:28 +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 8ae03fa6e9
Highlight the current list when something list related is called 2020-05-08 21:07:33 +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: vikunja/frontend#126
2020-05-08 18:43:51 +00:00
kolaente b1b5fd3cf8
Let labels take all available space on tasks 2020-05-06 21:43:31 +02:00