Commit Graph

608 Commits

Author SHA1 Message Date
kolaente e960202607
Use buttons more consistently 2021-01-17 13:04:49 +01:00
kolaente dde28a9710
Better wording of new namespace and list buttons 2021-01-17 12:09:29 +01:00
kolaente b12869e509
Fix labels randomly changing color after saving 2021-01-17 11:51:07 +01:00
konrad 3313801174 Fix closing popups when clicking outside of them (#378)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#378
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-17 10:36:57 +00:00
kolaente 6ef4a36bbc
Fix label spacing 2021-01-17 10:55:04 +01:00
kolaente 20a82ee8ae
Make the icons in the menu light grey 2021-01-16 22:59:23 +01:00
kolaente 3f81f2837a
Fix delete buttons in forms 2021-01-16 22:46:02 +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 e473a6b70b
Make the "upload attachment" button less obvious 2021-01-16 21:59:09 +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 cf951d2846
Hide new related tasks form when related tasks exist 2021-01-16 21:40:07 +01:00
kolaente 01a1e29db0
Add repeat after one-click intervals 2021-01-16 21:09:11 +01:00
kolaente 2f45b63157
Rearrange task actions 2021-01-16 20:51:20 +01:00
kolaente 212cd86987
Don't show the "new bucket" button when buckets are still loading 2021-01-16 20:28:10 +01:00
kolaente c31015bd70
Add "today" task filter 2021-01-16 20:20:43 +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 b778c76cbd
Fix task title heading ux 2021-01-15 23:47:14 +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 db90a8cde4
Fix caldav url not containing the api url if the frontend and api are on the same domain 2021-01-15 20:56:51 +01:00
kolaente 5e67934bfe
Fix list counter in the navigation counting archived lists 2021-01-14 22:40:13 +01:00
kolaente c051baf9d1
Fix iterating over check boxes and attachment images in the editor rendering 2021-01-14 22:35:08 +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 6db151d57a
Make the input full width by default 2021-01-14 21:56:28 +01:00
kolaente 85eeccee28
Inline mutliselect search input for multiple elements 2021-01-10 22:46:50 +01:00
kolaente eb31798f06
Fix getting back to the default task view when navigating back from a task modal 2021-01-10 22:37:43 +01:00
kolaente d7112c99c7
Fix getting back to the kanban board after closing a task popup 2021-01-10 22:07:33 +01:00
kolaente 3e71b76c25
Fix adding a label twice when selecting it and pressing enter 2021-01-10 21:56:35 +01:00
kolaente d89a855ca7
Fix priority label width in task list 2021-01-10 21:46:45 +01:00
kolaente f1206e8274
Add code highlighting for rendered user input text 2021-01-10 19:03:47 +01:00
kolaente d384c048ed
Show "powered by Vikunja" in link shares 2021-01-10 18:33:33 +01:00
kolaente e87642026b
Fix task icons on kanban if there were multiple different ones 2021-01-10 18:27:18 +01:00
konrad e44be61d2a Fix loading states for unrelated components (#370)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#370
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-09 14:24:06 +00:00
kolaente 7d40b29ae8
Fix resetting list rights after updating the list 2021-01-09 15:09:26 +01:00
kolaente 36f5f0eabc
Only show the list with teams if there are any teams 2021-01-08 23:07:17 +01:00
kolaente aa427c7a7d
Only show attachments table header when there are attachments 2021-01-08 23:05:07 +01:00
kolaente 35ef66744b
Fix removing a namespace not removing it from the list 2021-01-08 23:03:40 +01:00
kolaente 98feedfcd3
Hide share links table header when no share links are available yet 2021-01-08 22:56:19 +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 bb2800ec40 Improve editor buttons UX (#361)
Co-authored-by: konrad <konrad@kola-entertainments.de>
Reviewed-on: vikunja/frontend#361
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:52:43 +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
kolaente 624e4e6d27
Fix password reset 2020-12-30 21:43:43 +01:00
profi248 60c21cc36a Add "new label" button to label management (#359)
Allow to create labels directly from Manage labels page. It uses the same fullscreen dialog style as adding other things.

Almost all of the code is reused the `NewTeam` component

Co-authored-by: David Košťál <kostal.david8@gmail.com>
Reviewed-on: vikunja/frontend#359
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 17:55:54 +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 ddd24825a3
Fix removing a kanban bucket 2020-12-28 23:42:09 +01:00
kolaente 2c273a7fd9
Fix logging the user out when renewing the token while the api is not reachable 2020-12-24 01:43:52 +01:00
kolaente 7c656d4708
Don't show filter and search buttons for saved filter lists 2020-12-24 01:33:25 +01:00
kolaente ab24885ee9
Move "Teams" menu further down the list 2020-12-23 21:28:32 +01:00
kolaente f9d295fc67
Only show loading spinner over menu when loading namespaces 2020-12-23 21:26:43 +01:00
kolaente ad33458a80
Don't hide the "new bucket" when updating tasks 2020-12-23 21:16:13 +01:00
kolaente c9aeff20c6
Don't show the "next week/month" buttons on the start page 2020-12-23 21:12:59 +01:00
kolaente 0f77ad2d58
Add task filter for kanban 2020-12-22 12:49:43 +01:00
konrad 6e3a884d60 Add task filter for lists and namespaces (#351)
Add filter population method for labels

Add filter population methods for lists and namespaces

Re-extract one-line methods

Who said you could abstract too much?

Fix populating saved filters with assignees

Add namespaces filter

Add lists filter

Abstract finding related entities

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#351
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-21 23:13:39 +00:00
konrad 79335aaedf Add task filter for labels (#350)
Add task filter for labels

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#350
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-20 12:41:47 +00:00
konrad 8c41cd54a8 Add task filter for assignees (#349)
Rearrange filter

Add task filter for assignees

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#349
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-19 21:39:25 +00:00
konrad 69a9f867b4 Add task filter for reminders (#347)
Add task filter for reminders

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#347
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-19 19:23:46 +00: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 206f32a793
Fix deleting a saved filter 2020-12-19 00:19:12 +01:00
kolaente f2441a9f2b
Fix related tasks width when the task is opened in a modal 2020-12-18 23:26:43 +01:00
kolaente 6688dac2c6
Change avatar endpoint 2020-12-18 23:11:23 +01:00
kolaente e80ba3fd6a
Add login via email 2020-12-18 17:05:46 +01:00
konrad 52f6425b3f Add Microsoft Todo migration (#339)
Add microsoft todo migration cases & logo

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#339
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-18 11:12:20 +00:00
konrad 60c5097d82 Add trello migration (#336)
Reload namespaces and lists after migrating

Add trello logo

Add trello migration

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#336
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-17 13:44:22 +00: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
kolaente 51bbad9794
Log the user out if the token could not be renewed 2020-12-15 12:30:02 +01:00
konrad b822b3616b Frontend Testing With Cypress (#313)
Wait until the request is finished

Wait for the newly created task exists in the dom

Wait until the login request is done

Wait until the list request is done

Make sure no user token is in local storage when trying to register

Make sure to always upload test results

Disable capturing videos of test runs in CI

Add uploading test result screenshots from ci

Assert a success notification is shown after creating a new list

Change input element locators

Fix testing for favorite lists

Make sure faked usernames are always random

Make sure the tests work

Make sure to use node 12 everywhere in ci

Add docs

Fix setting api url for running tests

Use a working node version

Ignore cypress screenshots and videos

Set cache folders

Explicitly ignore cypress files when running unit tests

Trigger Drone

Only run unit tests with yarn test:unit

Add serve dist command to serve built static files

Trigger Drone

Fix cypress image

Change cypress image

Unify test & build step back again to prevent double installation of dependencies

Add cache location config

Move test steps to separate pipeline

Run cypress tests in drone

Fix all tests

Make all factory methods static

Use factories everywhere

Cleanup

Add tests for the editor

Add tests for viewing link shares

Fix seed

Add test to make sure settings elements are hidden if the user does not have the right to edit the current list

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#313
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-10 13:52:35 +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 ffde50453a
Add openid scope when redirecting to external openid provider 2020-12-08 19:33:35 +01:00
kolaente 935a75cac1
Add more spacing to the "Archived" badge in namespace overview 2020-12-08 18:53:58 +01:00
kolaente 6c06554ebe
Add more spacing for checkboxes in the editor 2020-12-08 18:51:46 +01:00
kolaente c0130b2b48
Only show a loading spinner per task when updating a task on the kanban board 2020-12-08 18:49:28 +01:00
kolaente 188d54ebe6
Make sure the editor does not break if the text has checkboxes 2020-12-08 18:40:13 +01:00
kolaente 0b620a07ef
Fix parsing task done at date 2020-12-08 15:43:51 +01:00
kolaente f22942e883
Fix repeat after layout 2020-11-28 16:02:38 +01:00
kolaente 3f2056bbf9
Show done at in task detail view 2020-11-28 15:52:15 +01:00
kolaente 25bd9d17f9
Show a loading spinner when creating a new kanban task 2020-11-28 15:44:48 +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 5d995a2758
Move next week/next month task overview pages into a single "Upcoming" page and allow toggle 2020-11-22 18:05:25 +01: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 b9eeec0125
Hide menu on mobile after navigating 2020-11-21 22:31:34 +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 c536707f3a Authentication with OpenID Connect providers (#305)
Fix setting auth config from api in state

Verify auth state before authenticating

Add showing openid providers on login

Parse auth config from /info

Add authentication through openid

Add openid auth component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#305
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-21 16:38:40 +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 309b02d766
Fix avatar icon of attachments created by 2020-11-12 21:32:53 +01:00
kolaente 15a2da41ba
Show loading spinner when loading namespaces & lists 2020-11-12 20:57:39 +01:00