bb-plane-fork/web/core/store/issue
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
..
archived [WEB-2706] chore: Switch to wa-sqlite (#5859) 2024-10-24 15:35:02 +05:30
cycle [WEB-2706] chore: Switch to wa-sqlite (#5859) 2024-10-24 15:35:02 +05:30
draft [WEB-2706] chore: Switch to wa-sqlite (#5859) 2024-10-24 15:35:02 +05:30
helpers [WEB-2706] chore: Switch to wa-sqlite (#5859) 2024-10-24 15:35:02 +05:30
issue-details [WEB-2479] fix: merge default and archived issue details endpoint. (#5882) 2024-10-24 14:40:50 +05:30
module [WEB-2706] chore: Switch to wa-sqlite (#5859) 2024-10-24 15:35:02 +05:30
profile [WEB-2213] fix: group by persistence for list view (#5590) 2024-10-03 17:29:50 +05:30
project [WEB-2706] chore: Switch to wa-sqlite (#5859) 2024-10-24 15:35:02 +05:30
project-views [WEB-2706] chore: Switch to wa-sqlite (#5859) 2024-10-24 15:35:02 +05:30
workspace [WEB-2213] fix: group by persistence for list view (#5590) 2024-10-03 17:29:50 +05:30
workspace-draft [WEB-2625] chore: workspace favorite and draft improvement (#5855) 2024-10-17 17:02:25 +05:30
issue.store.ts [WEB-2577] improvement: use common create/update issue modal for accepting intake issues for consistency (#5830) 2024-10-15 13:11:14 +05:30
issue_calendar_view.store.ts chore: linting warning resolved 2024-09-10 17:29:19 +05:30
issue_gantt_view.store.ts Refactor folder structure (#4759) 2024-06-11 14:39:52 +05:30
issue_kanban_view.store.ts chore: create extended root store (#4796) 2024-06-13 13:27:13 +05:30
root.store.ts build-error: removed store prop from calendar store (#5801) 2024-10-11 15:53:58 +05:30