-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WEB-2706] chore: Switch to wa-sqlite #5859
Merged
Merged
Changes from 13 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
7cea245
fix layout switching when filter is not yet completely fetched
rahulramesha 0ca5509
add layout in issue filter params
rahulramesha e1746ef
Merge branch 'preview' of github.com:makeplane/plane into fix-local-c…
rahulramesha 84956cd
Handle cases when DB intilization failed
SatishGandham aeca6f7
chore: permission layer and updated issues v1 query from workspace to…
gurusainath 204ce3a
Merge branch 'fix-local-cache-issues' of gurusainath:makeplane/plane …
gurusainath 28acf5d
- Switch to using wa-sqlite instead of sqlite-wasm
SatishGandham 1b965fc
Merge branch 'fix-local-cache-issues' into use-wa-sqlite
SatishGandham 116b508
Code cleanup and fix indexes
SatishGandham d821786
Add missing files
SatishGandham 05092cc
- Import only required functions from sentry
SatishGandham 94de2ed
Skip workspace sync if one is already in progress.
SatishGandham 33cadf0
Merge branch 'preview' of https://github.com/makeplane/plane into use…
SatishGandham 7de3066
Sync workspace without using transaction
SatishGandham 6f88af7
Minor cleanup
SatishGandham 5f73c2d
Close DB connection before deleting files
SatishGandham 6c9e4cb
Fix type issue
SatishGandham 99e396b
Improve issue insert performance
SatishGandham af09cd6
Refactor workspace sync
SatishGandham 75a0a28
Close the DB connection while switching workspaces
SatishGandham 9c04d9f
Merge branch 'preview' into use-wa-sqlite
SatishGandham 3ef93a9
Update web/core/local-db/worker/db.ts
SatishGandham 7401540
Worker cleanup and error handling
SatishGandham f4bc970
Update web/core/local-db/worker/db.ts
SatishGandham ed384ea
Update web/core/local-db/storage.sqlite.ts
SatishGandham faba3e2
Update web/core/local-db/worker/db.ts
SatishGandham b67c1de
Code cleanup
SatishGandham e1a3fff
Set default order by to created at and descending
SatishGandham 1a692b9
Wait for transactions to complete.
SatishGandham File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Consider using a more specific type for "layout"
While the addition of "layout" to TIssueParams is consistent with its presence in IIssueDisplayFilterOptions, consider using a more specific type instead of a string literal. This could improve type safety and maintainability.
Consider the following changes:
This change would ensure that only valid layout types are used and maintain consistency with the existing TIssueLayouts type.
Also applies to: 107-109