Skip to content

Commit 9b632aa

Browse files
committed
feat: add streams button to dashboard and enable Claude Haiku 4.5
1 parent deced61 commit 9b632aa

3 files changed

Lines changed: 24 additions & 2 deletions

File tree

.claude/settings.local.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
"Bash(tree:*)",
3434
"Bash(node scripts/init-db.js:*)",
3535
"Bash(timeout:*)",
36-
"WebFetch(domain:soltasks.fun)"
36+
"WebFetch(domain:soltasks.fun)",
37+
"WebFetch(domain:blog.sablier.com)",
38+
"WebFetch(domain:docs.superfluid.org)"
3739
]
3840
}
3941
}

demo/src/app/dashboard/page.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ export default function Dashboard() {
607607
</div>
608608

609609
{/* Actions */}
610-
<div className="grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 gap-4">
610+
<div className="grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-6 gap-4">
611611
<button
612612
onClick={() => setShowSendModal(true)}
613613
className="group relative"
@@ -648,6 +648,16 @@ export default function Dashboard() {
648648
<span className="text-sm">PAY LINK</span>
649649
</div>
650650
</button>
651+
<button
652+
onClick={() => router.push('/streams')}
653+
className="group relative"
654+
>
655+
<div className="absolute inset-0 bg-[#00FF88] translate-x-1 translate-y-1 group-hover:translate-x-2 group-hover:translate-y-2 transition-transform" />
656+
<div className={`relative flex flex-col items-center gap-2 p-4 ${isDark ? 'bg-[#0A0A0A]' : 'bg-[#F5F5F5]'} border-4 border-[#00FF88] font-black group-hover:-translate-x-1 group-hover:-translate-y-1 transition-transform`}>
657+
<Zap className="w-6 h-6 text-[#00FF88]" />
658+
<span className="text-sm">STREAMS</span>
659+
</div>
660+
</button>
651661
<button
652662
onClick={exportTransactions}
653663
disabled={transactions.length === 0}

demo/src/config/features.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,16 @@ export const FEATURES = {
112112
* Auto-increment waitlist count for social proof simulation
113113
*/
114114
WAITLIST_AUTO_INCREMENT: true,
115+
116+
// ========================================
117+
// 🤖 AI FEATURES
118+
// ========================================
119+
120+
/**
121+
* Enable Claude Haiku 4.5 for all clients
122+
* This provides faster, more cost-effective AI responses
123+
*/
124+
CLAUDE_HAIKU_4_5_ENABLED: true,
115125
} as const;
116126

117127
// Type for feature keys

0 commit comments

Comments
 (0)