Repository navigation
feat(sources): watch a local folder in four clicks - #341
Merged
Merged
Conversation
Watch a local folder on the Sensors page opens this machine's allowed folders straight away, on its connection (made on the way when there is none). Each allowed folder has a Watch button, so it no longer has to be opened first. Adding This machine as a connection skips the test-and-name step unless its test fails. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EH4TJFTrrDKy4pfzvbbPyT
17 of 19 tasks
adeelahmad
added a commit
that referenced
this pull request
Oct 11, 2026
…349) "Stay private and safe" now covers flagging instruction-like text (patterns or the optional local classifier, #329, #347), asking before the browser acts on what the assistant wrote (#333), breaking up links in chat-room answers (#338), the archive as data over MCP (#343) and the audit log of what was caught (#344). "See what it costs" adds the overall budget asked for in setup (#281). "In progress" drops what merged and adds #337, #341 and #346. Claude-Session: https://claude.ai/code/session_01HDx7PPUauyjMn1LZs8JAsS Co-authored-by: Adeel Ahmad <noreply@anthropic.com>
…-1swqfa # Conflicts: # CHANGELOG.md
The source-folder journey takes the new path (Sensors, Watch a local folder, Watch, Start watching); baseline.json and baseline-phone.json are this branch's runs. Only that journey and the Sensors page's control count change. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EH4TJFTrrDKy4pfzvbbPyT
adeelahmad
marked this pull request as ready for review
October 11, 2026 02:26
…-1swqfa # Conflicts: # CHANGELOG.md # ci/clicks/baseline-phone.json # ci/clicks/baseline.json
Against main's baselines only source-folder changes (9 to 4 clicks, 10 to 5 taps) and the Sensors page shows one more control; the Telegram, Slack and mailbox settings pages main added are now listed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EH4TJFTrrDKy4pfzvbbPyT
…-1swqfa # Conflicts: # CHANGELOG.md
20 of 22 tasks
adeelahmad
pushed a commit
that referenced
this pull request
Oct 14, 2026
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014pKRz6HkdQ7hTqEbpnyhYo
Merged
16 of 22 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Adeel · project thread
Description
Before: watching a folder on this machine took 9 clicks on a computer (10 taps and a swipe on a phone): Sensors, the Files tab, Add connection, This machine, Test connection, Done, open the allowed folder, Watch this folder, Start watching. A local folder has nothing to fill in, yet it went through the test-and-name step, and the allowed folders couldn't be watched until one was opened.
After: 4 clicks (5 taps and a swipe on a phone): Sensors, Watch a local folder, Watch on the allowed folder, Start watching.
sources.local_rootsstays startup-only: the browser still lists only the folders it allows.Motivation and Context
Adeel asked to cut clicks, keys and touches; the survey (
clicks-survey/latest.md) set watching a folder at 9 clicks with a target of 4.Steps to reproduce (if appropriate):
Measured with
ci/clicks/run.shandci/clicks/run.sh --device phoneon a fresh install.baseline.jsonandbaseline-phone.jsonare this branch's runs (after #325 merged); against main's baselines only thesource-folderjourney changes, and the Sensors page shows one more control (the new button).source-folderTypes of changes
!in the title)Checklist:
make hookschecks it on commit). Prettier, ESLint and tsc pass.watch-folder.test.tsx(Watch from the allowed folders; the Sources link reusing or making this machine's connection),add-connection.test.tsx(This machine added at once; test step only on failure; the usual flow on SMB),sensors-ui.test.tsx(the link); thesource-folderclicks journey.docs/accordingly.docs/sensors.md, In the web app.## UnreleasedinCHANGELOG.md.Done questions (AGENTS.md)
PUT /api/v1/setup/storagewithfolderandnamespace(it reuses or makes this machine's connection), orPOST /api/v1/sourcesandPOST /api/v1/watches./audio.sources.local_rootsstays startup-only on purpose.sources.local_roots.make openapi).🤖 Generated with Claude Code
https://claude.ai/code/session_01EH4TJFTrrDKy4pfzvbbPyT