Spaces:
Running
Running
axeronis commited on
Commit ·
e7d9bff
1
Parent(s): fafcde0
fix(ui): hide nova, fix tablet summary overlap, and ai toggle styling
Browse files
frontend/app/chats/page.tsx
CHANGED
|
@@ -333,7 +333,7 @@ function ChatsContent() {
|
|
| 333 |
animate={{ opacity: 1 }}
|
| 334 |
exit={{ opacity: 0 }}
|
| 335 |
onClick={() => { setIsSummaryOpen(false); setSummaryLead(undefined); }}
|
| 336 |
-
className="fixed right-0 top-[var(--header-height-mobile)] md:top-
|
| 337 |
/>
|
| 338 |
|
| 339 |
<motion.div
|
|
@@ -341,7 +341,7 @@ function ChatsContent() {
|
|
| 341 |
animate={{ x: 0, opacity: 1 }}
|
| 342 |
exit={{ x: '100%', opacity: 0 }}
|
| 343 |
transition={{ type: 'spring', damping: 30, stiffness: 250, mass: 0.8 }}
|
| 344 |
-
className="fixed right-0 top-[var(--header-height-mobile)] md:top-
|
| 345 |
style={{ willChange: 'transform', transform: 'translateZ(0)', overscrollBehavior: 'contain' }}
|
| 346 |
>
|
| 347 |
|
|
|
|
| 333 |
animate={{ opacity: 1 }}
|
| 334 |
exit={{ opacity: 0 }}
|
| 335 |
onClick={() => { setIsSummaryOpen(false); setSummaryLead(undefined); }}
|
| 336 |
+
className="fixed right-0 top-[var(--header-height-mobile)] md:top-[120px] lg:top-20 bottom-[var(--footer-height-mobile)] md:bottom-0 bg-black/40 backdrop-blur-[4px] z-[15] left-0 md:left-[320px]"
|
| 337 |
/>
|
| 338 |
|
| 339 |
<motion.div
|
|
|
|
| 341 |
animate={{ x: 0, opacity: 1 }}
|
| 342 |
exit={{ x: '100%', opacity: 0 }}
|
| 343 |
transition={{ type: 'spring', damping: 30, stiffness: 250, mass: 0.8 }}
|
| 344 |
+
className="fixed right-0 top-[var(--header-height-mobile)] md:top-[120px] lg:top-20 bottom-[var(--footer-height-mobile)] md:bottom-0 w-[92%] max-w-[400px] md:w-[480px] md:max-w-[480px] bg-[#050510]/95 backdrop-blur-xl border-l border-white/10 z-[16] flex flex-col shadow-[0_0_50px_rgba(0,0,0,0.5)] rounded-l-2xl md:rounded-l-xl overflow-hidden touch-pan-y"
|
| 345 |
style={{ willChange: 'transform', transform: 'translateZ(0)', overscrollBehavior: 'contain' }}
|
| 346 |
>
|
| 347 |
|
frontend/components/ChatWindow/ChatHeader.tsx
CHANGED
|
@@ -101,7 +101,7 @@ export function ChatHeader({
|
|
| 101 |
onClick={onToggleAI}
|
| 102 |
disabled={isTogglingAI}
|
| 103 |
className={cn(
|
| 104 |
-
"relative w-12 h-6 rounded-full transition-all duration-300 flex-shrink-0 border",
|
| 105 |
isAIActive
|
| 106 |
? "bg-indigo-500 border-indigo-400 shadow-[0_2px_8px_rgba(99,102,241,0.3)]"
|
| 107 |
: "bg-white/10 border-white/10 hover:bg-white/20",
|
|
|
|
| 101 |
onClick={onToggleAI}
|
| 102 |
disabled={isTogglingAI}
|
| 103 |
className={cn(
|
| 104 |
+
"relative w-12 h-6 min-w-[48px] h-[24px] rounded-full transition-all duration-300 flex-shrink-0 border",
|
| 105 |
isAIActive
|
| 106 |
? "bg-indigo-500 border-indigo-400 shadow-[0_2px_8px_rgba(99,102,241,0.3)]"
|
| 107 |
: "bg-white/10 border-white/10 hover:bg-white/20",
|
frontend/components/layout/LayoutClient.tsx
CHANGED
|
@@ -107,8 +107,8 @@ export function LayoutClient({ children }: { children: React.ReactNode }) {
|
|
| 107 |
<MobileBottomNav />
|
| 108 |
</div>
|
| 109 |
|
| 110 |
-
{/* Nova Help Chat Widget */}
|
| 111 |
-
<NovaHelpChat />
|
| 112 |
</div>
|
| 113 |
</div>
|
| 114 |
</ProtectedLayout>
|
|
|
|
| 107 |
<MobileBottomNav />
|
| 108 |
</div>
|
| 109 |
|
| 110 |
+
{/* Nova Help Chat Widget - HIDDEN for now */}
|
| 111 |
+
{/* <NovaHelpChat /> */}
|
| 112 |
</div>
|
| 113 |
</div>
|
| 114 |
</ProtectedLayout>
|