-
{icon}
+
{icon}
{title}
{description}
diff --git a/apps/frontend/src/pages/Build/BuildDiffList.tsx b/apps/frontend/src/pages/Build/BuildDiffList.tsx
index 09fdf62d1..d510d8426 100644
--- a/apps/frontend/src/pages/Build/BuildDiffList.tsx
+++ b/apps/frontend/src/pages/Build/BuildDiffList.tsx
@@ -222,14 +222,14 @@ const ListHeader = ({
@@ -859,7 +859,7 @@ const InternalBuildDiffList = memo(() => {
<>
{stats && !searchMode && (
diff --git a/apps/frontend/src/pages/Build/BuildSidebar.tsx b/apps/frontend/src/pages/Build/BuildSidebar.tsx
index 3b0b8cdae..8d838ddf5 100644
--- a/apps/frontend/src/pages/Build/BuildSidebar.tsx
+++ b/apps/frontend/src/pages/Build/BuildSidebar.tsx
@@ -1,4 +1,5 @@
import * as React from "react";
+import clsx from "clsx";
import { SearchIcon, XIcon } from "lucide-react";
import {
Tab as RACTab,
@@ -25,7 +26,11 @@ const Tab = React.forwardRef(function Tab(
return (
);
@@ -44,20 +49,23 @@ const SearchInput = React.forwardRef(
(_props, ref) => {
const { search, setSearch } = useSearchState();
return (
- setSearch(event.target.value)}
- onKeyDown={(event) => {
- if (event.key === "ArrowDown" || event.key === "ArrowUp") {
- event.preventDefault();
- }
- }}
- />
+
+
+ setSearch(event.target.value)}
+ onKeyDown={(event) => {
+ if (event.key === "ArrowDown" || event.key === "ArrowUp") {
+ event.preventDefault();
+ }
+ }}
+ />
+
);
},
);
@@ -98,17 +106,6 @@ export const BuildSidebar = React.memo(
className="group/sidebar flex w-[295px] shrink-0 flex-col border-r"
>
-
- enterSearchMode()}
- aria-pressed={searchMode}
- >
-
-
-
{searchMode ? (
<>
@@ -116,16 +113,33 @@ export const BuildSidebar = React.memo(
keys={leaveSearchModeHotKey.displayKeys}
description="Exit search mode"
>
- setSearchMode(false)}>
+ setSearchMode(false)}>
>
) : (
-
- Screenshots
- Info
-
+ <>
+
+ Screenshots
+ Info
+
+
+ enterSearchMode()}
+ aria-pressed={searchMode}
+ size="small"
+ >
+
+
+
+ >
)}
diff --git a/apps/frontend/src/pages/Build/BuildStatsIndicator.tsx b/apps/frontend/src/pages/Build/BuildStatsIndicator.tsx
index f6d7d72a3..770ffad20 100644
--- a/apps/frontend/src/pages/Build/BuildStatsIndicator.tsx
+++ b/apps/frontend/src/pages/Build/BuildStatsIndicator.tsx
@@ -91,7 +91,7 @@ function InteractiveStatCount({
onPress={onActive}
isDisabled={count === 0}
>
- {icon}
+ {icon}
{count}
@@ -115,7 +115,7 @@ function StatCount({ icon, count, color, tooltip }: StatCountProps) {
count === 0 && "opacity-disabled",
)}
>
-
{icon}
+
{icon}
{count}
);
diff --git a/apps/frontend/src/pages/Build/header/BuildHeader.tsx b/apps/frontend/src/pages/Build/header/BuildHeader.tsx
index 1e18993a0..3515c58d9 100644
--- a/apps/frontend/src/pages/Build/header/BuildHeader.tsx
+++ b/apps/frontend/src/pages/Build/header/BuildHeader.tsx
@@ -71,7 +71,7 @@ const ProjectLink = memo(