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:
parent
628838442d
commit
afae57b52b
@ -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>
|
||||
|
||||
@ -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)}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user