[WEB-2001] feat: Fix local cache issues r4 (#5726)
* - Handle single quotes in load workspace queries - Add IS null where condition in query utils * Fix description_html being lost * Change secondary order to sequence_id * Fix update persistence layer * Add instrumentation * - Fallback to server incase of any error
This commit is contained in:
parent
927d265209
commit
33f6c1fe9e
4 changed files with 59 additions and 9 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import * as Sentry from "@sentry/nextjs";
|
||||
// types
|
||||
import type {
|
||||
IIssueDisplayProperties,
|
||||
|
|
@ -69,7 +70,10 @@ export class IssueService extends APIService {
|
|||
}
|
||||
|
||||
async getIssues(workspaceSlug: string, projectId: string, queries?: any, config = {}): Promise<TIssuesResponse> {
|
||||
const response = await persistence.getIssues(workspaceSlug, projectId, queries, config);
|
||||
const response = await Sentry.startSpan({ name: "GET_ISSUES" }, async () => {
|
||||
const res = await persistence.getIssues(workspaceSlug, projectId, queries, config);
|
||||
return res;
|
||||
});
|
||||
return response as TIssuesResponse;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue