Add a Files tab to the right column, with search, mentions and read-only previews
This commit is contained in:
1 parent
93afafe7c6
commit
89383c70ac
10 files changed
+689
-43
No files matched your search
@@ -70,10 +70,10 @@ describe("links and paths in replies", () => {
|
||||
const app = await open({ width: 200, session: fakeSession({ snapshot, projection: withReply("I changed `src/a.ts:3` and left src/missing.ts alone.", false) }) });
|
||||
const missing = app.find("missing.ts");
|
||||
await app.click(missing.x, missing.y);
|
||||
expect(app.frame()).not.toContain("Details ");
|
||||
expect(app.frame()).not.toContain("missing.ts ✕");
|
||||
const path = app.find("a.ts:3");
|
||||
await app.click(path.x, path.y);
|
||||
expect(app.frame()).toContain("Details src/a.ts ✕");
|
||||
expect(app.frame()).toContain("Details Files src/a.ts ✕");
|
||||
expect(app.hints()).toStartWith("keys: a.ts");
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user