@gravitee/gamma-lib-observability 3.1.1-feat-obs-86-datatable-widget.e7dad44 → 3.1.1-feat-obs-86-datatable-widget.06c72c3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/USAGE_GUIDE.md +3 -2
- package/dist/dashboards/DashboardView.d.ts.map +1 -1
- package/dist/dashboards/editor/convert-widget-type.d.ts +0 -4
- package/dist/dashboards/editor/convert-widget-type.d.ts.map +1 -1
- package/dist/dashboards/editor/dashboard-editor-state.d.ts.map +1 -1
- package/dist/index.js +1040 -1057
- package/package.json +1 -1
- package/dist/dashboards/widget-layout-floor.d.ts +0 -11
- package/dist/dashboards/widget-layout-floor.d.ts.map +0 -1
package/USAGE_GUIDE.md
CHANGED
|
@@ -543,8 +543,9 @@ overridden). When embedding widgets yourself:
|
|
|
543
543
|
Widgets rendered without an `interaction` upstream show no row affordance at all rather than a dead
|
|
544
544
|
one. The built-in dashboard page offers **View logs** / **View traces** only for a sibling screen the
|
|
545
545
|
host enabled in `defineObservabilityFeatures` (and the reader may read), and **View traces** only on
|
|
546
|
-
the `API` dimension, since the tracing screen is per API (`tracing/:apiId`).
|
|
547
|
-
|
|
546
|
+
the `API` dimension, since the tracing screen is per API (`tracing/:apiId`). A layout may declare `minCols` / `minRows`, which `DashboardView` forwards to the grid; no
|
|
547
|
+
widget type sets them by default. A table that gets too small degrades in steps instead: compact
|
|
548
|
+
numbers, collapsed columns, a top list, then an explicit "Enlarge the widget" state.
|
|
548
549
|
|
|
549
550
|
---
|
|
550
551
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardView.d.ts","sourceRoot":"","sources":["../../src/dashboards/DashboardView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAwB,MAAM,0CAA0C,CAAC;AAIrG,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,M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ACT,cAAwC,EACxC,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,WAAW,GACZ,EAAE,kBAAkB,2CAoFpB"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
import { Widget, WidgetType } from '../../types/domain';
|
|
2
|
-
/**
|
|
3
|
-
* Converts a widget to another visualization type, preserving identity,
|
|
4
|
-
* layout, title, description, filters and, when expressible, the query.
|
|
5
|
-
*/
|
|
6
2
|
export declare function convertWidgetType(widget: Widget, type: WidgetType): Widget;
|
|
7
3
|
//# sourceMappingURL=convert-widget-type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-widget-type.d.ts","sourceRoot":"","sources":["../../../src/dashboards/editor/convert-widget-type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,MAAM,
|
|
1
|
+
{"version":3,"file":"convert-widget-type.d.ts","sourceRoot":"","sources":["../../../src/dashboards/editor/convert-widget-type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,MAAM,EAAgB,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAkDxF,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,GAAG,MAAM,CA6E1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-editor-state.d.ts","sourceRoot":"","sources":["../../../src/dashboards/editor/dashboard-editor-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"dashboard-editor-state.d.ts","sourceRoot":"","sources":["../../../src/dashboards/editor/dashboard-editor-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,oBAAoB,CA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