Skip to content

refactor: Extract helper functions from Editor component into separate files #229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
coderabbitai bot opened this issue Apr 10, 2025 · 0 comments
Open
Assignees

Comments

@coderabbitai
Copy link

coderabbitai bot commented Apr 10, 2025

Description

The Editor component in src/components/Editor/index.tsx has grown too large and is exceeding ESLint's line limit. This issue tracks the effort to:

  1. Move individual utility functions (like getSelectedLogEventNum, handleCopyLogEventAction, handleWordWrapAction, etc.) into separate files
  2. Extract helper components and hooks from the <Editor/> component
  3. Reorganize the code to improve maintainability and readability

Implementation Notes

Related PRs

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

No branches or pull requests

1 participant