Skip to content

fix(cortexide): correct sidebar React bundle import paths for dev launch#77

Merged
Pterjudin merged 1 commit into
mainfrom
fix/sidebar-react-import-paths
Jul 23, 2026
Merged

fix(cortexide): correct sidebar React bundle import paths for dev launch#77
Pterjudin merged 1 commit into
mainfrom
fix/sidebar-react-import-paths

Conversation

@Pterjudin

Copy link
Copy Markdown

Summary

  • Fix relative import paths in extracted sidebar React modules (chrome/, landing/, composer/, tools/) that used one extra ../ segment after Phase 1 modularization
  • tsup bundles all sidebar code into sidebar-tsx/index.js, so imports must be relative to that entry depth — the bad paths caused Failed to fetch dynamically imported module: workbench.desktop.main.js in developer mode

Test plan

  • npm run buildreact
  • ./scripts/code.sh — workbench loads, extension host starts
  • npm run test-phase0-qa — 92/92 passing

Made with Cursor

Extracted sidebar modules used one extra ../ segment, which broke tsup output
and caused workbench.desktop.main.js to fail loading in developer mode.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 23, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@Pterjudin
Pterjudin merged commit 7fc10fc into main Jul 23, 2026
14 of 26 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