From 6817666e75bce19bed356bc4494b1c61954077d6 Mon Sep 17 00:00:00 2001 From: tesso <48358052+tesso57@users.noreply.github.com> Date: Wed, 4 Jan 2023 21:31:23 +0900 Subject: [PATCH 01/11] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20impl=20isDisabled?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UI/MemberInput.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/UI/MemberInput.vue b/src/components/UI/MemberInput.vue index ada29471..2c1dc963 100644 --- a/src/components/UI/MemberInput.vue +++ b/src/components/UI/MemberInput.vue @@ -14,9 +14,12 @@ store.fetchUsers() interface Props { modelValue: User[] + isDisabled: boolean } -const props = defineProps() +const props = withDefaults(defineProps(), { + isDisabled: false +}) const emit = defineEmits<{ (e: 'update:modelValue', value: User[]): void @@ -84,6 +87,7 @@ const onClose = () => { multiple :close-on-select="false" deselect-from-dropdown + :disabled="isDisabled" @open="onOpen" @close="onClose" @search="onSearch" From 3832d13c95ed6767db4b1a508b92b7c49fa33ebd Mon Sep 17 00:00:00 2001 From: tesso <48358052+tesso57@users.noreply.github.com> Date: Wed, 4 Jan 2023 21:32:03 +0900 Subject: [PATCH 02/11] =?UTF-8?q?=E2=9C=A8=20impl=20projects/:projectId/me?= =?UTF-8?q?mbers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/ProjectMembers.vue | 82 ++++++++++++++++++++++++++++++++++++ src/router/index.ts | 6 +++ 2 files changed, 88 insertions(+) create mode 100644 src/pages/ProjectMembers.vue diff --git a/src/pages/ProjectMembers.vue b/src/pages/ProjectMembers.vue new file mode 100644 index 00000000..f779fa20 --- /dev/null +++ b/src/pages/ProjectMembers.vue @@ -0,0 +1,82 @@ + + + + + diff --git a/src/router/index.ts b/src/router/index.ts index dd16419d..6e59945c 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -5,6 +5,7 @@ const Users = () => import('/@/pages/Users.vue') const UserAccounts = () => import('/@/pages/UserAccounts.vue') const Projects = () => import('/@/pages/Projects.vue') const Project = () => import('/@/pages/Project.vue') +const ProjectMembers = () => import('/@/pages/ProjectMembers.vue') const Events = () => import('/@/pages/Events.vue') const Event = () => import('/@/pages/Event.vue') const Contests = () => import('/@/pages/Contests.vue') @@ -27,6 +28,11 @@ const routes = [ name: 'Project', component: Project }, + { + path: '/projects/:id/members', + name: 'ProjectMembers', + component: ProjectMembers + }, { path: '/events', name: 'Events', From ac56bbe6b4e18663c7e3cdb3e92106e4132e79a5 Mon Sep 17 00:00:00 2001 From: tesso <48358052+tesso57@users.noreply.github.com> Date: Tue, 31 Oct 2023 17:56:44 +0900 Subject: [PATCH 03/11] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20form-project-duratio?= =?UTF-8?q?n=E3=81=AE=E8=A6=8B=E3=81=9F=E7=9B=AE=E3=82=92=E5=A4=89?= =?UTF-8?q?=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UI/BaseSelect.vue | 14 ++-- src/components/UI/FormProjectDuration.vue | 99 +++++++++++------------ src/pages/ProjectNew.vue | 13 ++- 3 files changed, 64 insertions(+), 62 deletions(-) diff --git a/src/components/UI/BaseSelect.vue b/src/components/UI/BaseSelect.vue index 288c09f8..f17f8d33 100644 --- a/src/components/UI/BaseSelect.vue +++ b/src/components/UI/BaseSelect.vue @@ -1,24 +1,24 @@ -