;
})}
@@ -201,23 +192,25 @@ const jetbrainsShortcuts: KeyboardShortcutProps[] = [
];
function KeyboardShortcuts() {
+ const shortcuts = useMemo(() => {
+ return isJetBrains() ? jetbrainsShortcuts : vscodeShortcuts;
+ }, []);
+
return (
-
+
Keyboard shortcuts
-
- {(isJetBrains() ? jetbrainsShortcuts : vscodeShortcuts).map(
- (shortcut, i) => {
- return (
-
- );
- },
- )}
-
+
+ {shortcuts.map((shortcut, i) => {
+ return (
+
+ );
+ })}
+
);
}
diff --git a/gui/src/pages/config/index.tsx b/gui/src/pages/config/index.tsx
index a336cb69c..d4d50103e 100644
--- a/gui/src/pages/config/index.tsx
+++ b/gui/src/pages/config/index.tsx
@@ -32,30 +32,32 @@ function ConfigPage() {
id: "settings",
label: "Settings",
component:
,
- icon:
,
+ icon:
,
},
{
id: "indexing",
label: "Indexing",
component:
,
- icon:
,
+ icon:
,
},
{
id: "help",
label: "Help",
component:
,
- icon:
,
+ icon: (
+
+ ),
},
{
id: "shortcuts",
label: "Shortcuts",
component:
,
- icon:
,
+ icon:
,
},
];
return (
-
+
{/* Tab Headers */}
-
+
{tabs.map((tab) => (
setActiveTab(tab.id)}
@@ -85,7 +87,7 @@ function ConfigPage() {
{/* Tab Content */}
-
+
{tabs.find((tab) => tab.id === activeTab)?.component}
diff --git a/gui/src/pages/gui/Chat.tsx b/gui/src/pages/gui/Chat.tsx
index c75256813..653efcd3d 100644
--- a/gui/src/pages/gui/Chat.tsx
+++ b/gui/src/pages/gui/Chat.tsx
@@ -292,7 +292,7 @@ export function Chat() {
0 ? "flex-1" : ""}`}
+ className={`mt-[2px] overflow-y-scroll ${showPageHeader ? "" : "pt-[8px]"} ${showScrollbar ? "thin-scrollbar" : "no-scrollbar"} ${history.length > 0 ? "flex-1" : ""}`}
>
{highlights}
{history.map((item, index: number) => (