From 1200f0b416ee63ecc1b328104a955c9d5c483cc0 Mon Sep 17 00:00:00 2001 From: sytone Date: Wed, 26 May 2021 13:33:12 -0700 Subject: [PATCH] Make add task a component Add add-task to home Change add task to component for lists Made welcome update on time.. because. --- .editorconfig | 14 ++ README.md | 12 +- src/components/tasks/add-task.vue | 215 ++++++++++++++++++++ src/views/Home.vue | 76 +++++-- src/views/list/views/List.vue | 315 ++++++++++-------------------- 5 files changed, 400 insertions(+), 232 deletions(-) create mode 100644 .editorconfig create mode 100644 src/components/tasks/add-task.vue diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..4c6702d45 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*] +indent_style = tab +end_of_line = crlf +charset = utf-8 +trim_trailing_whitespace = false +insert_final_newline = false + +[*.vue] +indent_style = tab diff --git a/README.md b/README.md index 40fcb1c6c..1cf4e8bef 100644 --- a/README.md +++ b/README.md @@ -19,21 +19,25 @@ If you find any security-related issues you don't want to disclose publicly, ple There is a [docker image available](https://hub.docker.com/r/vikunja/api) with support for http/2 and aggressive caching enabled. ## Project setup -``` + +```shell yarn install ``` ### Compiles and hot-reloads for development -``` + +```shell yarn run serve ``` ### Compiles and minifies for production -``` + +```shell yarn run build ``` ### Lints and fixes files -``` + +```shell yarn run lint ``` diff --git a/src/components/tasks/add-task.vue b/src/components/tasks/add-task.vue new file mode 100644 index 000000000..ab276fcfa --- /dev/null +++ b/src/components/tasks/add-task.vue @@ -0,0 +1,215 @@ + + + diff --git a/src/views/Home.vue b/src/views/Home.vue index 1596dee63..85a3f3848 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -1,12 +1,18 @@ diff --git a/src/views/list/views/List.vue b/src/views/list/views/List.vue index 36c77e94c..5fdec1b5b 100644 --- a/src/views/list/views/List.vue +++ b/src/views/list/views/List.vue @@ -1,11 +1,15 @@