Skip to content

Conversation

olegshulyakov
Copy link
Owner

  • Create separate IndexedDB class for database operations (conversations, messages, presets)
  • Create separate LocalStorage class for config/theme operations
  • Update all imports and usages across components and contexts
  • Move migration logic to dedicated migration.ts file
  • Convert StorageUtils to static class methods for better organization

This refactoring improves code organization by separating concerns between IndexedDB and LocalStorage storage mechanisms.

…ge classes

- Create separate IndexedDB class for database operations (conversations, messages, presets)
- Create separate LocalStorage class for config/theme operations
- Update all imports and usages across components and contexts
- Move migration logic to dedicated migration.ts file
- Convert StorageUtils to static class methods for better organization

This refactoring improves code organization by separating concerns between
IndexedDB and LocalStorage storage mechanisms.
@olegshulyakov olegshulyakov merged commit 55a1e2d into main Sep 30, 2025
10 checks passed
@olegshulyakov olegshulyakov deleted the refactor/database-split branch September 30, 2025 15:52
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.

1 participant