From 38fd9b2942fb7ea2d0277980dd30746b83006940 Mon Sep 17 00:00:00 2001 From: mehm8128 Date: Sun, 5 Nov 2023 23:43:08 +0900 Subject: [PATCH 01/25] =?UTF-8?q?=E4=B8=80=E6=97=A6=E3=82=B9=E3=82=BF?= =?UTF-8?q?=E3=83=B3=E3=83=97=E3=81=AE=E4=BD=9C=E6=88=90=E3=81=8C=E3=81=A7?= =?UTF-8?q?=E3=81=8D=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Modal/Common/ModalFrame.vue | 2 +- src/components/Modal/ModalContainer.vue | 8 + .../StampCreateModal/StampCreateModal.vue | 170 ++++++++++++++++++ src/components/Settings/ImageUpload.vue | 38 +--- src/components/Settings/StampTab/NewStamp.vue | 121 +++---------- .../Settings/StampTab/StampItem.vue | 5 +- .../{EditStamp.vue => StampManagement.vue} | 2 +- src/components/UI/FormButton.vue | 16 +- src/store/ui/modal/states.ts | 7 + src/views/Settings/StampTab.vue | 6 +- 10 files changed, 240 insertions(+), 135 deletions(-) create mode 100644 src/components/Modal/StampCreateModal/StampCreateModal.vue rename src/components/Settings/StampTab/{EditStamp.vue => StampManagement.vue} (95%) diff --git a/src/components/Modal/Common/ModalFrame.vue b/src/components/Modal/Common/ModalFrame.vue index 8637f7af9..c3cdff219 100644 --- a/src/components/Modal/Common/ModalFrame.vue +++ b/src/components/Modal/Common/ModalFrame.vue @@ -49,7 +49,7 @@ const { clearModal } = useModalStore() display: flex; flex-flow: column nowrap; max-height: 480px; - max-width: 440px; + max-width: 600px; width: #{calc(100% - 32px)}; border-radius: 4px; overflow: hidden; diff --git a/src/components/Modal/ModalContainer.vue b/src/components/Modal/ModalContainer.vue index a30bf2153..451f0a805 100644 --- a/src/components/Modal/ModalContainer.vue +++ b/src/components/Modal/ModalContainer.vue @@ -41,6 +41,11 @@ ? currentState.userId : undefined " + :file=" + currentState.type === 'settings-stamp-create' + ? currentState.file + : undefined + " /> @@ -63,6 +68,7 @@ import GroupCreateModal from './GroupCreateModal/GroupCreateModal.vue' import GroupMemberEditModal from './GroupMemberEditModal/GroupMemberEditModal.vue' import GroupAdminAddModal from './GroupAdminAddModal/GroupAdminAddModal.vue' import GroupMemberAddModal from './GroupMemberAddModal/GroupMemberAddModal.vue' +import StampCreateModal from './StampCreateModal/StampCreateModal.vue' const { shouldShowModal, currentState } = useModalStore() @@ -96,6 +102,8 @@ const component = computed(() => { return GroupAdminAddModal case 'group-member-add': return GroupMemberAddModal + case 'settings-stamp-create': + return StampCreateModal } // eslint-disable-next-line no-console console.error('Unexpected modal type:', currentState.value) diff --git a/src/components/Modal/StampCreateModal/StampCreateModal.vue b/src/components/Modal/StampCreateModal/StampCreateModal.vue new file mode 100644 index 000000000..d75db9524 --- /dev/null +++ b/src/components/Modal/StampCreateModal/StampCreateModal.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/src/components/Settings/ImageUpload.vue b/src/components/Settings/ImageUpload.vue index 5e3494d59..e00bb6924 100644 --- a/src/components/Settings/ImageUpload.vue +++ b/src/components/Settings/ImageUpload.vue @@ -1,24 +1,19 @@ - diff --git a/src/components/Settings/ImageUpload.vue b/src/components/Settings/ImageUpload.vue index e00bb6924..6cfd0f0b2 100644 --- a/src/components/Settings/ImageUpload.vue +++ b/src/components/Settings/ImageUpload.vue @@ -54,7 +54,6 @@ const originalImgUrl = useObjectURL(originalImg) let cropper: Cropper | undefined const imgEle = shallowRef() -const cropperNote = ref('') const updateImgView = () => { if (!originalImg.value) { @@ -101,6 +100,10 @@ const updateImgView = () => { cropper.replace(originalImgUrl.value ?? '') } +watchEffect(() => { + originalImg.value = props.modelValue +}) + watchEffect(updateImgView) watchEffect(() => { diff --git a/src/components/Settings/StampTab/StampItem.vue b/src/components/Settings/StampTab/StampItem.vue index 31d529d51..b44bde5b5 100644 --- a/src/components/Settings/StampTab/StampItem.vue +++ b/src/components/Settings/StampTab/StampItem.vue @@ -1,147 +1,27 @@ - - diff --git a/src/components/Settings/StampTab/StampManagement.vue b/src/components/Settings/StampTab/StampManagement.vue index 50736d4a7..1291c721a 100644 --- a/src/components/Settings/StampTab/StampManagement.vue +++ b/src/components/Settings/StampTab/StampManagement.vue @@ -6,9 +6,7 @@ v-for="stamp in myStamps" :key="stamp.id" :stamp="stamp" - :is-selected="stamp.id === selectedStampId" @start-edit="selectStamp(stamp.id)" - @end-edit="unselectStamp" /> @@ -16,13 +14,15 @@ diff --git a/src/store/ui/modal/states.ts b/src/store/ui/modal/states.ts index ce5a0a72e..be0cdf593 100644 --- a/src/store/ui/modal/states.ts +++ b/src/store/ui/modal/states.ts @@ -5,7 +5,8 @@ import type { FileId, UserGroupId, TagId, - MessageId + MessageId, + StampId } from '/@/types/entity-ids' type ModalStateType = @@ -25,6 +26,7 @@ type ModalStateType = | 'group-admin-add' | 'group-member-add' | 'settings-stamp-create' + | 'settings-stamp-edit' export type ModalState = | UserModalState @@ -42,6 +44,7 @@ export type ModalState = | GroupAdminAddModalState | GroupMemberAddModalState | SettingsStampCreateModalState + | SettingsStampEditModalState interface BaseModalState { /** モーダル種別 */ @@ -130,3 +133,8 @@ interface SettingsStampCreateModalState extends BaseModalState { type: 'settings-stamp-create' file: File } + +interface SettingsStampEditModalState extends BaseModalState { + type: 'settings-stamp-edit' + id: StampId +} From 510e3d36a65245c6ffb4ac4cb30cca5686d16875 Mon Sep 17 00:00:00 2001 From: mehm8128 Date: Sat, 11 Nov 2023 00:30:20 +0900 Subject: [PATCH 03/25] =?UTF-8?q?=E3=83=A2=E3=83=BC=E3=83=80=E3=83=AB?= =?UTF-8?q?=E3=82=92=E3=83=87=E3=82=B6=E3=82=A4=E3=83=B3=E3=81=AE=E5=A4=89?= =?UTF-8?q?=E6=9B=B4=E3=81=AB=E5=BE=93=E3=81=A3=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Modal/Common/ModalFrame.vue | 2 +- src/components/Modal/ModalContainer.vue | 5 +- .../StampCreateModal/StampCreateModal.vue | 90 +++++++++---------- .../Modal/StampEditModal/StampEditModal.vue | 83 ++++++++--------- .../StampImageEditModal.vue | 83 +++++++++++++++++ src/components/Settings/ImageUpload.vue | 8 +- src/components/Settings/StampTab/NewStamp.vue | 20 ++--- src/store/ui/modal/states.ts | 8 +- 8 files changed, 182 insertions(+), 117 deletions(-) create mode 100644 src/components/Modal/StampImageEditModal/StampImageEditModal.vue diff --git a/src/components/Modal/Common/ModalFrame.vue b/src/components/Modal/Common/ModalFrame.vue index c3cdff219..8637f7af9 100644 --- a/src/components/Modal/Common/ModalFrame.vue +++ b/src/components/Modal/Common/ModalFrame.vue @@ -49,7 +49,7 @@ const { clearModal } = useModalStore() display: flex; flex-flow: column nowrap; max-height: 480px; - max-width: 600px; + max-width: 440px; width: #{calc(100% - 32px)}; border-radius: 4px; overflow: hidden; diff --git a/src/components/Modal/ModalContainer.vue b/src/components/Modal/ModalContainer.vue index 05fc5880f..427365114 100644 --- a/src/components/Modal/ModalContainer.vue +++ b/src/components/Modal/ModalContainer.vue @@ -43,7 +43,7 @@ : undefined " :file=" - currentState.type === 'settings-stamp-create' + currentState.type === 'settings-stamp-image-edit' ? currentState.file : undefined " @@ -71,6 +71,7 @@ import GroupAdminAddModal from './GroupAdminAddModal/GroupAdminAddModal.vue' import GroupMemberAddModal from './GroupMemberAddModal/GroupMemberAddModal.vue' import StampCreateModal from './StampCreateModal/StampCreateModal.vue' import StampEditModal from './StampEditModal/StampEditModal.vue' +import StampImageEditModal from './StampImageEditModal/StampImageEditModal.vue' const { shouldShowModal, currentState } = useModalStore() @@ -108,6 +109,8 @@ const component = computed(() => { return StampCreateModal case 'settings-stamp-edit': return StampEditModal + case 'settings-stamp-image-edit': + return StampImageEditModal } // eslint-disable-next-line no-console console.error('Unexpected modal type:', currentState.value) diff --git a/src/components/Modal/StampCreateModal/StampCreateModal.vue b/src/components/Modal/StampCreateModal/StampCreateModal.vue index d75db9524..92a0d4248 100644 --- a/src/components/Modal/StampCreateModal/StampCreateModal.vue +++ b/src/components/Modal/StampCreateModal/StampCreateModal.vue @@ -1,8 +1,13 @@ @@ -18,20 +24,26 @@ import type { Stamp } from '@traptitech/traq' import { computed } from 'vue' import IconButton from '/@/components/UI/IconButton.vue' import { buildFilePath } from '/@/lib/apis' +import useContextMenu from '/@/composables/useContextMenu' +import StampContextMenu from './StampContextMenu.vue' const props = defineProps<{ stamp: Stamp }>() -const emit = defineEmits<{ - (e: 'startEdit'): void - (e: 'endEdit'): void -}>() - const url = computed(() => buildFilePath(props.stamp.fileId)) -const onStartEdit = () => { - emit('startEdit') +const { + position: contextMenuPosition, + open: openContextMenu, + close: closeContextMenu +} = useContextMenu() + +const onDotsClick = (e: MouseEvent) => { + openContextMenu({ + x: e.pageX, + y: e.pageY + }) } diff --git a/src/components/Settings/StampTab/StampManagement.vue b/src/components/Settings/StampTab/StampManagement.vue index 1291c721a..81100b23a 100644 --- a/src/components/Settings/StampTab/StampManagement.vue +++ b/src/components/Settings/StampTab/StampManagement.vue @@ -6,7 +6,6 @@ v-for="stamp in myStamps" :key="stamp.id" :stamp="stamp" - @start-edit="selectStamp(stamp.id)" /> @@ -15,14 +14,11 @@ diff --git a/src/components/Settings/StampTab/StampManagement.vue b/src/components/Settings/StampTab/StampManagement.vue index 81100b23a..5cdfb1d04 100644 --- a/src/components/Settings/StampTab/StampManagement.vue +++ b/src/components/Settings/StampTab/StampManagement.vue @@ -1,32 +1,123 @@ From 11a6df18fbd150f22a904bb26f2fe0a112179bcf Mon Sep 17 00:00:00 2001 From: mehm8128 Date: Sat, 11 Nov 2023 12:57:58 +0900 Subject: [PATCH 06/25] =?UTF-8?q?loading=3D"lazy"=E3=81=A7=E5=9E=8B?= =?UTF-8?q?=E3=82=A8=E3=83=A9=E3=83=BC=E3=81=8C=E5=87=BA=E3=81=AA=E3=81=84?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Modal/StampEditModal/StampEditModal.vue | 1 - src/types/volar-env.d.ts | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Modal/StampEditModal/StampEditModal.vue b/src/components/Modal/StampEditModal/StampEditModal.vue index bdca9c5fe..63793e048 100644 --- a/src/components/Modal/StampEditModal/StampEditModal.vue +++ b/src/components/Modal/StampEditModal/StampEditModal.vue @@ -176,7 +176,6 @@ const { selectImage } = useFileSelect({ accept: acceptImageType }, files => { diff --git a/src/components/Modal/StampCreateModal/StampInfoEdit.vue b/src/components/Modal/StampCreateModal/StampInfoEdit.vue new file mode 100644 index 000000000..ab8dfd66a --- /dev/null +++ b/src/components/Modal/StampCreateModal/StampInfoEdit.vue @@ -0,0 +1,129 @@ + + + + + diff --git a/src/components/Modal/StampEditModal/StampEditModal.vue b/src/components/Modal/StampEditModal/StampEditModal.vue index a686f4679..79507a10b 100644 --- a/src/components/Modal/StampEditModal/StampEditModal.vue +++ b/src/components/Modal/StampEditModal/StampEditModal.vue @@ -12,6 +12,7 @@ suffix=":" :max-length="32" :class="$style.form" + focus-on-mount /> diff --git a/src/components/Settings/StampTab/NewStamp.vue b/src/components/Settings/StampTab/NewStamp.vue index 56f7d8862..2c213ca01 100644 --- a/src/components/Settings/StampTab/NewStamp.vue +++ b/src/components/Settings/StampTab/NewStamp.vue @@ -13,14 +13,21 @@ diff --git a/src/components/Settings/StampTab/StampContextMenu.vue b/src/components/Settings/StampTab/StampContextMenu.vue index 1fb5baebb..bd9b9261d 100644 --- a/src/components/Settings/StampTab/StampContextMenu.vue +++ b/src/components/Settings/StampTab/StampContextMenu.vue @@ -56,6 +56,7 @@ const { selectImage } = useFileSelect({ accept: acceptImageType }, files => { if (!files[0]) return pushModal({ type: 'settings-stamp-image-edit', + id: props.stampId, file: files[0] }) close() diff --git a/src/store/ui/modal/states.ts b/src/store/ui/modal/states.ts index 0c05a2645..3cfddbcb7 100644 --- a/src/store/ui/modal/states.ts +++ b/src/store/ui/modal/states.ts @@ -133,6 +133,7 @@ interface GroupMemberAddModalState extends BaseModalState { interface SettingsStampCreateModalState extends BaseModalState { type: 'settings-stamp-create' + file: File } interface SettingsStampEditModalState extends BaseModalState { @@ -142,5 +143,6 @@ interface SettingsStampEditModalState extends BaseModalState { interface SettingsStampImageEditModalState extends BaseModalState { type: 'settings-stamp-image-edit' + id: StampId file: File } From e9ae2a50101015e52010f23833db36f87f095bec Mon Sep 17 00:00:00 2001 From: mehm8128 Date: Mon, 4 Dec 2023 00:31:48 +0900 Subject: [PATCH 13/25] =?UTF-8?q?ref=E5=A4=96=E3=81=97=E3=81=9F=E3=81=AE?= =?UTF-8?q?=E3=82=92=E6=88=BB=E3=81=97=E3=81=9F&format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Modal/ModalContainer.vue | 2 +- .../StampCreateModal/StampCreateModal.vue | 3 +- .../Modal/StampCreateModal/StampImageEdit.vue | 17 ++++-- .../Modal/StampCreateModal/StampInfoEdit.vue | 30 ++++++--- .../Modal/StampEditModal/StampEditModal.vue | 61 +++++++++++-------- .../StampImageEditModal.vue | 11 ++-- src/components/Settings/StampTab/NewStamp.vue | 2 +- 7 files changed, 75 insertions(+), 51 deletions(-) diff --git a/src/components/Modal/ModalContainer.vue b/src/components/Modal/ModalContainer.vue index 72f755614..b0b7276bb 100644 --- a/src/components/Modal/ModalContainer.vue +++ b/src/components/Modal/ModalContainer.vue @@ -12,7 +12,7 @@ currentState.type === 'channel-manage' || currentState.type === 'group-admin-add' || currentState.type === 'group-member-add' || - currentState.type === 'settings-stamp-edit'|| + currentState.type === 'settings-stamp-edit' || currentState.type === 'settings-stamp-image-edit' ? currentState.id : undefined diff --git a/src/components/Modal/StampCreateModal/StampCreateModal.vue b/src/components/Modal/StampCreateModal/StampCreateModal.vue index ac4672b70..64dd89cc3 100644 --- a/src/components/Modal/StampCreateModal/StampCreateModal.vue +++ b/src/components/Modal/StampCreateModal/StampCreateModal.vue @@ -5,7 +5,7 @@ :file="file" @update-file="updateFile" /> - + @@ -20,7 +20,6 @@ const props = defineProps<{ }>() const stampImage = ref(props.file) -const stampName = ref('') const step = ref<'image' | 'info'>('image') const subtitle = computed(() => diff --git a/src/components/Modal/StampCreateModal/StampImageEdit.vue b/src/components/Modal/StampCreateModal/StampImageEdit.vue index c515fc102..3bc3c66bd 100644 --- a/src/components/Modal/StampCreateModal/StampImageEdit.vue +++ b/src/components/Modal/StampCreateModal/StampImageEdit.vue @@ -5,13 +5,17 @@
- +
+ + diff --git a/src/store/ui/modal/states.ts b/src/store/ui/modal/states.ts index 3cfddbcb7..ba4f8bcf3 100644 --- a/src/store/ui/modal/states.ts +++ b/src/store/ui/modal/states.ts @@ -28,6 +28,7 @@ type ModalStateType = | 'settings-stamp-create' | 'settings-stamp-edit' | 'settings-stamp-image-edit' + | 'settings-profile-icon-edit' export type ModalState = | UserModalState @@ -47,6 +48,7 @@ export type ModalState = | SettingsStampCreateModalState | SettingsStampEditModalState | SettingsStampImageEditModalState + | SettingsProfileIconEdit interface BaseModalState { /** モーダル種別 */ @@ -146,3 +148,8 @@ interface SettingsStampImageEditModalState extends BaseModalState { id: StampId file: File } + +interface SettingsProfileIconEdit extends BaseModalState { + type: 'settings-profile-icon-edit' + file: File +} diff --git a/src/views/Settings/ProfileTab.vue b/src/views/Settings/ProfileTab.vue index 2f8c47ada..35262365d 100644 --- a/src/views/Settings/ProfileTab.vue +++ b/src/views/Settings/ProfileTab.vue @@ -1,64 +1,49 @@ From 05e329050be6caefc00138ac816e66bbdb0c3a08 Mon Sep 17 00:00:00 2001 From: mehm8128 Date: Sat, 6 Jan 2024 18:01:25 +0900 Subject: [PATCH 16/25] =?UTF-8?q?cropper=E3=81=AEmargin=E6=B6=88=E3=81=97?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Settings/ImageUpload.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/Settings/ImageUpload.vue b/src/components/Settings/ImageUpload.vue index 9cfe50ccc..a9392c8fb 100644 --- a/src/components/Settings/ImageUpload.vue +++ b/src/components/Settings/ImageUpload.vue @@ -117,7 +117,6 @@ onUnmounted(() => { .cropper { width: 280px; height: 280px; - margin: 12px; &[data-is-rounded] { :global(.cropper-view-box), :global(.cropper-face) { From 3bf8a0bc23a8e0673fb4ab1bb96e4210415f3177 Mon Sep 17 00:00:00 2001 From: mehm8128 Date: Sat, 6 Jan 2024 18:07:46 +0900 Subject: [PATCH 17/25] =?UTF-8?q?iconsize=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UI/UserIcon.vue | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/components/UI/UserIcon.vue b/src/components/UI/UserIcon.vue index 6251c1046..2cd10e424 100644 --- a/src/components/UI/UserIcon.vue +++ b/src/components/UI/UserIcon.vue @@ -20,7 +20,19 @@ import { useMeStore } from '/@/store/domain/me' import { useUsersStore } from '/@/store/entities/users' import NotificationIndicator from '/@/components/UI/NotificationIndicator.vue' -export type IconSize = 160 | 100 | 64 | 48 | 44 | 40 | 36 | 32 | 28 | 24 | 20 +export type IconSize = + | 200 + | 160 + | 100 + | 64 + | 48 + | 44 + | 40 + | 36 + | 32 + | 28 + | 24 + | 20 const props = withDefaults( defineProps<{ From 84c0503bb3660c20b229340921f1d514aa3bb0b5 Mon Sep 17 00:00:00 2001 From: mehm8128 Date: Tue, 2 Apr 2024 10:37:29 +0900 Subject: [PATCH 18/25] =?UTF-8?q?=E6=97=A7Twitter=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Settings/ProfileTab.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Settings/ProfileTab.vue b/src/views/Settings/ProfileTab.vue index 35262365d..14603a7b7 100644 --- a/src/views/Settings/ProfileTab.vue +++ b/src/views/Settings/ProfileTab.vue @@ -26,7 +26,7 @@
-

X (旧:Twitter)

+

X (旧Twitter)

From b139c30ae9f3cd1ccefd4d2150302c69513c987a Mon Sep 17 00:00:00 2001 From: mehm8128 Date: Fri, 5 Apr 2024 21:04:06 +0900 Subject: [PATCH 19/25] =?UTF-8?q?=E3=82=A2=E3=82=A4=E3=82=B3=E3=83=B3?= =?UTF-8?q?=E5=A4=89=E6=9B=B4=E3=83=9C=E3=82=BF=E3=83=B3=E3=82=92=E7=A7=BB?= =?UTF-8?q?=E5=8B=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Settings/ProfileTab.vue | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/views/Settings/ProfileTab.vue b/src/views/Settings/ProfileTab.vue index 14603a7b7..886b4f1c4 100644 --- a/src/views/Settings/ProfileTab.vue +++ b/src/views/Settings/ProfileTab.vue @@ -2,13 +2,15 @@

アイコン

- - +
+ + +

表示名

@@ -197,6 +199,11 @@ onBeforeRouteLeave(() => { .heading { margin-bottom: 4px; } +.iconContainer{ + display: flex; + align-items: end; + justify-content: space-between; +} .iconEditButton { margin-top: 8px; } From c0830035aafc44f8f0d5ffa6db25e1a66817bc41 Mon Sep 17 00:00:00 2001 From: mehm8128 Date: Fri, 5 Apr 2024 21:06:28 +0900 Subject: [PATCH 20/25] format --- src/views/Settings/ProfileTab.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Settings/ProfileTab.vue b/src/views/Settings/ProfileTab.vue index 886b4f1c4..9d23c2e0a 100644 --- a/src/views/Settings/ProfileTab.vue +++ b/src/views/Settings/ProfileTab.vue @@ -199,7 +199,7 @@ onBeforeRouteLeave(() => { .heading { margin-bottom: 4px; } -.iconContainer{ +.iconContainer { display: flex; align-items: end; justify-content: space-between; From 7fd6584e19540a5bc2207a3c6693f2b961e2a802 Mon Sep 17 00:00:00 2001 From: mehm8128 Date: Thu, 9 May 2024 20:27:25 +0900 Subject: [PATCH 21/25] =?UTF-8?q?=E3=81=A1=E3=82=87=E3=81=A3=E3=81=A8?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Settings/ProfileTab.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/Settings/ProfileTab.vue b/src/views/Settings/ProfileTab.vue index 9d23c2e0a..6cc2d4b46 100644 --- a/src/views/Settings/ProfileTab.vue +++ b/src/views/Settings/ProfileTab.vue @@ -12,10 +12,10 @@ />
-
+

表示名

-
+

ひとこと

@@ -201,7 +201,7 @@ onBeforeRouteLeave(() => { } .iconContainer { display: flex; - align-items: end; + align-items: flex-end; justify-content: space-between; } .iconEditButton { @@ -214,7 +214,7 @@ onBeforeRouteLeave(() => { } .buttonContainer { display: flex; - justify-content: end; + justify-content: flex-end; gap: 16px; } From 5f27f842e795797d412b402b036f5c3f75283da9 Mon Sep 17 00:00:00 2001 From: mehm8128 Date: Thu, 20 Jun 2024 00:08:03 +0900 Subject: [PATCH 22/25] =?UTF-8?q?sp=E3=81=A7=E3=82=B9=E3=82=BF=E3=83=B3?= =?UTF-8?q?=E3=83=97=E5=90=8D=E3=81=8C=E9=95=B7=E3=81=84=E3=81=A8=E3=81=8D?= =?UTF-8?q?=E3=81=AB=E3=81=AF=E3=81=BF=E5=87=BA=E3=81=AA=E3=81=84=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Settings/StampTab/StampItem.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/Settings/StampTab/StampItem.vue b/src/components/Settings/StampTab/StampItem.vue index ce1dbac74..51d163e76 100644 --- a/src/components/Settings/StampTab/StampItem.vue +++ b/src/components/Settings/StampTab/StampItem.vue @@ -3,7 +3,7 @@
-

:{{ stamp.name }}:

+

:{{ stamp.name }}:

{ display: flex; justify-content: space-between; align-items: center; + gap: 8px; +} +.stampName { + word-break: break-all; } .creator { @include color-ui-secondary; max-width: 120px; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; + word-break: break-all; } .dotsButton { From 37251f4aeefd6903a409654a45c3a1f6b4bfcc3e Mon Sep 17 00:00:00 2001 From: mehm8128 Date: Thu, 20 Jun 2024 00:10:46 +0900 Subject: [PATCH 23/25] remove unused import --- src/components/Modal/ModalContainer.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/Modal/ModalContainer.vue b/src/components/Modal/ModalContainer.vue index 4abd117d9..6816f9585 100644 --- a/src/components/Modal/ModalContainer.vue +++ b/src/components/Modal/ModalContainer.vue @@ -77,7 +77,6 @@ import StampEditModal from './StampEditModal/StampEditModal.vue' import StampImageEditModal from './StampImageEditModal/StampImageEditModal.vue' import ProfileIconEditModal from './ProfileIconEditModal/ProfileIconEditModal.vue' import SettingsThemeEditModal from './SettingsThemeEditModal/SettingsThemeEditModal.vue' -import { error } from 'console' const { shouldShowModal, currentState } = useModalStore() From d15c500432e834df8f9f390acc1c4ee73947271e Mon Sep 17 00:00:00 2001 From: mehm8128 Date: Tue, 2 Jul 2024 20:55:44 +0900 Subject: [PATCH 24/25] =?UTF-8?q?=E3=82=BF=E3=83=96=E3=81=AE=E8=83=8C?= =?UTF-8?q?=E6=99=AF=E8=89=B2=E3=81=8C=E3=83=90=E3=82=B0=E3=81=A3=E3=81=A6?= =?UTF-8?q?=E3=81=9F=E3=81=AE=E3=82=92=E7=9B=B4=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UI/ATab.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/UI/ATab.vue b/src/components/UI/ATab.vue index 1388457f9..58862339b 100644 --- a/src/components/UI/ATab.vue +++ b/src/components/UI/ATab.vue @@ -28,6 +28,7 @@ defineExpose({ focus }) padding: 0.25rem 1rem; cursor: pointer; position: relative; + isolation: isolate; @include color-ui-secondary; &[aria-selected='true'] { From bae8de0f1b2e24ea1d7576e97d4326c620c339bf Mon Sep 17 00:00:00 2001 From: nokhnaton Date: Thu, 17 Oct 2024 19:42:51 +0900 Subject: [PATCH 25/25] fix format --- src/components/UI/FormButton.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/UI/FormButton.vue b/src/components/UI/FormButton.vue index afd156f60..b87edd0b1 100644 --- a/src/components/UI/FormButton.vue +++ b/src/components/UI/FormButton.vue @@ -46,7 +46,6 @@ type Props = { mdi?: boolean } & (NonDangerType | DangerType) - const { label = '', loading = false,