From eed432d7394081565ff7231cab9702e2ec531d22 Mon Sep 17 00:00:00 2001 From: Rossicler Date: Tue, 17 Sep 2019 17:22:25 -0300 Subject: [PATCH 01/11] Changed login inputs to vuetify text-fields components --- src/components/Authentication/Login.vue | 35 ++++++++++++++----------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/src/components/Authentication/Login.vue b/src/components/Authentication/Login.vue index a562ca21..2dd0b58e 100644 --- a/src/components/Authentication/Login.vue +++ b/src/components/Authentication/Login.vue @@ -24,23 +24,22 @@
- -

{{ errors.first('email') }}

+
- -

{{ errors.first('password') }}

+
@@ -64,7 +63,13 @@ export default { return { email: '', password: '', - alert: false + alert: false, + rules: { + required: value => !!value || 'Required.', + min: v => v.length >= 8 || 'Min 6 characters', + emailMatch: () => ('Incorrect email or password'), + validEmail: v => /.+@.+/.test(v) || 'E-mail must be valid', + } }; }, From 242e457188ca9c56e6260ea8e67c216346a736a5 Mon Sep 17 00:00:00 2001 From: Guilherme Siqueira Date: Wed, 18 Sep 2019 23:47:36 -0300 Subject: [PATCH 02/11] Update vuetify version from 1.5.14 to 2.0.18 and migrating some buttons. Co-authored-by: gabrielademoraes --- package.json | 2 +- src/components/Authentication/Login.vue | 8 +++- src/components/Authentication/Register.vue | 2 +- src/components/GitHub/GitHubProjects.vue | 40 ++++++++----------- src/components/Issues/AddIssue.vue | 8 ++-- src/components/Projects/AddGrades.vue | 8 ++-- src/components/Projects/AddProject.vue | 9 ++--- src/components/Projects/DeleteProject.vue | 8 ++-- src/components/Projects/EditProject.vue | 8 ++-- src/components/Projects/Project.vue | 8 ++-- src/components/Releases/AddRelease.vue | 12 +++--- src/components/Releases/DeleteRelease.vue | 8 ++-- src/components/Releases/EditRelease.vue | 10 +++-- .../Retrospective/AddRetrospective.vue | 28 ++++++------- .../Retrospective/DeleteRetrospective.vue | 4 +- .../Retrospective/EditRetrospective.vue | 6 +-- src/components/Revision/AddRevision.vue | 6 +-- src/components/Sprints/AddSprint.vue | 14 ++++--- src/components/Sprints/DeleteSprint.vue | 4 +- src/components/Sprints/EditSprint.vue | 4 +- src/components/Users/DeleteUserProfile.vue | 8 ++-- src/components/Users/EditUserProfile.vue | 8 ++-- src/components/Users/ForgotPassword.vue | 2 +- src/components/Users/UserProfile.vue | 4 +- 24 files changed, 109 insertions(+), 110 deletions(-) diff --git a/package.json b/package.json index 3f6be7ef..7b017893 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "vue-router": "^2.8.1", "vue-windows": "^0.1.3", "vuedraggable": "^2.16.0", - "vuetify": "^1.5.14", + "vuetify": "^2.0.18", "vuex": "^3.0.0", "vuex-persist": "^0.3.0" }, diff --git a/src/components/Authentication/Login.vue b/src/components/Authentication/Login.vue index a562ca21..ac724d38 100644 --- a/src/components/Authentication/Login.vue +++ b/src/components/Authentication/Login.vue @@ -43,8 +43,8 @@

{{ errors.first('password') }}

-
- +
+ Log in
Forgot your password? @@ -115,4 +115,8 @@ export default { font-size: 14px; padding-top: 1px; } + +.button-test { + color: #ffffff; +} diff --git a/src/components/Authentication/Register.vue b/src/components/Authentication/Register.vue index 2fa7dcea..6f13ca0d 100644 --- a/src/components/Authentication/Register.vue +++ b/src/components/Authentication/Register.vue @@ -44,7 +44,7 @@

{{ errors.first('form-register.password_confirmation') }}

- + Register

{{ errors.first('wrong-credentials') }}

diff --git a/src/components/GitHub/GitHubProjects.vue b/src/components/GitHub/GitHubProjects.vue index c981c90d..535aa759 100644 --- a/src/components/GitHub/GitHubProjects.vue +++ b/src/components/GitHub/GitHubProjects.vue @@ -1,14 +1,19 @@