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

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

AppShell.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 React, { useEffect, useMemo, useRef, useState } from "react";
Open commit View diff
1 import React, { useEffect, useMemo, useRef, useState } from "react";
Alex Nord 3 months ago ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
2
import { Link, Navigate, Route, Routes, useLocation, useNavigate, useParams } from "react-router-dom";
Open commit View diff
2 import { Link, Navigate, Route, Routes, useLocation, useNavigate, useParams } from "react-router-dom";
Alex Nord 3 months ago 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
3
import type {
Open commit View diff
3 import type {
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
4
  AiCitation,
Open commit View diff
4 AiCitation,
Alex Nord 3 months ago acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
5
  BrandingSettings,
Open commit View diff
5 BrandingSettings,
Alex Nord 3 months ago 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
6
  ImportJobSummary,
Open commit View diff
6 ImportJobSummary,
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
7
  IntegrationSummary,
Open commit View diff
7 IntegrationSummary,
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
8
  PageDetail,
Open commit View diff
8 PageDetail,
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
9
  PageSummary,
Open commit View diff
9 PageSummary,
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
10
  SessionUser,
Open commit View diff
10 SessionUser,
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
11
  WebhookDeliverySummary,
Open commit View diff
11 WebhookDeliverySummary,
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
12
  WebhookSummary
Open commit View diff
12 WebhookSummary
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
13
} from "@ledger/shared";
Open commit View diff
13 } 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
14
import { CommandSearch } from "./components/CommandSearch";
Open commit View diff
14 import { CommandSearch } from "./components/CommandSearch";
Alex Nord 3 months ago ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
15
import { AdminConsole } from "./components/AdminConsole";
Open commit View diff
15 import { AdminConsole } from "./components/AdminConsole";
same change ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
16
import { AskAiPage } from "./components/AskAiPage";
Open commit View diff
16 import { AskAiPage } from "./components/AskAiPage";
same change ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
17
import { DraftsPage } from "./components/DraftsPage";
Open commit View diff
17 import { DraftsPage } from "./components/DraftsPage";
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
18
import { EmptyState } from "./components/EmptyState";
Open commit View diff
18 import { EmptyState } from "./components/EmptyState";
same change 9693751

Redesign the 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
import { FeedbackForm } from "./components/FeedbackForm";
Open commit View diff
19 import { FeedbackForm } from "./components/FeedbackForm";
same change 9693751

Redesign the 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
import { Icon } from "./components/Icon";
Open commit View diff
20 import { Icon } from "./components/Icon";
Alex Nord 3 months ago ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
21
import { ImportsPage } from "./components/ImportsPage";
Open commit View diff
21 import { ImportsPage } from "./components/ImportsPage";
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
22
import { PageEditor } from "./components/PageEditor";
Open commit View diff
22 import { PageEditor } from "./components/PageEditor";
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
23
import { PreferencesPage, type PreferencesState } from "./components/PreferencesPage";
Open commit View diff
23 import { PreferencesPage, type PreferencesState } from "./components/PreferencesPage";
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
24
import { DocsSidebar } from "./components/DocsSidebar";
Open commit View diff
24 import { DocsSidebar } from "./components/DocsSidebar";
Alex Nord 3 months ago ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
25
import { SearchPage } from "./components/SearchPage";
Open commit View diff
25 import { SearchPage } from "./components/SearchPage";
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
26
import { SearchBar } from "./components/SearchBar";
Open commit View diff
26 import { SearchBar } from "./components/SearchBar";
same change 9693751

Redesign the 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
import { ContentSkeleton, SidebarSkeleton } from "./components/Skeleton";
Open commit View diff
27 import { ContentSkeleton, SidebarSkeleton } from "./components/Skeleton";
Alex Nord 3 months ago ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
28
import { SpacesPage } from "./components/SpacesPage";
Open commit View diff
28 import { SpacesPage } from "./components/SpacesPage";
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
29
import { api } from "./lib/api";
Open commit View diff
29 import { api } from "./lib/api";
same change 9693751

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
31
type BrandingResponse = {
Open commit View diff
31 type BrandingResponse = {
Alex Nord 3 months ago acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
32
  branding: BrandingSettings;
Open commit View diff
32 branding: BrandingSettings;
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
33
};
Open commit View diff
33 };
same change 9693751

Redesign the 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
Alex Nord 3 months ago 7b9fd81

Continues UI Fixes

Full commit hash
7b9fd81fba50e4e63f3a981dc8ac583996c2482c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
35
const LEDGER_FOOTER = "Powered by Ledger made by ANord.cc";
Open commit View diff
35 const LEDGER_FOOTER = "Powered by Ledger made by ANord.cc";
same change 7b9fd81

Continues UI Fixes

Full commit hash
7b9fd81fba50e4e63f3a981dc8ac583996c2482c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
36
Open commit View diff
36
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
37
type SetupStatus = {
Open commit View diff
37 type SetupStatus = {
same change 9693751

Redesign the 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
  isInitialized: boolean;
Open commit View diff
38 isInitialized: 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
39
  branding: {
Open commit View diff
39 branding: {
same change 9693751

Redesign the 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
    site_name: string;
Open commit View diff
40 site_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
41
    brand_color: string;
Open commit View diff
41 brand_color: 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
42
  } | null;
Open commit View diff
42 } | 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
43
};
Open commit View diff
43 };
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
44
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
type Space = {
Open commit View diff
45 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
46
  id: string;
Open commit View diff
46 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
47
  name: string;
Open commit View diff
47 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
48
  key: string;
Open commit View diff
48 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
49
  visibility: string;
Open commit View diff
49 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
50
};
Open commit View diff
50 };
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
51
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
type PageRecordMap = Record<string, PageSummary[]>;
Open commit View diff
52 type PageRecordMap = Record<string, PageSummary[]>;
Alex Nord 3 months ago 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
53
type AdminFeedback = Array<{ id: string; page_title: string; helpful: boolean; comment: string | null }>;
Open commit View diff
53 type AdminFeedback = Array<{ id: string; page_title: string; helpful: boolean; comment: string | null }>;
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
54
Open commit View diff
54
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
55
function readStoredPreference<T>(key: string, fallback: T, parse?: (raw: string) => T): T {
Open commit View diff
55 function readStoredPreference<T>(key: string, fallback: T, parse?: (raw: string) => T): T {
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
56
  if (typeof window === "undefined") {
Open commit View diff
56 if (typeof window === "undefined") {
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
57
    return fallback;
Open commit View diff
57 return fallback;
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
58
  }
Open commit View diff
58 }
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
59
Open commit View diff
59
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
60
  const value = window.localStorage.getItem(key);
Open commit View diff
60 const value = window.localStorage.getItem(key);
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
61
  if (!value) {
Open commit View diff
61 if (!value) {
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
62
    return fallback;
Open commit View diff
62 return fallback;
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
63
  }
Open commit View diff
63 }
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
64
Open commit View diff
64
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
65
  return parse ? parse(value) : (value as T);
Open commit View diff
65 return parse ? parse(value) : (value as T);
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
66
}
Open commit View diff
66 }
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
67
Open commit View diff
67
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
68
function useSession() {
Open commit View diff
68 function useSession() {
same change 9693751

Redesign the 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
  const [user, setUser] = useState<SessionUser | null>(null);
Open commit View diff
69 const [user, setUser] = useState<SessionUser | 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
70
  const [loading, setLoading] = useState(true);
Open commit View diff
70 const [loading, setLoading] = 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
71
Open commit View diff
71
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
72
  useEffect(() => {
Open commit View diff
72 useEffect(() => {
same change 9693751

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

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

Redesign the 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
      .get<{ user: SessionUser | null }>("/api/auth/session")
Open commit View diff
74 .get<{ user: SessionUser | null }>("/api/auth/session")
same change 9693751

Redesign the 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
      .then((response) => setUser(response.user))
Open commit View diff
75 .then((response) => setUser(response.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
76
      .finally(() => setLoading(false));
Open commit View diff
76 .finally(() => setLoading(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
77
  }, []);
Open commit View diff
77 }, []);
same change 9693751

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

Redesign the 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
  return { user, setUser, loading };
Open commit View diff
79 return { user, setUser, loading };
same change 9693751

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

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

Redesign the 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
function useKnowledgeBaseData(enabled: boolean) {
Open commit View diff
82 function useKnowledgeBaseData(enabled: 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
83
  const [spaces, setSpaces] = useState<Space[]>([]);
Open commit View diff
83 const [spaces, setSpaces] = useState<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
84
  const [pagesBySpace, setPagesBySpace] = useState<PageRecordMap>({});
Open commit View diff
84 const [pagesBySpace, setPagesBySpace] = useState<PageRecordMap>({});
same change 9693751

Redesign the 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
  const [loading, setLoading] = useState(true);
Open commit View diff
85 const [loading, setLoading] = 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
86
  const [error, setError] = useState<string | null>(null);
Open commit View diff
86 const [error, setError] = useState<string | 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
87
Open commit View diff
87
same change 9693751

Redesign the 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
  useEffect(() => {
Open commit View diff
88 useEffect(() => {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
89
    if (!enabled) {
Open commit View diff
89 if (!enabled) {
same change 9693751

Redesign the 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
      return;
Open commit View diff
90 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
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
Open commit View diff
92
same change 9693751

Redesign the 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
    let active = true;
Open commit View diff
93 let active = 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
94
    setLoading(true);
Open commit View diff
94 setLoading(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
95
    setError(null);
Open commit View diff
95 setError(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
96
Open commit View diff
96
same change 9693751

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

Redesign the 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
      .get<{ spaces: Space[] }>("/api/spaces")
Open commit View diff
98 .get<{ spaces: Space[] }>("/api/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
99
      .then(async (response) => {
Open commit View diff
99 .then(async (response) => {
same change 9693751

Redesign the 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
        if (!active) return;
Open commit View diff
100 if (!active) 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
101
        setSpaces(response.spaces);
Open commit View diff
101 setSpaces(response.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
102
Open commit View diff
102
same change 9693751

Redesign the 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
        const entries = await Promise.all(
Open commit View diff
103 const entries = await Promise.all(
same change 9693751

Redesign the 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
          response.spaces.map(async (space) => {
Open commit View diff
104 response.spaces.map(async (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
105
            const pages = await api.get<{ pages: PageSummary[] }>(`/api/pages/space/${space.key}`);
Open commit View diff
105 const pages = await api.get<{ pages: PageSummary[] }>(`/api/pages/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
106
            return [space.key, pages.pages] as const;
Open commit View diff
106 return [space.key, pages.pages] as const;
same change 9693751

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

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

Redesign the 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
        if (!active) return;
Open commit View diff
110 if (!active) 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
111
        setPagesBySpace(Object.fromEntries(entries));
Open commit View diff
111 setPagesBySpace(Object.fromEntries(entries));
same change 9693751

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

Redesign the 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
      .catch((reason) => {
Open commit View diff
113 .catch((reason) => {
same change 9693751

Redesign the 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
        if (!active) return;
Open commit View diff
114 if (!active) 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
115
        setError(reason instanceof Error ? reason.message : "Could not load documentation.");
Open commit View diff
115 setError(reason instanceof Error ? reason.message : "Could not load documentation.");
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
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
      .finally(() => {
Open commit View diff
117 .finally(() => {
same change 9693751

Redesign the 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
        if (active) setLoading(false);
Open commit View diff
118 if (active) setLoading(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
119
      });
Open commit View diff
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
Open commit View diff
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 () => {
Open commit View diff
121 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
      active = false;
Open commit View diff
122 active = 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
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
  }, [enabled]);
Open commit View diff
124 }, [enabled]);
same change 9693751

Redesign the 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
  return { spaces, pagesBySpace, loading, error };
Open commit View diff
126 return { spaces, pagesBySpace, loading, error };
same change 9693751

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

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

Redesign the 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
function useCommandShortcut(openSearch: () => void) {
Open commit View diff
129 function useCommandShortcut(openSearch: () => 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
130
  useEffect(() => {
Open commit View diff
130 useEffect(() => {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
131
    function handleKeyDown(event: KeyboardEvent) {
Open commit View diff
131 function handleKeyDown(event: KeyboardEvent) {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
132
      const target = event.target as HTMLElement | null;
Open commit View diff
132 const target = event.target as HTMLElement | 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
133
      const isTyping =
Open commit View diff
133 const isTyping =
same change 9693751

Redesign the 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
        target instanceof HTMLInputElement ||
Open commit View diff
134 target instanceof HTMLInputElement ||
same change 9693751

Redesign the 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
        target instanceof HTMLTextAreaElement ||
Open commit View diff
135 target instanceof HTMLTextAreaElement ||
same change 9693751

Redesign the 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
        target?.isContentEditable;
Open commit View diff
136 target?.isContentEditable;
same change 9693751

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

Redesign the 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
      if ((event.metaKey || event.ctrlKey) && event.key.toLowerCase() === "k") {
Open commit View diff
138 if ((event.metaKey || event.ctrlKey) && event.key.toLowerCase() === "k") {
same change 9693751

Redesign the 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
        event.preventDefault();
Open commit View diff
139 event.preventDefault();
same change 9693751

Redesign the 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
        openSearch();
Open commit View diff
140 openSearch();
same change 9693751

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

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

Redesign the 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
      if (!isTyping && event.key === "/") {
Open commit View diff
143 if (!isTyping && event.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
144
        event.preventDefault();
Open commit View diff
144 event.preventDefault();
same change 9693751

Redesign the 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
        openSearch();
Open commit View diff
145 openSearch();
same change 9693751

Redesign the 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 }
same change 9693751

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

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

Redesign the 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
    window.addEventListener("keydown", handleKeyDown);
Open commit View diff
149 window.addEventListener("keydown", handleKeyDown);
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
150
    return () => window.removeEventListener("keydown", handleKeyDown);
Open commit View diff
150 return () => window.removeEventListener("keydown", handleKeyDown);
same change 9693751

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

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

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

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

Redesign the 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
function findCurrentSpace(spaces: Space[], page: PageDetail | null, pathname: string) {
Open commit View diff
154 function findCurrentSpace(spaces: Space[], page: PageDetail | null, pathname: 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
155
  if (page) {
Open commit View diff
155 if (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
156
    return spaces.find((space) => space.id === page.spaceId);
Open commit View diff
156 return spaces.find((space) => space.id === page.spaceId);
same change 9693751

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

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

Redesign the 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
Open commit View diff
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
  const match = pathname.match(/^\/space\/([^/]+)/);
Open commit View diff
159 const match = pathname.match(/^\/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
160
  if (!match) {
Open commit View diff
160 if (!match) {
same change 9693751

Redesign the 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
    return undefined;
Open commit View diff
161 return 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
162
  }
Open commit View diff
162 }
same change 9693751

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

Redesign the 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
  return spaces.find((space) => space.key === match[1]);
Open commit View diff
164 return spaces.find((space) => space.key === match[1]);
same change 9693751

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

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

Redesign the 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
function buildBreadcrumbs(page: PageDetail, pages: PageSummary[], space?: Space) {
Open commit View diff
167 function buildBreadcrumbs(page: PageDetail, pages: PageSummary[], space?: 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 byId = new Map(pages.map((item) => [item.id, item]));
Open commit View diff
168 const byId = new Map(pages.map((item) => [item.id, item]));
same change 9693751

Redesign the 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 trail: Array<{ title: string; slug?: string }> = [];
Open commit View diff
169 const trail: Array<{ title: string; slug?: 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
170
  let current: PageSummary | undefined = page;
Open commit View diff
170 let current: PageSummary | undefined = 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
171
Open commit View diff
171
same change 9693751

Redesign the 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
  while (current?.parentPageId) {
Open commit View diff
172 while (current?.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
173
    const parent = byId.get(current.parentPageId);
Open commit View diff
173 const parent = byId.get(current.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
174
    if (!parent) break;
Open commit View diff
174 if (!parent) break;
same change 9693751

Redesign the 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
    trail.unshift({ title: parent.title, slug: parent.slug });
Open commit View diff
175 trail.unshift({ title: parent.title, slug: parent.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
176
    current = parent;
Open commit View diff
176 current = parent;
same change 9693751

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

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

Redesign the 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
  return [
Open commit View diff
179 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
180
    { title: "Knowledge base" },
Open commit View diff
180 { title: "Knowledge base" },
same change 9693751

Redesign the 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
    ...(space ? [{ title: space.name }] : []),
Open commit View diff
181 ...(space ? [{ title: 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
182
    ...trail,
Open commit View diff
182 ...trail,
same change 9693751

Redesign the 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
    { title: page.title, slug: page.slug }
Open commit View diff
183 { title: page.title, slug: 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
184
  ];
Open commit View diff
184 ];
same change 9693751

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

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

Redesign the 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
function addCopyButtons(container: HTMLElement | null) {
Open commit View diff
187 function addCopyButtons(container: HTMLElement | 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
188
  if (!container) return;
Open commit View diff
188 if (!container) 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
189
Open commit View diff
189
same change 9693751

Redesign the 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
  container.querySelectorAll("pre").forEach((pre) => {
Open commit View diff
190 container.querySelectorAll("pre").forEach((pre) => {
same change 9693751

Redesign the 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
    if (pre.querySelector(".code-copy")) {
Open commit View diff
191 if (pre.querySelector(".code-copy")) {
same change 9693751

Redesign the 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
      return;
Open commit View diff
192 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
193
    }
Open commit View diff
193 }
same change 9693751

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

Redesign the 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
    const code = pre.querySelector("code");
Open commit View diff
195 const code = pre.querySelector("code");
same change 9693751

Redesign the 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
    if (!code) return;
Open commit View diff
196 if (!code) 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
197
Open commit View diff
197
same change 9693751

Redesign the 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
    const button = document.createElement("button");
Open commit View diff
198 const button = document.createElement("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
199
    button.type = "button";
Open commit View diff
199 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
200
    button.className = "code-copy";
Open commit View diff
200 button.className = "code-copy";
same change 9693751

Redesign the 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
    button.textContent = "Copy";
Open commit View diff
201 button.textContent = "Copy";
same change 9693751

Redesign the 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
    button.addEventListener("click", async () => {
Open commit View diff
202 button.addEventListener("click", async () => {
same change 9693751

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

Redesign the 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
        await navigator.clipboard.writeText(code.textContent ?? "");
Open commit View diff
204 await navigator.clipboard.writeText(code.textContent ?? "");
same change 9693751

Redesign the 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
        button.textContent = "Copied";
Open commit View diff
205 button.textContent = "Copied";
same change 9693751

Redesign the 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
        window.setTimeout(() => {
Open commit View diff
206 window.setTimeout(() => {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
207
          button.textContent = "Copy";
Open commit View diff
207 button.textContent = "Copy";
same change 9693751

Redesign the 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
        }, 1200);
Open commit View diff
208 }, 1200);
same change 9693751

Redesign the 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
      } catch {
Open commit View diff
209 } catch {
same change 9693751

Redesign the 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
        button.textContent = "Failed";
Open commit View diff
210 button.textContent = "Failed";
same change 9693751

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

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

Redesign the 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
    pre.appendChild(button);
Open commit View diff
214 pre.appendChild(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
215
  });
Open commit View diff
215 });
same change 9693751

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

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

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

Redesign the 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
  user,
Open commit View diff
220 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
221
  spaces,
Open commit View diff
221 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
222
  pagesBySpace,
Open commit View diff
222 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
223
  loadingNavigation,
Open commit View diff
223 loadingNavigation,
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
228
  onLogout,
Open commit View diff
228 onLogout,
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
229
  preferences,
Open commit View diff
229 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
230
  children
Open commit View diff
230 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
231
}: {
Open commit View diff
231 }: {
same change 9693751

Redesign the 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
  branding: BrandingResponse["branding"] | null;
Open commit View diff
232 branding: BrandingResponse["branding"] | 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
233
  user: SessionUser | null;
Open commit View diff
233 user: SessionUser | 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
234
  spaces: Space[];
Open commit View diff
234 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
235
  pagesBySpace: PageRecordMap;
Open commit View diff
235 pagesBySpace: PageRecordMap;
same change 9693751

Redesign the 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
  loadingNavigation: boolean;
Open commit View diff
236 loadingNavigation: 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
237
  navigationError: string | null;
Open commit View diff
237 navigationError: 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
238
  searchResults: PageSummary[];
Open commit View diff
238 searchResults: 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
239
  searchLoading: boolean;
Open commit View diff
239 searchLoading: 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
240
  onSearch: (query: string) => void;
Open commit View diff
240 onSearch: (query: string) => void;
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
241
  onLogout: () => Promise<void>;
Open commit View diff
241 onLogout: () => Promise<void>;
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
242
  preferences: PreferencesState;
Open commit View diff
242 preferences: PreferencesState;
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
243
  children: React.ReactNode;
Open commit View diff
243 children: React.ReactNode;
same change 9693751

Redesign the 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
}) {
Open commit View diff
244 }) {
same change 9693751

Redesign the 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
  const location = useLocation();
Open commit View diff
245 const location = useLocation();
Alex Nord 3 months ago 3d9ace8

Continues UI Fixes

Full commit hash
3d9ace86fe418af41d072e29d321cbe81d325aa9
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
246
  const navigate = useNavigate();
Open commit View diff
246 const navigate = useNavigate();
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
  const [searchOpen, setSearchOpen] = useState(false);
Open commit View diff
247 const [searchOpen, setSearchOpen] = useState(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
248
  const [sidebarOpen, setSidebarOpen] = useState(false);
Open commit View diff
248 const [sidebarOpen, setSidebarOpen] = useState(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
249
  const currentPageSlug = location.pathname.startsWith("/page/")
Open commit View diff
249 const currentPageSlug = location.pathname.startsWith("/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
250
    ? decodeURIComponent(location.pathname.split("/page/")[1] ?? "")
Open commit View diff
250 ? decodeURIComponent(location.pathname.split("/page/")[1] ?? "")
same change 9693751

Redesign the 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
    : undefined;
Open commit View diff
251 : undefined;
Alex Nord 3 months ago 3d9ace8

Continues UI Fixes

Full commit hash
3d9ace86fe418af41d072e29d321cbe81d325aa9
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
252
  const canCreate = user?.role === "editor" || user?.role === "admin" || user?.role === "owner";
Open commit View diff
252 const canCreate = user?.role === "editor" || user?.role === "admin" || user?.role === "owner";
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
253
Open commit View diff
253
same change 9693751

Redesign the 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
  useCommandShortcut(() => setSearchOpen(true));
Open commit View diff
254 useCommandShortcut(() => setSearchOpen(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
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
  const currentPage = useMemo(
Open commit View diff
256 const currentPage = 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
257
    () =>
Open commit View diff
257 () =>
same change 9693751

Redesign the 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
      Object.values(pagesBySpace)
Open commit View diff
258 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
259
        .flat()
Open commit View diff
259 .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
260
        .find((page) => page.slug === currentPageSlug),
Open commit View diff
260 .find((page) => page.slug === currentPageSlug),
same change 9693751

Redesign the 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
    [currentPageSlug, pagesBySpace]
Open commit View diff
261 [currentPageSlug, 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
262
  );
Open commit View diff
262 );
same change 9693751

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

Redesign the 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
  const currentSpace = currentPage
Open commit View diff
264 const currentSpace = currentPage
same change 9693751

Redesign the 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
    ? spaces.find((space) => space.id === currentPage.spaceId)
Open commit View diff
265 ? spaces.find((space) => space.id === currentPage.spaceId)
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
266
    : findCurrentSpace(spaces, null, location.pathname);
Open commit View diff
266 : findCurrentSpace(spaces, null, location.pathname);
same change 9693751

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

Redesign the 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
  return (
Open commit View diff
268 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
269
    <div className="kb-app">
Open commit View diff
269 <div className="kb-app">
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
272
        onClose={() => setSearchOpen(false)}
Open commit View diff
272 onClose={() => setSearchOpen(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
273
        onSearch={onSearch}
Open commit View diff
273 onSearch={onSearch}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
274
        spaces={spaces}
Open commit View diff
274 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
275
        results={searchResults}
Open commit View diff
275 results={searchResults}
same change 9693751

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

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

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

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

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

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

Redesign the 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
      {loadingNavigation ? (
Open commit View diff
279 {loadingNavigation ? (
same change 9693751

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

Redesign the 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
      ) : navigationError ? (
Open commit View diff
281 ) : navigationError ? (
same change 9693751

Redesign the 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
        <aside className="sidebar sidebar-state">
Open commit View diff
282 <aside className="sidebar sidebar-state">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
283
          <EmptyState eyebrow="Navigation" title="Could not load collections" description={navigationError} />
Open commit View diff
283 <EmptyState eyebrow="Navigation" title="Could not load collections" description={navigationError} />
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
284
        </aside>
Open commit View diff
284 </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
285
      ) : (
Open commit View diff
285 ) : (
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
286
        <DocsSidebar
Open commit View diff
286 <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
287
          spaces={spaces}
Open commit View diff
287 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
288
          pagesBySpace={pagesBySpace}
Open commit View diff
288 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
289
          currentSpaceKey={currentSpace?.key}
Open commit View diff
289 currentSpaceKey={currentSpace?.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
290
          currentSlug={currentPageSlug}
Open commit View diff
290 currentSlug={currentPageSlug}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
291
          user={user ? { displayName: user.displayName, role: user.role } : null}
Open commit View diff
291 user={user ? { displayName: user.displayName, role: user.role } : 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
292
          preferences={preferences}
Open commit View diff
292 preferences={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
293
          isOpen={sidebarOpen}
Open commit View diff
293 isOpen={sidebarOpen}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
294
          onClose={() => setSidebarOpen(false)}
Open commit View diff
294 onClose={() => setSidebarOpen(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
295
        />
Open commit View diff
295 />
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
298
      <div className="kb-main">
Open commit View diff
298 <div className="kb-main">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
299
        <header className="app-header">
Open commit View diff
299 <header className="app-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
300
          <div className="app-header__left">
Open commit View diff
300 <div className="app-header__left">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
301
            <button type="button" className="button-ghost mobile-only" onClick={() => setSidebarOpen(true)}>
Open commit View diff
301 <button type="button" className="button-ghost mobile-only" onClick={() => setSidebarOpen(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
302
              <Icon name="menu" className="icon" />
Open commit View diff
302 <Icon name="menu" 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
303
            </button>
Open commit View diff
303 </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
304
            <Link to="/" className="brand brand-header">
Open commit View diff
304 <Link to="/" className="brand brand-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
305
              <span className="brand-mark" style={{ background: branding?.brandColor ?? "#245cff" }} />
Open commit View diff
305 <span className="brand-mark" style={{ background: branding?.brandColor ?? "#245cff" }} />
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
306
              <div>
Open commit View diff
306 <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
307
                <strong>{branding?.siteName ?? "Ledger"}</strong>
Open commit View diff
307 <strong>{branding?.siteName ?? "Ledger"}</strong>
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
309
              </div>
Open commit View diff
309 </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
310
            </Link>
Open commit View diff
310 </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
311
          </div>
Open commit View diff
311 </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
312
Open commit View diff
312
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
313
          <div className="app-header__center">
Open commit View diff
313 <div className="app-header__center">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
314
            <button type="button" className="search-launcher" onClick={() => setSearchOpen(true)}>
Open commit View diff
314 <button type="button" className="search-launcher" onClick={() => setSearchOpen(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
315
              <Icon name="search" className="icon icon-sm" />
Open commit View diff
315 <Icon name="search" 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
316
              <span>Search documentation</span>
Open commit View diff
316 <span>Search documentation</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
317
              <kbd>{navigator.platform.toLowerCase().includes("mac") ? "Cmd K" : "Ctrl K"}</kbd>
Open commit View diff
317 <kbd>{navigator.platform.toLowerCase().includes("mac") ? "Cmd K" : "Ctrl K"}</kbd>
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
321
          <div className="app-header__right">
Open commit View diff
321 <div className="app-header__right">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
322
            {user ? (
Open commit View diff
322 {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
323
              <>
Open commit View diff
323 <>
Alex Nord 3 months ago 3d9ace8

Continues UI Fixes

Full commit hash
3d9ace86fe418af41d072e29d321cbe81d325aa9
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
324
                {canCreate ? (
Open commit View diff
324 {canCreate ? (
Alex Nord 3 months ago acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
325
                  <button type="button" className="button-primary" onClick={() => navigate("/new")}>
Open commit View diff
325 <button type="button" className="button-primary" onClick={() => navigate("/new")}>
Alex Nord 3 months ago 3d9ace8

Continues UI Fixes

Full commit hash
3d9ace86fe418af41d072e29d321cbe81d325aa9
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
326
                    New doc
Open commit View diff
326 New doc
same change 3d9ace8

Continues UI Fixes

Full commit hash
3d9ace86fe418af41d072e29d321cbe81d325aa9
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
327
                  </button>
Open commit View diff
327 </button>
same change 3d9ace8

Continues UI Fixes

Full commit hash
3d9ace86fe418af41d072e29d321cbe81d325aa9
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
328
                ) : null}
Open commit View diff
328 ) : null}
Alex Nord 3 months ago ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
329
                <Link to="/admin/general" className="button-ghost">Admin</Link>
Open commit View diff
329 <Link to="/admin/general" className="button-ghost">Admin</Link>
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
330
                <button className="button-ghost" onClick={onLogout}>Sign out</button>
Open commit View diff
330 <button className="button-ghost" onClick={onLogout}>Sign out</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
331
              </>
Open commit View diff
331 </>
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
333
              <Link to="/login" className="button-ghost">Sign in</Link>
Open commit View diff
333 <Link to="/login" className="button-ghost">Sign in</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
334
            )}
Open commit View diff
334 )}
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
338
        <main className="app-content">{children}</main>
Open commit View diff
338 <main className="app-content">{children}</main>
Alex Nord 3 months ago acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
339
        <footer className="app-footer">
Open commit View diff
339 <footer className="app-footer">
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
340
          <span>{LEDGER_FOOTER}</span>
Open commit View diff
340 <span>{LEDGER_FOOTER}</span>
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
341
          {branding?.footerLinks?.length ? (
Open commit View diff
341 {branding?.footerLinks?.length ? (
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
342
            <nav className="footer-links" aria-label="Footer links">
Open commit View diff
342 <nav className="footer-links" aria-label="Footer links">
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
343
              {branding.footerLinks.map((link) => (
Open commit View diff
343 {branding.footerLinks.map((link) => (
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
344
                <a key={`${link.label}-${link.href}`} href={link.href} target="_blank" rel="noreferrer">
Open commit View diff
344 <a key={`${link.label}-${link.href}`} href={link.href} target="_blank" rel="noreferrer">
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
345
                  {link.label}
Open commit View diff
345 {link.label}
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
346
                </a>
Open commit View diff
346 </a>
same change acd0517

UI fixes to admin page

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

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
348
            </nav>
Open commit View diff
348 </nav>
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
349
          ) : null}
Open commit View diff
349 ) : null}
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
350
        </footer>
Open commit View diff
350 </footer>
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
351
      </div>
Open commit View diff
351 </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
352
    </div>
Open commit View diff
352 </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
353
  );
Open commit View diff
353 );
same change 9693751

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

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

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
357
  spaces,
Open commit View diff
357 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
358
  pagesBySpace,
Open commit View diff
358 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
359
  onSearch
Open commit View diff
359 onSearch
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
361
  spaces: Space[];
Open commit View diff
361 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
362
  pagesBySpace: PageRecordMap;
Open commit View diff
362 pagesBySpace: PageRecordMap;
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
363
  onSearch: (query: string) => void;
Open commit View diff
363 onSearch: (query: string) => void;
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
365
  const navigate = useNavigate();
Open commit View diff
365 const navigate = useNavigate();
Alex Nord 3 months ago 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
366
  const [question, setQuestion] = useState("");
Open commit View diff
366 const [question, setQuestion] = useState("");
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
367
  const [answer, setAnswer] = useState<{ answer: string; citations: AiCitation[]; disabled?: boolean } | null>(null);
Open commit View diff
367 const [answer, setAnswer] = useState<{ answer: string; citations: AiCitation[]; disabled?: boolean } | null>(null);
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
368
  const [answerLoading, setAnswerLoading] = useState(false);
Open commit View diff
368 const [answerLoading, setAnswerLoading] = useState(false);
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
369
  const allPages = useMemo(
Open commit View diff
369 const allPages = 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
370
    () =>
Open commit View diff
370 () =>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
371
      Object.values(pagesBySpace)
Open commit View diff
371 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
372
        .flat()
Open commit View diff
372 .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
373
        .sort((a, b) => Date.parse(b.updatedAt) - Date.parse(a.updatedAt)),
Open commit View diff
373 .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
374
    [pagesBySpace]
Open commit View diff
374 [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
375
  );
Open commit View diff
375 );
same change 9693751

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

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

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
377
  async function askLedger(event: React.FormEvent) {
Open commit View diff
377 async function askLedger(event: React.FormEvent) {
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
378
    event.preventDefault();
Open commit View diff
378 event.preventDefault();
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
379
    if (!question.trim()) {
Open commit View diff
379 if (!question.trim()) {
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
380
      return;
Open commit View diff
380 return;
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
381
    }
Open commit View diff
381 }
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
382
Open commit View diff
382
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
383
    setAnswerLoading(true);
Open commit View diff
383 setAnswerLoading(true);
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
384
    try {
Open commit View diff
384 try {
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
385
      const response = await api.post<{ answer: string; citations: AiCitation[]; disabled?: boolean }>(
Open commit View diff
385 const response = await api.post<{ answer: string; citations: AiCitation[]; disabled?: boolean }>(
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
386
        "/api/ai/answers",
Open commit View diff
386 "/api/ai/answers",
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
387
        { question }
Open commit View diff
387 { question }
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
388
      );
Open commit View diff
388 );
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
389
      setAnswer(response);
Open commit View diff
389 setAnswer(response);
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
390
    } catch (error) {
Open commit View diff
390 } catch (error) {
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
391
      setAnswer({
Open commit View diff
391 setAnswer({
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
392
        answer: error instanceof Error ? error.message : "Could not generate an answer.",
Open commit View diff
392 answer: error instanceof Error ? error.message : "Could not generate an answer.",
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
393
        citations: []
Open commit View diff
393 citations: []
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
394
      });
Open commit View diff
394 });
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
395
    } finally {
Open commit View diff
395 } finally {
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
396
      setAnswerLoading(false);
Open commit View diff
396 setAnswerLoading(false);
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
397
    }
Open commit View diff
397 }
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
398
  }
Open commit View diff
398 }
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
399
Open commit View diff
399
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
400
  return (
Open commit View diff
400 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
401
    <div className="overview-layout">
Open commit View diff
401 <div className="overview-layout">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
402
      <section className="overview-hero">
Open commit View diff
402 <section className="overview-hero">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
403
        <div>
Open commit View diff
403 <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
404
          <p className="eyebrow">Documentation hub</p>
Open commit View diff
404 <p className="eyebrow">Documentation hub</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
405
          <h1>Find trusted answers, onboarding guides, and internal knowledge.</h1>
Open commit View diff
405 <h1>Find trusted answers, onboarding guides, and internal knowledge.</h1>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
406
          <p className="lede">
Open commit View diff
406 <p className="lede">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
407
            Browse collections, jump into recently updated docs, or search across your knowledge
Open commit View diff
407 Browse collections, jump into recently updated docs, or search across your knowledge
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
408
            base from one calm workspace.
Open commit View diff
408 base from one calm workspace.
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
409
          </p>
Open commit View diff
409 </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
410
        </div>
Open commit View diff
410 </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
411
        <SearchBar onSearch={onSearch} placeholder="Search by title, concept, or workflow" />
Open commit View diff
411 <SearchBar onSearch={onSearch} placeholder="Search by title, concept, or workflow" />
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
414
      <section className="overview-grid">
Open commit View diff
414 <section className="overview-grid">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
415
        <div className="panel">
Open commit View diff
415 <div className="panel">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
416
          <div className="panel__header">
Open commit View diff
416 <div className="panel__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
417
            <div>
Open commit View diff
417 <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
418
              <p className="eyebrow">Collections</p>
Open commit View diff
418 <p className="eyebrow">Collections</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
419
              <h3>Browse by space</h3>
Open commit View diff
419 <h3>Browse by space</h3>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
420
            </div>
Open commit View diff
420 </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
421
          </div>
Open commit View diff
421 </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
422
          <div className="collection-cards">
Open commit View diff
422 <div className="collection-cards">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
423
            {spaces.map((space) => (
Open commit View diff
423 {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
424
              <button key={space.id} className="collection-card" onClick={() => navigate(`/space/${space.key}`)}>
Open commit View diff
424 <button key={space.id} className="collection-card" onClick={() => navigate(`/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
425
                <div className="collection-card__icon">
Open commit View diff
425 <div className="collection-card__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
426
                  <Icon name="collection" className="icon" />
Open commit View diff
426 <Icon name="collection" 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
427
                </div>
Open commit View diff
427 </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
428
                <div>
Open commit View diff
428 <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
429
                  <strong>{space.name}</strong>
Open commit View diff
429 <strong>{space.name}</strong>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
430
                  <p>{space.visibility} knowledge</p>
Open commit View diff
430 <p>{space.visibility} knowledge</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
431
                </div>
Open commit View diff
431 </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
432
                <span>{(pagesBySpace[space.key] ?? []).length} docs</span>
Open commit View diff
432 <span>{(pagesBySpace[space.key] ?? []).length} docs</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
433
              </button>
Open commit View diff
433 </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
434
            ))}
Open commit View diff
434 ))}
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
438
        <div className="panel">
Open commit View diff
438 <div className="panel">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
439
          <div className="panel__header">
Open commit View diff
439 <div className="panel__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
440
            <div>
Open commit View diff
440 <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
441
              <p className="eyebrow">Recently updated</p>
Open commit View diff
441 <p className="eyebrow">Recently updated</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
442
              <h3>Fresh documentation</h3>
Open commit View diff
442 <h3>Fresh documentation</h3>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
443
            </div>
Open commit View diff
443 </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
444
          </div>
Open commit View diff
444 </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
445
          <div className="article-list">
Open commit View diff
445 <div className="article-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
446
            {allPages.slice(0, 8).map((page) => (
Open commit View diff
446 {allPages.slice(0, 8).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
447
              <Link key={page.id} to={`/page/${page.slug}`} className="article-list__item">
Open commit View diff
447 <Link key={page.id} to={`/page/${page.slug}`} className="article-list__item">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
448
                <div className="article-list__meta">
Open commit View diff
448 <div className="article-list__meta">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
449
                  <strong>{page.title}</strong>
Open commit View diff
449 <strong>{page.title}</strong>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
450
                  <span>{spaces.find((space) => space.id === page.spaceId)?.name ?? "Collection"}</span>
Open commit View diff
450 <span>{spaces.find((space) => space.id === page.spaceId)?.name ?? "Collection"}</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
451
                </div>
Open commit View diff
451 </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
452
                <p>{page.excerpt ?? "Open this document to read more."}</p>
Open commit View diff
452 <p>{page.excerpt ?? "Open this document to read more."}</p>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
453
              </Link>
Open commit View diff
453 </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
454
            ))}
Open commit View diff
454 ))}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
455
            {allPages.length === 0 ? (
Open commit View diff
455 {allPages.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
456
              <EmptyState
Open commit View diff
456 <EmptyState
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
457
                title="No published articles yet"
Open commit View diff
457 title="No published articles yet"
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
458
                description="Complete setup, then create your first pages from the manage screen."
Open commit View diff
458 description="Complete setup, then create your first pages from the manage screen."
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
460
            ) : null}
Open commit View diff
460 ) : 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
461
          </div>
Open commit View diff
461 </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
462
        </div>
Open commit View diff
462 </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
463
      </section>
Open commit View diff
463 </section>
Alex Nord 3 months ago 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
464
Open commit View diff
464
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
465
      <section className="panel">
Open commit View diff
465 <section className="panel">
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
466
        <div className="panel__header">
Open commit View diff
466 <div className="panel__header">
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
467
          <div>
Open commit View diff
467 <div>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
468
            <p className="eyebrow">AI answers</p>
Open commit View diff
468 <p className="eyebrow">AI answers</p>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
469
            <h3>Ask Ledger</h3>
Open commit View diff
469 <h3>Ask Ledger</h3>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
470
          </div>
Open commit View diff
470 </div>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
471
        </div>
Open commit View diff
471 </div>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
472
        <form className="stack" onSubmit={askLedger}>
Open commit View diff
472 <form className="stack" onSubmit={askLedger}>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
473
          <label className="field">
Open commit View diff
473 <label className="field">
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
474
            Ask a question
Open commit View diff
474 Ask a question
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
475
            <input
Open commit View diff
475 <input
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
476
              value={question}
Open commit View diff
476 value={question}
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
477
              onChange={(event) => setQuestion(event.target.value)}
Open commit View diff
477 onChange={(event) => setQuestion(event.target.value)}
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
478
              placeholder="How do we onboard a new teammate?"
Open commit View diff
478 placeholder="How do we onboard a new teammate?"
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
479
            />
Open commit View diff
479 />
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
480
          </label>
Open commit View diff
480 </label>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
481
          <div className="panel__footer">
Open commit View diff
481 <div className="panel__footer">
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
482
            <button type="submit" disabled={answerLoading}>
Open commit View diff
482 <button type="submit" disabled={answerLoading}>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
483
              {answerLoading ? "Answering..." : "Ask Ledger"}
Open commit View diff
483 {answerLoading ? "Answering..." : "Ask Ledger"}
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
484
            </button>
Open commit View diff
484 </button>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
485
            <p className="muted">Answers are generated only from pages the current account can read.</p>
Open commit View diff
485 <p className="muted">Answers are generated only from pages the current account can read.</p>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
486
          </div>
Open commit View diff
486 </div>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
487
        </form>
Open commit View diff
487 </form>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
488
        {answer ? (
Open commit View diff
488 {answer ? (
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
489
          <div className="answer-card">
Open commit View diff
489 <div className="answer-card">
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
490
            {answer.disabled ? (
Open commit View diff
490 {answer.disabled ? (
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
491
              <EmptyState
Open commit View diff
491 <EmptyState
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
492
                title="AI provider not configured"
Open commit View diff
492 title="AI provider not configured"
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
493
                description="An admin can enable an OpenAI-compatible or Anthropic-compatible provider in the manage screen."
Open commit View diff
493 description="An admin can enable an OpenAI-compatible or Anthropic-compatible provider in the manage screen."
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
494
              />
Open commit View diff
494 />
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
495
            ) : (
Open commit View diff
495 ) : (
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
496
              <>
Open commit View diff
496 <>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
497
                <p>{answer.answer}</p>
Open commit View diff
497 <p>{answer.answer}</p>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
498
                <div className="citation-list">
Open commit View diff
498 <div className="citation-list">
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
499
                  {answer.citations.map((citation) => (
Open commit View diff
499 {answer.citations.map((citation) => (
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
500
                    <Link key={citation.slug} to={`/page/${citation.slug}`} className="citation-chip">
Open commit View diff
500 <Link key={citation.slug} to={`/page/${citation.slug}`} className="citation-chip">
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
501
                      {citation.title}
Open commit View diff
501 {citation.title}
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
502
                    </Link>
Open commit View diff
502 </Link>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
503
                  ))}
Open commit View diff
503 ))}
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
504
                </div>
Open commit View diff
504 </div>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
505
              </>
Open commit View diff
505 </>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
506
            )}
Open commit View diff
506 )}
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
507
          </div>
Open commit View diff
507 </div>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
508
        ) : null}
Open commit View diff
508 ) : null}
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
509
      </section>
Open commit View diff
509 </section>
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
510
    </div>
Open commit View diff
510 </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
511
  );
Open commit View diff
511 );
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
514
function SpacePage({ spaces, pagesBySpace }: { spaces: Space[]; pagesBySpace: PageRecordMap }) {
Open commit View diff
514 function SpacePage({ spaces, pagesBySpace }: { spaces: Space[]; pagesBySpace: PageRecordMap }) {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
515
  const { spaceKey = "" } = useParams();
Open commit View diff
515 const { spaceKey = "" } = useParams();
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
516
  const space = spaces.find((entry) => entry.key === spaceKey);
Open commit View diff
516 const space = spaces.find((entry) => entry.key === spaceKey);
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
517
  const pages = pagesBySpace[spaceKey] ?? [];
Open commit View diff
517 const pages = pagesBySpace[spaceKey] ?? [];
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
519
  return (
Open commit View diff
519 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
520
    <div className="document-layout">
Open commit View diff
520 <div className="document-layout">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
521
      <section className="doc-card">
Open commit View diff
521 <section className="doc-card">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
522
        <div className="breadcrumbs">
Open commit View diff
522 <div className="breadcrumbs">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
523
          <Link to="/">Knowledge base</Link>
Open commit View diff
523 <Link to="/">Knowledge base</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
524
          <span>/</span>
Open commit View diff
524 <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
525
          <span>{space?.name ?? spaceKey}</span>
Open commit View diff
525 <span>{space?.name ?? spaceKey}</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
526
        </div>
Open commit View diff
526 </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
527
        <div className="doc-card__header">
Open commit View diff
527 <div className="doc-card__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
528
          <div>
Open commit View diff
528 <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
529
            <p className="eyebrow">Collection</p>
Open commit View diff
529 <p className="eyebrow">Collection</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
530
            <h1>{space?.name ?? spaceKey}</h1>
Open commit View diff
530 <h1>{space?.name ?? spaceKey}</h1>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
531
            <p className="lede">{pages.length} published documents are currently visible in this collection.</p>
Open commit View diff
531 <p className="lede">{pages.length} published documents are currently visible in this collection.</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
532
          </div>
Open commit View diff
532 </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
533
          <span className={`badge badge-${space?.visibility ?? "internal"}`}>{space?.visibility ?? "internal"}</span>
Open commit View diff
533 <span className={`badge badge-${space?.visibility ?? "internal"}`}>{space?.visibility ?? "internal"}</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
534
        </div>
Open commit View diff
534 </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
535
        {pages.length === 0 ? (
Open commit View diff
535 {pages.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
536
          <EmptyState
Open commit View diff
536 <EmptyState
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
537
            title="This collection is empty"
Open commit View diff
537 title="This collection is empty"
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
538
            description="Add documents from the manage screen to build out this space."
Open commit View diff
538 description="Add documents from the manage screen to build out this 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
539
          />
Open commit View diff
539 />
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
541
          <div className="article-list">
Open commit View diff
541 <div className="article-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
542
            {pages.map((page) => (
Open commit View diff
542 {pages.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
543
              <Link key={page.id} to={`/page/${page.slug}`} className="article-list__item">
Open commit View diff
543 <Link key={page.id} to={`/page/${page.slug}`} className="article-list__item">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
544
                <div className="article-list__meta">
Open commit View diff
544 <div className="article-list__meta">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
545
                  <strong>{page.title}</strong>
Open commit View diff
545 <strong>{page.title}</strong>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
546
                  <span>{page.visibility} - {new Date(page.updatedAt).toLocaleDateString()}</span>
Open commit View diff
546 <span>{page.visibility} - {new Date(page.updatedAt).toLocaleDateString()}</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
547
                </div>
Open commit View diff
547 </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
548
                <p>{page.excerpt ?? "Open this document to continue reading."}</p>
Open commit View diff
548 <p>{page.excerpt ?? "Open this document to continue reading."}</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
549
              </Link>
Open commit View diff
549 </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
550
            ))}
Open commit View diff
550 ))}
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
553
      </section>
Open commit View diff
553 </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
554
      <aside className="right-rail">
Open commit View diff
554 <aside className="right-rail">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
555
        <section className="rail-card">
Open commit View diff
555 <section className="rail-card">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
556
          <p className="eyebrow">Collection info</p>
Open commit View diff
556 <p className="eyebrow">Collection info</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
557
          <h3>{space?.name ?? "Collection"}</h3>
Open commit View diff
557 <h3>{space?.name ?? "Collection"}</h3>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
558
          <p className="muted">
Open commit View diff
558 <p className="muted">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
559
            Use the left navigation tree to browse pages and nested structure inside this space.
Open commit View diff
559 Use the left navigation tree to browse pages and nested structure inside this 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
560
          </p>
Open commit View diff
560 </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
561
        </section>
Open commit View diff
561 </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
562
      </aside>
Open commit View diff
562 </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
563
    </div>
Open commit View diff
563 </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
564
  );
Open commit View diff
564 );
same change 9693751

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

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

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
568
  spaces,
Open commit View diff
568 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
569
  pagesBySpace,
Open commit View diff
569 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
570
  user
Open commit View diff
570 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
571
}: {
Open commit View diff
571 }: {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
572
  spaces: Space[];
Open commit View diff
572 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
573
  pagesBySpace: PageRecordMap;
Open commit View diff
573 pagesBySpace: PageRecordMap;
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
574
  user: SessionUser | null;
Open commit View diff
574 user: SessionUser | 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
575
}) {
Open commit View diff
575 }) {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
576
  const { slug = "" } = useParams();
Open commit View diff
576 const { slug = "" } = useParams();
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
577
  const [page, setPage] = useState<PageDetail | null>(null);
Open commit View diff
577 const [page, setPage] = useState<PageDetail | 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
578
  const [loading, setLoading] = useState(true);
Open commit View diff
578 const [loading, setLoading] = 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
579
  const [error, setError] = useState<string | null>(null);
Open commit View diff
579 const [error, setError] = useState<string | 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
580
  const articleRef = useRef<HTMLElement>(null);
Open commit View diff
580 const articleRef = useRef<HTMLElement>(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
581
Open commit View diff
581
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
582
  useEffect(() => {
Open commit View diff
582 useEffect(() => {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
583
    setLoading(true);
Open commit View diff
583 setLoading(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
584
    setError(null);
Open commit View diff
584 setError(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
585
Open commit View diff
585
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
587
      .get<{ page: PageDetail }>(`/api/pages/slug/${slug}`)
Open commit View diff
587 .get<{ page: PageDetail }>(`/api/pages/slug/${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
588
      .then((response) => setPage(response.page))
Open commit View diff
588 .then((response) => setPage(response.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
589
      .catch((reason) => {
Open commit View diff
589 .catch((reason) => {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
590
        setError(reason instanceof Error ? reason.message : "Could not load this page.");
Open commit View diff
590 setError(reason instanceof Error ? reason.message : "Could not load this 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
591
        setPage(null);
Open commit View diff
591 setPage(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
592
      })
Open commit View diff
592 })
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
593
      .finally(() => setLoading(false));
Open commit View diff
593 .finally(() => setLoading(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
594
  }, [slug]);
Open commit View diff
594 }, [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
595
Open commit View diff
595
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
596
  useEffect(() => {
Open commit View diff
596 useEffect(() => {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
597
    if (page) {
Open commit View diff
597 if (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
598
      addCopyButtons(articleRef.current);
Open commit View diff
598 addCopyButtons(articleRef.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
599
    }
Open commit View diff
599 }
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
600
  }, [page]);
Open commit View diff
600 }, [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
601
Open commit View diff
601
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
602
  if (loading) {
Open commit View diff
602 if (loading) {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
603
    return (
Open commit View diff
603 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
604
      <div className="document-layout">
Open commit View diff
604 <div className="document-layout">
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
606
        <aside className="right-rail">
Open commit View diff
606 <aside className="right-rail">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
607
          <div className="rail-card">
Open commit View diff
607 <div className="rail-card">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
608
            <div className="skeleton skeleton-title" />
Open commit View diff
608 <div className="skeleton skeleton-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
609
            <div className="skeleton skeleton-line" />
Open commit View diff
609 <div className="skeleton skeleton-line" />
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
610
            <div className="skeleton skeleton-line short" />
Open commit View diff
610 <div className="skeleton skeleton-line short" />
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
611
          </div>
Open commit View diff
611 </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
612
        </aside>
Open commit View diff
612 </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
613
      </div>
Open commit View diff
613 </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
614
    );
Open commit View diff
614 );
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
617
  if (!page) {
Open commit View diff
617 if (!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
618
    return (
Open commit View diff
618 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
619
      <div className="document-layout">
Open commit View diff
619 <div className="document-layout">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
620
        <section className="doc-card">
Open commit View diff
620 <section className="doc-card">
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
623
            title="Page not found"
Open commit View diff
623 title="Page not found"
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
624
            description={error ?? "This page may not exist, or your account may not be allowed to view it."}
Open commit View diff
624 description={error ?? "This page may not exist, or your account may not be allowed to view it."}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
625
            action={<Link to="/" className="button-secondary">Back to knowledge base</Link>}
Open commit View diff
625 action={<Link to="/" className="button-secondary">Back to knowledge base</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
626
          />
Open commit View diff
626 />
same change 9693751

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

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

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
632
  const space = spaces.find((entry) => entry.id === page.spaceId);
Open commit View diff
632 const space = spaces.find((entry) => entry.id === page.spaceId);
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
633
  const breadcrumbs = buildBreadcrumbs(page, pagesBySpace[space?.key ?? ""] ?? [], space);
Open commit View diff
633 const breadcrumbs = buildBreadcrumbs(page, pagesBySpace[space?.key ?? ""] ?? [], 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
634
Open commit View diff
634
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
635
  async function copyLink() {
Open commit View diff
635 async function copyLink() {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
636
    await navigator.clipboard.writeText(window.location.href);
Open commit View diff
636 await navigator.clipboard.writeText(window.location.href);
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
639
  return (
Open commit View diff
639 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
640
    <div className="document-layout">
Open commit View diff
640 <div className="document-layout">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
641
      <article className="doc-card">
Open commit View diff
641 <article className="doc-card">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
642
        <div className="breadcrumbs">
Open commit View diff
642 <div className="breadcrumbs">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
643
          {breadcrumbs.map((item, index) => (
Open commit View diff
643 {breadcrumbs.map((item, index) => (
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
644
            <React.Fragment key={`${item.title}-${index}`}>
Open commit View diff
644 <React.Fragment key={`${item.title}-${index}`}>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
645
              {index > 0 ? <span>/</span> : null}
Open commit View diff
645 {index > 0 ? <span>/</span> : 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
646
              {item.slug && index < breadcrumbs.length - 1 ? (
Open commit View diff
646 {item.slug && index < breadcrumbs.length - 1 ? (
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
647
                <Link to={`/page/${item.slug}`}>{item.title}</Link>
Open commit View diff
647 <Link to={`/page/${item.slug}`}>{item.title}</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
648
              ) : (
Open commit View diff
648 ) : (
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
649
                <span>{item.title}</span>
Open commit View diff
649 <span>{item.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
650
              )}
Open commit View diff
650 )}
same change 9693751

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

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

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
655
        <header className="doc-card__header doc-card__header-spread">
Open commit View diff
655 <header className="doc-card__header doc-card__header-spread">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
656
          <div>
Open commit View diff
656 <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
657
            <div className="doc-badges">
Open commit View diff
657 <div className="doc-badges">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
658
              <span className={`badge badge-${page.visibility}`}>
Open commit View diff
658 <span className={`badge badge-${page.visibility}`}>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
659
                <Icon name={page.visibility === "public" ? "globe" : "lock"} className="icon icon-sm" />
Open commit View diff
659 <Icon name={page.visibility === "public" ? "globe" : "lock"} 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
660
                {page.visibility}
Open commit View diff
660 {page.visibility}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
661
              </span>
Open commit View diff
661 </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
662
              <span className="badge badge-muted">{page.state}</span>
Open commit View diff
662 <span className="badge badge-muted">{page.state}</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
663
            </div>
Open commit View diff
663 </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
664
            <h1>{page.title}</h1>
Open commit View diff
664 <h1>{page.title}</h1>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
665
            <p className="doc-meta">
Open commit View diff
665 <p className="doc-meta">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
666
              Updated {new Date(page.updatedAt).toLocaleDateString()} by {page.authorName}
Open commit View diff
666 Updated {new Date(page.updatedAt).toLocaleDateString()} by {page.authorName}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
667
            </p>
Open commit View diff
667 </p>
Alex Nord 3 months ago 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
668
            {page.source ? (
Open commit View diff
668 {page.source ? (
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
669
              <p className="doc-meta">
Open commit View diff
669 <p className="doc-meta">
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
670
                Imported from {page.source.provider.replace("_", " ")} on{" "}
Open commit View diff
670 Imported from {page.source.provider.replace("_", " ")} on{" "}
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
671
                {new Date(page.source.importedAt).toLocaleDateString()}
Open commit View diff
671 {new Date(page.source.importedAt).toLocaleDateString()}
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
672
              </p>
Open commit View diff
672 </p>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
673
            ) : null}
Open commit View diff
673 ) : null}
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
674
          </div>
Open commit View diff
674 </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
675
Open commit View diff
675
Alex Nord 3 months ago acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
676
            <div className="doc-actions">
Open commit View diff
676 <div className="doc-actions">
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
677
              <button type="button" className="button-secondary" onClick={copyLink}>
Open commit View diff
677 <button type="button" className="button-secondary" onClick={copyLink}>
same change acd0517

UI fixes to admin page

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

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
679
                Copy link
Open commit View diff
679 Copy link
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
680
              </button>
Open commit View diff
680 </button>
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
681
              {user && (user.role === "editor" || user.role === "admin" || user.role === "owner") ? (
Open commit View diff
681 {user && (user.role === "editor" || user.role === "admin" || user.role === "owner") ? (
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
682
                <Link to={`/page/${page.slug}/edit`} className="button-secondary">
Open commit View diff
682 <Link to={`/page/${page.slug}/edit`} className="button-secondary">
same change acd0517

UI fixes to admin page

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

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
684
                  Edit doc
Open commit View diff
684 Edit doc
same change acd0517

UI fixes to admin page

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

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
686
              ) : null}
Open commit View diff
686 ) : null}
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
687
            </div>
Open commit View diff
687 </div>
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
688
          </header>
Open commit View diff
688 </header>
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
689
Open commit View diff
689
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
690
        {page.excerpt ? <p className="doc-summary">{page.excerpt}</p> : null}
Open commit View diff
690 {page.excerpt ? <p className="doc-summary">{page.excerpt}</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
691
Open commit View diff
691
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
692
        <div ref={articleRef} className="markdown markdown-prose" dangerouslySetInnerHTML={{ __html: page.bodyHtml }} />
Open commit View diff
692 <div ref={articleRef} className="markdown markdown-prose" dangerouslySetInnerHTML={{ __html: page.bodyHtml }} />
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
693
        <FeedbackForm pageId={page.id} revisionId={page.revisionId} />
Open commit View diff
693 <FeedbackForm pageId={page.id} revisionId={page.revisionId} />
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
696
      <aside className="right-rail">
Open commit View diff
696 <aside className="right-rail">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
697
        <section className="rail-card">
Open commit View diff
697 <section className="rail-card">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
698
          <p className="eyebrow">On this page</p>
Open commit View diff
698 <p className="eyebrow">On this page</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
699
          {page.toc.length === 0 ? <p className="muted">No headings yet.</p> : null}
Open commit View diff
699 {page.toc.length === 0 ? <p className="muted">No headings 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
700
          <nav className="toc-rail">
Open commit View diff
700 <nav className="toc-rail">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
701
            {page.toc.map((item) => (
Open commit View diff
701 {page.toc.map((item) => (
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
702
              <a key={item.id} href={`#${item.id}`} style={{ paddingLeft: `${(item.level - 1) * 0.75}rem` }}>
Open commit View diff
702 <a key={item.id} href={`#${item.id}`} style={{ paddingLeft: `${(item.level - 1) * 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
703
                {item.text}
Open commit View diff
703 {item.text}
same change 9693751

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

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

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
709
        <section className="rail-card">
Open commit View diff
709 <section className="rail-card">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
710
          <p className="eyebrow">Context</p>
Open commit View diff
710 <p className="eyebrow">Context</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
711
          <div className="context-list">
Open commit View diff
711 <div className="context-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
712
            <div>
Open commit View diff
712 <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
713
              <span>Collection</span>
Open commit View diff
713 <span>Collection</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
714
              <strong>{space?.name ?? "Unknown"}</strong>
Open commit View diff
714 <strong>{space?.name ?? "Unknown"}</strong>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
715
            </div>
Open commit View diff
715 </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
716
            <div>
Open commit View diff
716 <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
717
              <span>State</span>
Open commit View diff
717 <span>State</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
718
              <strong>{page.state}</strong>
Open commit View diff
718 <strong>{page.state}</strong>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
719
            </div>
Open commit View diff
719 </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
720
            <div>
Open commit View diff
720 <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
721
              <span>Access</span>
Open commit View diff
721 <span>Access</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
722
              <strong>{page.visibility}</strong>
Open commit View diff
722 <strong>{page.visibility}</strong>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
723
            </div>
Open commit View diff
723 </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
724
          </div>
Open commit View diff
724 </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
725
        </section>
Open commit View diff
725 </section>
Alex Nord 3 months ago 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
726
Open commit View diff
726
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
727
        {page.source ? (
Open commit View diff
727 {page.source ? (
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
728
          <section className="rail-card">
Open commit View diff
728 <section className="rail-card">
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
729
            <p className="eyebrow">Source</p>
Open commit View diff
729 <p className="eyebrow">Source</p>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
730
            <div className="context-list">
Open commit View diff
730 <div className="context-list">
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
731
              <div>
Open commit View diff
731 <div>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
732
                <span>Provider</span>
Open commit View diff
732 <span>Provider</span>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
733
                <strong>{page.source.provider}</strong>
Open commit View diff
733 <strong>{page.source.provider}</strong>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
734
              </div>
Open commit View diff
734 </div>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
735
              {page.source.sourceTitle ? (
Open commit View diff
735 {page.source.sourceTitle ? (
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
736
                <div>
Open commit View diff
736 <div>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
737
                  <span>Title</span>
Open commit View diff
737 <span>Title</span>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
738
                  <strong>{page.source.sourceTitle}</strong>
Open commit View diff
738 <strong>{page.source.sourceTitle}</strong>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
739
                </div>
Open commit View diff
739 </div>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
740
              ) : null}
Open commit View diff
740 ) : null}
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
741
              {page.source.sourcePath ? (
Open commit View diff
741 {page.source.sourcePath ? (
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
742
                <div>
Open commit View diff
742 <div>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
743
                  <span>Path</span>
Open commit View diff
743 <span>Path</span>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
744
                  <strong>{page.source.sourcePath}</strong>
Open commit View diff
744 <strong>{page.source.sourcePath}</strong>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
745
                </div>
Open commit View diff
745 </div>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
746
              ) : null}
Open commit View diff
746 ) : null}
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
747
              {page.source.sourceBranch ? (
Open commit View diff
747 {page.source.sourceBranch ? (
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
748
                <div>
Open commit View diff
748 <div>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
749
                  <span>Branch</span>
Open commit View diff
749 <span>Branch</span>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
750
                  <strong>{page.source.sourceBranch}</strong>
Open commit View diff
750 <strong>{page.source.sourceBranch}</strong>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
751
                </div>
Open commit View diff
751 </div>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
752
              ) : null}
Open commit View diff
752 ) : null}
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
753
              {page.source.sourceDocumentId ? (
Open commit View diff
753 {page.source.sourceDocumentId ? (
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
754
                <div>
Open commit View diff
754 <div>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
755
                  <span>Document ID</span>
Open commit View diff
755 <span>Document ID</span>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
756
                  <strong>{page.source.sourceDocumentId}</strong>
Open commit View diff
756 <strong>{page.source.sourceDocumentId}</strong>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
757
                </div>
Open commit View diff
757 </div>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
758
              ) : null}
Open commit View diff
758 ) : null}
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
759
            </div>
Open commit View diff
759 </div>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
760
            {page.source.sourceUrl ? (
Open commit View diff
760 {page.source.sourceUrl ? (
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
761
              <a href={page.source.sourceUrl} target="_blank" rel="noreferrer" className="button-secondary inline-button">
Open commit View diff
761 <a href={page.source.sourceUrl} target="_blank" rel="noreferrer" className="button-secondary inline-button">
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
762
                Open source
Open commit View diff
762 Open source
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
763
              </a>
Open commit View diff
763 </a>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
764
            ) : null}
Open commit View diff
764 ) : null}
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
765
          </section>
Open commit View diff
765 </section>
same change 5600eb6

Build enterprise imports webhooks and AI admin workflows

Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
766
        ) : null}
Open commit View diff
766 ) : null}
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
767
      </aside>
Open commit View diff
767 </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
768
    </div>
Open commit View diff
768 </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
769
  );
Open commit View diff
769 );
same change 9693751

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

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

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

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

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
772
function EditorPage({
Open commit View diff
772 function EditorPage({
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
773
  spaces,
Open commit View diff
773 spaces,
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
774
  user
Open commit View diff
774 user
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
775
}: {
Open commit View diff
775 }: {
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
776
  spaces: Space[];
Open commit View diff
776 spaces: Space[];
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
777
  user: SessionUser | null;
Open commit View diff
777 user: SessionUser | null;
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
778
}) {
Open commit View diff
778 }) {
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
779
  const { slug } = useParams();
Open commit View diff
779 const { slug } = useParams();
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
780
  const navigate = useNavigate();
Open commit View diff
780 const navigate = useNavigate();
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
781
  const [page, setPage] = useState<PageDetail | null>(null);
Open commit View diff
781 const [page, setPage] = useState<PageDetail | null>(null);
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
782
  const [loading, setLoading] = useState(Boolean(slug));
Open commit View diff
782 const [loading, setLoading] = useState(Boolean(slug));
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
783
  const [error, setError] = useState<string | null>(null);
Open commit View diff
783 const [error, setError] = useState<string | null>(null);
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
784
  const canEdit = Boolean(user && ["editor", "admin", "owner"].includes(user.role));
Open commit View diff
784 const canEdit = Boolean(user && ["editor", "admin", "owner"].includes(user.role));
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
785
Open commit View diff
785
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
786
  useEffect(() => {
Open commit View diff
786 useEffect(() => {
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
787
    if (!slug) {
Open commit View diff
787 if (!slug) {
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
788
      setLoading(false);
Open commit View diff
788 setLoading(false);
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
789
      setPage(null);
Open commit View diff
789 setPage(null);
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
790
      setError(null);
Open commit View diff
790 setError(null);
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
791
      return;
Open commit View diff
791 return;
same change acd0517

UI fixes to admin page

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

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
793
Open commit View diff
793
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
794
    setLoading(true);
Open commit View diff
794 setLoading(true);
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
795
    setError(null);
Open commit View diff
795 setError(null);
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
796
    api
Open commit View diff
796 api
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
797
      .get<{ page: PageDetail }>(`/api/pages/slug/${slug}`)
Open commit View diff
797 .get<{ page: PageDetail }>(`/api/pages/slug/${slug}`)
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
798
      .then((response) => setPage(response.page))
Open commit View diff
798 .then((response) => setPage(response.page))
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
799
      .catch((reason) => setError(reason instanceof Error ? reason.message : "Could not load this page for editing."))
Open commit View diff
799 .catch((reason) => setError(reason instanceof Error ? reason.message : "Could not load this page for editing."))
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
800
      .finally(() => setLoading(false));
Open commit View diff
800 .finally(() => setLoading(false));
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
801
  }, [slug]);
Open commit View diff
801 }, [slug]);
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
802
Open commit View diff
802
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
803
  if (!canEdit) {
Open commit View diff
803 if (!canEdit) {
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
804
    return <AccessDeniedPage />;
Open commit View diff
804 return <AccessDeniedPage />;
same change acd0517

UI fixes to admin page

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

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
806
Open commit View diff
806
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
807
  if (loading) {
Open commit View diff
807 if (loading) {
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
808
    return (
Open commit View diff
808 return (
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
809
      <div className="stack-page">
Open commit View diff
809 <div className="stack-page">
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
810
        <ContentSkeleton />
Open commit View diff
810 <ContentSkeleton />
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
811
      </div>
Open commit View diff
811 </div>
same change acd0517

UI fixes to admin page

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

UI fixes to admin page

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

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
814
Open commit View diff
814
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
815
  if (error && slug) {
Open commit View diff
815 if (error && slug) {
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
816
    return (
Open commit View diff
816 return (
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
817
      <div className="stack-page">
Open commit View diff
817 <div className="stack-page">
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
818
        <section className="panel">
Open commit View diff
818 <section className="panel">
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
819
          <EmptyState title="Could not open editor" description={error} action={<Link to="/spaces" className="button-secondary">Back to home</Link>} />
Open commit View diff
819 <EmptyState title="Could not open editor" description={error} action={<Link to="/spaces" className="button-secondary">Back to home</Link>} />
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
820
        </section>
Open commit View diff
820 </section>
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
821
      </div>
Open commit View diff
821 </div>
same change acd0517

UI fixes to admin page

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

UI fixes to admin page

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

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
824
Open commit View diff
824
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
825
  return (
Open commit View diff
825 return (
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
826
    <div className="stack-page">
Open commit View diff
826 <div className="stack-page">
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
827
      <PageHeader
Open commit View diff
827 <PageHeader
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
828
        eyebrow={slug ? "Document editor" : "New document"}
Open commit View diff
828 eyebrow={slug ? "Document editor" : "New document"}
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
829
        title={slug ? `Edit ${page?.title ?? "document"}` : "Create a new document"}
Open commit View diff
829 title={slug ? `Edit ${page?.title ?? "document"}` : "Create a new document"}
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
830
        description={slug ? "Update Markdown, visibility, and publish state from the same drafting surface." : "Start with Markdown first, then publish when the doc is ready."}
Open commit View diff
830 description={slug ? "Update Markdown, visibility, and publish state from the same drafting surface." : "Start with Markdown first, then publish when the doc is ready."}
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
831
      />
Open commit View diff
831 />
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
832
      <PageEditor
Open commit View diff
832 <PageEditor
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
833
        spaces={spaces}
Open commit View diff
833 spaces={spaces}
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
834
        mode={slug ? "edit" : "create"}
Open commit View diff
834 mode={slug ? "edit" : "create"}
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
835
        variant="page"
Open commit View diff
835 variant="page"
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
836
        initialPage={
Open commit View diff
836 initialPage={
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
837
          slug && page
Open commit View diff
837 slug && page
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
838
            ? {
Open commit View diff
838 ? {
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
839
                id: page.id,
Open commit View diff
839 id: page.id,
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
840
                spaceId: page.spaceId,
Open commit View diff
840 spaceId: page.spaceId,
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
841
                title: page.title,
Open commit View diff
841 title: page.title,
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
842
                slug: page.slug,
Open commit View diff
842 slug: page.slug,
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
843
                bodyMarkdown: page.bodyMarkdown,
Open commit View diff
843 bodyMarkdown: page.bodyMarkdown,
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
844
                excerpt: page.excerpt ?? "",
Open commit View diff
844 excerpt: page.excerpt ?? "",
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
845
                visibility: page.visibility,
Open commit View diff
845 visibility: page.visibility,
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
846
                state: page.state,
Open commit View diff
846 state: page.state,
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
847
                tags: page.tags,
Open commit View diff
847 tags: page.tags,
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
848
                parentPageId: page.parentPageId
Open commit View diff
848 parentPageId: page.parentPageId
same change acd0517

UI fixes to admin page

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

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
850
            : null
Open commit View diff
850 : null
same change acd0517

UI fixes to admin page

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

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
852
        onSaved={(nextSlug) => navigate(`/page/${nextSlug}`)}
Open commit View diff
852 onSaved={(nextSlug) => navigate(`/page/${nextSlug}`)}
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
853
        onCancel={() => navigate(slug ? `/page/${slug}` : "/spaces")}
Open commit View diff
853 onCancel={() => navigate(slug ? `/page/${slug}` : "/spaces")}
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
854
      />
Open commit View diff
854 />
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
855
    </div>
Open commit View diff
855 </div>
same change acd0517

UI fixes to admin page

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

UI fixes to admin page

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

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
858
Open commit View diff
858
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
859
function LoginPage({ onLogin }: { onLogin: (user: SessionUser) => void }) {
Open commit View diff
859 function LoginPage({ onLogin }: { onLogin: (user: SessionUser) => 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
860
  const navigate = useNavigate();
Open commit View diff
860 const navigate = useNavigate();
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
861
  const [email, setEmail] = useState("");
Open commit View diff
861 const [email, setEmail] = useState("");
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
862
  const [password, setPassword] = useState("");
Open commit View diff
862 const [password, setPassword] = useState("");
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
863
  const [error, setError] = useState<string | null>(null);
Open commit View diff
863 const [error, setError] = useState<string | 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
864
Open commit View diff
864
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
865
  async function submit(event: React.FormEvent) {
Open commit View diff
865 async function submit(event: React.FormEvent) {
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
868
      const response = await api.post<{ user: SessionUser }>("/api/auth/login", { email, password });
Open commit View diff
868 const response = await api.post<{ user: SessionUser }>("/api/auth/login", { email, password });
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
869
      onLogin(response.user);
Open commit View diff
869 onLogin(response.user);
Alex Nord 3 months ago ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
870
      navigate("/spaces");
Open commit View diff
870 navigate("/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
871
    } catch (reason) {
Open commit View diff
871 } catch (reason) {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
872
      setError(reason instanceof Error ? reason.message : "Could not sign in");
Open commit View diff
872 setError(reason instanceof Error ? reason.message : "Could not sign in");
same change 9693751

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

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

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
876
  return (
Open commit View diff
876 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
877
    <div className="auth-layout">
Open commit View diff
877 <div className="auth-layout">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
878
      <section className="auth-panel">
Open commit View diff
878 <section className="auth-panel">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
879
        <p className="eyebrow">Secure access</p>
Open commit View diff
879 <p className="eyebrow">Secure access</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
880
        <h1>Sign in to internal documentation</h1>
Open commit View diff
880 <h1>Sign in to internal documentation</h1>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
881
        <p className="muted">
Open commit View diff
881 <p className="muted">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
882
          Access private knowledge, restricted runbooks, and editing tools with your Ledger account.
Open commit View diff
882 Access private knowledge, restricted runbooks, and editing tools with your Ledger account.
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
883
        </p>
Open commit View diff
883 </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
884
      </section>
Open commit View diff
884 </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
885
      <form className="panel auth-form" onSubmit={submit}>
Open commit View diff
885 <form className="panel auth-form" onSubmit={submit}>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
886
        <div className="panel__header">
Open commit View diff
886 <div className="panel__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
887
          <div>
Open commit View diff
887 <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
888
            <p className="eyebrow">Authentication</p>
Open commit View diff
888 <p className="eyebrow">Authentication</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
889
            <h3>Welcome back</h3>
Open commit View diff
889 <h3>Welcome back</h3>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
890
          </div>
Open commit View diff
890 </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
891
        </div>
Open commit View diff
891 </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
892
        <label className="field">
Open commit View diff
892 <label className="field">
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
894
          <input value={email} onChange={(event) => setEmail(event.target.value)} />
Open commit View diff
894 <input value={email} onChange={(event) => setEmail(event.target.value)} />
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
896
        <label className="field">
Open commit View diff
896 <label className="field">
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
898
          <input type="password" value={password} onChange={(event) => setPassword(event.target.value)} />
Open commit View diff
898 <input type="password" value={password} onChange={(event) => setPassword(event.target.value)} />
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
900
        <button type="submit">Sign in</button>
Open commit View diff
900 <button type="submit">Sign in</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
901
        {error ? <p className="muted">{error}</p> : null}
Open commit View diff
901 {error ? <p className="muted">{error}</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
902
      </form>
Open commit View diff
902 </form>
same change 9693751

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
911
  onInitialized: (user: SessionUser, branding: BrandingResponse["branding"]) => void;
Open commit View diff
911 onInitialized: (user: SessionUser, branding: BrandingResponse["branding"]) => 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
912
  initialBranding: SetupStatus["branding"];
Open commit View diff
912 initialBranding: SetupStatus["branding"];
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
914
  const navigate = useNavigate();
Open commit View diff
914 const navigate = useNavigate();
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
915
  const [form, setForm] = useState({
Open commit View diff
915 const [form, setForm] = useState({
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
916
    siteName: initialBranding?.site_name ?? "Ledger",
Open commit View diff
916 siteName: initialBranding?.site_name ?? "Ledger",
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
917
    brandColor: initialBranding?.brand_color ?? "#245cff",
Open commit View diff
917 brandColor: initialBranding?.brand_color ?? "#245cff",
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
918
    publicKnowledgeBaseEnabled: true,
Open commit View diff
918 publicKnowledgeBaseEnabled: 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
919
    ownerEmail: "",
Open commit View diff
919 ownerEmail: "",
same change 9693751

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

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

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
923
  const [status, setStatus] = useState<string | null>(null);
Open commit View diff
923 const [status, setStatus] = useState<string | 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
924
Open commit View diff
924
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
925
  async function submit(event: React.FormEvent) {
Open commit View diff
925 async function submit(event: React.FormEvent) {
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
927
    try {
Open commit View diff
927 try {
Alex Nord 3 months ago 7b9fd81

Continues UI Fixes

Full commit hash
7b9fd81fba50e4e63f3a981dc8ac583996c2482c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
928
      const response = await api.post<{ user: SessionUser }>("/api/setup/initialize", form);
Open commit View diff
928 const response = await api.post<{ user: SessionUser }>("/api/setup/initialize", form);
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
929
Open commit View diff
929
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
930
      onInitialized(response.user, {
Open commit View diff
930 onInitialized(response.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
931
        siteName: form.siteName,
Open commit View diff
931 siteName: form.siteName,
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
932
        logoUrl: null,
Open commit View diff
932 logoUrl: 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
933
        brandColor: form.brandColor,
Open commit View diff
933 brandColor: form.brandColor,
Alex Nord 3 months ago acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
934
        publicKnowledgeBaseEnabled: form.publicKnowledgeBaseEnabled,
Open commit View diff
934 publicKnowledgeBaseEnabled: form.publicKnowledgeBaseEnabled,
same change acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
935
        footerLinks: []
Open commit View diff
935 footerLinks: []
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
936
      });
Open commit View diff
936 });
same change 9693751

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

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

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
938
      navigate("/spaces");
Open commit View diff
938 navigate("/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
939
    } catch (error) {
Open commit View diff
939 } catch (error) {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
940
      setStatus(error instanceof Error ? error.message : "Could not initialize Ledger");
Open commit View diff
940 setStatus(error instanceof Error ? error.message : "Could not initialize Ledger");
same change 9693751

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

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

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
944
  return (
Open commit View diff
944 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
945
    <div className="setup-screen">
Open commit View diff
945 <div className="setup-screen">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
946
      <section className="auth-panel">
Open commit View diff
946 <section className="auth-panel">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
947
        <p className="eyebrow">First-time setup</p>
Open commit View diff
947 <p className="eyebrow">First-time setup</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
948
        <h1>Create your Ledger knowledge base</h1>
Open commit View diff
948 <h1>Create your Ledger knowledge base</h1>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
949
        <p className="lede">
Open commit View diff
949 <p className="lede">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
950
          Define the base identity for your documentation workspace, create the first owner, and
Open commit View diff
950 Define the base identity for your documentation workspace, create the first owner, and
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
951
          launch into collections, content, and integrations.
Open commit View diff
951 launch into collections, content, and integrations.
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
952
        </p>
Open commit View diff
952 </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
953
        <div className="setup-points">
Open commit View diff
953 <div className="setup-points">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
954
          <div><Icon name="collection" className="icon icon-sm" /> Collections and page structure</div>
Open commit View diff
954 <div><Icon name="collection" className="icon icon-sm" /> Collections and page structure</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
955
          <div><Icon name="search" className="icon icon-sm" /> Search-first reading experience</div>
Open commit View diff
955 <div><Icon name="search" className="icon icon-sm" /> Search-first reading experience</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
956
          <div><Icon name="settings" className="icon icon-sm" /> Ready for branding and integrations</div>
Open commit View diff
956 <div><Icon name="settings" className="icon icon-sm" /> Ready for branding and integrations</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
957
        </div>
Open commit View diff
957 </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
958
      </section>
Open commit View diff
958 </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
959
Open commit View diff
959
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
960
      <form className="panel setup-form" onSubmit={submit}>
Open commit View diff
960 <form className="panel setup-form" onSubmit={submit}>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
961
        <div className="panel__header">
Open commit View diff
961 <div className="panel__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
962
          <div>
Open commit View diff
962 <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
963
            <p className="eyebrow">Workspace settings</p>
Open commit View diff
963 <p className="eyebrow">Workspace settings</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
964
            <h3>Initialize Ledger</h3>
Open commit View diff
964 <h3>Initialize Ledger</h3>
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
968
        <div className="field-grid">
Open commit View diff
968 <div className="field-grid">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
969
          <label className="field">
Open commit View diff
969 <label className="field">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
970
            Site name
Open commit View diff
970 Site 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
971
            <input
Open commit View diff
971 <input
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
972
              value={form.siteName}
Open commit View diff
972 value={form.siteName}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
973
              onChange={(event) => setForm((current) => ({ ...current, siteName: event.target.value }))}
Open commit View diff
973 onChange={(event) => setForm((current) => ({ ...current, siteName: event.target.value }))}
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
976
          <label className="field">
Open commit View diff
976 <label className="field">
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
979
              value={form.brandColor}
Open commit View diff
979 value={form.brandColor}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
980
              onChange={(event) => setForm((current) => ({ ...current, brandColor: event.target.value }))}
Open commit View diff
980 onChange={(event) => setForm((current) => ({ ...current, brandColor: event.target.value }))}
same change 9693751

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

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

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
985
        <label className="checkbox-row checkbox-card">
Open commit View diff
985 <label className="checkbox-row checkbox-card">
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
988
            checked={form.publicKnowledgeBaseEnabled}
Open commit View diff
988 checked={form.publicKnowledgeBaseEnabled}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
989
            onChange={(event) =>
Open commit View diff
989 onChange={(event) =>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
990
              setForm((current) => ({
Open commit View diff
990 setForm((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
991
                ...current,
Open commit View diff
991 ...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
992
                publicKnowledgeBaseEnabled: event.target.checked
Open commit View diff
992 publicKnowledgeBaseEnabled: event.target.checked
same change 9693751

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

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

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
996
          <span>Enable the public knowledge base immediately</span>
Open commit View diff
996 <span>Enable the public knowledge base immediately</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
997
        </label>
Open commit View diff
997 </label>
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
999
        <div className="field-grid">
Open commit View diff
999 <div className="field-grid">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1000
          <label className="field">
Open commit View diff
1000 <label className="field">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1001
            Owner name
Open commit View diff
1001 Owner 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
1002
            <input
Open commit View diff
1002 <input
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1003
              value={form.ownerDisplayName}
Open commit View diff
1003 value={form.ownerDisplayName}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1004
              onChange={(event) => setForm((current) => ({ ...current, ownerDisplayName: event.target.value }))}
Open commit View diff
1004 onChange={(event) => setForm((current) => ({ ...current, ownerDisplayName: event.target.value }))}
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1007
          <label className="field">
Open commit View diff
1007 <label className="field">
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1010
              value={form.ownerEmail}
Open commit View diff
1010 value={form.ownerEmail}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1011
              onChange={(event) => setForm((current) => ({ ...current, ownerEmail: event.target.value }))}
Open commit View diff
1011 onChange={(event) => setForm((current) => ({ ...current, ownerEmail: event.target.value }))}
same change 9693751

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

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

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1016
        <label className="field">
Open commit View diff
1016 <label className="field">
same change 9693751

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

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

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1020
            value={form.password}
Open commit View diff
1020 value={form.password}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1021
            onChange={(event) => setForm((current) => ({ ...current, password: event.target.value }))}
Open commit View diff
1021 onChange={(event) => setForm((current) => ({ ...current, password: event.target.value }))}
same change 9693751

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

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

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1025
        <button type="submit">Create workspace</button>
Open commit View diff
1025 <button type="submit">Create workspace</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
1026
        {status ? <p className="muted">{status}</p> : null}
Open commit View diff
1026 {status ? <p className="muted">{status}</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
1027
      </form>
Open commit View diff
1027 </form>
same change 9693751

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

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

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

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

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

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

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1032
function AccessDeniedPage() {
Open commit View diff
1032 function AccessDeniedPage() {
same change ea3e37e

Continuing UI fixes

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

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1034
    <div className="stack-page">
Open commit View diff
1034 <div className="stack-page">
same change ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1035
      <section className="panel">
Open commit View diff
1035 <section className="panel">
same change ea3e37e

Continuing UI fixes

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

Continuing UI fixes

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

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1038
          title="You do not have access to this area"
Open commit View diff
1038 title="You do not have access to this area"
same change ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1039
          description="This section is limited to administrators and owners. Use the main knowledge base navigation to continue browsing documentation."
Open commit View diff
1039 description="This section is limited to administrators and owners. Use the main knowledge base navigation to continue browsing documentation."
same change ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1040
          action={<Link to="/spaces" className="button-secondary">Back to spaces</Link>}
Open commit View diff
1040 action={<Link to="/spaces" className="button-secondary">Back to spaces</Link>}
same change ea3e37e

Continuing UI fixes

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

Continuing UI fixes

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

Continuing UI fixes

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

Continuing UI fixes

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

Continuing UI fixes

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

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1046
Open commit View diff
1046
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
1047
function Dashboard({ user, spaces }: { user: SessionUser; spaces: Space[] }) {
Open commit View diff
1047 function Dashboard({ user, spaces }: { user: SessionUser; 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
1048
  const [analytics, setAnalytics] = useState<{
Open commit View diff
1048 const [analytics, setAnalytics] = useState<{
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1049
    topSearches: Array<{ query: string; count: number }>;
Open commit View diff
1049 topSearches: Array<{ query: string; count: 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
1050
    noResults: Array<{ query: string; count: number }>;
Open commit View diff
1050 noResults: Array<{ query: string; count: 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
1051
  } | null>(null);
Open commit View diff
1051 } | 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
1052
  const [feedback, setFeedback] = useState<Array<{ id: string; page_title: string; helpful: boolean; comment: string | null }> | null>(null);
Open commit View diff
1052 const [feedback, setFeedback] = useState<Array<{ id: string; page_title: string; helpful: boolean; comment: string | null }> | 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
1053
  const [brandingForm, setBrandingForm] = useState({
Open commit View diff
1053 const [brandingForm, setBrandingForm] = useState({
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1054
    siteName: "Ledger",
Open commit View diff
1054 siteName: "Ledger",
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1056
    brandColor: "#245cff",
Open commit View diff
1056 brandColor: "#245cff",
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1057
    publicKnowledgeBaseEnabled: true
Open commit View diff
1057 publicKnowledgeBaseEnabled: 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
1058
  });
Open commit View diff
1058 });
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1059
  const [settingsStatus, setSettingsStatus] = useState<string | null>(null);
Open commit View diff
1059 const [settingsStatus, setSettingsStatus] = useState<string | 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
1060
Open commit View diff
1060
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1061
  useEffect(() => {
Open commit View diff
1061 useEffect(() => {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1062
    if (user.role === "admin" || user.role === "owner") {
Open commit View diff
1062 if (user.role === "admin" || user.role === "owner") {
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1065
          topSearches: Array<{ query: string; count: number }>;
Open commit View diff
1065 topSearches: Array<{ query: string; count: 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
1066
          noResults: Array<{ query: string; count: number }>;
Open commit View diff
1066 noResults: Array<{ query: string; count: 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
1067
        }>("/api/admin/search-analytics")
Open commit View diff
1067 }>("/api/admin/search-analytics")
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1070
        .get<{ feedback: Array<{ id: string; page_title: string; helpful: boolean; comment: string | null }> }>("/api/admin/feedback")
Open commit View diff
1070 .get<{ feedback: Array<{ id: string; page_title: string; helpful: boolean; comment: string | null }> }>("/api/admin/feedback")
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1071
        .then((response) => setFeedback(response.feedback));
Open commit View diff
1071 .then((response) => setFeedback(response.feedback));
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1073
        .get<{ branding: { site_name: string; logo_url: string | null; brand_color: string; footer_text: string | null; public_knowledge_base_enabled: boolean } }>("/api/settings/admin")
Open commit View diff
1073 .get<{ branding: { site_name: string; logo_url: string | null; brand_color: string; footer_text: string | null; public_knowledge_base_enabled: boolean } }>("/api/settings/admin")
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1074
        .then((response) => {
Open commit View diff
1074 .then((response) => {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1075
          const branding = response.branding;
Open commit View diff
1075 const branding = response.branding;
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1077
            siteName: branding.site_name,
Open commit View diff
1077 siteName: branding.site_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
1078
            logoUrl: branding.logo_url ?? "",
Open commit View diff
1078 logoUrl: branding.logo_url ?? "",
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1079
            brandColor: branding.brand_color,
Open commit View diff
1079 brandColor: branding.brand_color,
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1080
            publicKnowledgeBaseEnabled: branding.public_knowledge_base_enabled
Open commit View diff
1080 publicKnowledgeBaseEnabled: branding.public_knowledge_base_enabled
same change 9693751

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

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

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1084
  }, [user.role]);
Open commit View diff
1084 }, [user.role]);
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1086
  async function saveBranding() {
Open commit View diff
1086 async function saveBranding() {
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1088
      await api.put("/api/settings/branding", {
Open commit View diff
1088 await api.put("/api/settings/branding", {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1089
        siteName: brandingForm.siteName,
Open commit View diff
1089 siteName: brandingForm.siteName,
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1090
        logoUrl: brandingForm.logoUrl || null,
Open commit View diff
1090 logoUrl: brandingForm.logoUrl || 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
1091
        brandColor: brandingForm.brandColor,
Open commit View diff
1091 brandColor: brandingForm.brandColor,
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1094
      setSettingsStatus("Brand settings saved.");
Open commit View diff
1094 setSettingsStatus("Brand settings saved.");
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1096
      setSettingsStatus(error instanceof Error ? error.message : "Could not save branding");
Open commit View diff
1096 setSettingsStatus(error instanceof Error ? error.message : "Could not save branding");
same change 9693751

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

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

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1100
  return (
Open commit View diff
1100 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
1101
    <div className="manage-layout">
Open commit View diff
1101 <div className="manage-layout">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1102
      <section className="panel manage-hero">
Open commit View diff
1102 <section className="panel manage-hero">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1103
        <div>
Open commit View diff
1103 <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
1104
          <p className="eyebrow">Manage workspace</p>
Open commit View diff
1104 <p className="eyebrow">Manage 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
1105
          <h1>{user.displayName}</h1>
Open commit View diff
1105 <h1>{user.displayName}</h1>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1106
          <p className="lede">Create documents, tune branding, and use search analytics to improve the knowledge base.</p>
Open commit View diff
1106 <p className="lede">Create documents, tune branding, and use search analytics to improve the 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
1107
        </div>
Open commit View diff
1107 </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
1108
        <div className="manage-hero__meta">
Open commit View diff
1108 <div className="manage-hero__meta">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1109
          <span className="pill">{user.role}</span>
Open commit View diff
1109 <span className="pill">{user.role}</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
1110
          <span className="pill">{spaces.length} collections</span>
Open commit View diff
1110 <span className="pill">{spaces.length} 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
1111
        </div>
Open commit View diff
1111 </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
1112
      </section>
Open commit View diff
1112 </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
1113
Open commit View diff
1113
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1114
      <div className="manage-grid">
Open commit View diff
1114 <div className="manage-grid">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1115
        {user.role === "editor" || user.role === "admin" || user.role === "owner" ? (
Open commit View diff
1115 {user.role === "editor" || user.role === "admin" || user.role === "owner" ? (
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1116
          <PageEditor spaces={spaces} />
Open commit View diff
1116 <PageEditor 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
1117
        ) : null}
Open commit View diff
1117 ) : 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
1118
Open commit View diff
1118
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1119
        {user.role === "admin" || user.role === "owner" ? (
Open commit View diff
1119 {user.role === "admin" || user.role === "owner" ? (
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1120
          <section className="panel">
Open commit View diff
1120 <section className="panel">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1121
            <div className="panel__header">
Open commit View diff
1121 <div className="panel__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
1122
              <div>
Open commit View diff
1122 <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
1123
                <p className="eyebrow">Branding</p>
Open commit View diff
1123 <p className="eyebrow">Branding</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
1124
                <h3>Workspace settings</h3>
Open commit View diff
1124 <h3>Workspace settings</h3>
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1128
            <label className="field">
Open commit View diff
1128 <label className="field">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1129
              Site name
Open commit View diff
1129 Site 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
1130
              <input
Open commit View diff
1130 <input
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1131
                value={brandingForm.siteName}
Open commit View diff
1131 value={brandingForm.siteName}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1132
                onChange={(event) => setBrandingForm((current) => ({ ...current, siteName: event.target.value }))}
Open commit View diff
1132 onChange={(event) => setBrandingForm((current) => ({ ...current, siteName: event.target.value }))}
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1135
            <div className="field-grid">
Open commit View diff
1135 <div className="field-grid">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1136
              <label className="field">
Open commit View diff
1136 <label className="field">
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1139
                  value={brandingForm.brandColor}
Open commit View diff
1139 value={brandingForm.brandColor}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1140
                  onChange={(event) => setBrandingForm((current) => ({ ...current, brandColor: event.target.value }))}
Open commit View diff
1140 onChange={(event) => setBrandingForm((current) => ({ ...current, brandColor: event.target.value }))}
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1143
              <label className="field">
Open commit View diff
1143 <label className="field">
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1146
                  value={brandingForm.logoUrl}
Open commit View diff
1146 value={brandingForm.logoUrl}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1147
                  onChange={(event) => setBrandingForm((current) => ({ ...current, logoUrl: event.target.value }))}
Open commit View diff
1147 onChange={(event) => setBrandingForm((current) => ({ ...current, logoUrl: event.target.value }))}
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1150
            </div>
Open commit View diff
1150 </div>
Alex Nord 3 months ago 7b9fd81

Continues UI Fixes

Full commit hash
7b9fd81fba50e4e63f3a981dc8ac583996c2482c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1151
            <div className="list-item">
Open commit View diff
1151 <div className="list-item">
same change 7b9fd81

Continues UI Fixes

Full commit hash
7b9fd81fba50e4e63f3a981dc8ac583996c2482c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1152
              <strong>Footer</strong>
Open commit View diff
1152 <strong>Footer</strong>
same change 7b9fd81

Continues UI Fixes

Full commit hash
7b9fd81fba50e4e63f3a981dc8ac583996c2482c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1153
              <span>Powered by Ledger made by ANord.cc</span>
Open commit View diff
1153 <span>Powered by Ledger made by ANord.cc</span>
same change 7b9fd81

Continues UI Fixes

Full commit hash
7b9fd81fba50e4e63f3a981dc8ac583996c2482c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1154
            </div>
Open commit View diff
1154 </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
1155
            <label className="checkbox-row checkbox-card">
Open commit View diff
1155 <label className="checkbox-row checkbox-card">
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1158
                checked={brandingForm.publicKnowledgeBaseEnabled}
Open commit View diff
1158 checked={brandingForm.publicKnowledgeBaseEnabled}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1159
                onChange={(event) =>
Open commit View diff
1159 onChange={(event) =>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1160
                  setBrandingForm((current) => ({
Open commit View diff
1160 setBrandingForm((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
1161
                    ...current,
Open commit View diff
1161 ...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
1162
                    publicKnowledgeBaseEnabled: event.target.checked
Open commit View diff
1162 publicKnowledgeBaseEnabled: event.target.checked
same change 9693751

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

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

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1166
              <span>Public knowledge base enabled</span>
Open commit View diff
1166 <span>Public knowledge base enabled</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
1167
            </label>
Open commit View diff
1167 </label>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1168
            <div className="panel__footer">
Open commit View diff
1168 <div className="panel__footer">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1169
              <button onClick={saveBranding}>Save settings</button>
Open commit View diff
1169 <button onClick={saveBranding}>Save settings</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
1170
              {settingsStatus ? <p className="muted">{settingsStatus}</p> : null}
Open commit View diff
1170 {settingsStatus ? <p className="muted">{settingsStatus}</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
1171
            </div>
Open commit View diff
1171 </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
1172
          </section>
Open commit View diff
1172 </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
1173
        ) : null}
Open commit View diff
1173 ) : 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
1174
Open commit View diff
1174
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1176
          <section className="panel">
Open commit View diff
1176 <section className="panel">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1177
            <div className="panel__header">
Open commit View diff
1177 <div className="panel__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
1178
              <div>
Open commit View diff
1178 <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
1179
                <p className="eyebrow">Analytics</p>
Open commit View diff
1179 <p className="eyebrow">Analytics</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
1180
                <h3>Search performance</h3>
Open commit View diff
1180 <h3>Search performance</h3>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1181
              </div>
Open commit View diff
1181 </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
1182
            </div>
Open commit View diff
1182 </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
1183
            <div className="analytics-grid">
Open commit View diff
1183 <div className="analytics-grid">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1184
              <div>
Open commit View diff
1184 <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
1185
                <strong>Top searches</strong>
Open commit View diff
1185 <strong>Top searches</strong>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1186
                {analytics.topSearches.map((item) => (
Open commit View diff
1186 {analytics.topSearches.map((item) => (
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1187
                  <p key={item.query}>{item.query} <span className="muted">({item.count})</span></p>
Open commit View diff
1187 <p key={item.query}>{item.query} <span className="muted">({item.count})</span></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
1188
                ))}
Open commit View diff
1188 ))}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1189
              </div>
Open commit View diff
1189 </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
1190
              <div>
Open commit View diff
1190 <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
1191
                <strong>No results</strong>
Open commit View diff
1191 <strong>No results</strong>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1192
                {analytics.noResults.map((item) => (
Open commit View diff
1192 {analytics.noResults.map((item) => (
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1193
                  <p key={item.query}>{item.query} <span className="muted">({item.count})</span></p>
Open commit View diff
1193 <p key={item.query}>{item.query} <span className="muted">({item.count})</span></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
1194
                ))}
Open commit View diff
1194 ))}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1195
              </div>
Open commit View diff
1195 </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
1196
            </div>
Open commit View diff
1196 </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
1197
          </section>
Open commit View diff
1197 </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
1198
        ) : null}
Open commit View diff
1198 ) : 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
1199
Open commit View diff
1199
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1201
          <section className="panel">
Open commit View diff
1201 <section className="panel">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1202
            <div className="panel__header">
Open commit View diff
1202 <div className="panel__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
1203
              <div>
Open commit View diff
1203 <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
1204
                <p className="eyebrow">Feedback queue</p>
Open commit View diff
1204 <p className="eyebrow">Feedback queue</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
1205
                <h3>Reader responses</h3>
Open commit View diff
1205 <h3>Reader responses</h3>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1206
              </div>
Open commit View diff
1206 </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
1207
            </div>
Open commit View diff
1207 </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
1208
            <div className="feedback-list">
Open commit View diff
1208 <div className="feedback-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
1209
              {feedback.map((item) => (
Open commit View diff
1209 {feedback.map((item) => (
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1210
                <div key={item.id} className="feedback-item">
Open commit View diff
1210 <div key={item.id} className="feedback-item">
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1211
                  <div className="feedback-item__header">
Open commit View diff
1211 <div className="feedback-item__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
1212
                    <strong>{item.page_title}</strong>
Open commit View diff
1212 <strong>{item.page_title}</strong>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1213
                    <span className={`badge ${item.helpful ? "badge-public" : "badge-restricted"}`}>
Open commit View diff
1213 <span className={`badge ${item.helpful ? "badge-public" : "badge-restricted"}`}>
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1214
                      {item.helpful ? "Helpful" : "Not helpful"}
Open commit View diff
1214 {item.helpful ? "Helpful" : "Not helpful"}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1215
                    </span>
Open commit View diff
1215 </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
1216
                  </div>
Open commit View diff
1216 </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
1217
                  <p>{item.comment ?? "No comment provided."}</p>
Open commit View diff
1217 <p>{item.comment ?? "No comment provided."}</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
1218
                </div>
Open commit View diff
1218 </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
1219
              ))}
Open commit View diff
1219 ))}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1220
            </div>
Open commit View diff
1220 </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
1221
          </section>
Open commit View diff
1221 </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
1222
        ) : null}
Open commit View diff
1222 ) : 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
1223
      </div>
Open commit View diff
1223 </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
1224
    </div>
Open commit View diff
1224 </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
1225
  );
Open commit View diff
1225 );
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1228
export function App() {
Open commit View diff
1228 export function App() {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1229
  const { user, setUser, loading } = useSession();
Open commit View diff
1229 const { user, setUser, loading } = useSession();
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1230
  const [branding, setBranding] = useState<BrandingResponse["branding"] | null>(null);
Open commit View diff
1230 const [branding, setBranding] = useState<BrandingResponse["branding"] | 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
1231
  const [setupStatus, setSetupStatus] = useState<SetupStatus | null>(null);
Open commit View diff
1231 const [setupStatus, setSetupStatus] = useState<SetupStatus | 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
1232
  const [searchResults, setSearchResults] = useState<PageSummary[]>([]);
Open commit View diff
1232 const [searchResults, setSearchResults] = useState<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
1233
  const [searchLoading, setSearchLoading] = useState(false);
Open commit View diff
1233 const [searchLoading, setSearchLoading] = useState(false);
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
1234
  const [preferences, setPreferences] = useState<PreferencesState>(() => ({
Open commit View diff
1234 const [preferences, setPreferences] = useState<PreferencesState>(() => ({
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1235
    theme: readStoredPreference<PreferencesState["theme"]>("ledger.theme", "system"),
Open commit View diff
1235 theme: readStoredPreference<PreferencesState["theme"]>("ledger.theme", "system"),
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1236
    compactSidebar: readStoredPreference("ledger.compactSidebar", false, (raw) => raw === "true"),
Open commit View diff
1236 compactSidebar: readStoredPreference("ledger.compactSidebar", false, (raw) => raw === "true"),
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1237
    emailNotifications: readStoredPreference("ledger.emailNotifications", true, (raw) => raw === "true"),
Open commit View diff
1237 emailNotifications: readStoredPreference("ledger.emailNotifications", true, (raw) => raw === "true"),
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1238
    productUpdates: readStoredPreference("ledger.productUpdates", true, (raw) => raw === "true"),
Open commit View diff
1238 productUpdates: readStoredPreference("ledger.productUpdates", true, (raw) => raw === "true"),
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1239
    smartText: readStoredPreference("ledger.smartText", true, (raw) => raw === "true"),
Open commit View diff
1239 smartText: readStoredPreference("ledger.smartText", true, (raw) => raw === "true"),
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1240
    showLineNumbers: readStoredPreference("ledger.showLineNumbers", true, (raw) => raw === "true")
Open commit View diff
1240 showLineNumbers: readStoredPreference("ledger.showLineNumbers", true, (raw) => raw === "true")
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1241
  }));
Open commit View diff
1241 }));
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
1242
Open commit View diff
1242
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1243
  useEffect(() => {
Open commit View diff
1243 useEffect(() => {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1244
    api.get<BrandingResponse>("/api/settings/public").then((response) => setBranding(response.branding));
Open commit View diff
1244 api.get<BrandingResponse>("/api/settings/public").then((response) => setBranding(response.branding));
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1245
    api.get<SetupStatus>("/api/setup/status").then(setSetupStatus);
Open commit View diff
1245 api.get<SetupStatus>("/api/setup/status").then(setSetupStatus);
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1247
Open commit View diff
1247
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
1248
  useEffect(() => {
Open commit View diff
1248 useEffect(() => {
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1249
    document.documentElement.dataset.theme = preferences.theme;
Open commit View diff
1249 document.documentElement.dataset.theme = preferences.theme;
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1250
    document.documentElement.dataset.sidebarDensity = preferences.compactSidebar ? "compact" : "default";
Open commit View diff
1250 document.documentElement.dataset.sidebarDensity = preferences.compactSidebar ? "compact" : "default";
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1251
    window.localStorage.setItem("ledger.theme", preferences.theme);
Open commit View diff
1251 window.localStorage.setItem("ledger.theme", preferences.theme);
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1252
    window.localStorage.setItem("ledger.compactSidebar", String(preferences.compactSidebar));
Open commit View diff
1252 window.localStorage.setItem("ledger.compactSidebar", String(preferences.compactSidebar));
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1253
    window.localStorage.setItem("ledger.emailNotifications", String(preferences.emailNotifications));
Open commit View diff
1253 window.localStorage.setItem("ledger.emailNotifications", String(preferences.emailNotifications));
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1254
    window.localStorage.setItem("ledger.productUpdates", String(preferences.productUpdates));
Open commit View diff
1254 window.localStorage.setItem("ledger.productUpdates", String(preferences.productUpdates));
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1255
    window.localStorage.setItem("ledger.smartText", String(preferences.smartText));
Open commit View diff
1255 window.localStorage.setItem("ledger.smartText", String(preferences.smartText));
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1256
    window.localStorage.setItem("ledger.showLineNumbers", String(preferences.showLineNumbers));
Open commit View diff
1256 window.localStorage.setItem("ledger.showLineNumbers", String(preferences.showLineNumbers));
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1257
  }, [preferences]);
Open commit View diff
1257 }, [preferences]);
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1258
Open commit View diff
1258
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
1259
  const { spaces, pagesBySpace, loading: loadingNavigation, error: navigationError } = useKnowledgeBaseData(
Open commit View diff
1259 const { spaces, pagesBySpace, loading: loadingNavigation, error: navigationError } = useKnowledgeBaseData(
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1260
    Boolean(setupStatus?.isInitialized)
Open commit View diff
1260 Boolean(setupStatus?.isInitialized)
same change 9693751

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

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

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1262
  const canAdmin = user?.role === "admin" || user?.role === "owner";
Open commit View diff
1262 const canAdmin = user?.role === "admin" || user?.role === "owner";
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
1263
Open commit View diff
1263
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1264
  async function logout() {
Open commit View diff
1264 async function logout() {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1265
    await api.post("/api/auth/logout");
Open commit View diff
1265 await api.post("/api/auth/logout");
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1266
    setUser(null);
Open commit View diff
1266 setUser(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
1267
  }
Open commit View diff
1267 }
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1269
  async function handleSearch(query: string) {
Open commit View diff
1269 async function handleSearch(query: 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
1270
    if (!query.trim()) {
Open commit View diff
1270 if (!query.trim()) {
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1272
      return;
Open commit View diff
1272 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
1273
    }
Open commit View diff
1273 }
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1275
    setSearchLoading(true);
Open commit View diff
1275 setSearchLoading(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
1276
    try {
Open commit View diff
1276 try {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1277
      const response = await api.get<{ pages: PageSummary[] }>(`/api/search?q=${encodeURIComponent(query)}`);
Open commit View diff
1277 const response = await api.get<{ pages: PageSummary[] }>(`/api/search?q=${encodeURIComponent(query)}`);
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1278
      setSearchResults(response.pages);
Open commit View diff
1278 setSearchResults(response.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
1279
    } catch {
Open commit View diff
1279 } catch {
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1282
      setSearchLoading(false);
Open commit View diff
1282 setSearchLoading(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
1283
    }
Open commit View diff
1283 }
same change 9693751

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1286
  if (loading || !setupStatus) {
Open commit View diff
1286 if (loading || !setupStatus) {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1287
    return <div className="loading-screen">Loading Ledger...</div>;
Open commit View diff
1287 return <div className="loading-screen">Loading Ledger...</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
1288
  }
Open commit View diff
1288 }
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1290
  if (!setupStatus.isInitialized) {
Open commit View diff
1290 if (!setupStatus.isInitialized) {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1291
    return (
Open commit View diff
1291 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
1292
      <div className="app-standalone">
Open commit View diff
1292 <div className="app-standalone">
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1294
          initialBranding={setupStatus.branding}
Open commit View diff
1294 initialBranding={setupStatus.branding}
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1295
          onInitialized={(initializedUser, initializedBranding) => {
Open commit View diff
1295 onInitialized={(initializedUser, initializedBranding) => {
same change 9693751

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

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

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1299
              isInitialized: true,
Open commit View diff
1299 isInitialized: 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
1300
              branding: {
Open commit View diff
1300 branding: {
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1301
                site_name: initializedBranding.siteName,
Open commit View diff
1301 site_name: initializedBranding.siteName,
same change 9693751

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1302
                brand_color: initializedBranding.brandColor
Open commit View diff
1302 brand_color: initializedBranding.brandColor
same change 9693751

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1311
  return (
Open commit View diff
1311 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
1312
    <DocsShell
Open commit View diff
1312 <DocsShell
same change 9693751

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1314
      user={user}
Open commit View diff
1314 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
1315
      spaces={spaces}
Open commit View diff
1315 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
1316
      pagesBySpace={pagesBySpace}
Open commit View diff
1316 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
1317
      loadingNavigation={loadingNavigation}
Open commit View diff
1317 loadingNavigation={loadingNavigation}
same change 9693751

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

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

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

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

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

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

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

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

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

Full commit hash
9693751c4efa74f02fcfa752eedbe80955e1f2ee
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1322
      onLogout={logout}
Open commit View diff
1322 onLogout={logout}
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
1323
      preferences={preferences}
Open commit View diff
1323 preferences={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
1324
    >
Open commit View diff
1324 >
same change 9693751

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

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

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1326
        <Route path="/" element={<Navigate to="/spaces" replace />} />
Open commit View diff
1326 <Route path="/" element={<Navigate to="/spaces" replace />} />
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
1327
        <Route path="/login" element={<LoginPage onLogin={setUser} />} />
Open commit View diff
1327 <Route path="/login" element={<LoginPage onLogin={setUser} />} />
Alex Nord 3 months ago acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1328
        <Route path="/new" element={<EditorPage spaces={spaces} user={user} />} />
Open commit View diff
1328 <Route path="/new" element={<EditorPage spaces={spaces} user={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
1329
        <Route
Open commit View diff
1329 <Route
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1330
          path="/preferences"
Open commit View diff
1330 path="/preferences"
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1331
          element={
Open commit View diff
1331 element={
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1332
            user ? (
Open commit View diff
1332 user ? (
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1333
              <Navigate to="/preferences/preferences" replace />
Open commit View diff
1333 <Navigate to="/preferences/preferences" replace />
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1334
            ) : (
Open commit View diff
1334 ) : (
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1335
              <LoginPage onLogin={setUser} />
Open commit View diff
1335 <LoginPage onLogin={setUser} />
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1336
            )
Open commit View diff
1336 )
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1337
          }
Open commit View diff
1337 }
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1338
        />
Open commit View diff
1338 />
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1339
        <Route
Open commit View diff
1339 <Route
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1340
          path="/preferences/:section"
Open commit View diff
1340 path="/preferences/:section"
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1341
          element={
Open commit View diff
1341 element={
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1342
            user ? (
Open commit View diff
1342 user ? (
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1343
              <PreferencesPage
Open commit View diff
1343 <PreferencesPage
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1344
                user={user}
Open commit View diff
1344 user={user}
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1345
                preferences={preferences}
Open commit View diff
1345 preferences={preferences}
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1346
                onUpdatePreferences={(patch) => setPreferences((current) => ({ ...current, ...patch }))}
Open commit View diff
1346 onUpdatePreferences={(patch) => setPreferences((current) => ({ ...current, ...patch }))}
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1347
                onLogout={logout}
Open commit View diff
1347 onLogout={logout}
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1348
              />
Open commit View diff
1348 />
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1349
            ) : (
Open commit View diff
1349 ) : (
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1350
              <LoginPage onLogin={setUser} />
Open commit View diff
1350 <LoginPage onLogin={setUser} />
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1351
            )
Open commit View diff
1351 )
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1352
          }
Open commit View diff
1352 }
same change 39c4a7e

Continues UI fixes and fixing Docs

Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1353
        />
Open commit View diff
1353 />
Alex Nord 3 months ago ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1354
        <Route path="/search" element={<SearchPage spaces={spaces} results={searchResults} isLoading={searchLoading} onSearch={handleSearch} />} />
Open commit View diff
1354 <Route path="/search" element={<SearchPage spaces={spaces} results={searchResults} isLoading={searchLoading} onSearch={handleSearch} />} />
same change ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1355
        <Route path="/spaces" element={<SpacesPage spaces={spaces} pagesBySpace={pagesBySpace} />} />
Open commit View diff
1355 <Route path="/spaces" element={<SpacesPage spaces={spaces} pagesBySpace={pagesBySpace} />} />
same change ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1356
        <Route path="/drafts" element={<DraftsPage user={user} spaces={spaces} />} />
Open commit View diff
1356 <Route path="/drafts" element={<DraftsPage user={user} spaces={spaces} />} />
same change ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1357
        <Route path="/imports" element={<ImportsPage user={user} spaces={spaces} />} />
Open commit View diff
1357 <Route path="/imports" element={<ImportsPage user={user} spaces={spaces} />} />
same change ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1358
        <Route path="/ask-ai" element={<AskAiPage />} />
Open commit View diff
1358 <Route path="/ask-ai" element={<AskAiPage />} />
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
1359
        <Route path="/space/:spaceKey" element={<SpacePage spaces={spaces} pagesBySpace={pagesBySpace} />} />
Open commit View diff
1359 <Route path="/space/:spaceKey" element={<SpacePage spaces={spaces} pagesBySpace={pagesBySpace} />} />
Alex Nord 3 months ago acd0517

UI fixes to admin page

Full commit hash
acd051770b7ed288a021fc4551729f9896c60c4c
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1360
        <Route path="/page/:slug/edit" element={<EditorPage spaces={spaces} user={user} />} />
Open commit View diff
1360 <Route path="/page/:slug/edit" element={<EditorPage spaces={spaces} user={user} />} />
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
1361
        <Route path="/page/:slug" element={<PageView spaces={spaces} pagesBySpace={pagesBySpace} user={user} />} />
Open commit View diff
1361 <Route path="/page/:slug" element={<PageView spaces={spaces} pagesBySpace={pagesBySpace} user={user} />} />
Alex Nord 3 months ago ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1362
        <Route path="/dashboard" element={<Navigate to="/admin/general" replace />} />
Open commit View diff
1362 <Route path="/dashboard" element={<Navigate to="/admin/general" replace />} />
same change ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1363
        <Route path="/admin" element={user ? (canAdmin ? <Navigate to="/admin/general" replace /> : <AccessDeniedPage />) : <LoginPage onLogin={setUser} />} />
Open commit View diff
1363 <Route path="/admin" element={user ? (canAdmin ? <Navigate to="/admin/general" replace /> : <AccessDeniedPage />) : <LoginPage onLogin={setUser} />} />
same change ea3e37e

Continuing UI fixes

Full commit hash
ea3e37e37b76a90a5a290f47538dfb1ceac8c446
Author
Alex Nord <[email protected]>
Date
3 months ago
Selected line
1364
        <Route path="/admin/:section" element={user ? (canAdmin ? <AdminConsole user={user} spaces={spaces} /> : <AccessDeniedPage />) : <LoginPage onLogin={setUser} />} />
Open commit View diff
1364 <Route path="/admin/:section" element={user ? (canAdmin ? <AdminConsole user={user} spaces={spaces} /> : <AccessDeniedPage />) : <LoginPage onLogin={setUser} />} />
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
1365
      </Routes>
Open commit View diff
1365 </Routes>
same change 9693751

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

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

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

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

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

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