aboutsummaryrefslogtreecommitdiffstats
path: root/ui/src/components/HistorySearch.tsx
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@elliehuxtable.com>2024-05-14 12:16:04 +0700
committerGitHub <noreply@github.com>2024-05-14 12:16:04 +0700
commit34265613b80d1d2249d276da5fcd5e4c274af357 (patch)
tree0993650d0a8475f37dfdb8ead5491ee5d196f00e /ui/src/components/HistorySearch.tsx
parentfix: alias enable/enabled in settings (#2021) (diff)
downloadatuin-34265613b80d1d2249d276da5fcd5e4c274af357.zip
feat(ui): add history explore (#2022)
* break out HistoryRow, add drawer * syntax highlighting! * smaller text * allow inspecting all old commands, no drag command * fix query bug * add loader
Diffstat (limited to 'ui/src/components/HistorySearch.tsx')
-rw-r--r--ui/src/components/HistorySearch.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/src/components/HistorySearch.tsx b/ui/src/components/HistorySearch.tsx
index b3c8492a..046a2a07 100644
--- a/ui/src/components/HistorySearch.tsx
+++ b/ui/src/components/HistorySearch.tsx
@@ -26,7 +26,7 @@ export default function HistorySearch(props: HistorySearchProps) {
/>
<input
id="search-field"
- className="block h-full w-full border-0 py-0 pl-8 pr-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm"
+ className="block h-full w-full border-0 py-0 pl-8 pr-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm outline-none"
placeholder="Search..."
autoComplete="off"
autoCapitalize="off"
@@ -36,7 +36,6 @@ export default function HistorySearch(props: HistorySearchProps) {
name="search"
onChange={(query) => {
props.setQuery(query.target.value);
- props.refresh();
}}
/>
</form>