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/PageSidebar.tsx
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
PageSidebar.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 { useMemo, useState } from "react";
import { useMemo, 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, useLocation } from "react-router-dom";
import { Link, useLocation } from "react-router-dom";
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
import type { PageSummary } from "@ledger/shared";
import type { PageSummary } from "@ledger/shared";
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
- 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
type PageNode = PageSummary & { children: PageNode[] };
type PageNode = PageSummary & { children: PageNode[] };
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
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
function closeSidebarOnMobile(onClose: () => void) {
function closeSidebarOnMobile(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
- 16
if (window.innerWidth <= 920) {
if (window.innerWidth <= 920) {
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
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
- 18
}
}
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
}
}
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
function buildTree(pages: PageSummary[]) {
function buildTree(pages: 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
- 22
const byId = new Map<string, PageNode>();
const byId = new Map<string, PageNode>();
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
const roots: PageNode[] = [];
const roots: PageNode[] = [];
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
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
for (const page of pages) {
for (const page of pages) {
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
byId.set(page.id, { ...page, children: [] });
byId.set(page.id, { ...page, children: [] });
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
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
for (const node of byId.values()) {
for (const node of byId.values()) {
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
if (node.parentPageId && byId.has(node.parentPageId)) {
if (node.parentPageId && byId.has(node.parentPageId)) {
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
byId.get(node.parentPageId)!.children.push(node);
byId.get(node.parentPageId)!.children.push(node);
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
} else {
} else {
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
roots.push(node);
roots.push(node);
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
}
}
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
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
const sortNodes = (nodes: PageNode[]) => {
const sortNodes = (nodes: PageNode[]) => {
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
nodes.sort((a, b) => a.title.localeCompare(b.title));
nodes.sort((a, b) => a.title.localeCompare(b.title));
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
nodes.forEach((node) => sortNodes(node.children));
nodes.forEach((node) => sortNodes(node.children));
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
};
};
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
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
sortNodes(roots);
sortNodes(roots);
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
return roots;
return roots;
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
}
}
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
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
function TreeNode({
function TreeNode({
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
node,
node,
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
depth,
depth,
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
currentSlug,
currentSlug,
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
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
- 51
}: {
}: {
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
node: PageNode;
node: PageNode;
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
depth: number;
depth: number;
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
currentSlug: string | undefined;
currentSlug: string | undefined;
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
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
- 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
const [isOpen, setIsOpen] = useState(true);
const [isOpen, setIsOpen] = useState(true);
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
const isActive = node.slug === currentSlug;
const isActive = node.slug === currentSlug;
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
const hasChildren = node.children.length > 0;
const hasChildren = node.children.length > 0;
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 60
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 61
return (
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
- 62
<div className="tree-node">
<div className="tree-node">
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
<div className={`tree-item${isActive ? " is-active" : ""}`} style={{ paddingLeft: `${depth * 0.85 + 0.75}rem` }}>
<div className={`tree-item${isActive ? " is-active" : ""}`} style={{ paddingLeft: `${depth * 0.85 + 0.75}rem` }}>
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
{hasChildren ? (
{hasChildren ? (
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
<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
- 66
type="button"
type="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
- 67
className="tree-toggle"
className="tree-toggle"
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
onClick={() => setIsOpen((value) => !value)}
onClick={() => setIsOpen((value) => !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
- 69
aria-label={isOpen ? "Collapse section" : "Expand section"}
aria-label={isOpen ? "Collapse section" : "Expand 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
- 70
>
>
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
<Icon name={isOpen ? "chevronDown" : "chevronRight"} className="icon icon-sm" />
<Icon name={isOpen ? "chevronDown" : "chevronRight"} 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
- 72
</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
- 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
<span className="tree-spacer" />
<span className="tree-spacer" />
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
)}
)}
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
<Link to={`/page/${node.slug}`} className="tree-link" onClick={() => closeSidebarOnMobile(onClose)}>
<Link to={`/page/${node.slug}`} className="tree-link" onClick={() => closeSidebarOnMobile(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
- 77
<span className="tree-link__title">{node.title}</span>
<span className="tree-link__title">{node.title}</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
- 78
<span className={`badge badge-${node.visibility}`}>{node.visibility}</span>
<span className={`badge badge-${node.visibility}`}>{node.visibility}</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
- 79
</Link>
</Link>
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 80
</div>
</div>
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
- 81
{hasChildren && isOpen ? (
{hasChildren && isOpen ? (
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
<div className="tree-children">
<div className="tree-children">
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
{node.children.map((child) => (
{node.children.map((child) => (
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
<TreeNode key={child.id} node={child} depth={depth + 1} currentSlug={currentSlug} onClose={onClose} />
<TreeNode key={child.id} node={child} depth={depth + 1} currentSlug={currentSlug} 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
- 85
))}
))}
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
</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
- 87
) : 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
- 88
</div>
</div>
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 89
);
);
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 90
}
}
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 91
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
- 92
export function PageSidebar({
export function PageSidebar({
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
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
- 94
pagesBySpace,
pagesBySpace,
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
currentSpaceKey,
currentSpaceKey,
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
currentSlug,
currentSlug,
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
user,
user,
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
isOpen,
isOpen,
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
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
- 100
}: {
}: {
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
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
- 102
pagesBySpace: Record<string, PageSummary[]>;
pagesBySpace: Record<string, 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
- 103
currentSpaceKey?: string;
currentSpaceKey?: 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
- 104
currentSlug?: string;
currentSlug?: 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
- 105
user: { displayName: string; role: string } | null;
user: { displayName: string; role: string } | 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
- 106
isOpen: boolean;
isOpen: 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
- 107
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
- 108
}) {
}) {
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
const location = useLocation();
const location = useLocation();
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
const [collapsedSpaces, setCollapsedSpaces] = useState<Record<string, boolean>>({});
const [collapsedSpaces, setCollapsedSpaces] = useState<Record<string, 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
- 111
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
const recentPages = useMemo(
const recentPages = useMemo(
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
Object.values(pagesBySpace)
Object.values(pagesBySpace)
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
.flat()
.flat()
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
.sort((a, b) => Date.parse(b.updatedAt) - Date.parse(a.updatedAt))
.sort((a, b) => Date.parse(b.updatedAt) - Date.parse(a.updatedAt))
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
.slice(0, 5),
.slice(0, 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
- 118
[pagesBySpace]
[pagesBySpace]
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
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
- 121
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
- 122
<>
<>
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
- 123
<div className={`sidebar-overlay${isOpen ? " is-open" : ""}`} onClick={onClose} />
<div className={`sidebar-overlay${isOpen ? " 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
- 124
<aside className={`sidebar${isOpen ? " is-open" : ""}`}>
<aside className={`sidebar${isOpen ? " is-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
- 125
<div className="sidebar__top">
<div className="sidebar__top">
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
- 126
<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
- 127
<p className="eyebrow">Workspace</p>
<p className="eyebrow">Workspace</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
- 128
<h2 className="sidebar__workspace">Ledger</h2>
<h2 className="sidebar__workspace">Ledger</h2>
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
- 129
<p className="muted">{user ? `${user.displayName} · ${user.role}` : "Public knowledge base"}</p>
<p className="muted">{user ? `${user.displayName} · ${user.role}` : "Public knowledge base"}</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
- 130
</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
- 131
<button type="button" className="mobile-only button-ghost" onClick={onClose}>
<button type="button" className="mobile-only 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
- 132
<Icon name="chevronRight" className="icon" />
<Icon name="chevronRight" 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
- 133
</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
- 134
</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
- 135
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
- 136
<nav className="sidebar-nav" aria-label="Primary">
<nav className="sidebar-nav" aria-label="Primary">
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
- 137
<Link className={`sidebar-nav__item${location.pathname === "/" ? " is-current" : ""}`} to="/">
<Link className={`sidebar-nav__item${location.pathname === "/" ? " is-current" : ""}`} to="/">
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
- 138
<Icon name="home" className="icon icon-sm" />
<Icon name="home" 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
- 139
<span>Overview</span>
<span>Overview</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
- 140
</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
- 141
<Link className={`sidebar-nav__item${location.pathname === "/dashboard" ? " is-current" : ""}`} to="/dashboard">
<Link className={`sidebar-nav__item${location.pathname === "/dashboard" ? " is-current" : ""}`} to="/dashboard">
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
- 142
<Icon name="settings" className="icon icon-sm" />
<Icon name="settings" 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
- 143
<span>Manage</span>
<span>Manage</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
- 144
</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
- 145
</nav>
</nav>
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
- 146
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
- 147
<section className="sidebar-section">
<section className="sidebar-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
- 148
<div className="sidebar-section__header">
<div className="sidebar-section__header">
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
- 149
<span>Recent</span>
<span>Recent</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
- 150
</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
- 151
<div className="sidebar-list">
<div className="sidebar-list">
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
- 152
{recentPages.length === 0 ? <p className="muted">No documents yet.</p> : null}
{recentPages.length === 0 ? <p className="muted">No documents yet.</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
- 153
{recentPages.map((page) => (
{recentPages.map((page) => (
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
- 154
<Link key={page.id} to={`/page/${page.slug}`} className={`sidebar-doc${page.slug === currentSlug ? " is-current" : ""}`}>
<Link key={page.id} to={`/page/${page.slug}`} className={`sidebar-doc${page.slug === currentSlug ? " is-current" : ""}`}>
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
- 155
<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
- 156
<span>{page.title}</span>
<span>{page.title}</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
- 157
</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
- 158
))}
))}
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
- 159
</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
- 160
</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
- 161
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
- 162
<section className="sidebar-section">
<section className="sidebar-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
- 163
<div className="sidebar-section__header">
<div className="sidebar-section__header">
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
- 164
<span>Collections</span>
<span>Collections</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
- 165
</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
- 166
<div className="sidebar-collections">
<div className="sidebar-collections">
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
- 167
{spaces.map((space) => {
{spaces.map((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
- 168
const isCollapsed = collapsedSpaces[space.key] ?? false;
const isCollapsed = collapsedSpaces[space.key] ?? false;
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
- 169
const tree = buildTree(pagesBySpace[space.key] ?? []);
const tree = buildTree(pagesBySpace[space.key] ?? []);
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
- 170
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
- 171
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
- 172
<div key={space.id} className="collection-group">
<div key={space.id} className="collection-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
- 173
<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
- 174
type="button"
type="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
- 175
className={`collection-group__header${space.key === currentSpaceKey ? " is-current" : ""}`}
className={`collection-group__header${space.key === currentSpaceKey ? " is-current" : ""}`}
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
- 176
onClick={() =>
onClick={() =>
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
- 177
setCollapsedSpaces((current) => ({
setCollapsedSpaces((current) => ({
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
- 178
...current,
...current,
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
- 179
[space.key]: !isCollapsed
[space.key]: !isCollapsed
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
- 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
- 181
}
}
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
- 182
>
>
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
- 183
<span className="collection-group__title">
<span className="collection-group__title">
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
- 184
<Icon name={isCollapsed ? "chevronRight" : "chevronDown"} className="icon icon-sm" />
<Icon name={isCollapsed ? "chevronRight" : "chevronDown"} 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
- 185
<Icon name="collection" className="icon icon-sm" />
<Icon name="collection" 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
- 186
{space.name}
{space.name}
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
- 187
</span>
</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
- 188
<span className={`badge badge-${space.visibility}`}>{space.visibility}</span>
<span className={`badge badge-${space.visibility}`}>{space.visibility}</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
- 189
</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
- 190
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
- 191
{!isCollapsed ? (
{!isCollapsed ? (
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
- 192
<div className="collection-group__body">
<div className="collection-group__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
- 193
<Link to={`/space/${space.key}`} className={`collection-link${space.key === currentSpaceKey && !currentSlug ? " is-current" : ""}`}>
<Link to={`/space/${space.key}`} className={`collection-link${space.key === currentSpaceKey && !currentSlug ? " is-current" : ""}`}>
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
- 194
Browse collection
Browse 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
- 195
</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
- 196
{tree.length === 0 ? <p className="muted">No published pages yet.</p> : null}
{tree.length === 0 ? <p className="muted">No published pages yet.</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
- 197
{tree.map((node) => (
{tree.map((node) => (
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
- 198
<TreeNode key={node.id} node={node} depth={0} currentSlug={currentSlug} />
<TreeNode key={node.id} node={node} depth={0} currentSlug={currentSlug} />
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
- 199
))}
))}
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
- 200
</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
- 201
) : 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
- 202
</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
- 203
);
);
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
- 204
})}
})}
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
- 205
</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
- 206
</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
- 207
</aside>
</aside>
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
- 208
</>
</>
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
- 209
);
);
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
- 210
}
}