Skip to content

fix: resolve docs, plugin loading, and localized layout issues#23603

Open
LakshmanTurlapati wants to merge 1 commit intoanomalyco:devfrom
LakshmanTurlapati:dev-pr
Open

fix: resolve docs, plugin loading, and localized layout issues#23603
LakshmanTurlapati wants to merge 1 commit intoanomalyco:devfrom
LakshmanTurlapati:dev-pr

Conversation

@LakshmanTurlapati
Copy link
Copy Markdown

@LakshmanTurlapati LakshmanTurlapati commented Apr 20, 2026

Issue for this PR

Closes #23566
Closes #23535
Closes #23547
Closes #23553
Closes #4208

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

This keeps the scope limited to the five linked issues.

It fixes the public docs and landing-page copy so they no longer imply LSP is always enabled by default, and clarifies that config.json, opencode.json, and opencode.jsonc are optional config files users create when they need them.

It also fixes auto-discovered local plugins loaded through symlinked plugin directories by preserving the discovered path and making sure the plugin can still resolve @opencode-ai/plugin from the config-side dependency location.

For the UI issues, it lets the New workspace sidebar button wrap instead of overflowing in narrower localized sidebars, and removes the fixed-width review action button that caused the Turkish Expand all label to overflow.

I also updated one app test to avoid the Bun-incompatible fake-timer path so the local app test suite runs cleanly in this environment.

How did you verify your code works?

I verified the changed areas with targeted package-level checks:

  • cd packages/app && bun typecheck
  • cd packages/app && bun test:unit
  • cd packages/ui && bun typecheck
  • cd packages/opencode && bun test test/util/glob.test.ts test/plugin/loader-shared.test.ts --timeout 30000
  • cd packages/opencode && bun typecheck
  • cd packages/web && bunx prettier --check src/content/docs/lsp.mdx src/content/docs/providers.mdx src/content/i18n/en.json

I also verified the PR branch diff only contains the expected milestone files.

One local environment blocker remains outside the source changes:

  • cd packages/web && bunx astro check
  • This still fails before project analysis because the locally installed Rollup native binding in node_modules cannot be loaded on this machine.

Screenshots / recordings

No screenshots included.

The UI changes are small layout containment fixes in the sidebar and review panel.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels Apr 20, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant