mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-06-22 08:54:32 +08:00

* fix: dashboards list url query params isolation * feat: order query param old logs explorer isolation * feat: added extra checks in place * fix: refactor the dashboards list page for better performance * chore: add test cases for the dashboards list page * fix: added test cases for dashboards list page * fix: added code comments * fix: added empty state for dashboards and no search state
51 lines
986 B
TypeScript
51 lines
986 B
TypeScript
export const dashboardSuccessResponse = {
|
|
status: 'success',
|
|
data: [
|
|
{
|
|
id: 1,
|
|
uuid: '1',
|
|
created_at: '2022-11-16T13:29:47.064874419Z',
|
|
created_by: null,
|
|
updated_at: '2024-05-21T06:41:30.546630961Z',
|
|
updated_by: 'thor@avengers.io',
|
|
isLocked: 0,
|
|
data: {
|
|
collapsableRowsMigrated: true,
|
|
description: '',
|
|
name: '',
|
|
panelMap: {},
|
|
tags: ['linux'],
|
|
title: 'thor',
|
|
uploadedGrafana: false,
|
|
uuid: '',
|
|
version: '',
|
|
},
|
|
},
|
|
{
|
|
id: 2,
|
|
uuid: '2',
|
|
created_at: '2022-11-16T13:20:47.064874419Z',
|
|
created_by: null,
|
|
updated_at: '2024-05-21T06:42:30.546630961Z',
|
|
updated_by: 'captain-america@avengers.io',
|
|
isLocked: 0,
|
|
data: {
|
|
collapsableRowsMigrated: true,
|
|
description: '',
|
|
name: '',
|
|
panelMap: {},
|
|
tags: ['linux'],
|
|
title: 'captain america',
|
|
uploadedGrafana: false,
|
|
uuid: '',
|
|
version: '',
|
|
},
|
|
},
|
|
],
|
|
};
|
|
|
|
export const dashboardEmptyState = {
|
|
status: 'sucsess',
|
|
data: [],
|
|
};
|