NobGit
public anord read

Ledger

Why work hard when you can work easier?

Languages

Repository composition by tracked source files.

TypeScript
TypeScript 86% CSS 10% SQL 3% Shell 1% HTML 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/anord/ledger.git
ssh://[email protected]:2222/orgs/anord/ledger.git

Trace

apps/web/src/components/SearchBar.tsx

Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.

SearchBar.tsx on main
Author Date Commit Line Code
Alex Nord 3 months ago 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1
import { FormEvent, useState } from "react";
Open commit View diff
1 import { FormEvent, useState } from "react";
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
2
import { Icon } from "./Icon";
Open commit View diff
2 import { Icon } from "./Icon";
Alex Nord 3 months ago 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
3
Open commit View diff
3
same change 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
4
export function SearchBar({
Open commit View diff
4 export function SearchBar({
same change 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
5
  initialQuery = "",
Open commit View diff
5 initialQuery = "",
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
6
  onSearch,
Open commit View diff
6 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
7
  placeholder = "Search documentation",
Open commit View diff
7 placeholder = "Search documentation",
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
  compact = false
Open commit View diff
8 compact = false
Alex Nord 3 months ago 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
9
}: {
Open commit View diff
9 }: {
same change 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
10
  initialQuery?: string;
Open commit View diff
10 initialQuery?: string;
same change 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
11
  onSearch: (query: string) => void;
Open commit View diff
11 onSearch: (query: string) => void;
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
12
  placeholder?: string;
Open commit View diff
12 placeholder?: 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
13
  compact?: boolean;
Open commit View diff
13 compact?: boolean;
Alex Nord 3 months ago 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
14
}) {
Open commit View diff
14 }) {
same change 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
15
  const [query, setQuery] = useState(initialQuery);
Open commit View diff
15 const [query, setQuery] = useState(initialQuery);
same change 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
16
Open commit View diff
16
same change 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
17
  function handleSubmit(event: FormEvent) {
Open commit View diff
17 function handleSubmit(event: FormEvent) {
same change 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
18
    event.preventDefault();
Open commit View diff
18 event.preventDefault();
same change 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
19
    onSearch(query);
Open commit View diff
19 onSearch(query);
same change 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
20
  }
Open commit View diff
20 }
same change 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
21
Open commit View diff
21
same change 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
22
  return (
Open commit View diff
22 return (
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
23
    <form className={`search-bar${compact ? " search-bar-compact" : ""}`} onSubmit={handleSubmit}>
Open commit View diff
23 <form className={`search-bar${compact ? " search-bar-compact" : ""}`} onSubmit={handleSubmit}>
Alex Nord 3 months ago bf8ab75

Continues UI Fixes part 3

Full commit hash
bf8ab75a8c0f353cc71637613dd04ca4b125685d
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
24
      <span className="search-bar__icon">
Open commit View diff
24 <span className="search-bar__icon">
same change bf8ab75

Continues UI Fixes part 3

Full commit hash
bf8ab75a8c0f353cc71637613dd04ca4b125685d
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
25
        <Icon name="search" className="icon" />
Open commit View diff
25 <Icon name="search" className="icon" />
same change bf8ab75

Continues UI Fixes part 3

Full commit hash
bf8ab75a8c0f353cc71637613dd04ca4b125685d
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
26
      </span>
Open commit View diff
26 </span>
Alex Nord 3 months ago 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
27
      <input
Open commit View diff
27 <input
same change 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
28
        value={query}
Open commit View diff
28 value={query}
same change 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
29
        onChange={(event) => setQuery(event.target.value)}
Open commit View diff
29 onChange={(event) => setQuery(event.target.value)}
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
30
        placeholder={placeholder}
Open commit View diff
30 placeholder={placeholder}
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
        aria-label={placeholder}
Open commit View diff
31 aria-label={placeholder}
Alex Nord 3 months ago 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
32
      />
Open commit View diff
32 />
Alex Nord 3 months ago bf8ab75

Continues UI Fixes part 3

Full commit hash
bf8ab75a8c0f353cc71637613dd04ca4b125685d
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
33
      <button type="submit" className="search-bar__submit">{compact ? "Go" : "Search"}</button>
Open commit View diff
33 <button type="submit" className="search-bar__submit">{compact ? "Go" : "Search"}</button>
Alex Nord 3 months ago 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
34
    </form>
Open commit View diff
34 </form>
same change 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
35
  );
Open commit View diff
35 );
same change 4527dbd

First commit v2

Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
36
}
Open commit View diff
36 }