From c80ceb67b889aad07d85c215d45a8f030a34d912 Mon Sep 17 00:00:00 2001 From: Jeffrey Chen <78434827+TCOTC@users.noreply.github.com> Date: Sun, 31 Mar 2024 09:33:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E7=A1=AE=E8=AE=A4=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E6=94=BE=E7=BD=AE=E5=9C=A8=E6=9C=80=E5=8F=B3=E8=BE=B9=20(#1080?= =?UTF-8?q?4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 一般来说: 1. **确定**:通常放在最右边,因为“确定”通常表示用户已经完成了他们的选择或操作,这是一个终结性的动作。 2. **取消**:通常放在中间,因为用户可能会在做出最终决定之前选择取消,这样可以让用户更容易找到。 3. **删除**:通常放在最左边,因为删除是一个潜在的危险操作,需要用户谨慎考虑。将其放在最左边可以减少意外删除的可能性。 这种顺序的目的是根据用户的心理模型和常见的行为模式来设计,以最大程度地减少用户错误操作的可能性。 --- app/src/ai/actions.ts | 4 ++-- app/src/menus/workspace.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/ai/actions.ts b/app/src/ai/actions.ts index 0dc904ccc..0527f8599 100644 --- a/app/src/ai/actions.ts +++ b/app/src/ai/actions.ts @@ -35,9 +35,9 @@ const editDialog = (customName: string, customMemo: string) => {
+
-
- +
`, width: isMobile() ? "92vw" : "520px", }); diff --git a/app/src/menus/workspace.ts b/app/src/menus/workspace.ts index 9679ed394..4edd5ed26 100644 --- a/app/src/menus/workspace.ts +++ b/app/src/menus/workspace.ts @@ -34,9 +34,9 @@ const editLayout = (layoutName?: string) => {
+
-
- +
`, width: "520px", });