feat(editor): add persistent workspace tree and autosaving IDE editor#62
Open
Feyzanur25 wants to merge 1 commit intokentuckyfriedcode:mainfrom
Open
feat(editor): add persistent workspace tree and autosaving IDE editor#62Feyzanur25 wants to merge 1 commit intokentuckyfriedcode:mainfrom
Feyzanur25 wants to merge 1 commit intokentuckyfriedcode:mainfrom
Conversation
Collaborator
|
Hey @Feyzanur25 , Can you share the screenshots of the updated editor UI? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR upgrades the
/appIDE experience from a static mock into a functional workspace-driven editor.What changed
Technical depth
This change introduces a real client-side workspace state model inside the main IDE screen. I implemented recursive tree rendering, immutable updates for nested file structures, autosave timing, hydration-safe localStorage persistence, and editor synchronization between active file state and stored content. This makes the IDE screen interactive and significantly closer to a usable coding workspace rather than a static prototype.
Files changed
pages/app/index.jsxtests/components/ide-app.test.tsxTesting
Note: I could not fully execute the Jest suite in this environment because project dependencies are not installed (
node_modulesis missing), but the test coverage for the new behavior has been added.Hi maintainers, this PR is ready for review. GitHub Actions appears to be waiting for maintainer approval because it comes from a fork. Please approve the workflows when convenient.