public
anord
read
Ledger
Why work hard when you can work easier?
Languages
Repository composition by tracked source files.
TypeScript
86%
CSS
10%
SQL
3%
Shell
1%
HTML
0%
Trace
apps/web/src/components/PageEditor.tsx
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
PageEditor.tsx
on main
Author
Date
Commit
Line
Code
Alex Nord
3 months ago
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 1
import { useEffect, useMemo, useState } from "react";
import { useEffect, useMemo, useState } from "react";
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 2
import type { PageDetail } from "@ledger/shared";
import type { PageDetail } from "@ledger/shared";
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 3
import { api } from "../lib/api";
import { api } from "../lib/api";
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
- 4
import { MarkdownComposerHint } from "./MarkdownComposerHint";
import { MarkdownComposerHint } from "./MarkdownComposerHint";
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 5
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 6
const emptyPage = {
const emptyPage = {
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 7
spaceId: "",
spaceId: "",
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 8
title: "",
title: "",
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 9
slug: "",
slug: "",
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
- 10
bodyMarkdown: "",
bodyMarkdown: "",
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 11
excerpt: "",
excerpt: "",
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 12
visibility: "internal",
visibility: "internal",
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 13
state: "draft",
state: "draft",
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 14
tagNames: [] as string[]
tagNames: [] as string[]
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 15
};
};
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 16
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
- 17
function normalizeMarkdownForEmptyState(value: string) {
function normalizeMarkdownForEmptyState(value: string) {
same change
39c4a7e
Continues UI fixes and fixing Docs
- Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 18
return value
return 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
- 19
.replace(/\u200B/g, "")
.replace(/\u200B/g, "")
same change
39c4a7e
Continues UI fixes and fixing Docs
- Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 20
.replace(/\r\n/g, "\n")
.replace(/\r\n/g, "\n")
same change
39c4a7e
Continues UI fixes and fixing Docs
- Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 21
.trim();
.trim();
same change
39c4a7e
Continues UI fixes and fixing Docs
- Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 22
}
}
same change
39c4a7e
Continues UI fixes and fixing Docs
- Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 23
same change
39c4a7e
Continues UI fixes and fixing Docs
- Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 24
function hasMeaningfulMarkdown(value: string) {
function hasMeaningfulMarkdown(value: string) {
same change
39c4a7e
Continues UI fixes and fixing Docs
- Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 25
const normalized = normalizeMarkdownForEmptyState(value);
const normalized = normalizeMarkdownForEmptyState(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
- 26
if (!normalized) {
if (!normalized) {
same change
39c4a7e
Continues UI fixes and fixing Docs
- Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 27
return false;
return false;
same change
39c4a7e
Continues UI fixes and fixing Docs
- Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 28
}
}
same change
39c4a7e
Continues UI fixes and fixing Docs
- Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 29
same change
39c4a7e
Continues UI fixes and fixing Docs
- Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 30
return normalized !== "# New page\n\nStart writing..." && normalized !== "Start writing...";
return normalized !== "# New page\n\nStart writing..." && normalized !== "Start writing...";
same change
39c4a7e
Continues UI fixes and fixing Docs
- Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 31
}
}
same change
39c4a7e
Continues UI fixes and fixing Docs
- Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 32
Alex Nord
3 months ago
3d9ace8
Continues UI Fixes
- Full commit hash
3d9ace86fe418af41d072e29d321cbe81d325aa9- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 33
export function PageEditor({
export function PageEditor({
same change
3d9ace8
Continues UI Fixes
- Full commit hash
3d9ace86fe418af41d072e29d321cbe81d325aa9- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 34
spaces,
spaces,
Alex Nord
3 months ago
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 35
initialPage,
initialPage,
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 36
mode = "create",
mode = "create",
Alex Nord
3 months ago
3d9ace8
Continues UI Fixes
- Full commit hash
3d9ace86fe418af41d072e29d321cbe81d325aa9- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 37
variant = "panel",
variant = "panel",
Alex Nord
3 months ago
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 38
onSaved,
onSaved,
Alex Nord
3 months ago
3d9ace8
Continues UI Fixes
- Full commit hash
3d9ace86fe418af41d072e29d321cbe81d325aa9- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 39
onCancel
onCancel
same change
3d9ace8
Continues UI Fixes
- Full commit hash
3d9ace86fe418af41d072e29d321cbe81d325aa9- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 40
}: {
}: {
same change
3d9ace8
Continues UI Fixes
- Full commit hash
3d9ace86fe418af41d072e29d321cbe81d325aa9- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 41
spaces: Array<{ id: string; name: string; key: string }>;
spaces: Array<{ id: string; name: string; key: string }>;
Alex Nord
3 months ago
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 42
initialPage?: (Pick<PageDetail, "id" | "spaceId" | "title" | "slug" | "bodyMarkdown" | "excerpt" | "visibility" | "state" | "tags"> & {
initialPage?: (Pick<PageDetail, "id" | "spaceId" | "title" | "slug" | "bodyMarkdown" | "excerpt" | "visibility" | "state" | "tags"> & {
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 43
parentPageId?: string | null;
parentPageId?: string | null;
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 44
}) | null;
}) | null;
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 45
mode?: "create" | "edit";
mode?: "create" | "edit";
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 46
variant?: "panel" | "dialog" | "page";
variant?: "panel" | "dialog" | "page";
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 47
onSaved?: (slug: string) => void;
onSaved?: (slug: string) => void;
Alex Nord
3 months ago
3d9ace8
Continues UI Fixes
- Full commit hash
3d9ace86fe418af41d072e29d321cbe81d325aa9- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 48
onCancel?: () => void;
onCancel?: () => void;
same change
3d9ace8
Continues UI Fixes
- Full commit hash
3d9ace86fe418af41d072e29d321cbe81d325aa9- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 49
}) {
}) {
Alex Nord
3 months ago
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 50
const createEmptyForm = () => ({
const createEmptyForm = () => ({
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 51
...emptyPage,
...emptyPage,
Alex Nord
3 months ago
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 52
spaceId: initialPage?.spaceId ?? spaces[0]?.id ?? "",
spaceId: initialPage?.spaceId ?? spaces[0]?.id ?? "",
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 53
title: initialPage?.title ?? "",
title: initialPage?.title ?? "",
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 54
slug: initialPage?.slug ?? "",
slug: initialPage?.slug ?? "",
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 55
bodyMarkdown: initialPage?.bodyMarkdown ?? "",
bodyMarkdown: initialPage?.bodyMarkdown ?? "",
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 56
excerpt: initialPage?.excerpt ?? "",
excerpt: initialPage?.excerpt ?? "",
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 57
visibility: initialPage?.visibility ?? "internal",
visibility: initialPage?.visibility ?? "internal",
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 58
state: initialPage?.state ?? "draft",
state: initialPage?.state ?? "draft",
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 59
tagNames: initialPage?.tags ?? [],
tagNames: initialPage?.tags ?? [],
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 60
parentPageId: initialPage?.parentPageId ?? null
parentPageId: initialPage?.parentPageId ?? null
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 61
});
});
Alex Nord
3 months ago
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 62
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 63
const [form, setForm] = useState(createEmptyForm);
const [form, setForm] = useState(createEmptyForm);
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 64
const [tagInput, setTagInput] = useState((initialPage?.tags ?? []).join(", "));
const [tagInput, setTagInput] = useState((initialPage?.tags ?? []).join(", "));
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 65
const [status, setStatus] = useState<string | null>(null);
const [status, setStatus] = useState<string | null>(null);
Alex Nord
3 months ago
3d9ace8
Continues UI Fixes
- Full commit hash
3d9ace86fe418af41d072e29d321cbe81d325aa9- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 66
const isDialog = variant === "dialog";
const isDialog = variant === "dialog";
Alex Nord
3 months ago
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 67
const isPage = variant === "page";
const isPage = variant === "page";
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
- 68
const showMarkdownHelper = useMemo(() => !hasMeaningfulMarkdown(form.bodyMarkdown), [form.bodyMarkdown]);
const showMarkdownHelper = useMemo(() => !hasMeaningfulMarkdown(form.bodyMarkdown), [form.bodyMarkdown]);
Alex Nord
3 months ago
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 69
const canPublish = form.state === "published";
const canPublish = form.state === "published";
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 70
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 71
useEffect(() => {
useEffect(() => {
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 72
setForm(createEmptyForm());
setForm(createEmptyForm());
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 73
setTagInput((initialPage?.tags ?? []).join(", "));
setTagInput((initialPage?.tags ?? []).join(", "));
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 74
}, [initialPage, spaces]);
}, [initialPage, spaces]);
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 75
Alex Nord
3 months ago
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 76
async function submit(nextState?: "draft" | "published") {
async function submit(nextState?: "draft" | "published") {
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 77
try {
try {
Alex Nord
3 months ago
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 78
const payload = {
const payload = {
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 79
...form,
...form,
Alex Nord
3 months ago
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 80
state: nextState ?? form.state,
state: nextState ?? form.state,
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 81
tagNames: form.tagNames,
tagNames: form.tagNames,
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 82
allowedRoleKeys: form.visibility === "restricted" ? ["viewer"] : []
allowedRoleKeys: form.visibility === "restricted" ? ["viewer"] : []
Alex Nord
3 months ago
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 83
};
};
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 84
const result =
const result =
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 85
mode === "edit" && initialPage
mode === "edit" && initialPage
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 86
? await api.put<{ slug: string }>(`/api/pages/${initialPage.id}`, payload)
? await api.put<{ slug: string }>(`/api/pages/${initialPage.id}`, payload)
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 87
: await api.post<{ slug: string }>("/api/pages", payload);
: await api.post<{ slug: string }>("/api/pages", payload);
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 88
setStatus(mode === "edit" ? "Document saved." : `Saved page ${result.slug}`);
setStatus(mode === "edit" ? "Document saved." : `Saved page ${result.slug}`);
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 89
if (mode === "create") {
if (mode === "create") {
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 90
setForm({
setForm({
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 91
...emptyPage,
...emptyPage,
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 92
spaceId: spaces[0]?.id ?? ""
spaceId: spaces[0]?.id ?? ""
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 93
});
});
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 94
setTagInput("");
setTagInput("");
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 95
}
}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 96
onSaved?.(result.slug);
onSaved?.(result.slug);
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 97
} catch (error) {
} catch (error) {
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 98
setStatus(error instanceof Error ? error.message : "Could not save page");
setStatus(error instanceof Error ? error.message : "Could not save page");
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 99
}
}
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 100
}
}
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 101
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 102
return (
return (
Alex Nord
3 months ago
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 103
<section className={isPage ? "composer-shell" : isDialog ? "editor-dialog" : "panel"}>
<section className={isPage ? "composer-shell" : isDialog ? "editor-dialog" : "panel"}>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 104
<div className={`panel__header${isPage ? " composer-header" : ""}`}>
<div className={`panel__header${isPage ? " composer-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
- 105
<div>
<div>
Alex Nord
3 months ago
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 106
<p className="eyebrow">{mode === "edit" ? "Editor" : "Publishing"}</p>
<p className="eyebrow">{mode === "edit" ? "Editor" : "Publishing"}</p>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 107
<h3>{mode === "edit" ? "Edit document" : isDialog ? "New document" : isPage ? "New document" : "Create a new page"}</h3>
<h3>{mode === "edit" ? "Edit document" : isDialog ? "New document" : isPage ? "New document" : "Create a new page"}</h3>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 108
</div>
</div>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 109
<div className="composer-header__actions">
<div className="composer-header__actions">
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 110
<span className="pill">{mode === "edit" ? "Draft editor" : "Editor"}</span>
<span className="pill">{mode === "edit" ? "Draft editor" : "Editor"}</span>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 111
{onCancel ? (
{onCancel ? (
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 112
<button type="button" className="button-secondary" onClick={onCancel}>
<button type="button" className="button-secondary" onClick={onCancel}>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 113
Cancel
Cancel
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 114
</button>
</button>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 115
) : null}
) : 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
- 116
</div>
</div>
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 117
</div>
</div>
Alex Nord
3 months ago
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 118
<div className={isPage ? "composer-layout" : "stack-page"}>
<div className={isPage ? "composer-layout" : "stack-page"}>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 119
<div className="composer-main">
<div className="composer-main">
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 120
<label className="field">
<label className="field">
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 121
Title
Title
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 122
<input
<input
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 123
value={form.title}
value={form.title}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 124
placeholder="Untitled document"
placeholder="Untitled document"
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 125
onChange={(event) => setForm((current) => ({ ...current, title: event.target.value }))}
onChange={(event) => setForm((current) => ({ ...current, title: event.target.value }))}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 126
/>
/>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 127
</label>
</label>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 128
<label className="field">
<label className="field">
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 129
Markdown
Markdown
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 130
{showMarkdownHelper ? <MarkdownComposerHint /> : null}
{showMarkdownHelper ? <MarkdownComposerHint /> : null}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 131
<textarea
<textarea
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 132
className={`editor-textarea${isDialog ? " editor-textarea-dialog" : ""}${isPage ? " editor-textarea-page" : ""}`}
className={`editor-textarea${isDialog ? " editor-textarea-dialog" : ""}${isPage ? " editor-textarea-page" : ""}`}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 133
value={form.bodyMarkdown}
value={form.bodyMarkdown}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 134
onChange={(event) => setForm((current) => ({ ...current, bodyMarkdown: event.target.value }))}
onChange={(event) => setForm((current) => ({ ...current, bodyMarkdown: event.target.value }))}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 135
placeholder="Write Markdown, use / for blocks, or paste existing docs…"
placeholder="Write Markdown, use / for blocks, or paste existing docs…"
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 136
aria-label="Document markdown body"
aria-label="Document markdown body"
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 137
/>
/>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 138
</label>
</label>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 139
</div>
</div>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 140
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 141
<aside className={`composer-sidebar${isPage ? " rail-card" : ""}`}>
<aside className={`composer-sidebar${isPage ? " rail-card" : ""}`}>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 142
<label className="field">
<label className="field">
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 143
Space
Space
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 144
<select
<select
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 145
value={form.spaceId}
value={form.spaceId}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 146
onChange={(event) => setForm((current) => ({ ...current, spaceId: event.target.value }))}
onChange={(event) => setForm((current) => ({ ...current, spaceId: event.target.value }))}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 147
>
>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 148
{spaces.map((space) => (
{spaces.map((space) => (
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 149
<option key={space.id} value={space.id}>
<option key={space.id} value={space.id}>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 150
{space.name}
{space.name}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 151
</option>
</option>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 152
))}
))}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 153
</select>
</select>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 154
</label>
</label>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 155
<label className="field">
<label className="field">
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 156
Slug
Slug
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 157
<input
<input
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 158
value={form.slug}
value={form.slug}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 159
placeholder="generated-from-title"
placeholder="generated-from-title"
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 160
onChange={(event) => setForm((current) => ({ ...current, slug: event.target.value }))}
onChange={(event) => setForm((current) => ({ ...current, slug: event.target.value }))}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 161
/>
/>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 162
</label>
</label>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 163
<label className="field">
<label className="field">
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 164
Excerpt
Excerpt
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 165
<input
<input
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 166
value={form.excerpt}
value={form.excerpt}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 167
placeholder="Short summary shown in lists"
placeholder="Short summary shown in lists"
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 168
onChange={(event) => setForm((current) => ({ ...current, excerpt: event.target.value }))}
onChange={(event) => setForm((current) => ({ ...current, excerpt: event.target.value }))}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 169
/>
/>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 170
</label>
</label>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 171
<div className="field-grid">
<div className="field-grid">
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 172
<label className="field">
<label className="field">
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 173
Visibility
Visibility
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 174
<select
<select
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 175
value={form.visibility}
value={form.visibility}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 176
onChange={(event) => setForm((current) => ({ ...current, visibility: event.target.value as "public" | "internal" | "restricted" }))}
onChange={(event) => setForm((current) => ({ ...current, visibility: event.target.value as "public" | "internal" | "restricted" }))}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 177
>
>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 178
<option value="public">Public</option>
<option value="public">Public</option>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 179
<option value="internal">Internal</option>
<option value="internal">Internal</option>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 180
<option value="restricted">Restricted</option>
<option value="restricted">Restricted</option>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 181
</select>
</select>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 182
</label>
</label>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 183
<label className="field">
<label className="field">
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 184
State
State
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 185
<select
<select
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 186
value={form.state}
value={form.state}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 187
onChange={(event) => setForm((current) => ({ ...current, state: event.target.value as "draft" | "published" }))}
onChange={(event) => setForm((current) => ({ ...current, state: event.target.value as "draft" | "published" }))}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 188
>
>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 189
<option value="draft">Draft</option>
<option value="draft">Draft</option>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 190
<option value="published">Published</option>
<option value="published">Published</option>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 191
</select>
</select>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 192
</label>
</label>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 193
</div>
</div>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 194
<label className="field">
<label className="field">
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 195
Tags
Tags
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 196
<input
<input
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 197
value={tagInput}
value={tagInput}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 198
placeholder="comma,separated,tags"
placeholder="comma,separated,tags"
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 199
onChange={(event) => {
onChange={(event) => {
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 200
const value = event.target.value;
const value = event.target.value;
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 201
setTagInput(value);
setTagInput(value);
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 202
setForm((current) => ({
setForm((current) => ({
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 203
...current,
...current,
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 204
tagNames: value
tagNames: value
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 205
.split(",")
.split(",")
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 206
.map((tag) => tag.trim())
.map((tag) => tag.trim())
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 207
.filter(Boolean)
.filter(Boolean)
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 208
}));
}));
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 209
}}
}}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 210
/>
/>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 211
</label>
</label>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 212
<div className="composer-toolbar">
<div className="composer-toolbar">
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 213
<button type="button" onClick={() => void submit("draft")}>
<button type="button" onClick={() => void submit("draft")}>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 214
{mode === "edit" ? "Save draft" : "Create draft"}
{mode === "edit" ? "Save draft" : "Create draft"}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 215
</button>
</button>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 216
<button type="button" className="button-secondary" onClick={() => void submit("published")}>
<button type="button" className="button-secondary" onClick={() => void submit("published")}>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 217
{canPublish || mode === "edit" ? "Publish" : "Create and publish"}
{canPublish || mode === "edit" ? "Publish" : "Create and publish"}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 218
</button>
</button>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 219
{status ? <p className="muted">{status}</p> : null}
{status ? <p className="muted">{status}</p> : null}
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 220
</div>
</div>
same change
fee4a2a
Fixing loading issue when putting Ledger behind domain
- Full commit hash
fee4a2ae4600b4a17f643e09e505e3f7445dce1d- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 221
</aside>
</aside>
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
- 222
</div>
</div>
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 223
</section>
</section>
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 224
);
);
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 225
}
}