Skip to content

Commit d1c3703

Browse files
committed
ui: rename "Open in OpenWebUI" to "Swiss AI Chat", reorder buttons
- Button text "Open in OpenWebUI" → "Swiss AI Chat". The underlying URL still points at the OpenWebUI deployment, but users see "Swiss AI Chat" which matches the surface-level brand they actually interact with. - Reorder so Metrics Dashboard (secondary, emerald) sits left of Swiss AI Chat (primary, black). Both still right-aligned as a group; the primary action lands at the right edge where the eye finishes scanning the card.
1 parent a83d4e2 commit d1c3703

1 file changed

Lines changed: 15 additions & 14 deletions

File tree

frontend/src/components/ui/ModelCard.svelte

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -187,21 +187,9 @@
187187
on:keydown|stopPropagation
188188
role="region"
189189
>
190-
<!-- Action buttons (what clicking the card used to do, plus metrics) -->
190+
<!-- Action buttons: Metrics (secondary, left) then Swiss AI Chat
191+
(primary, right). Right-aligned as a group. -->
191192
<div class="flex flex-wrap justify-end gap-2">
192-
<a
193-
href={chatUrl}
194-
target="_blank"
195-
rel="noopener noreferrer"
196-
class="inline-flex items-center gap-2 px-4 py-2 rounded-md bg-black hover:bg-neutral-800 text-white text-sm font-medium transition-colors"
197-
>
198-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
199-
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path>
200-
<polyline points="15 3 21 3 21 9"></polyline>
201-
<line x1="10" y1="14" x2="21" y2="3"></line>
202-
</svg>
203-
Open in OpenWebUI
204-
</a>
205193
{#if metricsUrl}
206194
<a
207195
href={metricsUrl}
@@ -216,6 +204,19 @@
216204
Metrics Dashboard
217205
</a>
218206
{/if}
207+
<a
208+
href={chatUrl}
209+
target="_blank"
210+
rel="noopener noreferrer"
211+
class="inline-flex items-center gap-2 px-4 py-2 rounded-md bg-black hover:bg-neutral-800 text-white text-sm font-medium transition-colors"
212+
>
213+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
214+
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path>
215+
<polyline points="15 3 21 3 21 9"></polyline>
216+
<line x1="10" y1="14" x2="21" y2="3"></line>
217+
</svg>
218+
Swiss AI Chat
219+
</a>
219220
</div>
220221

221222
<!-- Per-replica detail blocks -->

0 commit comments

Comments
 (0)