Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions src/web-ui/src/app/components/NavPanel/MainNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import React, { useCallback, useState, useMemo, useEffect, useRef } from 'react';
import { createPortal } from 'react-dom';
import { Plus, FolderOpen, FolderPlus, History, Check, Bot } from 'lucide-react';
import { Tooltip } from '@/component-library';
import { Badge, Tooltip } from '@/component-library';
import { useApp } from '../../hooks/useApp';
import { useSceneManager } from '../../hooks/useSceneManager';
import { useNavSceneStore } from '../../stores/navSceneStore';
Expand Down Expand Up @@ -616,7 +616,6 @@ const MainNav: React.FC<MainNavProps> = ({
return (
<>
<div className="bitfun-nav-panel__workspace-toolbar">
<Tooltip content={navModeHint} placement="right" followCursor>
<button
type="button"
className={[
Expand Down Expand Up @@ -653,7 +652,10 @@ const MainNav: React.FC<MainNavProps> = ({
)}
</span>
<span className="bitfun-nav-panel__mode-switch-copy">
<span className="bitfun-nav-panel__mode-switch-label">{navModeLabel}</span>
<span className="bitfun-nav-panel__mode-switch-label">
{navModeLabel}
{isAssistantNavMode && <Badge variant="neutral">Beta</Badge>}
</span>
<span className="bitfun-nav-panel__mode-switch-sub">
<span className="bitfun-nav-panel__mode-switch-desc">
<span className="bitfun-nav-panel__mode-switch-desc-main">{navModeDesc}</span>
Expand All @@ -662,7 +664,6 @@ const MainNav: React.FC<MainNavProps> = ({
</span>
</span>
</button>
</Tooltip>
<div className="bitfun-nav-panel__workspace-create-group">
{isAssistantNavMode ? (
<Tooltip content={createSessionTooltip} placement="right" followCursor>
Expand Down
3 changes: 3 additions & 0 deletions src/web-ui/src/app/components/NavPanel/NavPanel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,9 @@ $_section-header-height: 24px;
}

&__mode-switch-label {
display: inline-flex;
align-items: center;
gap: 8px;
font-size: 13px;
font-weight: 600;
line-height: 1.15;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useMemo } from 'react';
import { Boxes } from 'lucide-react';
import { Tooltip } from '@/component-library';
import { Badge, Tooltip } from '@/component-library';
import { useI18n } from '@/infrastructure/i18n/hooks/useI18n';
import { useMiniAppStore } from '@/app/scenes/miniapps/miniAppStore';
import { renderMiniAppIcon, getMiniAppIconGradient } from '@/app/scenes/miniapps/utils/miniAppIcons';
Expand Down Expand Up @@ -70,6 +70,7 @@ const MiniAppEntry: React.FC<MiniAppEntryProps> = ({
</span>
<span className="bitfun-nav-panel__miniapp-entry-copy">
<span className="bitfun-nav-panel__miniapp-entry-title">{t('scenes.miniApps')}</span>
<Badge variant="neutral">Beta</Badge>
</span>
</span>

Expand Down
3 changes: 2 additions & 1 deletion src/web-ui/src/flow_chat/components/ChatInput.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

&--collapsed {
cursor: pointer;
cursor: text;
max-width: 300px;
margin: 0 auto;

Expand All @@ -70,6 +70,7 @@
max-height: 42px;
padding: 0 18px;
border-radius: 999px;
cursor: text;
background: rgba(18, 18, 28, 0.22);
border: 1px solid rgba(255, 255, 255, 0.1);
backdrop-filter: blur(8px);
Expand Down
Loading