Skip to content
Myr

commit-view.tsx

This file

Path

apps/web/src/features/code/commit-view.tsx

481 lines · 15.5 KiB · TypeScript

Last changed by

Merge build/1500-design-draws into mainoscabrielbefore adoption9bc46b7

History of this file

Take it

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 1why, one step back
1/**

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 2–12why, one step back
2 * One commit, read as a landing first and a diff second. The head: the
3 * subject, the landing's status line ("Landed as 9b1c3e5 · answered4 * format-ordinal", the SHA and the ask linked), the body as prose, and5 * git's own metadata on one muted line. The inspector holds the typed6 * facts: this landing's state, its credit (the trailers, once), the diff's7 * stats split by path, and its provenance. Then the diff, file by file, in8 * a pane of its own: the server's plain text (`PlainDiff`), which the9 * browser's drawing (`drawing`, from `client-code.tsx`) replaces in place.10 *11 * A commit the platform did not land came in with the history the project12 * adopted, and says so; its trailers are listed as written, linking no one.

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

lines 13–18why, one step back
13 */
14import type {15 CommitDiff,16 CommitView as Commit,17} from "@repo/protocol/domain/code";18import type { ProjectName } from "@repo/protocol/ids";

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

line 19why, one step back
19import { Option } from "effect";

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 20why, one step back
20import type { DateTime } from "effect";

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 21–22why, one step back
21import { Columns2, FoldVertical, Rows3, UnfoldVertical } from "lucide-react";
22import { useMemo } from "react";

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

lines 23–24why, one step back
23import type { ReactNode } from "react";
24

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 25–28why, one step back
25import { Button } from "@/components/ui/button";
2627import { CreditFacts, FactBlock, ProvenanceFacts } from "../shared/facts.tsx";28import type { ProvenanceEntry } from "../shared/facts.tsx";

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 29why, one step back
29import { HandleLink } from "../shared/handle.tsx";

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 30–31why, one step back
30import { AppLink } from "../shared/link.tsx";
31import { StateMarkIcon } from "../shared/marks.tsx";

Fold every page's project events once, keep Markdown off the first load, and cache what never changesoscabrielbefore adoption38e5215

line 32why, one step back
32import { answerPath, askPath } from "../shared/paths.ts";

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

line 33why, one step back
33import { GUTTER, MEASURE, Workspace } from "../shared/shell/workspace.tsx";

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 34why, one step back
34import { When } from "../shared/time.tsx";

Close the wave: openings are heard as landings, and the code store is written downoscabrielbefore adoption2587726

line 35why, one step back
35import { askOf } from "../why/rows.ts";

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 36–40why, one step back
36import { drawnFiles, statsOf } from "./diff-model.ts";
37import type { DiffStats, DrawnFile } from "./diff-model.ts";38import { DiffPane, PANE_SCROLLER } from "./diff-pane.tsx";39import { commitHref, shortSha, treeHref } from "./paths.ts";40import { ChangeCounts, PlainDiff } from "./plain-diff.tsx";

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 41why, one step back
41

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

line 42why, one step back
42const LINK = "decoration-rule underline hover:decoration-current";

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 43why, one step back
43

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 44–45why, one step back
44/** A trailer line: `Key: value`, the key one word of letters and dashes. */
45const TRAILER = /^[A-Za-z][\w-]*:\s/u;

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 46why, one step back
46

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 47–54why, one step back
47/**
48 * The body without its trailers, which the Credit block shows: git's49 * trailer block is the last paragraph when every line of it is a50 * `Key: value`.51 */52export const bodyWithoutTrailers = (commit: Commit) => {53 const paragraphs = commit.body.trim().split(/\n\s*\n/u);54 const last = paragraphs.at(-1) ?? "";

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 55why, one step back
55

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 56–58why, one step back
56 const trailers =
57 commit.trailers.length > 0 &&58 last.split("\n").every((line) => TRAILER.test(line.trim()));

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 59why, one step back
59

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

line 60why, one step back
60 return (trailers ? paragraphs.slice(0, -1) : paragraphs).join("\n\n").trim();

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

lines 61–62why, one step back
61};
62

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 63–119why, one step back
63/** Where the commit stands, in one line: landed as its SHA, and the ask it answered or opened. */
64export const LandingStatus = ({65 commit,66 project,67}: {68 readonly commit: Commit;69 readonly project: ProjectName;70}) => {71 const { landing } = commit;7273 if (landing === undefined) {74 return (75 <p className="text-want text-muted-foreground flex items-start gap-2">76 <StateMarkIcon className="mt-1" mark="notNeeded" />77 <span>78 Before adoption: this commit came in with the history the project79 adopted, so no landing records it.80 </span>81 </p>82 );83 }8485 const linked = Option.getOrUndefined(askOf(landing));8687 return (88 <p className="text-want flex items-start gap-2" data-outcome="Landed">89 <StateMarkIcon className="mt-1" mark="landed" />90 <span className="min-w-0 [overflow-wrap:anywhere]">91 <strong className="text-landed font-semibold">Landed</strong> as{" "}92 <AppLink93 className={`text-mono font-mono ${LINK}`}94 to={commitHref(project, commit.sha)}95 >96 {shortSha(commit.sha)}97 </AppLink>98 {linked === undefined ? null : (99 <>100 <span aria-hidden="true" className="text-muted-foreground">101 {" · "}102 </span>103 {linked.kind === "opened" ? "opened " : "answered "}104 <AppLink105 className={`text-mono font-mono ${LINK}`}106 to={askPath(project, linked.ask)}107 >108 {linked.ask}109 </AppLink>110 </>111 )}112 </span>113 </p>114 );115};116117/** Git's own metadata, on one line: who wrote it, who committed it, its parents. */118const GitLine = ({119 commit,

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 120why, one step back
120 now,

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

line 121why, one step back
121 project,

Merge build/1500-design-draws into mainoscabrielbefore adoption9bc46b7

line 122why, one step back
122 stats,

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 123why, one step back
123}: {

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

line 124why, one step back
124 readonly commit: Commit;

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 125why, one step back
125 readonly now: DateTime.Utc;

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

line 126why, one step back
126 readonly project: ProjectName;

Merge build/1500-design-draws into mainoscabrielbefore adoption9bc46b7

line 127why, one step back
127 readonly stats: DiffStats;

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 128why, one step back
128}) => (

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 129–156why, one step back
129 <span className="[overflow-wrap:anywhere]">
130 authored by {commit.author.name} <When at={commit.author.at} now={now} />131 {" · "}132 committed by{" "}133 {commit.landing === undefined ? commit.committer.name : "the platform"}134 {" · "}135 {commit.parents.length === 0 ? (136 "the first commit"137 ) : (138 <>139 {commit.parents.length === 1 ? "parent" : "parents"}{" "}140 {commit.parents.map((parent, index) => (141 <span key={parent}>142 {index === 0 ? null : ", "}143 <AppLink144 className={`text-mono font-mono ${LINK}`}145 to={commitHref(project, parent)}146 >147 {shortSha(parent)}148 </AppLink>149 </span>150 ))}151 </>152 )}153 {" · "}154 <AppLink className={LINK} to={treeHref(project, commit.sha)}>155 Browse files156 </AppLink>

Merge build/1500-design-draws into mainoscabrielbefore adoption9bc46b7

lines 157–167why, one step back
157 {" · "}
158 <a159 className="inline-flex items-baseline gap-[1ch] no-underline hover:underline"160 href="#diff"161 >162 <span className="tabular-nums">163 {stats.files} {stats.files === 1 ? "file" : "files"}164 </span>165 <span aria-hidden="true">·</span>166 <ChangeCounts additions={stats.additions} deletions={stats.deletions} />167 </a>

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 168–185why, one step back
168 </span>
169);170171const PART_WORDS = {172 other: "other",173 territory: "territory",174 tests: "tests",175} as const;176177/** The diff in numbers: files, lines added and removed, then split by path. */178export const DiffStatsFacts = ({ stats }: { readonly stats: DiffStats }) => (179 <FactBlock label="Diff stats">180 <p181 className="text-ui flex flex-wrap items-center gap-x-3 gap-y-1"182 data-stats=""183 >184 <span>185 {stats.files} {stats.files === 1 ? "file" : "files"}

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 186why, one step back
186 </span>

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 187–209why, one step back
187 <ChangeCounts additions={stats.additions} deletions={stats.deletions} />
188 </p>189 {stats.parts.length === 0 ? null : (190 <ul className="text-ui flex flex-col gap-1">191 {stats.parts.map((part) => (192 <li193 className="flex items-center justify-between gap-3"194 data-part={part.label}195 key={part.label}196 >197 <span className="text-muted-foreground">198 {PART_WORDS[part.label]}199 <span className="sr-only">:</span>200 </span>201 <ChangeCounts202 additions={part.additions}203 deletions={part.deletions}204 />205 </li>206 ))}207 </ul>208 )}209 </FactBlock>

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

lines 210–211why, one step back
210);
211

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 212–224why, one step back
212/** The trailers of a commit the platform did not land, as written, linking no one. */
213const WrittenTrailers = ({ commit }: { readonly commit: Commit }) =>214 commit.trailers.length === 0 ? null : (215 <FactBlock label="Trailers">216 <ul className="text-mono leading-terminal flex flex-col gap-1 font-mono">217 {commit.trailers.map(({ key, value }) => (218 <li className="[overflow-wrap:anywhere]" key={`${key}:${value}`}>219 <span className="text-muted-foreground">{key}:</span> {value}220 </li>221 ))}222 </ul>223 </FactBlock>224 );

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 225why, one step back
225

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 226–236why, one step back
226/** A landing's credit from the record; a commit the platform did not land, its trailers as written. */
227const LandingCredit = ({ commit }: { readonly commit: Commit }) =>228 commit.landing === undefined ? (229 <WrittenTrailers commit={commit} />230 ) : (231 <CreditFacts232 assisted={commit.landing.assisted}233 credits={commit.landing.credits}234 heldBack={commit.landing.heldBackTrailer}235 />236 );

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 237why, one step back
237

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 238–263why, one step back
238/** Where the commit comes from: its id, its tree, its people and parents, and the landing's request. */
239const provenanceOf = (commit: Commit): readonly ProvenanceEntry[] => [240 { label: "Commit", value: commit.sha },241 { label: "Tree", value: commit.tree },242 { label: "Author", value: `${commit.author.name} <${commit.author.email}>` },243 {244 label: "Committer",245 value: `${commit.committer.name} <${commit.committer.email}>`,246 },247 ...commit.parents.map((parent, index) => ({248 label: commit.parents.length === 1 ? "Parent" : `Parent ${index + 1}`,249 value: parent,250 })),251 ...(commit.landing?.verdict === undefined252 ? []253 : [{ label: "Patch id", value: commit.landing.verdict.patchId }]),254 ...(commit.landing?.requestId === undefined255 ? []256 : [{ label: "Request-Id", value: commit.landing.requestId }]),257];258259/** The inspector's facts for a commit. */260const CommitFacts = ({261 commit,262 project,263 stats,

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 264why, one step back
264}: {

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 265–267why, one step back
265 readonly commit: Commit;
266 readonly project: ProjectName;267 readonly stats: DiffStats;

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 268why, one step back
268}) => {

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 269–272why, one step back
269 const linked =
270 commit.landing === undefined271 ? undefined272 : Option.getOrUndefined(askOf(commit.landing));

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

lines 273–274why, one step back
273
274 return (

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 275–295why, one step back
275 <>
276 <FactBlock label="State">277 <LandingStatus commit={commit} project={project} />278 {commit.landing === undefined ? null : (279 <p className="text-ui text-muted-foreground">280 By <HandleLink handle={commit.landing.author} />281 {linked === undefined || linked.kind === "opened" ? null : (282 <>283 {" · "}284 <AppLink className={LINK} to={answerPath(project, linked.ask)}>285 the answer and its checks286 </AppLink>287 </>288 )}289 </p>290 )}291 </FactBlock>292 <LandingCredit commit={commit} />293 <DiffStatsFacts stats={stats} />294 <ProvenanceFacts entries={provenanceOf(commit)} />295 </>

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

lines 296–298why, one step back
296 );
297};298

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 299–305why, one step back
299/** A segmented pair of buttons, the pressed one in ink. */
300const SEGMENT =301 "text-ui hover:bg-surface aria-pressed:bg-foreground aria-pressed:text-background aria-pressed:hover:bg-foreground flex h-7 cursor-pointer items-center gap-1.5 px-2.5 font-medium transition-colors duration-150 disabled:cursor-not-allowed disabled:opacity-50 [&_svg]:size-3.5";302303/** The diff's toolbar: unified or split, fold or unfold every file, and the counts. */304export const DiffToolbar = ({305 allFolded,

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 306why, one step back
306 files,

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 307–310why, one step back
307 onFoldAll,
308 onSplit,309 split,310 stats,

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 311why, one step back
311}: {

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 312–319why, one step back
312 readonly split: boolean;
313 readonly onSplit?: ((split: boolean) => void) | undefined;314 /** Whether every file is folded now. */315 readonly allFolded: boolean;316 readonly onFoldAll?: ((folded: boolean) => void) | undefined;317 readonly stats: DiffStats;318 /** The Files button, below the shell's width. */319 readonly files?: ReactNode;

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 320why, one step back
320}) => (

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 321–363why, one step back
321 <>
322 {files === undefined ? null : (323 <div className="shell:hidden flex shrink-0">{files}</div>324 )}325 <fieldset className="border-input diffsplit:flex m-0 hidden min-w-0 border p-0">326 <legend className="sr-only">Diff layout</legend>327 <button328 aria-pressed={!split}329 className={SEGMENT}330 onClick={() => onSplit?.(false)}331 type="button"332 >333 <Rows3 aria-hidden="true" strokeWidth={1.75} />334 Unified335 </button>336 <button337 aria-pressed={split}338 className={SEGMENT}339 onClick={() => onSplit?.(true)}340 type="button"341 >342 <Columns2 aria-hidden="true" strokeWidth={1.75} />343 Split344 </button>345 </fieldset>346 <span className="text-muted-foreground">347 <Button onClick={() => onFoldAll?.(!allFolded)} size="sm" variant="ghost">348 {allFolded ? (349 <UnfoldVertical aria-hidden="true" strokeWidth={1.75} />350 ) : (351 <FoldVertical aria-hidden="true" strokeWidth={1.75} />352 )}353 {allFolded ? "Unfold all" : "Collapse all"}354 </Button>355 </span>356 <p className="text-ui text-muted-foreground ml-auto flex items-center gap-3 tabular-nums">357 <span>358 {stats.files} {stats.files === 1 ? "file" : "files"}359 <span className="tablet:inline hidden"> changed</span>360 </span>361 <ChangeCounts additions={stats.additions} deletions={stats.deletions} />362 </p>363 </>

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

lines 364–365why, one step back
364);
365

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 366–386why, one step back
366export interface CommitViewProps {
367 readonly diff: CommitDiff;368 readonly now: DateTime.Utc;369 readonly project: ProjectName;370 /** The ask's territory, when the commit landed an answer: the stats split by it. */371 readonly territory?: readonly string[] | undefined;372 /** Old and new side by side. */373 readonly split?: boolean;374 readonly onSplit?: ((split: boolean) => void) | undefined;375 /** The files folded now; each file's default when absent. */376 readonly folded?: ReadonlySet<string> | undefined;377 readonly onFold?: ((path: string, folded: boolean) => void) | undefined;378 readonly onFoldAll?: ((folded: boolean) => void) | undefined;379 /** The browser's drawing of the diff, holding `PlainDiff` as its fallback. */380 readonly drawing?: ReactNode;381 /** The Files button, below the shell's width. */382 readonly files?: ReactNode;383 /** The diff's files already parsed (`drawnFiles`), so a page parses each once. */384 readonly drawn?: readonly DrawnFile[] | undefined;385}386

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

lines 387–389why, one step back
387export const CommitView = ({
388 diff,389 drawing,

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 390–392why, one step back
390 drawn: parsed,
391 files: filesButton,392 folded,

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 393why, one step back
393 now,

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 394–396why, one step back
394 onFold,
395 onFoldAll,396 onSplit,

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

lines 397–398why, one step back
397 project,
398 split = false,

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 399–400why, one step back
399 territory,
400}: CommitViewProps) => {

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

lines 401–402why, one step back
401 const { commit, files, truncated } = diff;
402 const body = bodyWithoutTrailers(commit);

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 403–404why, one step back
403 const drawn = useMemo(() => parsed ?? drawnFiles(files), [files, parsed]);
404 const stats = useMemo(() => statsOf(drawn, territory), [drawn, territory]);

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 405why, one step back
405

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 406–409why, one step back
406 const allFolded = drawn.every((file) =>
407 folded === undefined ? file.folded : folded.has(file.file.path)408 );409

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 410why, one step back
410 return (

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 411–415why, one step back
411 <Workspace
412 facts={<CommitFacts commit={commit} project={project} stats={stats} />}413 factsHeading={414 commit.landing === undefined ? "This commit" : "This landing"415 }

Merge build/1500-design-draws into mainoscabrielbefore adoption9bc46b7

lines 416–418why, one step back
416 meta={
417 <GitLine commit={commit} now={now} project={project} stats={stats} />418 }

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 419–433why, one step back
419 state={
420 commit.landing === undefined ? undefined : (421 <span className="flex items-center gap-1.5">422 <StateMarkIcon mark="landed" />423 <strong className="text-landed font-semibold">Landed</strong>424 </span>425 )426 }427 status={428 <div className="flex flex-col gap-4">429 <LandingStatus commit={commit} project={project} />430 {body === "" ? null : (431 <p432 className="text-body max-w-[70ch] [overflow-wrap:anywhere] whitespace-pre-wrap"433 data-body=""

Finish the Control room: every page passes axe and a keyboard walk in both schemesoscabrielbefore adoption3fd50a5

line 434why, one step back
434 data-said=""

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 435–440why, one step back
435 >
436 {body}437 </p>438 )}439 </div>440 }

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

lines 441–445why, one step back
441 title={
442 commit.subject === ""443 ? `Commit ${shortSha(commit.sha)}`444 : commit.subject445 }

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 446–456why, one step back
446 toolbar={
447 <DiffToolbar448 allFolded={allFolded}449 files={filesButton}450 onFoldAll={onFoldAll}451 onSplit={onSplit}452 split={split}453 stats={stats}454 />455 }456 variant="code"

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 457why, one step back
457 >

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 458–460why, one step back
458 {truncated ? (
459 <div className={`${GUTTER} ${MEASURE}`}>460 <p className="border-rule text-ui border border-dashed px-4 py-3">

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

lines 461–463why, one step back
461 This commit is too large to show whole: its files are listed by
462 path, without their changes.463 </p>

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 464–465why, one step back
464 </div>
465 ) : null}

Merge build/1500-design-draws into mainoscabrielbefore adoption9bc46b7

line 466why, one step back
466 <DiffPane id="diff">

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 467–476why, one step back
467 {drawing ?? (
468 <div className={PANE_SCROLLER}>469 <PlainDiff470 drawn={drawn}471 files={files}472 folded={folded}473 onFold={onFold}474 split={split}475 />476 </div>

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

line 477why, one step back
477 )}

Merge build/1211-code-browseroscabrielbefore adoptiona6808d3

lines 478–479why, one step back
478 </DiffPane>
479 </Workspace>

Merge branch 'build/904-web-code-browser'oscabrielbefore adoption06e2229

lines 480–481why, one step back
480 );
481};