Skip to content

Conversation

@dinoksb
Copy link

@dinoksb dinoksb commented Dec 9, 2025

  • Ensure the editor re-renders correctly when the document's filePath or editable state changes

sb.kim added 3 commits December 9, 2025 17:49
…and editable

- Ensure the editor re-renders correctly when the document's filePath or editable state changes
…value

- Ensure the editor re-renders correctly when the document's value changes, in addition to filePath and editable state
- Introduce a check to detect changes in the file path before applying the editor state
- Ensure the editor state is only updated when the file path has changed, improving performance and reducing unnecessary renders
@dinoksb dinoksb requested a review from rareboe December 9, 2025 09:19
@dinoksb dinoksb self-assigned this Dec 9, 2025
sb.kim added 3 commits December 10, 2025 16:43
…ling

- Remove unnecessary comments and consolidate type definitions for clarity.
- Update transaction handling to use a more consistent dispatch method.
- Simplify document update logic and state management, ensuring proper handling of editor states and selections.
- Enhance error handling during document and theme updates to improve robustness.
- Remove outdated and redundant messages related to view availability during layout and language loading.
- Streamline the error messages to enhance clarity and maintainability.
- Simplify the logic for checking view availability and update the method of handling editor view references.
- Consolidate the editor view recreation process to enhance clarity and maintainability.
- Streamline the document update logic by removing unnecessary checks and ensuring proper state restoration.
- Enhance error handling during view recreation to provide fallback mechanisms when needed.
Copy link

@rareboe rareboe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dinoksb dinoksb merged commit 730ac86 into planetarium:develop Dec 10, 2025
3 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.

2 participants