bb-plane-fork/web
Satish Gandham 9fb353ef54
[WEB-2706] chore: Switch to wa-sqlite (#5859)
* 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>
2024-10-24 15:35:02 +05:30
..
app [WEB-2479] fix: merge default and archived issue details endpoint. (#5882) 2024-10-24 14:40:50 +05:30
ce [PE-68] fix: markdown transformation of mention and custom image components (#5864) 2024-10-22 14:29:50 +05:30
core [WEB-2706] chore: Switch to wa-sqlite (#5859) 2024-10-24 15:35:02 +05:30
ee WEB-2381 Chore: intake refactor (#5752) 2024-10-22 12:09:03 +05:30
helpers fix: validation of public and private assets (#5878) 2024-10-21 15:59:44 +05:30
public [WEB-2388] fix: workspace draft issues (#5800) 2024-10-11 15:23:32 +05:30
styles chore: calendar current date indicator improvement (#5880) 2024-10-24 14:42:44 +05:30
.env.example [WEB-1116] feat: pages realtime collaboration (#5493) 2024-09-02 17:54:12 +05:30
.eslintignore fix: eslint config and errors 2024-06-13 21:17:06 +05:30
.eslintrc.js fix: linting issues and rule changes (#5681) 2024-09-23 17:10:38 +05:30
.gitignore [WEB-1669] chore: enable sign out and sentry on exception error page. (#4884) 2024-06-20 16:50:05 +05:30
.prettierignore chore: format all files in monorepo (#3054) 2023-12-10 15:50:45 +05:30
.prettierrc fix: Implementing mobx, refactoring service layer and rewriting components (#2441) 2023-10-15 23:50:12 +05:30
Dockerfile.dev fix: environment file missing for space (#3105) 2023-12-14 16:18:02 +05:30
Dockerfile.web [WEB-1116] feat: pages realtime collaboration (#5493) 2024-09-02 17:54:12 +05:30
google.d.ts New Directory Setup (#2065) 2023-09-03 18:50:30 +05:30
instrumentation.ts chore: app dir headers re-implementation (#4751) 2024-06-11 02:23:19 +05:30
manifest.json New Directory Setup (#2065) 2023-09-03 18:50:30 +05:30
next-env.d.ts fix: typescript upgrade build errors 2024-09-10 21:31:32 +05:30
next.config.js [WEB-310] dev: private bucket implementation (#5793) 2024-10-11 20:13:38 +05:30
package.json [WEB-2706] chore: Switch to wa-sqlite (#5859) 2024-10-24 15:35:02 +05:30
postcss.config.js feat: Editor Core Packaging and Restructuring (#2358) 2023-10-13 12:05:49 +05:30
sentry.client.config.ts [WEB-2706] chore: Switch to wa-sqlite (#5859) 2024-10-24 15:35:02 +05:30
sentry.edge.config.ts [WEB-2706] chore: Switch to wa-sqlite (#5859) 2024-10-24 15:35:02 +05:30
sentry.properties New Directory Setup (#2065) 2023-09-03 18:50:30 +05:30
sentry.server.config.ts fix: sentry config update for space app 2024-05-27 15:21:41 +05:30
tailwind.config.js feat: app dir migration (#4743) 2024-06-10 12:37:38 +05:30
tsconfig.json fix: linting issues and rule changes (#5681) 2024-09-23 17:10:38 +05:30
use-font-face-observer.d.ts fix: linting issues and rule changes (#5681) 2024-09-23 17:10:38 +05:30