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/DocsSidebar.tsx

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

DocsSidebar.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";
Open commit View diff
1 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";
Open commit View diff
2 import { Link, useLocation } 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";
Open commit View diff
3 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";
Open commit View diff
4 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
Open commit View diff
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 = {
Open commit View diff
6 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;
Open commit View diff
7 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;
Open commit View diff
8 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;
Open commit View diff
9 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;
Open commit View diff
10 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
};
Open commit View diff
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
Open commit View diff
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[] };
Open commit View diff
13 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
Open commit View diff
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) {
Open commit View diff
15 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) {
Open commit View diff
16 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();
Open commit View diff
17 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
  }
Open commit View diff
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
}
Open commit View diff
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
Open commit View diff
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[]) {
Open commit View diff
21 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>();
Open commit View diff
22 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[] = [];
Open commit View diff
23 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
Open commit View diff
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) {
Open commit View diff
25 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: [] });
Open commit View diff
26 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
  }
Open commit View diff
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
Open commit View diff
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()) {
Open commit View diff
29 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)) {
Open commit View diff
30 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);
Open commit View diff
31 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 {
Open commit View diff
32 } 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);
Open commit View diff
33 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
    }
Open commit View diff
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
  }
Open commit View diff
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
Open commit View diff
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[]) => {
Open commit View diff
37 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));
Open commit View diff
38 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));
Open commit View diff
39 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
  };
Open commit View diff
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
Open commit View diff
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);
Open commit View diff
42 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;
Open commit View diff
43 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
}
Open commit View diff
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
Open commit View diff
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({
Open commit View diff
46 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,
Open commit View diff
47 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,
Open commit View diff
48 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,
Open commit View diff
49 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
Open commit View diff
50 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
}: {
Open commit View diff
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;
Open commit View diff
52 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;
Open commit View diff
53 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;
Open commit View diff
54 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;
Open commit View diff
55 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
}) {
Open commit View diff
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);
Open commit View diff
57 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;
Open commit View diff
58 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;
Open commit View diff
59 const hasChildren = node.children.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
60
Open commit View diff
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 (
Open commit View diff
61 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
62
    <div className="tree-node">
Open commit View diff
62 <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` }}>
Open commit View diff
63 <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 ? (
Open commit View diff
64 {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
Open commit View diff
65 <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"
Open commit View diff
66 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"
Open commit View diff
67 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)}
Open commit View diff
68 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"}
Open commit View diff
69 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
          >
Open commit View diff
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" />
Open commit View diff
71 <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>
Open commit View diff
72 </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
        ) : (
Open commit View diff
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" />
Open commit View diff
74 <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
        )}
Open commit View diff
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)}>
Open commit View diff
76 <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>
Open commit View diff
77 <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>
Open commit View diff
78 <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>
Open commit View diff
79 </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
80
      </div>
Open commit View diff
80 </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
81
      {hasChildren && isOpen ? (
Open commit View diff
81 {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">
Open commit View diff
82 <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) => (
Open commit View diff
83 {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} />
Open commit View diff
84 <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
          ))}
Open commit View diff
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>
Open commit View diff
86 </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}
Open commit View diff
87 ) : 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>
Open commit View diff
88 </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
  );
Open commit View diff
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
}
Open commit View diff
90 }
same change 9693751

Redesign the 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
Open commit View diff
91
same change 9693751

Redesign the 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 DocsSidebar({
Open commit View diff
92 export function DocsSidebar({
same change 9693751

Redesign the 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,
Open commit View diff
93 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,
Open commit View diff
94 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,
Open commit View diff
95 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,
Open commit View diff
96 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,
Open commit View diff
97 user,
Alex Nord 3 months ago 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
98
  preferences,
Open commit View diff
98 preferences,
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
99
  isOpen,
Open commit View diff
99 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
100
  onClose
Open commit View diff
100 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
101
}: {
Open commit View diff
101 }: {
same change 9693751

Redesign the 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
  spaces: Space[];
Open commit View diff
102 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
103
  pagesBySpace: Record<string, PageSummary[]>;
Open commit View diff
103 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
104
  currentSpaceKey?: string;
Open commit View diff
104 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
105
  currentSlug?: string;
Open commit View diff
105 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
106
  user: { displayName: string; role: string } | null;
Open commit View diff
106 user: { displayName: string; role: string } | null;
Alex Nord 3 months ago 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
107
  preferences: { compactSidebar: boolean };
Open commit View diff
107 preferences: { compactSidebar: boolean };
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
108
  isOpen: boolean;
Open commit View diff
108 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
109
  onClose: () => void;
Open commit View diff
109 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
110
}) {
Open commit View diff
110 }) {
same change 9693751

Redesign the 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
  const location = useLocation();
Open commit View diff
111 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
112
  const [collapsedSpaces, setCollapsedSpaces] = useState<Record<string, boolean>>({});
Open commit View diff
112 const [collapsedSpaces, setCollapsedSpaces] = useState<Record<string, boolean>>({});
Alex Nord 3 months ago 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
113
  const accountTarget = user ? "/preferences/profile" : "/login";
Open commit View diff
113 const accountTarget = user ? "/preferences/profile" : "/login";
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
114
Open commit View diff
114
same change 9693751

Redesign the 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
  const recentPages = useMemo(
Open commit View diff
115 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
116
    () =>
Open commit View diff
116 () =>
same change 9693751

Redesign the 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
      Object.values(pagesBySpace)
Open commit View diff
117 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
118
        .flat()
Open commit View diff
118 .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
119
        .sort((a, b) => Date.parse(b.updatedAt) - Date.parse(a.updatedAt))
Open commit View diff
119 .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
120
        .slice(0, 5),
Open commit View diff
120 .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
121
    [pagesBySpace]
Open commit View diff
121 [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
122
  );
Open commit View diff
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
Open commit View diff
123
same change 9693751

Redesign the 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
  return (
Open commit View diff
124 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
125
    <>
Open commit View diff
125 <>
same change 9693751

Redesign the 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 className={`sidebar-overlay${isOpen ? " is-open" : ""}`} onClick={onClose} />
Open commit View diff
126 <div className={`sidebar-overlay${isOpen ? " is-open" : ""}`} onClick={onClose} />
Alex Nord 3 months ago 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
127
      <aside className={`sidebar${isOpen ? " is-open" : ""}${preferences.compactSidebar ? " is-compact" : ""}`}>
Open commit View diff
127 <aside className={`sidebar${isOpen ? " is-open" : ""}${preferences.compactSidebar ? " is-compact" : ""}`}>
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
128
        <div className="sidebar__top">
Open commit View diff
128 <div className="sidebar__top">
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
129
          <div className="sidebar__brand">
Open commit View diff
129 <div className="sidebar__brand">
same change bf8ab75

Continues UI Fixes part 3

Full commit hash
bf8ab75a8c0f353cc71637613dd04ca4b125685d
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
130
            <span className="sidebar__brand-mark">L</span>
Open commit View diff
130 <span className="sidebar__brand-mark">L</span>
same change bf8ab75

Continues UI Fixes part 3

Full commit hash
bf8ab75a8c0f353cc71637613dd04ca4b125685d
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
131
            <div>
Open commit View diff
131 <div>
same change bf8ab75

Continues UI Fixes part 3

Full commit hash
bf8ab75a8c0f353cc71637613dd04ca4b125685d
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
132
              <h2 className="sidebar__workspace">Ledger</h2>
Open commit View diff
132 <h2 className="sidebar__workspace">Ledger</h2>
same change bf8ab75

Continues UI Fixes part 3

Full commit hash
bf8ab75a8c0f353cc71637613dd04ca4b125685d
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
133
              <p className="muted">{user ? "Documentation workspace" : "Public knowledge base"}</p>
Open commit View diff
133 <p className="muted">{user ? "Documentation workspace" : "Public knowledge base"}</p>
same change bf8ab75

Continues UI Fixes part 3

Full commit hash
bf8ab75a8c0f353cc71637613dd04ca4b125685d
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
134
            </div>
Open commit View diff
134 </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
135
          </div>
Open commit View diff
135 </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
136
          <button type="button" className="mobile-only button-ghost" onClick={onClose} aria-label="Close navigation">
Open commit View diff
136 <button type="button" className="mobile-only button-ghost" onClick={onClose} aria-label="Close navigation">
same change 9693751

Redesign the 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
            <Icon name="chevronRight" className="icon" />
Open commit View diff
137 <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
138
          </button>
Open commit View diff
138 </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
139
        </div>
Open commit View diff
139 </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
140
Open commit View diff
140
same change 9693751

Redesign the 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
        <nav className="sidebar-nav" aria-label="Primary">
Open commit View diff
141 <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
142
          <Link
Open commit View diff
142 <Link
Alex Nord 3 months ago 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
143
            className={`sidebar-nav__item${location.pathname === "/spaces" || location.pathname === "/" || location.pathname.startsWith("/space/") ? " is-current" : ""}`}
Open commit View diff
143 className={`sidebar-nav__item${location.pathname === "/spaces" || location.pathname === "/" || location.pathname.startsWith("/space/") ? " is-current" : ""}`}
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
144
            to="/spaces"
Open commit View diff
144 to="/spaces"
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
145
            onClick={() => closeSidebarOnMobile(onClose)}
Open commit View diff
145 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
146
          >
Open commit View diff
146 >
Alex Nord 3 months ago 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
147
            <Icon name="home" className="icon icon-sm" />
Open commit View diff
147 <Icon name="home" className="icon icon-sm" />
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
148
            <span>Home</span>
Open commit View diff
148 <span>Home</span>
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
149
          </Link>
Open commit View diff
149 </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
150
          <Link
Open commit View diff
150 <Link
Alex Nord 3 months ago 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
151
            className={`sidebar-nav__item${location.pathname === "/search" ? " is-current" : ""}`}
Open commit View diff
151 className={`sidebar-nav__item${location.pathname === "/search" ? " is-current" : ""}`}
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
152
            to="/search"
Open commit View diff
152 to="/search"
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
153
            onClick={() => closeSidebarOnMobile(onClose)}
Open commit View diff
153 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
154
          >
Open commit View diff
154 >
Alex Nord 3 months ago 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
155
            <Icon name="search" className="icon icon-sm" />
Open commit View diff
155 <Icon name="search" className="icon icon-sm" />
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
156
            <span>Search</span>
Open commit View diff
156 <span>Search</span>
Alex Nord 3 months ago ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
157
          </Link>
Open commit View diff
157 </Link>
same change ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
158
          <Link
Open commit View diff
158 <Link
same change ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
159
            className={`sidebar-nav__item${location.pathname === "/drafts" ? " is-current" : ""}`}
Open commit View diff
159 className={`sidebar-nav__item${location.pathname === "/drafts" ? " is-current" : ""}`}
same change ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
160
            to="/drafts"
Open commit View diff
160 to="/drafts"
same change ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
161
            onClick={() => closeSidebarOnMobile(onClose)}
Open commit View diff
161 onClick={() => closeSidebarOnMobile(onClose)}
same change ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
162
          >
Open commit View diff
162 >
same change ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
163
            <Icon name="document" className="icon icon-sm" />
Open commit View diff
163 <Icon name="document" className="icon icon-sm" />
same change ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
164
            <span>Drafts</span>
Open commit View diff
164 <span>Drafts</span>
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
165
          </Link>
Open commit View diff
165 </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
166
        </nav>
Open commit View diff
166 </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
167
Open commit View diff
167
Alex Nord 3 months ago 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
168
        <section className="sidebar-section">
Open commit View diff
168 <section className="sidebar-section">
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
169
          <div className="sidebar-section__header">
Open commit View diff
169 <div className="sidebar-section__header">
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
170
            <span>Workspace</span>
Open commit View diff
170 <span>Workspace</span>
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
171
          </div>
Open commit View diff
171 </div>
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
172
          <div className="sidebar-list">
Open commit View diff
172 <div className="sidebar-list">
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
173
            <Link
Open commit View diff
173 <Link
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
174
              className={`sidebar-doc${location.pathname === "/imports" ? " is-current" : ""}`}
Open commit View diff
174 className={`sidebar-doc${location.pathname === "/imports" ? " is-current" : ""}`}
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
175
              to="/imports"
Open commit View diff
175 to="/imports"
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
176
              onClick={() => closeSidebarOnMobile(onClose)}
Open commit View diff
176 onClick={() => closeSidebarOnMobile(onClose)}
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
177
            >
Open commit View diff
177 >
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
178
              <Icon name="plus" className="icon icon-sm" />
Open commit View diff
178 <Icon name="plus" className="icon icon-sm" />
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
179
              <span>Imports</span>
Open commit View diff
179 <span>Imports</span>
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
180
            </Link>
Open commit View diff
180 </Link>
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
181
            <Link
Open commit View diff
181 <Link
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
182
              className={`sidebar-doc${location.pathname === "/ask-ai" ? " is-current" : ""}`}
Open commit View diff
182 className={`sidebar-doc${location.pathname === "/ask-ai" ? " is-current" : ""}`}
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
183
              to="/ask-ai"
Open commit View diff
183 to="/ask-ai"
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
184
              onClick={() => closeSidebarOnMobile(onClose)}
Open commit View diff
184 onClick={() => closeSidebarOnMobile(onClose)}
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
185
            >
Open commit View diff
185 >
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
186
              <Icon name="spark" className="icon icon-sm" />
Open commit View diff
186 <Icon name="spark" className="icon icon-sm" />
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
187
              <span>Ask AI</span>
Open commit View diff
187 <span>Ask AI</span>
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
188
            </Link>
Open commit View diff
188 </Link>
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
189
            <Link
Open commit View diff
189 <Link
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
190
              className={`sidebar-doc${location.pathname.startsWith("/admin") ? " is-current" : ""}`}
Open commit View diff
190 className={`sidebar-doc${location.pathname.startsWith("/admin") ? " is-current" : ""}`}
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
191
              to="/admin/general"
Open commit View diff
191 to="/admin/general"
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
192
              onClick={() => closeSidebarOnMobile(onClose)}
Open commit View diff
192 onClick={() => closeSidebarOnMobile(onClose)}
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
193
            >
Open commit View diff
193 >
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
194
              <Icon name="settings" className="icon icon-sm" />
Open commit View diff
194 <Icon name="settings" className="icon icon-sm" />
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
195
              <span>Admin</span>
Open commit View diff
195 <span>Admin</span>
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
196
            </Link>
Open commit View diff
196 </Link>
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
197
          </div>
Open commit View diff
197 </div>
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
198
        </section>
Open commit View diff
198 </section>
same change 8c672a8

Continues UI Fixes part 2

Full commit hash
8c672a87b0f35ddbd3fef3f3ebe1c5a3d11f3c6c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
199
Open commit View diff
199
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
200
        <section className="sidebar-section">
Open commit View diff
200 <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
201
          <div className="sidebar-section__header">
Open commit View diff
201 <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
202
            <span>Recent</span>
Open commit View diff
202 <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
203
          </div>
Open commit View diff
203 </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
204
          <div className="sidebar-list">
Open commit View diff
204 <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
205
            {recentPages.length === 0 ? <p className="muted">No documents yet.</p> : null}
Open commit View diff
205 {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
206
            {recentPages.map((page) => (
Open commit View diff
206 {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
207
              <Link
Open commit View diff
207 <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
208
                key={page.id}
Open commit View diff
208 key={page.id}
same change 9693751

Redesign the 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
                to={`/page/${page.slug}`}
Open commit View diff
209 to={`/page/${page.slug}`}
same change 9693751

Redesign the 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
                className={`sidebar-doc${page.slug === currentSlug ? " is-current" : ""}`}
Open commit View diff
210 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
211
                onClick={() => closeSidebarOnMobile(onClose)}
Open commit View diff
211 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
212
              >
Open commit View diff
212 >
same change 9693751

Redesign the web app into a docs-first knowledge base UI

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
213
                <Icon name="document" className="icon icon-sm" />
Open commit View diff
213 <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
214
                <span>{page.title}</span>
Open commit View diff
214 <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
215
              </Link>
Open commit View diff
215 </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
216
            ))}
Open commit View diff
216 ))}
same change 9693751

Redesign the web app into a docs-first knowledge base UI

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
217
          </div>
Open commit View diff
217 </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
218
        </section>
Open commit View diff
218 </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
219
Open commit View diff
219
same change 9693751

Redesign the web app into a docs-first knowledge base UI

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
220
        <section className="sidebar-section">
Open commit View diff
220 <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
221
          <div className="sidebar-section__header">
Open commit View diff
221 <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
222
            <span>Collections</span>
Open commit View diff
222 <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
223
          </div>
Open commit View diff
223 </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
224
          <div className="sidebar-collections">
Open commit View diff
224 <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
225
            {spaces.map((space) => {
Open commit View diff
225 {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
226
              const isCollapsed = collapsedSpaces[space.key] ?? false;
Open commit View diff
226 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
227
              const tree = buildTree(pagesBySpace[space.key] ?? []);
Open commit View diff
227 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
228
Open commit View diff
228
same change 9693751

Redesign the web app into a docs-first knowledge base UI

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
229
              return (
Open commit View diff
229 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
230
                <div key={space.id} className="collection-group">
Open commit View diff
230 <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
231
                  <button
Open commit View diff
231 <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
232
                    type="button"
Open commit View diff
232 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
233
                    className={`collection-group__header${space.key === currentSpaceKey ? " is-current" : ""}`}
Open commit View diff
233 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
234
                    onClick={() =>
Open commit View diff
234 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
235
                      setCollapsedSpaces((current) => ({
Open commit View diff
235 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
236
                        ...current,
Open commit View diff
236 ...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
237
                        [space.key]: !isCollapsed
Open commit View diff
237 [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
238
                      }))
Open commit View diff
238 }))
same change 9693751

Redesign the web app into a docs-first knowledge base UI

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
239
                    }
Open commit View diff
239 }
same change 9693751

Redesign the web app into a docs-first knowledge base UI

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
240
                  >
Open commit View diff
240 >
same change 9693751

Redesign the web app into a docs-first knowledge base UI

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
241
                    <span className="collection-group__title">
Open commit View diff
241 <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
242
                      <Icon name={isCollapsed ? "chevronRight" : "chevronDown"} className="icon icon-sm" />
Open commit View diff
242 <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
243
                      <Icon name="collection" className="icon icon-sm" />
Open commit View diff
243 <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
244
                      {space.name}
Open commit View diff
244 {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
245
                    </span>
Open commit View diff
245 </span>
Alex Nord 3 months ago 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
246
            <span className={`badge badge-${space.visibility}`}>{space.visibility}</span>
Open commit View diff
246 <span className={`badge badge-${space.visibility}`}>{space.visibility}</span>
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
247
                  </button>
Open commit View diff
247 </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
248
Open commit View diff
248
same change 9693751

Redesign the web app into a docs-first knowledge base UI

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
249
                  {!isCollapsed ? (
Open commit View diff
249 {!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
250
                    <div className="collection-group__body">
Open commit View diff
250 <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
251
                      <Link
Open commit View diff
251 <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
252
                        to={`/space/${space.key}`}
Open commit View diff
252 to={`/space/${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
253
                        className={`collection-link${space.key === currentSpaceKey && !currentSlug ? " is-current" : ""}`}
Open commit View diff
253 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
254
                        onClick={() => closeSidebarOnMobile(onClose)}
Open commit View diff
254 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
255
                      >
Open commit View diff
255 >
same change 9693751

Redesign the web app into a docs-first knowledge base UI

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
256
                        Browse collection
Open commit View diff
256 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
257
                      </Link>
Open commit View diff
257 </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
258
                      {tree.length === 0 ? <p className="muted">No published pages yet.</p> : null}
Open commit View diff
258 {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
259
                      {tree.map((node) => (
Open commit View diff
259 {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
260
                        <TreeNode key={node.id} node={node} depth={0} currentSlug={currentSlug} onClose={onClose} />
Open commit View diff
260 <TreeNode key={node.id} node={node} depth={0} 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
261
                      ))}
Open commit View diff
261 ))}
same change 9693751

Redesign the web app into a docs-first knowledge base UI

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
262
                    </div>
Open commit View diff
262 </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
263
                  ) : null}
Open commit View diff
263 ) : 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
264
                </div>
Open commit View diff
264 </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
265
              );
Open commit View diff
265 );
same change 9693751

Redesign the web app into a docs-first knowledge base UI

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
266
            })}
Open commit View diff
266 })}
same change 9693751

Redesign the web app into a docs-first knowledge base UI

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
267
          </div>
Open commit View diff
267 </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
268
        </section>
Open commit View diff
268 </section>
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
269
Open commit View diff
269
same change bf8ab75

Continues UI Fixes part 3

Full commit hash
bf8ab75a8c0f353cc71637613dd04ca4b125685d
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
270
        <div className="sidebar__footer">
Open commit View diff
270 <div className="sidebar__footer">
Alex Nord 3 months ago 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
271
          <Link to={accountTarget} className={`sidebar__account${location.pathname.startsWith("/preferences") ? " is-current" : ""}`} onClick={() => closeSidebarOnMobile(onClose)}>
Open commit View diff
271 <Link to={accountTarget} className={`sidebar__account${location.pathname.startsWith("/preferences") ? " is-current" : ""}`} onClick={() => closeSidebarOnMobile(onClose)}>
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
272
            <div className="sidebar__avatar">{user ? user.displayName.slice(0, 1).toUpperCase() : "P"}</div>
Open commit View diff
272 <div className="sidebar__avatar">{user ? user.displayName.slice(0, 1).toUpperCase() : "P"}</div>
same change bf8ab75

Continues UI Fixes part 3

Full commit hash
bf8ab75a8c0f353cc71637613dd04ca4b125685d
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
273
            <div className="sidebar__account-body">
Open commit View diff
273 <div className="sidebar__account-body">
same change bf8ab75

Continues UI Fixes part 3

Full commit hash
bf8ab75a8c0f353cc71637613dd04ca4b125685d
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
274
              <strong>{user?.displayName ?? "Public visitor"}</strong>
Open commit View diff
274 <strong>{user?.displayName ?? "Public visitor"}</strong>
same change bf8ab75

Continues UI Fixes part 3

Full commit hash
bf8ab75a8c0f353cc71637613dd04ca4b125685d
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
275
              <span>{user?.role ?? "public"}</span>
Open commit View diff
275 <span>{user?.role ?? "public"}</span>
same change bf8ab75

Continues UI Fixes part 3

Full commit hash
bf8ab75a8c0f353cc71637613dd04ca4b125685d
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
276
            </div>
Open commit View diff
276 </div>
Alex Nord 3 months ago 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
277
          </Link>
Open commit View diff
277 </Link>
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
278
        </div>
Open commit View diff
278 </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
279
      </aside>
Open commit View diff
279 </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
280
    </>
Open commit View diff
280 </>
same change 9693751

Redesign the web app into a docs-first knowledge base UI

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
281
  );
Open commit View diff
281 );
same change 9693751

Redesign the web app into a docs-first knowledge base UI

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
282
}
Open commit View diff
282 }