enhancement: added space scroll remote engine setting (#4523)

* enhancement: added space scroll remote engine setting

* chore: show icon history only left panel close on thread page
This commit is contained in:
Faisal Amir 2025-01-27 20:22:54 +07:00 committed by GitHub
parent 628838442d
commit afae57b52b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 5 deletions

View File

@ -13,6 +13,7 @@ import {
PenSquareIcon,
Settings2,
History,
PanelLeftOpenIcon,
} from 'lucide-react'
import { twMerge } from 'tailwind-merge'
@ -91,10 +92,14 @@ const TopPanel = () => {
</Button>
) : (
<Button theme="icon" onClick={() => setShowLeftPanel(true)}>
<Tooltip
trigger={<History size={16} />}
content="Threads History"
/>
{mainViewState === MainViewState.Thread ? (
<Tooltip
trigger={<History size={16} />}
content="Threads History"
/>
) : (
<PanelLeftOpenIcon size={16} />
)}
</Button>
)}
</Fragment>

View File

@ -234,7 +234,7 @@ const RemoteEngineSettings = ({
</div>
</div>
<div className="px-4">
<div className="px-4 pb-4">
<p
className="flex cursor-pointer items-center text-sm font-medium text-[hsla(var(--text-secondary))]"
onClick={() => setisActiveAdvanceSetting(!isActiveAdvanceSetting)}