bb-plane-fork/web/core/services
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
..
favorite [WEB-1907] feat: Favorites Enhancements (#5262) 2024-08-02 12:25:26 +05:30
inbox WEB-2381 Chore: intake refactor (#5752) 2024-10-22 12:09:03 +05:30
integrations fix: eslint config and errors 2024-06-13 21:17:06 +05:30
issue [WEB-2706] chore: Switch to wa-sqlite (#5859) 2024-10-24 15:35:02 +05:30
page [WEB-310] dev: private bucket implementation (#5793) 2024-10-11 20:13:38 +05:30
project fix: improvements for project types. (#5857) 2024-10-18 11:08:07 +05:30
ai.service.ts [WEB-2047] dev: pages side menu refactor (#5371) 2024-08-16 16:17:33 +05:30
analytics.service.ts fix: eslint config and errors 2024-06-13 21:17:06 +05:30
api.service.ts [WEB-1691] chore: refactor finish onboarding logic to avoid multiple redirections. (#4950) 2024-06-27 18:46:25 +05:30
api_token.service.ts fix: eslint config and errors 2024-06-13 21:17:06 +05:30
app_config.service.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
app_installation.service.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
auth.service.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
cycle.service.ts Chore: progress chart changes (#5707) 2024-10-01 18:59:49 +05:30
cycle_archive.service.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
dashboard.service.ts fix: eslint config and errors 2024-06-13 21:17:06 +05:30
file-upload.service.ts fix: credential sending for file uploads (#5869) 2024-10-21 17:46:46 +05:30
file.service.ts [WEB-310] dev: private bucket implementation (#5793) 2024-10-11 20:13:38 +05:30
instance.service.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
issue_filter.service.ts fix: eslint config and errors 2024-06-13 21:17:06 +05:30
module.service.ts cancel issues API call when new call are being made (#4785) 2024-06-12 18:27:33 +05:30
module_archive.service.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
user.service.ts [WEB-2357] fix: update and redefine user roles across the platform (#5466) 2024-09-11 17:10:15 +05:30
view.service.ts [WEB-1255] feat: filters for project views and changes required for advanced views (#4949) 2024-06-27 14:40:14 +05:30
webhook.service.ts fix: eslint config and errors 2024-06-13 21:17:06 +05:30
workspace-notification.service.ts [WEB-1764] chore: revamp workspace notifications (#4947) 2024-06-28 19:00:48 +05:30
workspace.service.ts [WEB-1255] feat: filters for project views and changes required for advanced views (#4949) 2024-06-27 14:40:14 +05:30