feat: add gemini quick start button (#128)

This commit is contained in:
Clay Warren 2025-06-29 15:54:14 -05:00 committed by GitHub
parent b2a395fcd8
commit aabbd57aa2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -326,6 +326,7 @@ struct SessionCreateView: View {
private var quickStartCommands: [QuickStartItem] {
[
QuickStartItem(title: "claude", command: "claude", icon: "sparkle"),
QuickStartItem(title: "gemini", command: "gemini", icon: "sparkle"),
QuickStartItem(title: "zsh", command: "zsh", icon: "terminal"),
QuickStartItem(title: "bash", command: "bash", icon: "terminal.fill"),
QuickStartItem(title: "python3", command: "python3", icon: "chevron.left.forwardslash.chevron.right"),
@ -340,6 +341,8 @@ struct SessionCreateView: View {
private func commandIcon(for command: String) -> String {
switch command {
case "gemini":
"sparkle"
case "claude":
"sparkle"
case "zsh", "bash":

View file

@ -50,6 +50,7 @@ export class SessionCreateForm extends LitElement {
private quickStartCommands = [
{ label: 'claude', command: 'claude' },
{ label: 'gemini', command: 'gemini' },
{ label: 'zsh', command: 'zsh' },
{ label: 'bash', command: 'bash' },
{ label: 'python3', command: 'python3' },
@ -445,7 +446,7 @@ export class SessionCreateForm extends LitElement {
}"
?disabled=${this.disabled || this.isCreating}
>
${label === 'claude' ? '✨ ' : ''}${
${label === 'gemini' ? '✨ ' : ''}${label === 'claude' ? '✨ ' : ''}${
label === 'pnpm run dev' ? '▶️ ' : ''
}${label}
</button>