Skip to content

Refactor editor panel into focused modules - #1924

Merged
AmethystLiang merged 2 commits into
mainfrom
refactor-editor-panel
May 15, 2026
Merged

AmethystLiang merged 2 commits into
mainfrom
refactor-editor-panel

Conversation

@AmethystLiang

Copy link
Copy Markdown
Contributor

Summary

  • Split EditorPanel responsibilities into focused header, shell, content-state, shortcut, cleanup, save-request, rename, and render-model modules
  • Preserve runtime-aware file reads, git diffs, markdown preview behavior, local path guards, and untitled rename behavior after rebasing onto main
  • Extract file-load retry handling to keep content state under lint limits

Verification

  • pnpm typecheck
  • pnpm exec oxlint src/renderer/src/components/editor/useEditorPanelContentState.ts src/renderer/src/components/editor/useEditorPanelFileLoadRetry.ts
  • git diff --check $(git merge-base origin/main HEAD)

- WIP: uncommitted changes before rebase
@AmethystLiang
AmethystLiang merged commit 8cca091 into main May 15, 2026
3 checks passed
@AmethystLiang
AmethystLiang deleted the refactor-editor-panel branch May 15, 2026 16:34
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
* Squashed commits

- WIP: uncommitted changes before rebase

* fix: address review findings
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