Add page to search chat history

This commit is contained in:
heweikang
2024-08-14 22:28:05 +08:00
parent edb92f7bfb
commit cd920364f8
10 changed files with 12523 additions and 1279 deletions

View File

@@ -250,6 +250,15 @@ export function SideBar(props: { className?: string }) {
onClick={() => setShowPluginSelector(true)}
shadow
/>
<IconButton
icon={<DiscoveryIcon />}
text={shouldNarrow ? undefined : Locale.SearchChat.Name}
className={styles["sidebar-bar-button"]}
onClick={() =>
navigate(Path.SearchChat, { state: { fromHome: true } })
}
shadow
/>
</div>
{showPluginSelector && (
<Selector