* Add fallback when db initialization fails
* add checks for instance.exec
* chore: convert issue boolean fields to actual boolean value.
* change instance exec code
* sync issue to local db when inbox issue is accepted and draft issue is moved to project
* chore: added project and workspace keys
---------
Co-authored-by: rahulramesha <rahulramesham@gmail.com>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
* - Fix transaction within transaction issue
- Close DB handles on reload
- Fix GET_ISSUES tracking
* Cleanup stray code
* Fix lint error
* Possible fix for NoModificationAllowedError
* fix layout switching when filter is not yet completely fetched
* add layout in issue filter params
* Handle cases when DB intilization failed
* chore: permission layer and updated issues v1 query from workspace to project level
* - Switch to using wa-sqlite instead of sqlite-wasm
* Code cleanup and fix indexes
* Add missing files
* - Import only required functions from sentry
- Wait till all the tables are created
* Skip workspace sync if one is already in progress.
* Sync workspace without using transaction
* Minor cleanup
* Close DB connection before deleting files
Fix clear OPFS on safari
* Fix type issue
* Improve issue insert performance
* Refactor workspace sync
* Close the DB connection while switching workspaces
* Update web/core/local-db/worker/db.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Worker cleanup and error handling
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Update web/core/local-db/worker/db.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Update web/core/local-db/storage.sqlite.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Update web/core/local-db/worker/db.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Code cleanup
* Set default order by to created at and descending
* Wait for transactions to complete.
---------
Co-authored-by: rahulramesha <rahulramesham@gmail.com>
Co-authored-by: gurusainath <gurusainath007@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>