Skip to content

Fix symlinked file updates and comparison scroll, add a default branch prefix - #63

Merged
Pante merged 5 commits into
mainfrom
feature/misc-improvements
Nov 28, 2026
Merged

Pante merged 5 commits into
mainfrom
feature/misc-improvements

Conversation

@Pante

@Pante Pante commented Nov 28, 2026

Copy link
Copy Markdown
Member

Changes

  • Files opened through symlinks update with their target. The daemon's watcher notifies a change by the real path only, so a file watched through a symbolic link, or under a symlinked folder, was reread only on the 5-second poll. Each watched path now also matches the path it resolves to, and keeps that path when its target is deleted so a recreated target is still notified.
  • Scroll in the comparison view is fixed.
  • New workspaces get a default branch prefix.

Notes

  • A link whose target lies outside the workspace root, or that is already dangling when first watched, still updates only on the poll.
  • relativeTo moved from directory-watcher.ts to fs/path.ts, now shared with the file watcher.

Testing

pnpm --filter @elsewise/daemon test passes (495 tests), with new unit cases in src/fs/watch.test.ts and e2e cases in test/fs/service.e2e.test.ts for the symlink fix.

🤖 Generated with Claude Code

@claude

claude Bot commented Nov 28, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

Pante and others added 5 commits November 29, 2026 00:43
A new workspace whose branch is left empty gets the prefix before the
branch named after it, `elsewise/` by default. A typed or picked branch
is never prefixed. The dialog previews the branch in its placeholder,
and kebabCase moves to core so the dialog and the daemon derive the
same name.

Also renames the folder prefix and modified tab settings to unique tab
names and unsaved badges.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The watcher notifies a change by the real path only, so a file watched
through a symbolic link was reread only on the poll. Each watched path
now also matches the path it resolves to.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The test worker exits with an access violation on the Windows runners
while these cases run under the real watcher.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@Pante
Pante force-pushed the feature/misc-improvements branch from aef4ad8 to f7ff34a Compare November 28, 2026 16:43
@Pante
Pante added this pull request to the merge queue Nov 28, 2026
Merged via the queue into main with commit 8f0c6f4 Nov 28, 2026
29 checks passed
@Pante
Pante deleted the feature/misc-improvements branch November 28, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant