wu981526092 commited on
Commit
9d6c22c
·
1 Parent(s): b8a1c11

� CONSISTENCY FIX: Unify button text to Deploy to Device

Browse files

✅ My Device页面按钮文字统一:
- � Step 3进度条: "Connect to device" → "Deploy to device"
- � Step 2按钮: "Continue to Connect Device" → "Continue to Deploy Device"
- � Step 3标题: "Connect to Device" → "Deploy to Device"
- � Step 3主按钮: "Deploy to Edge Device" → "Deploy to Device"

� 用户体验改进:
- 统一的文字表达,避免混淆
- 清晰的功能描述
- 一致的用户界面体验

� 更专业的My Device页面!

frontend/src/pages/MyDevice.tsx CHANGED
@@ -173,7 +173,7 @@ export function MyDevice() {
173
  }`}>
174
  3
175
  </div>
176
- <span className="ml-2 font-medium">Connect to device</span>
177
  </div>
178
  <Button
179
  className="ml-8 bg-purple-600 hover:bg-purple-700 text-white px-8"
@@ -450,7 +450,7 @@ export function MyDevice() {
450
  onClick={() => setCurrentStep(3)}
451
  className="bg-purple-600 hover:bg-purple-700 text-white"
452
  >
453
- Continue to Connect Device
454
  </Button>
455
  </div>
456
  </div>
@@ -465,7 +465,7 @@ export function MyDevice() {
465
  <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M8.111 16.404a5.5 5.5 0 017.778 0M12 20h.01m-7.08-7.071c3.904-3.905 10.236-3.905 14.141 0M1.394 9.393c5.857-5.857 15.355-5.857 21.212 0" />
466
  </svg>
467
  </div>
468
- <h2 className="text-2xl font-bold text-gray-900 mb-2">Connect to Device</h2>
469
  <p className="text-gray-600">
470
  Your assistant configuration is ready to be deployed to your edge device.
471
  </p>
@@ -502,7 +502,7 @@ export function MyDevice() {
502
 
503
  <div className="space-y-3">
504
  <Button className="w-full bg-purple-600 hover:bg-purple-700 text-white py-3">
505
- Deploy to Edge Device
506
  </Button>
507
  <Button variant="outline" className="w-full" onClick={() => setCurrentStep(2)}>
508
  Back to Testing
 
173
  }`}>
174
  3
175
  </div>
176
+ <span className="ml-2 font-medium">Deploy to device</span>
177
  </div>
178
  <Button
179
  className="ml-8 bg-purple-600 hover:bg-purple-700 text-white px-8"
 
450
  onClick={() => setCurrentStep(3)}
451
  className="bg-purple-600 hover:bg-purple-700 text-white"
452
  >
453
+ Continue to Deploy Device
454
  </Button>
455
  </div>
456
  </div>
 
465
  <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M8.111 16.404a5.5 5.5 0 017.778 0M12 20h.01m-7.08-7.071c3.904-3.905 10.236-3.905 14.141 0M1.394 9.393c5.857-5.857 15.355-5.857 21.212 0" />
466
  </svg>
467
  </div>
468
+ <h2 className="text-2xl font-bold text-gray-900 mb-2">Deploy to Device</h2>
469
  <p className="text-gray-600">
470
  Your assistant configuration is ready to be deployed to your edge device.
471
  </p>
 
502
 
503
  <div className="space-y-3">
504
  <Button className="w-full bg-purple-600 hover:bg-purple-700 text-white py-3">
505
+ Deploy to Device
506
  </Button>
507
  <Button variant="outline" className="w-full" onClick={() => setCurrentStep(2)}>
508
  Back to Testing
static/assets/index-b546fb4a.js ADDED
The diff for this file is too large to render. See raw diff
 
static/assets/index-b546fb4a.js.map ADDED
The diff for this file is too large to render. See raw diff
 
static/index.html CHANGED
@@ -5,7 +5,7 @@
5
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
  <title>Edge LLM</title>
8
- <script type="module" crossorigin src="/assets/index-f9124c48.js"></script>
9
  <link rel="stylesheet" href="/assets/index-be9ccaff.css">
10
  </head>
11
  <body>
 
5
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
  <title>Edge LLM</title>
8
+ <script type="module" crossorigin src="/assets/index-b546fb4a.js"></script>
9
  <link rel="stylesheet" href="/assets/index-be9ccaff.css">
10
  </head>
11
  <body>