Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
11c8457
feat(PLA-120): wire Files-changed tab + persistent file viewed-state
dastratakos May 3, 2026
84aab83
perf(view-state): early-exit runExists with .limit(1)
dastratakos May 3, 2026
1880e0b
fix(files-page): extend manual-selection suppress past smooth scroll
dastratakos May 3, 2026
1ef8332
refactor(use-view-state): rename fileViewBody → fileViewRequest, para…
dastratakos May 3, 2026
eda78fd
feat(view-state): cascade chapter mark to its files
dastratakos May 3, 2026
e430b55
fix(view-state): cascade chapter UNMARK to its files (symmetric)
dastratakos May 3, 2026
0a02102
feat(files-page): match hosted's collapsible sidebar layout
dastratakos May 3, 2026
cde8b45
style(pull-request-layout): drop bottom border on sticky tab nav
dastratakos May 3, 2026
ed11e21
fix(pull-request-layout): raise sticky tab nav to z-20 above file hea…
dastratakos May 3, 2026
2874f51
feat(files-page): order flat diff list to match sidebar tree
dastratakos May 3, 2026
7ec864e
test(use-file-collapse-state): cover toggle, collapse-all, defaults r…
dastratakos May 3, 2026
9358d7c
feat(file-picker): add shift+f shortcut to toggle collapse
dastratakos May 3, 2026
11146ac
chore(rebase): adapt CollapsiblePicker to main's keyboard registry
dastratakos May 3, 2026
a426982
feat(view-state): only promote file_view when all chapters cover it
dastratakos May 3, 2026
650754d
chore(file-picker): drop keyboard shortcut work to slim PR
dastratakos May 3, 2026
32d4709
chore: trim what-comments and stale references
dastratakos May 3, 2026
7d903f3
fix(files-page): use instant scroll-to-file to match hosted
dastratakos May 3, 2026
7d924c5
style(globals): port scrollbar-thin/scrollbar-none utilities from hos…
dastratakos May 3, 2026
afa7899
Vendor hosted file tree sorting
dastratakos May 3, 2026
16a7ae3
fix(files-page): account for sticky header in scroll-to-file offset
dastratakos May 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions packages/cli/drizzle/0003_file_view.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
CREATE TABLE `chapter_file_view` (
`id` text PRIMARY KEY NOT NULL,
`createdAt` integer NOT NULL,
`updatedAt` integer NOT NULL,
`userId` text DEFAULT 'local' NOT NULL,
`chapterId` text NOT NULL,
`filePath` text NOT NULL,
FOREIGN KEY (`chapterId`) REFERENCES `chapter`(`id`) ON UPDATE no action ON DELETE cascade
);
--> statement-breakpoint
CREATE INDEX `chapter_file_view_chapter_id_idx` ON `chapter_file_view` (`chapterId`);--> statement-breakpoint
CREATE UNIQUE INDEX `chapter_file_view_user_chapter_path_unique` ON `chapter_file_view` (`userId`,`chapterId`,`filePath`);--> statement-breakpoint
CREATE TABLE `file_view` (
`id` text PRIMARY KEY NOT NULL,
`createdAt` integer NOT NULL,
`updatedAt` integer NOT NULL,
`userId` text DEFAULT 'local' NOT NULL,
`runId` text NOT NULL,
`filePath` text NOT NULL,
FOREIGN KEY (`runId`) REFERENCES `chapter_run`(`id`) ON UPDATE no action ON DELETE cascade
);
--> statement-breakpoint
CREATE UNIQUE INDEX `file_view_user_run_path_unique` ON `file_view` (`userId`,`runId`,`filePath`);
Loading
Loading