Skip to content
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

feat(web-console): Add IndexedDB wrapper for storage #194

Merged
merged 15 commits into from
Sep 11, 2023

Conversation

insmac
Copy link
Contributor

@insmac insmac commented Sep 7, 2023

This PR cherry-picks the logic from multi-buffer editor PR to introduce the IndexedDB for data persistence in Web Console, thus removing the legacy local storage implementation.

There are no immediate changes for the user yet, although the logic now fully supports multi buffers (it's just working in a single buffer UI now).

Side changes:

  • Clean up / refactor editor code, moving the language and shortcut definitions as well as even bus wirings into their respective files.

@insmac insmac marked this pull request as ready for review September 11, 2023 09:20
@insmac insmac marked this pull request as draft September 11, 2023 11:38
@insmac
Copy link
Contributor Author

insmac commented Sep 11, 2023

Tested for the automated migration from the localstorage content - it worked fine on a few different browsers.

@insmac insmac marked this pull request as ready for review September 11, 2023 12:13
@insmac insmac merged commit 5a29c2c into main Sep 11, 2023
2 checks passed
@insmac insmac deleted the web-console/indexed-db branch September 11, 2023 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

None yet

2 participants