Commit Graph

71 Commits

Author SHA1 Message Date
andreymal 6412849cb3
Translate pseudo namespaces and pseudo lists 2021-07-08 17:51:14 +03:00
konrad f0498fd767 Add translations (#562)
Reviewed-on: vikunja/frontend#562
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-06-23 23:24:57 +00:00
kolaente cdc805c8da
Refactor success and error messages 2021-06-22 22:07:57 +02:00
kolaente 12b8d47a79
Fix formatting invalid dates 2021-04-22 14:26:48 +02:00
kolaente 35ed61839d
Fix checking for undefined behaviour when viewing a task 2021-03-23 22:26:54 +01:00
konrad 3f20ae89a8 Subscriptions and notifications for namespaces, tasks and lists (#410)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#410
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-02-14 19:18:51 +00:00
kolaente be92db49a9
Fix setting dates in safari
Fixes #207
2021-02-03 23:06:20 +01:00
konrad e0be77d88f Move list edit/namespace to separate pages and in a menu (#397)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#397
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-30 16:17:04 +00:00
konrad 2aceca54ca Move buttons to separate component (#380)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#380
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-17 17:57:57 +00:00
kolaente b12869e509
Fix labels randomly changing color after saving 2021-01-17 11:51:07 +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 982d838dd4
Make keyboard shortcuts single keys 2020-11-11 21:31:11 +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 7343e98a26
Move focus directive to seperate file 2020-11-02 21:52:07 +01: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 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 5705b5afd1
Always focus inputs on kanban when adding a new task or bucket 2020-08-11 21:04:22 +02:00
kolaente 5c9e8b8b0c
Prevent rendering html in tooltips 2020-08-06 12:28:41 +02: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
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 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: vikunja/frontend#177
2020-07-07 20:07:13 +00:00
kolaente 736fe03b39
Add color picker to change task color to task detail view 2020-06-21 20:27:39 +02:00
kolaente fc4b9d439b
Restructure components 2020-06-17 22:15:59 +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 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 0dc4e6b95d
Fix trying to load the current tasks even when not logged in (Fixes #133) 2020-05-12 15:08:17 +02:00
kolaente 058570c9a7
Make sure the api url does not have a / at the end 2020-05-10 18:26:33 +02:00
kolaente 8789135eed
Add logging frontend version to console on startup 2020-05-09 21:39:46 +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
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 724275e653 Table View for tasks (#76)
Save sort order to local storage

Save selected columns to localStorage

Loading spinner

More sorting

Add sorting

Styling and hiding of column filter

Add checkbox to show/hide columns

Use fancycheckbox everywhere

Fix is done badge

Change sort order in table view

Add is done column to table

Better text handling

Refactor is done into seperate component

Add pagination to table view

Add assignees to table view

Fix redirecting to table view

Add date tooltip to date field

Add date tooltip to date field

labels for table view

Styling

Add basic table view

Extend priority label

Split list view in mixins

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#76
2020-04-01 20:13:57 +00:00
kolaente 87f74e3a4b
Pre/Suffix formatted dates with relative pronouns like "in [one day]" or "[two days] ago" 2020-03-23 18:46:33 +01:00
kolaente f690a6f457
Swap moment.js with date-fns 2020-03-02 21:55:22 +01:00
kolaente 5972476735
Add undo button to notification when marking a task as done 2020-03-02 21:19:26 +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 b41a4380d8
Add a button to the task detail page to mark a task as done 2020-02-09 14:46:01 +01:00
konrad 8dcabc9385 Only focus inputs if the viewport is large enough (#55)
Only focus inputs if the viewport is large enough

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#55
2020-01-31 16:19:04 +00:00
konrad 309f75b19d Task Search (#52)
Add hiding the search

Add actually searching for tasks

Fix jumping search button on page load

Add search button

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#52
2020-01-31 10:05:53 +00:00
konrad 1170e030f6 Use message mixin for handling success and error messages (#51)
Use message mixin everywhere

Add mixin for success and error messages

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#51
2020-01-30 21:47:08 +00: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 9c66a7570a Reorganize Styles (#45) 2019-12-19 22:09:23 +00:00
konrad 4e5d14d969 Task Detail View (#37) 2019-11-24 13:16:24 +00:00
kolaente bdf0d00bff
Different edit icon 2019-10-19 21:41:23 +02:00
konrad 2a7871cf96 Add minimal PWA (#34) 2019-10-16 18:25:10 +00:00
konrad d83fb24bbd Added link sharing (#30) 2019-09-09 17:55:43 +00:00
konrad 857c283fb7 Added global api config (#31) 2019-09-09 17:32:57 +00:00
konrad d03f0211a3 Gantt Charts (#29) 2019-04-29 21:41:39 +00:00