Commit Graph

84 Commits

Author SHA1 Message Date
7c656d4708
Don't show filter and search buttons for saved filter lists 2020-12-24 01:33:25 +01:00
ad33458a80
Don't hide the "new bucket" when updating tasks 2020-12-23 21:16:13 +01:00
c9aeff20c6
Don't show the "next week/month" buttons on the start page 2020-12-23 21:12:59 +01:00
0f77ad2d58
Add task filter for kanban 2020-12-22 12:49:43 +01:00
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
206f32a793
Fix deleting a saved filter 2020-12-19 00:19:12 +01:00
e80ba3fd6a
Add login via email 2020-12-18 17:05:46 +01:00
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
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
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
ffde50453a
Add openid scope when redirecting to external openid provider 2020-12-08 19:33:35 +01:00
c0130b2b48
Only show a loading spinner per task when updating a task on the kanban board 2020-12-08 18:49:28 +01:00
3f2056bbf9
Show done at in task detail view 2020-11-28 15:52:15 +01:00
25bd9d17f9
Show a loading spinner when creating a new kanban task 2020-11-28 15:44:48 +01:00
d0e304e43b
Add disabled state for task titles 2020-11-28 15:30:34 +01:00
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
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
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
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
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
15a2da41ba
Show loading spinner when loading namespaces & lists 2020-11-12 20:57:39 +01:00
50b1d378e0
Fix list not added to lists when duplicating 2020-11-12 20:02:40 +01:00
3677ffd585
Create list through store to make sure it is updated everywhere 2020-11-12 19:59:32 +01:00
2d70c1aabd
Fix list not being removed from the menu list when deleting it 2020-11-12 19:50:41 +01:00
982d838dd4
Make keyboard shortcuts single keys 2020-11-11 21:31:11 +01:00
b94c835af0
Add autocomplete attributes to login and register forms 2020-11-10 21:01:03 +01:00
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
d9fe433619
Show created/updated by for tasks 2020-10-25 12:25:08 +01:00
da1d34789d
Get rid of the null reminder to fix jumping inputs when updating reminders 2020-10-24 18:12:14 +02:00
82d54b0751
Remove the focus of the bucket title element after saving the title 2020-10-24 17:23:13 +02:00
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
2870f9217e
Show caldav url in settings if it's enabled server side 2020-10-03 14:58:33 +02:00
2c6ec6ec35
Fix due date changes not saved on mobile 2020-10-03 14:30:26 +02:00
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
0440c2cbed
Fix sort order when marking a task as done from the overview 2020-09-28 20:37:06 +02:00
21968ab86d
Don't create a label through quick add if the title is empty 2020-09-28 20:20:19 +02:00
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
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
5f5db5f12f
Fix task in list style for tasks with assignees 2020-09-05 23:41:23 +02:00
a8a7f70a3c
Cleanup code & make sure it has a common code style 2020-09-05 22:35:52 +02:00
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
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
71ecdd23e7
Remove html from tooltip
Resolves #224
2020-08-31 22:36:47 +02:00
5705b5afd1
Always focus inputs on kanban when adding a new task or bucket 2020-08-11 21:04:22 +02:00
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
903cdcc93a
Use team update route to update a team member's admin status 2020-08-05 17:32:18 +02:00
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
e4f4df0655
Hide the user menu if clicked outside of it 2020-07-29 22:01:54 +02:00
d9361bcd53
Redirect to current list view on click on list in menu again
Fixes #196
2020-07-29 13:02:46 +02:00
b1b5398c56
Add more prefetching of components 2020-07-28 10:14:42 +02:00