wu981526092 commited on
Commit
34e4e29
·
1 Parent(s): be0ace1

Fix dragging issue + Rebrand as Assistant Building Platform

Browse files

� Fixed Dragging Issue:
- Corrected overflow settings in layout containers
- Chat area now properly scrollable and interactive
- Settings panel flex layout optimized for better scrolling

� Platform Rebranding (Assistant-First):
- 'Chat Playground' → 'Assistant Studio' (build & test focus)
- 'Discover' → 'Templates' (template gallery for building)
- Updated all descriptions to emphasize assistant building
- 'Start Conversation' → 'Build Your Assistant'
- 'Use Template' → 'Build Assistant'

� Content Realignment:
- Hero: 'Create, customize and deploy personalized AI assistants'
- Studio: 'Build, test and refine your AI assistants'
- Templates: 'Start building with proven templates'
- Focus shifted from chat to assistant construction

✅ User Experience:
- Clear assistant building workflow
- Templates as starting points for customization
- Studio as comprehensive building environment
- Consistent messaging throughout platform

� Result: Platform now clearly positions as assistant building tool rather than just chat interface

frontend/src/components/Sidebar.tsx CHANGED
@@ -10,16 +10,16 @@ import {
10
 
11
  const navigation = [
12
  {
13
- name: 'Home',
14
  href: '/',
15
  icon: Home,
16
- description: 'Overview and AI assistant templates'
17
  },
18
  {
19
- name: 'Chat Playground',
20
  href: '/playground',
21
  icon: MessageSquare,
22
- description: 'AI chatbot with saved assistants'
23
  },
24
  {
25
  name: 'Model Catalog',
 
10
 
11
  const navigation = [
12
  {
13
+ name: 'Templates',
14
  href: '/',
15
  icon: Home,
16
+ description: 'Browse assistant templates and examples'
17
  },
18
  {
19
+ name: 'Assistant Studio',
20
  href: '/playground',
21
  icon: MessageSquare,
22
+ description: 'Build, test and refine your AI assistants'
23
  },
24
  {
25
  name: 'Model Catalog',
frontend/src/pages/Home.tsx CHANGED
@@ -144,8 +144,8 @@ export function Home() {
144
  </div>
145
 
146
  <p className="text-xl text-gray-600 max-w-3xl mx-auto">
147
- Professional AI platform for local and cloud language models.
148
- Complete privacy, advanced features, industrial-grade performance.
149
  </p>
150
 
151
  <div className="flex flex-col items-center gap-4 mt-8">
@@ -155,19 +155,19 @@ export function Home() {
155
  className="flex items-center gap-2 px-8 py-3 text-lg"
156
  >
157
  <MessageSquare className="h-5 w-5" />
158
- Start Conversation
159
  <ArrowRight className="h-4 w-4" />
160
  </Button>
161
 
162
  <div className="flex items-center gap-6 text-sm text-muted-foreground">
163
  <span className="flex items-center gap-1">
164
  <Brain className="h-4 w-4" />
165
- Local & Cloud Models
166
  </span>
167
  <span>•</span>
168
  <span>Privacy First</span>
169
  <span>•</span>
170
- <span>Easy to Use</span>
171
  </div>
172
  </div>
173
  </div>
@@ -177,15 +177,15 @@ export function Home() {
177
  {/* Community Templates Section */}
178
  <div className="py-16 bg-background">
179
  <div className="max-w-6xl mx-auto px-6">
180
- <div className="text-center mb-12">
181
- <div className="flex items-center justify-center gap-2 mb-4">
182
- <Users className="h-6 w-6 text-blue-600" />
183
- <h2 className="text-3xl font-bold text-gray-900">AI Assistant Templates</h2>
 
 
 
 
184
  </div>
185
- <p className="text-gray-600 max-w-2xl mx-auto">
186
- Discover pre-configured AI assistants for various tasks and workflows
187
- </p>
188
- </div>
189
 
190
  <Tabs defaultValue="all" className="space-y-6">
191
  <TabsList className="grid w-full grid-cols-3">
@@ -338,7 +338,7 @@ function CommunityTemplateCard({
338
  {/* Action */}
339
  <div className="flex justify-end">
340
  <Button size="sm" onClick={onUse}>
341
- Use Template
342
  </Button>
343
  </div>
344
  </CardContent>
 
144
  </div>
145
 
146
  <p className="text-xl text-gray-600 max-w-3xl mx-auto">
147
+ Create, customize and deploy personalized AI assistants.
148
+ Build specialized AI helpers tailored to your specific needs and workflows.
149
  </p>
150
 
151
  <div className="flex flex-col items-center gap-4 mt-8">
 
155
  className="flex items-center gap-2 px-8 py-3 text-lg"
156
  >
157
  <MessageSquare className="h-5 w-5" />
158
+ Build Your Assistant
159
  <ArrowRight className="h-4 w-4" />
160
  </Button>
161
 
162
  <div className="flex items-center gap-6 text-sm text-muted-foreground">
163
  <span className="flex items-center gap-1">
164
  <Brain className="h-4 w-4" />
165
+ Personalized AI
166
  </span>
167
  <span>•</span>
168
  <span>Privacy First</span>
169
  <span>•</span>
170
+ <span>Easy to Build</span>
171
  </div>
172
  </div>
173
  </div>
 
177
  {/* Community Templates Section */}
178
  <div className="py-16 bg-background">
179
  <div className="max-w-6xl mx-auto px-6">
180
+ <div className="text-center mb-12">
181
+ <div className="flex items-center justify-center gap-2 mb-4">
182
+ <Users className="h-6 w-6 text-blue-600" />
183
+ <h2 className="text-3xl font-bold text-gray-900">Assistant Templates</h2>
184
+ </div>
185
+ <p className="text-gray-600 max-w-2xl mx-auto">
186
+ Start building with proven templates or customize them to create your perfect AI assistant
187
+ </p>
188
  </div>
 
 
 
 
189
 
190
  <Tabs defaultValue="all" className="space-y-6">
191
  <TabsList className="grid w-full grid-cols-3">
 
338
  {/* Action */}
339
  <div className="flex justify-end">
340
  <Button size="sm" onClick={onUse}>
341
+ Build Assistant
342
  </Button>
343
  </div>
344
  </CardContent>
frontend/src/pages/Playground.tsx CHANGED
@@ -367,7 +367,7 @@ export function Playground() {
367
  <div className="flex items-center gap-2">
368
  <MessageSquare className="h-5 w-5" />
369
  <h1 className="text-lg font-semibold">
370
- Chat Playground
371
  </h1>
372
  {currentSession && (
373
  <Badge variant="outline" className="text-xs">
@@ -390,9 +390,9 @@ export function Playground() {
390
  </div>
391
 
392
  {/* Content Area - Responsive layout */}
393
- <div className="flex-1 flex overflow-hidden min-h-0">
394
  {/* Chat Area */}
395
- <div className="flex-1 flex flex-col">
396
 
397
 
398
  {/* Chat Messages and Input */}
@@ -417,11 +417,11 @@ export function Playground() {
417
  </div>
418
 
419
  {/* Settings Panel - Responsive Large Configuration Area */}
420
- <div className="w-[480px] xl:w-[520px] border-l bg-muted/30 overflow-y-auto">
421
- <div className="p-6 space-y-8">
422
  <div className="flex items-center gap-3 pb-6 border-b">
423
  <Settings className="h-6 w-6" />
424
- <h2 className="font-semibold text-xl">Assistant Configuration</h2>
425
  </div>
426
 
427
  {/* Model Selection */}
 
367
  <div className="flex items-center gap-2">
368
  <MessageSquare className="h-5 w-5" />
369
  <h1 className="text-lg font-semibold">
370
+ Assistant Studio
371
  </h1>
372
  {currentSession && (
373
  <Badge variant="outline" className="text-xs">
 
390
  </div>
391
 
392
  {/* Content Area - Responsive layout */}
393
+ <div className="flex-1 flex min-h-0">
394
  {/* Chat Area */}
395
+ <div className="flex-1 flex flex-col overflow-hidden">
396
 
397
 
398
  {/* Chat Messages and Input */}
 
417
  </div>
418
 
419
  {/* Settings Panel - Responsive Large Configuration Area */}
420
+ <div className="w-[480px] xl:w-[520px] border-l bg-muted/30 flex flex-col">
421
+ <div className="flex-1 overflow-y-auto p-6 space-y-8">
422
  <div className="flex items-center gap-3 pb-6 border-b">
423
  <Settings className="h-6 w-6" />
424
+ <h2 className="font-semibold text-xl">Build Your Assistant</h2>
425
  </div>
426
 
427
  {/* Model Selection */}
static/assets/index-4a5f87f7.js ADDED
The diff for this file is too large to render. See raw diff
 
static/assets/index-4a5f87f7.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-b949d73e.js"></script>
9
  <link rel="stylesheet" href="/assets/index-146b6538.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-4a5f87f7.js"></script>
9
  <link rel="stylesheet" href="/assets/index-146b6538.css">
10
  </head>
11
  <body>