grafana/docs/sources/panels-visualizations/visualizations
Kyle Cunningham 80e7f54166
Table Panel: Refactor Cell Options to Allow for Options per Cell Type (#59363)
* Update table data structure schema.

* Update table panel configuration options for new structure

* Fix TS errors from refactor

* Separate background and gauge display modes

* Remove the now used Bar Gauge display from the mud

* Fix types up

* Reorganize data structures

* Fix type issues.

* Start stubbing necessary code.

* Continue implementing option refactor

* Change category for cell type selection.

* Consolidate cell options

* Fix various typing issues

* Clean up dead code

* Stub handling display mode changes

* Make subOption editor dynamic

* Setup interface for sub-option editor props

* Remove unused imports

* Remove console.log call

* Persist display mode changes, stub sub options change, update comments.

* Make sure updates from cells are persisted

* Persist sub-option changes

* Update BarGaugeCell to take into account new settings.

* Add deprecated field back

* Remove unecessary options in configuration

* Update default cell to accept new settings

* Make sure color text display works

* Add deprecated property notice

* Use constant as opposed to string

* Make sure we name globally namespaced things uniquely

* Update to use unique name

* Use union type with discriminator.

* Simplify types and operation

* Update type definitons

* Update types

* Update property names in cells

* Remove React.FC usage

* Update option editor signature

* Update options structure

* Change variable name

* Fix "Color Text" display

* Remove debug statement

* Make sure we remain backwards compatible with display mode.

* Add migration for configuration.

* Export BarGaugeDisplayMode from grafana-ui

* Update import

* Fix bar gauge and dashboard migrator tests

* Fix potential undefined references causing test failures

* Fix another potential reference error in DefaultCell

* Try to fix breaking change detection.

* Cache setting changes

* Make sure we return with onChange invocation

* Fixed migrating overrides

* Fix a number of review comments

* Simplify option editors

* Fix unused imports

* Fill out comments for types

* Actually use defaultPanelConfig for editor default

* Move TableCellEditorProps alongside TableCellOptionEditor

* Update docs for table panel

* Also make sure we remove TableCellEditorProps from model file

* Stub migration tests

* Add tests for default config migration

* Add basic overrides test

* Flesh out tests a bit more

* Add inspect to same category as cell editor

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-01-12 18:42:57 +07:00
..
alert-list Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
annotations Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
bar-chart Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
bar-gauge Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
candlestick Candlestick: Fix showing hidden legend values (#60971) 2023-01-09 13:28:10 -06:00
canvas Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
configure-legend Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
dashboard-list Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
flame-graph Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
gauge Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
geomap Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
heatmap Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
histogram Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
logs Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
news Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
node-graph Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
pie-chart Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
stat Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
state-timeline Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
status-history Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
table Table Panel: Refactor Cell Options to Allow for Options per Cell Type (#59363) 2023-01-12 18:42:57 +07:00
text Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
time-series Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
traces docs: corrects broken links (#60594) 2022-12-21 08:44:23 +00:00
_index.md Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00