Skip to content

feat: refactor monaco initialization - #1012

Merged
Kevin101Zhang merged 5 commits into
mainfrom
1000-add-near-lakeprimitives-types-to-editor
Aug 13, 2024
Merged

Kevin101Zhang merged 5 commits into
mainfrom
1000-add-near-lakeprimitives-types-to-editor

Conversation

@Kevin101Zhang

@Kevin101Zhang Kevin101Zhang commented Aug 12, 2024 •

Copy link
Copy Markdown
Contributor

all removed files:

DiffEditorComponent.js
MonacoEditorComponent.js
resize.js
block_details.js 

refactored ResizableLayout to house the functionality in a reusable dp.
Results are some absurdly fast transitions between tabs.

New Resizable Editor File
Encompasses logic from MonacoEditorComponent,DiffEditorComponent, ResizableLayout, ResizeableLayoutEditor

Upon refactoring resizable (resize.js), and block_details.js were removed as there are no real functionality used around them.

@Kevin101Zhang Kevin101Zhang linked an issue Aug 12, 2024 that may be closed by this pull request
@Kevin101Zhang Kevin101Zhang changed the title chore: remove resize and deadcode, simplified component feat: add monaco types to editor Aug 12, 2024
@Kevin101Zhang Kevin101Zhang changed the title feat: add monaco types to editor feat: refactor monaco initialization Aug 12, 2024
@Kevin101Zhang
Kevin101Zhang marked this pull request as ready for review August 12, 2024 21:39
@Kevin101Zhang
Kevin101Zhang requested a review from a team August 12, 2024 21:39
@Kevin101Zhang

Copy link
Copy Markdown
Contributor Author

File has a strong amount of refactoring. Ill keep the transition to TS in a separate PR.

@Kevin101Zhang Kevin101Zhang self-assigned this Aug 12, 2024
@Kevin101Zhang Kevin101Zhang linked an issue Aug 12, 2024 that may be closed by this pull request
@Kevin101Zhang
Kevin101Zhang merged commit 8dd78c7 into main Aug 13, 2024
@Kevin101Zhang
Kevin101Zhang deleted the 1000-add-near-lakeprimitives-types-to-editor branch August 13, 2024 18:21
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.

Monaco Editor errors/hints position are behind the Editor Add @near-lake/primitives types to Editor

1 participant