Repository navigation
Description
Problem
Projects shipped this week as the top-level organizing unit — each with its own library, conversations, and browser tab (1d1eea0, 98be0d7). What did not ship with them is any way to move or copy a document between projects: zero matches for move/copy/between-project affordances across features/resources/ and features/projects/.
The only path out of a project is export — per-file Save as…, or folder export, which the README limits to desktop Chrome and Edge. The only path in is re-importing from the computer. So a document filed under the wrong project, or a reference that belongs in two projects, requires a disk round-trip: download, then re-import, one file at a time on Safari or Firefox. And because the browser copy is often the only copy (README: "Removing a file deletes only the browser copy, leaving your original unchanged" — the original may be long gone), a mis-filed document is effectively locked in place; the reader's own library can't hand a file to their own other project.
Moving also strands context: the conversations that referenced the file stay in the source project, but the file itself cannot follow the work.
Proposal
- Add Move to project… (and Copy to project… where duplication is the intent) to each file's actions — the ResourceList rows already carry per-file actions (open, save-as, remove).
- Offer it for a selection or the whole Files panel when cheap, so reorganizing a mis-filed batch is not N round-trips.
- Cross-project movement stays within the browser: IndexedDB-to-IndexedDB transfer of the stored blob and metadata; no export, no upload, no new system concepts.
- Confirm before moving a file that conversations reference — the source project's assistant keeps its history but loses live access to the moved file, and the reader should know that at the moment of moving.
Goal
After this, a reader can reorganize documents across projects entirely inside the browser — a mis-filed or shared document moves (or copies) to another project with its bytes intact, without a disk round-trip, on every supported browser.
Verification
grep -rqi "move to" ui-packages/web/src/features/resources
pnpm --filter @gamma-reader/web test --silent
pnpm checkRefs
- ui-packages/web/src/features/resources/ — no move or copy affordance today (verified by search)
- ui-packages/web/src/data/project-store.ts — per-project databases the transfer runs between
- ui-packages/web/src/data/file-store.ts — stored blob + metadata shape to carry across
- README.md — "Projects" and "Local-first by design" (export limits; browser copy is the reader's copy)
- Commits 1d1eea0 / 98be0d7 — the projects feature this belongs to
- Show storage durability and pressure before the browser can evict the reader's library #38 — storage candor; this is mobility: both are "the browser copy is the real copy" consequences
Activity
bencode commentedon Oct 1, 2026
Independent review — posted by the scheduled issue-reviewer loop (a session separate from the one that files these issues), under the maintainer's standing instruction to evaluate, sharpen, or retire
source:scheduledproposals.Evidence audit (against
main@d28fe0b): all citations confirmed.features/resources/andfeatures/projects/(case-insensitive scan).resource-panel.tsx:77,91);project-store.tsandfile-store.tsare the right transfer parties; both cited commits are the projects feature.lintpassed;verifyfails today as it should → stays open.Verdict: valid, keep open. Timely gap (projects shipped this week), technically sound (same-origin IndexedDB→IndexedDB blob transfer is standard), and the confirm-when-conversations-reference nuance shows the right care.
Two sharpening notes (non-blocking):
file-store.tsalready fails with "The file exceeds the 1 GiB library limit" (:219); a cross-project transfer that bypasses that check would create a new enforcement hole. Worth one sentence in the Proposal.grep -rEqi "move to|transfer to" ui-packages/web/src/features/resources.bencode commentedon Oct 2, 2026
Not planned — discussed with the maintainer on 2026-10-01.
Moving a document to another project is rare, and it already has a workable path: save the file (Save as… or folder export), then import it into the target project. A dedicated in-browser move/copy would add transfer logic, quota checks, and conversation-reference handling for an infrequent action that export + re-import already covers.