Skip to content

refactor: group native-chat href routing - #35654

Merged
nwparker merged 1 commit into
mainfrom
module-organization/pr144-href-routing
Oct 29, 2026
Merged

nwparker merged 1 commit into
mainfrom
module-organization/pr144-href-routing

Conversation

@nwparker

@nwparker nwparker commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Group the shared href router and its existing test under src/shared/native-chat/, and update every desktop, terminal and mobile caller to import the concrete owner. Rename the test timing key while preserving its value of 36. Routing behavior, file URI handling, encoded filename semantics and wire prefixes remain unchanged.

Validation: full local changed gate passed all 27 checks. Both independent source audits passed. Nine focused desktop/shared suites passed 160 tests; mobile passed five tests, and all five typecheck projects passed. All 48 hosted checks passed. The original preservation gate passed before merge and against the actual squash, including the main-parent advance. No barrels or compatibility forwarding modules are added.

@coderabbitai

coderabbitai Bot commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 15 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: deed9770-742e-4997-a740-fef7024efdaf
Commits

Reviewing files that changed from the base of the PR and between 29b3e14 and 4b1574b.

Files selected for processing: 20
  • config/scripts/ci-shard-timings.json
  • mobile/src/components/markdown-href-routing.test.ts
  • mobile/src/components/markdown-href-routing.ts
  • src/renderer/src/components/native-chat/NativeChatMarkdownImage.tsx
  • src/renderer/src/components/native-chat/NativeChatToolFileTarget.test.tsx
  • src/renderer/src/components/native-chat/NativeChatToolFileTarget.tsx
  • src/renderer/src/components/native-chat/native-chat-file-link.test.ts
  • src/renderer/src/components/native-chat/native-chat-file-link.ts
  • src/renderer/src/components/native-chat/native-chat-link-target-actions.ts
  • src/renderer/src/components/native-chat/native-chat-markdown-file-destinations.ts
  • src/renderer/src/components/native-chat/use-native-chat-context-menu.targets.test.tsx
  • src/renderer/src/components/native-chat/use-native-chat-file-link-click.ts
  • src/renderer/src/components/native-chat/use-native-chat-link-actions.ts
  • src/renderer/src/components/sidebar/CommentMarkdown.file-link-cases.test.tsx
  • src/renderer/src/components/sidebar/CommentMarkdown.link-click.test.tsx
  • src/renderer/src/components/sidebar/comment-markdown-element-renderers.tsx
  • src/renderer/src/components/sidebar/comment-markdown-native-chat-file-links.ts
  • src/shared/native-chat/native-chat-href-routing.test.ts
  • src/shared/native-chat/native-chat-href-routing.ts
  • src/shared/terminal-markdown-file-links.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@greptile-apps

greptile-apps Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; no actionable issues were found.

Summary

Moves the shared href router and its test into src/shared/native-chat/.

  • Renderer, mobile, and terminal links use the router from its native-chat folder.

Reviews (1) · Last reviewed commit: "refactor: group native-chat href routing" · Reviewed by Greptile

@nwparker
nwparker merged commit 55f5328 into main Oct 29, 2026
48 checks passed
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