#443 Only the desktop app lists and accepts file links as sources
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#443
- pull request
- state:merged
File links (`file:///…`) in a moment's sources are now used only in the desktop app, which can open them. The offline file and the platform can't, so there: - **Sources** doesn't list them, in the inspector or the reader. Before, they were shown as the file's name, noting it was on the computer that added it. - **Sources** doesn't accept them when its links are edited: the message is just "Use HTTPS links without embedded credentials.", and the hint no longer mentions file paths. - **File thumbnails** finds no photo, so those moments keep their usual markers. The desktop app turns file sources on at startup (`allowLocalSources` in `src/local-files.ts`). Everything else, including the overview projection and stripping file links from what's sent to a server, is unchanged, and the server still refuses them. Docs: `docs/file-populator.md` and the Sources section of `docs/plugins.md`. ## Testing - `test/local-files.test.mjs` checks that file links are refused, unlisted and give no thumbnail until `allowLocalSources()` is called, then accepted as before. - Unit tests: 435 of 435 pass (in a clean worktree). - Browser tests: all 30 pass in Chromium, including the desktop populator test, where file links still open in their own app. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/pull/443
Related
Open #443 Only the desktop app lists and accepts file links as sources in the timeline