Skip to content

Use the shared host-path parser in app file paths - #6829

Merged
ymichael merged 1 commit into
mainfrom
bb/move-app-path-regexes-onto-the-shared-parser-thr_p4i3u48c59
Nov 2, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/move-app-path-regexes-onto-the-shared-parser-thr_p4i3u48c59

Conversation

@ymichael

@ymichael ymichael commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

Four app callers kept their own Windows path checks and joins after the shared host-path parser landed. They disagreed on UNC roots and produced mixed separators in live file paths.

What changed

Use the shared parser for folder breadcrumbs and creation, live file paths, Markdown drive detection, and absolute local path detection. Preserve Markdown's network-link restrictions and #6756's resolver changes. No SDK or daemon protocol changes. Net: 52 added, 62 removed.

How you verified

  • pnpm exec turbo run test --filter=@bb/app -- RemotePathBrowser useResolvedLiveFileTarget markdown-local-file-link markdown-link: 65 tests passed.
  • pnpm exec turbo run test --filter=@bb/app -- markdown-file-routing: 6 tests passed, including Resolve and open Markdown links in one place #6756's routing coverage.
  • pnpm exec turbo run typecheck lint --filter=@bb/app: passed; lint reports 218 warnings, zero errors.
  • New Windows/UNC regression cases failed against the original implementation and pass with the shared parser.

AGENT GENERATED

@ymichael
ymichael merged commit 83ccf1e into main Nov 2, 2026
30 checks passed
@ymichael
ymichael deleted the bb/move-app-path-regexes-onto-the-shared-parser-thr_p4i3u48c59 branch November 2, 2026 19:56
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