public
anord
read
Ledger
Why work hard when you can work easier?
Languages
Repository composition by tracked source files.
TypeScript
86%
CSS
10%
SQL
3%
Shell
1%
HTML
0%
Trace
apps/web/src/components/CommandSearch.tsx
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
CommandSearch.tsx
on main
Author
Date
Commit
Line
Code
Alex Nord
3 months ago
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 1
import { useEffect, useRef, useState } from "react";
import { useEffect, useRef, useState } from "react";
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 2
import { Link } from "react-router-dom";
import { Link } from "react-router-dom";
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 3
import type { PageSummary } from "@ledger/shared";
import type { PageSummary } from "@ledger/shared";
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 4
import { Icon } from "./Icon";
import { Icon } from "./Icon";
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 5
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 6
type Space = {
type Space = {
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 7
id: string;
id: string;
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 8
name: string;
name: string;
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 9
key: string;
key: string;
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 10
visibility: string;
visibility: string;
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 11
};
};
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 12
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 13
export function CommandSearch({
export function CommandSearch({
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 14
open,
open,
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 15
onClose,
onClose,
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 16
onSearch,
onSearch,
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 17
spaces,
spaces,
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 18
results,
results,
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 19
isLoading
isLoading
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 20
}: {
}: {
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 21
open: boolean;
open: boolean;
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 22
onClose: () => void;
onClose: () => void;
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 23
onSearch: (query: string) => void;
onSearch: (query: string) => void;
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 24
spaces: Space[];
spaces: Space[];
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 25
results: PageSummary[];
results: PageSummary[];
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 26
isLoading: boolean;
isLoading: boolean;
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 27
}) {
}) {
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 28
const [query, setQuery] = useState("");
const [query, setQuery] = useState("");
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 29
const inputRef = useRef<HTMLInputElement>(null);
const inputRef = useRef<HTMLInputElement>(null);
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 30
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 31
useEffect(() => {
useEffect(() => {
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 32
if (!open) {
if (!open) {
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 33
setQuery("");
setQuery("");
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 34
return;
return;
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 35
}
}
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 36
inputRef.current?.focus();
inputRef.current?.focus();
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 37
}, [open]);
}, [open]);
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 38
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 39
useEffect(() => {
useEffect(() => {
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 40
if (!open) {
if (!open) {
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 41
return;
return;
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 42
}
}
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 43
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 44
const timeout = window.setTimeout(() => {
const timeout = window.setTimeout(() => {
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 45
onSearch(query);
onSearch(query);
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 46
}, 180);
}, 180);
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 47
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 48
return () => window.clearTimeout(timeout);
return () => window.clearTimeout(timeout);
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 49
}, [open, onSearch, query]);
}, [open, onSearch, query]);
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 50
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 51
useEffect(() => {
useEffect(() => {
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 52
function handleKeyDown(event: KeyboardEvent) {
function handleKeyDown(event: KeyboardEvent) {
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 53
if (event.key === "Escape") {
if (event.key === "Escape") {
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 54
onClose();
onClose();
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 55
}
}
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 56
}
}
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 57
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 58
if (open) {
if (open) {
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 59
window.addEventListener("keydown", handleKeyDown);
window.addEventListener("keydown", handleKeyDown);
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 60
}
}
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 61
return () => window.removeEventListener("keydown", handleKeyDown);
return () => window.removeEventListener("keydown", handleKeyDown);
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 62
}, [onClose, open]);
}, [onClose, open]);
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 63
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 64
const grouped = results.reduce<Record<string, PageSummary[]>>((acc, result) => {
const grouped = results.reduce<Record<string, PageSummary[]>>((acc, result) => {
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 65
acc[result.spaceId] = acc[result.spaceId] ?? [];
acc[result.spaceId] = acc[result.spaceId] ?? [];
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 66
acc[result.spaceId].push(result);
acc[result.spaceId].push(result);
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 67
return acc;
return acc;
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 68
}, {});
}, {});
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 69
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 70
const spaceNameFor = (spaceId: string) => spaces.find((space) => space.id === spaceId)?.name ?? "Collection";
const spaceNameFor = (spaceId: string) => spaces.find((space) => space.id === spaceId)?.name ?? "Collection";
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 71
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 72
return (
return (
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 73
<>
<>
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 74
<div className={`command-palette__overlay${open ? " is-open" : ""}`} onClick={onClose} />
<div className={`command-palette__overlay${open ? " is-open" : ""}`} onClick={onClose} />
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 75
<section className={`command-palette${open ? " is-open" : ""}`} aria-hidden={!open}>
<section className={`command-palette${open ? " is-open" : ""}`} aria-hidden={!open}>
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 76
<div className="command-palette__input">
<div className="command-palette__input">
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 77
<Icon name="search" className="icon" />
<Icon name="search" className="icon" />
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 78
<input
<input
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 79
ref={inputRef}
ref={inputRef}
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 80
value={query}
value={query}
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 81
onChange={(event) => setQuery(event.target.value)}
onChange={(event) => setQuery(event.target.value)}
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 82
placeholder="Search docs, pages, and answers"
placeholder="Search docs, pages, and answers"
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 83
aria-label="Search"
aria-label="Search"
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 84
/>
/>
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 85
<button type="button" className="button-ghost" onClick={onClose}>
<button type="button" className="button-ghost" onClick={onClose}>
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 86
Esc
Esc
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 87
</button>
</button>
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 88
</div>
</div>
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 89
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 90
<div className="command-palette__results">
<div className="command-palette__results">
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 91
{isLoading ? <p className="muted">Searching...</p> : null}
{isLoading ? <p className="muted">Searching...</p> : null}
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 92
{!isLoading && query.trim() && results.length === 0 ? (
{!isLoading && query.trim() && results.length === 0 ? (
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 93
<p className="muted">No results found.</p>
<p className="muted">No results found.</p>
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 94
) : null}
) : null}
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 95
{!isLoading && !query.trim() ? (
{!isLoading && !query.trim() ? (
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 96
<p className="muted">Search by title or article content. Try a page name, keyword, or process.</p>
<p className="muted">Search by title or article content. Try a page name, keyword, or process.</p>
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 97
) : null}
) : null}
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 98
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 99
{Object.entries(grouped).map(([spaceId, items]) => (
{Object.entries(grouped).map(([spaceId, items]) => (
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 100
<div key={spaceId} className="search-group">
<div key={spaceId} className="search-group">
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 101
<div className="search-group__label">{spaceNameFor(spaceId)}</div>
<div className="search-group__label">{spaceNameFor(spaceId)}</div>
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 102
{items.map((result) => (
{items.map((result) => (
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 103
<Link key={result.id} to={`/page/${result.slug}`} className="search-result" onClick={onClose}>
<Link key={result.id} to={`/page/${result.slug}`} className="search-result" onClick={onClose}>
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 104
<div className="search-result__icon">
<div className="search-result__icon">
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 105
<Icon name="document" className="icon icon-sm" />
<Icon name="document" className="icon icon-sm" />
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 106
</div>
</div>
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 107
<div className="search-result__body">
<div className="search-result__body">
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 108
<strong>{result.title}</strong>
<strong>{result.title}</strong>
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 109
<p>{result.excerpt ?? "Open this article to read more."}</p>
<p>{result.excerpt ?? "Open this article to read more."}</p>
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 110
<span>{spaceNameFor(spaceId)} / {result.slug}</span>
<span>{spaceNameFor(spaceId)} / {result.slug}</span>
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 111
</div>
</div>
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 112
</Link>
</Link>
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 113
))}
))}
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 114
</div>
</div>
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 115
))}
))}
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 116
</div>
</div>
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 117
</section>
</section>
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 118
</>
</>
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 119
);
);
same change
9693751
Redesign the web app into a docs-first knowledge base UI
- Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 120
}
}