Skip to content

Commit 1c6d47c

Browse files
committed
feat: Add model selector dropdown with styling for improved user interaction
1 parent 8dabaaf commit 1c6d47c

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

index.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,15 @@ <h3>EXPLORER</h3>
135135
<span class="material-symbols-outlined">code</span>
136136
<strong id="languagesList">-</strong>
137137
</span>
138+
<span class="separator"></span>
139+
<span class="info-item">
140+
<span class="material-symbols-outlined">smart_toy</span>
141+
<select id="modelSelector" title="AI Model Template">
142+
<option value="gpt">GPT-4</option>
143+
<option value="claude">Claude</option>
144+
<option value="gemini">Gemini</option>
145+
</select>
146+
</span>
138147
</div>
139148
<div class="editor-actions">
140149
<button class="btn-action" id="copyBtn" title="Copy to Clipboard">
@@ -173,7 +182,7 @@ <h3>EXPLORER</h3>
173182
<!-- LOADING OVERLAY -->
174183
<div class="loading-overlay" id="loadingOverlay">
175184
<div class="spinner"></div>
176-
<p>Processing files...</p>
185+
<p id="loadingText">Processing files...</p>
177186
</div>
178187

179188
<!-- TOAST NOTIFICATIONS -->

style.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/* Model selector styling */
2+
#modelSelector {
3+
background: #232323;
4+
color: #e8e8e8;
5+
border: 1px solid #444;
6+
border-radius: 4px;
7+
padding: 2px 8px;
8+
font-size: 1em;
9+
margin-left: 4px;
10+
margin-right: 2px;
11+
outline: none;
12+
transition: border 0.15s;
13+
}
14+
#modelSelector:focus {
15+
border-color: #fbbf24;
16+
}
117
/* Only sidebar main action icons (Select Directory, Create Context) black and small */
218
.sidebar-btn-icon {
319
width: 20px;

0 commit comments

Comments
 (0)