26d26f67d4
TableNG: Integrate hover and selection, DataLinkCell cleanup ( #108353 )
...
* Table: Style cleanups (minus DataLinkCell word wrap)
* kill JSONCell in favor of a custom display method and style overrides at TableNG
* remove unused type for JSONCellProps
* add increased specificity to CSS selector
* remove inherit and rely on undefined
* fix tests
* shrink and optimize DataLinkCell
* maybe
* format files
* better
* classname
* add Pills and DataLink cells to kitchen sink
* add comment about align + justify, simplify datalinks targeting
* simplify?
* poke
* tweak
* revert
* fix one more z-index conflict
* clean up alignment tests
* a couple more tests
* make TableNG e2e tests more resilient to changes to the gdev dashboard
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2025-07-23 19:39:25 +00:00
7626508842
Table: Update e2e tests to support tableNextGen ( #108184 )
...
* Table: Force tableNextGen to be true for Playwright and false for Cypress
* RDG query for body text contains the headers too
* add some simple tests for row height
* dial in the row height test a little more
* more updates
* filters, pagination
* try this on CI
* more updates to the tests
* more tests
* wait for some sort stuff to flush
* replace class selectors for rdg
* target the click to the anchor in the header
2025-07-18 12:27:04 -04:00
6c907fd955
Table: Ensure that SparklineCells honor configured mins and maxes ( #107991 )
...
* Table: ensure that FieldType.frame fields have mins and maxes applied
* update Sparklines gdev dashboard
* update gdev dashboards for table
* jsonnet spacing
* fix gdev dashboard ids and versions
2025-07-14 21:41:32 +00:00
7e192e319c
Devenv: Avoid explicit uid for testdata in dashboards ( #104338 )
2025-04-23 12:46:34 +03:00
03d6d8f854
Table: Move library to react-data-grid ( #102482 )
...
* Changes galore
* Freedom 🗽
* Add feature flag
* Latest changes
* Basic auto cell type
* Partially working bar-gauge
* Brokenish but whatevs
* Include the toggle doc
* TableNG: Context menu (#94094 )
* feat(table-ng): context menu init commit
* betterer
* feat(table-ng): re-use contextmenu component
* fix(table-ng): close context menu issue
* TableNG: Sorting columns (#94200 )
feat(table-ng): sorting column
* fix feature toggle conflict
* TableNG: Sorting with custom table header (#95351 )
* TableNG: Header Toggle (#95310 )
* TableNG: Multi-column sorting (#95395 )
feat(table-ng): multi-sorting
* TableNG: Column width options (#95426 )
* feat(table-ng): column width
* mouse handle drag event
* move resizing task
* TableNG: Fix icon sorting direction (#95653 )
fix(table-ng): sorting icon direction
* TableNG: Show table footer (#95313 )
* TableNG: Show table footer
* Revert betterer
* Update betterer
* Incorporate reducer calculations into footer
* Update imports in FooterRow
* Use getFooterValue for summary cell render
* TableNG: Min column width (#95657 )
* feat(table-ng): min column width
* feat(table-ng): set a min width constant
* TableNG: Column alignment (#95679 )
* feat(table-ng): column alignment
* cleaning
* feat(table-ng): header cell alignment
* optimizations
* feat(table-ng): footer cell alignment
* calc counter
* TableNG: use compiled fn for columns -> records conversion (#95914 )
* use compiled fn for columns -> records conversion
* TableNG: Move key rev and fix width overrides (#95921 )
* meh
* add index to records
---------
Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com>
* TableNG: Sparkline Cell Parity (#95690 )
* sparkline value
* todo
* Remove unsued shallowField
* Pass justifyContent to sparkline
---------
Co-authored-by: drew08t <drew08@gmail.com>
* TableNG: BarGauge cell updates (#95521 )
* fix bargauge cell
* merge and fix props
* cleanup imports
* TableNG: Text wrapping (#96041 )
* feat(table-ng): fix long text cell width
* feat(table-ng): fix long text cell width 2
* comment out column rowHeight
* fix long text column width
* fix types
* fix types
* naming
* Check current header cell ref is defined for key
* cleaning
* make table re-render when data changed
* eslint
---------
Co-authored-by: drew08t <drew08@gmail.com>
* TableNG: Text overflow (#96641 )
* feat(table-ng): text overflow
* cleaning
* TableNG: Fix footer for count (#96802 )
* TableNG: Table column filter (#96767 )
* feat(table-ng): add filter form
---------
Co-authored-by: drew08t <drew08@gmail.com>
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
* TableNG: On column resize trigger (#97004 )
chore(table-ng): trigger on resize on text wrap only
* TableNG: Improve sort performance (#97767 )
* TableNG: Improve sort performance
* clean a bit
* a bit more
* Remove const that was breaking sort
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
* TableNG: Fix sorting (#98141 )
fix(table-ng): sorting
* TableNG: fix multi sorting (#98668 )
fix(table-ng): multi sorting
* TableNG: Column re-size handler (#98901 )
* feat(table-ng): column re-size handler
* TableNG: Fix footer calcs with no reducer (#99347 )
* TableNG: Update renderHeaderCell with filter dep (#99483 )
* TableNG: Updated styles for demo (#99530 )
* style proposal: table ng
* chore: revert gauge cell custom stuff
* TableNG: Cross-filter (#99459 )
* feat(table-ng): cross-filter
* fix filter update issue
* fix filter reset issue
* Fix spacebar for filter input
---------
Co-authored-by: drew08t <drew08@gmail.com>
* TableNG: Filter perfomance optimization (#99620 )
fix(table-ng): filter performance optimization
* TableNG: Refine styling closer to original table (#99625 )
* TableNG: Support groupToNestedTableTransform (#97134 )
* TableNG: Support groupToNestedTableTransform
* Fix merge issues
* Force refresh for now
* Remove log
* Fix some conflicts
* Fix more conflicts
* Help avoid clash with compiled frameToRecords keys
* Make subtable height unconstrained
* Support show field names in nested tables toggle
* TableNG: Fix footer + some other misc updates (#99846 )
fix: footer fixes huzzah
* TableNG: Styling - Update styling for cells (#99851 )
* fix(table-ng): bargauge inner width issue
* TableNG: Move header cell component (#99844 )
* fix(table-ng): move header cell into separate file
* Fix sub table
---------
Co-authored-by: drew08t <drew08@gmail.com>
* TableNG: Auto cell feature parity (#100095 )
* feat(table-ng): auto cell feature parity
* TableNG: JSON cell implementation + hover fixes (#100152 )
* feat: tableNG json cell + auto fixes
* chore: add comment
* add justify content to json cell
---------
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com>
* TableNG: Fix cell hover issue (#100207 )
* fix(table-ng): cell hover issue
* better commenting
* TableNG: Text color cell (#100120 )
feat(table-ng): text color cell feature parity
* TableNG: Image cell implementation (#100132 )
* feat: tableNG image cell
* fix: incorporate justify-content correctly
* chore: pass down cell options from fieldConfig
---------
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com>
* TableNG: Cell height performance improvement (#100544 )
* chore: perf improvement
* chore: minor fix
* Update packages/grafana-ui/src/components/Table/TableNG/TableNG.tsx
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
* chore: fix betterer
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
* TableNG: Add pagination (#100165 )
* TableNG: Add pagination
* TableNG: Get collapsed icon state correct + update `rowHeight` (#100556 )
* fix: get collapsed icon state correct + update condition for calculating row height
* chore: some cleanup!
* chore: naming to avoid confusion with local state name
* TableNG: Add support for `DataLinksCell` (#100459 )
* TableNG: Improve sub table styling (#100772 )
* Move files temporarily to fix conflicts
* Fix feature flag conflicts
* Move files back to cell dir
* TableNG: Update inner height of bar gauge cell (#100996 )
* fix: change inner height of bar gauge cell
* chore: move function to utils, cleanup
* Remove testing line
* TableNG: Add bottom border to column headers + fix footer styling (#101016 )
* feat: add bottom border to column headers for table parity
* feat: summary row style fix
* chore: remove redundant style
---------
Co-authored-by: drew08t <drew08@gmail.com>
* TableNG: Add support for `ActionsCell` (#101024 )
* TableNG: Cell hover styles + header resize handler indicator (#100770 )
* fix: tableNG styles
* chore: clean up comments
* chore: remove column header stuffz for now
* fix: refactor to transform/translate + resize handler hover styling
* chore: re-think approach - change a lot of things
* chore: most recent iteration
* chore: wait i like this better
* chore: hoist into colors function + clean it up!
* moar better
* chore: define constants for clarity
* chore: calculate rbga to rgb values given background color
---------
Co-authored-by: drew08t <drew08@gmail.com>
* TableNG: Fix scoll hover jumpy behavior (#101085 )
* fix(table-ng): hover scroll jumping
* Account for panel padding during pagination
---------
Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com>
Co-authored-by: drew08t <drew08@gmail.com>
* TableNG: Fix imports (#101059 )
* fix(table-ng): clean imports
Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com>
* TableNG: Sorted rows dependent upon filtered rows (#100985 )
TableNG: Improve multi-sort performance
* TableNG: Fix sparkline width (#101164 )
fix(table-ng): sparkline width
* TableNG: Type TableNG (#101257 )
* feat: type tableNG
* chore: push betterer
* chore: fix linter + why can't I have inline if statements... GRR!
* fix: linter - props name got changed at some point...
* feedback: data links prop consistency + json cell robustness
* chore: remove unused rowIndex prop
---------
Co-authored-by: drew08t <drew08@gmail.com>
* TableNG: Add support for datalinks (#100769 )
Co-authored-by: drew08t <drew08@gmail.com>
* Chore: Remove unused import (#102064 )
remove unused import
* Update betterer
* BarGauge: Remove z-index (#102220 )
fix(bargauge): remove z-index
* TableNG: Refactor + testing (#102045 )
* feat: type tableNG
* chore: push betterer
* chore: fix linter + why can't I have inline if statements... GRR!
* fix: linter - props name got changed at some point...
* feedback: data links prop consistency + json cell robustness
* feat: refactor + tests
* chore: fix import lint errors
* betterer
* chore: fix image cell
* chore: revert width function
* add test
* betterer
* chore: fix sorting + add tests
* chore: pr feedback
---------
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com>
Co-authored-by: drew08t <drew08@gmail.com>
* TableNG: Fix table suggestion (#102497 )
fix: defensively guard against missing cellOptions
* TableNG: Footer fields calc fix (#102487 )
* fix: respect footer fields calc selection
* chore: add test
* TableNG: Image cell hover fix (#102489 )
fix: image cell hover
* TableNG: Persist scrollbars during re render (#102559 )
* TableNG: Persist scrollbars during re render
* Update improved betterer
* TableNG: Fix column width override (#102474 )
* fix(table): column width override
* TableNG: Add support for crosshair share (#102410 )
* TableNG: Add support for crosshair share
* Add tests
* TableNG: Fix table ng tests (#102645 )
fix: cellType causing tests to fail
* Remove empty file
* TableNG: Update util tests (#102646 )
* TableNG: Add column type icon (#102686 )
* chore(table-ng): add column type icon
* chore(table-ng): clean styling
* Use core internationalization outside grafana ui
* Import popover directly
* Add count to grafana-ui locales
* TableNG: Change feature flag to tableNextGen (#102814 )
Change feature flag to tableNextGen
* TableNG: Add row colors (#102706 )
* chore(table-ng): add row colors
* clean up
* fix params
* fix(table-ng): cell color background indexing
---------
Co-authored-by: Kyle Cunningham <kyle@codeincarnate.com>
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com>
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com>
Co-authored-by: Alex Spencer <52186778+alexjonspencer1@users.noreply.github.com>
2025-03-25 20:57:57 -07:00
d1dee968c3
Schema V2: Adjust quick_ranges in time settings and remove time_options ( #100135 )
...
* adjut quickRanges type in v2
* clean up unused time_options property
* remove deprecated time_options property on time picker
* add schema migration for time_options
* adjust test
2025-02-12 19:23:09 +00:00
239bda207e
SparklineCell: Display absolute value ( #76125 )
2023-10-13 11:00:42 +03:00
74d453f056
DashboardSchema: Remove old unused legacy props style and timepicker.enable ( #73879 )
...
* DashboardScheam: Remove old unused legacy props style and timepicker.enable
* Update
* fix test
2023-08-28 12:18:17 +02:00
9f7776f073
Replace non-finite values and null-fill across timerange ( #69919 )
...
* Replace non-finite values and null-fill across timerange
* PR mods, fix tests, add test dashboard
* regen jsonnet
* poke gdev dash
* pr mods
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2023-06-14 09:18:51 +03:00
9452c0d718
Annotations: Support filtering the target panels ( #66325 )
...
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-04-18 15:39:30 -05:00
73ce20ab48
Table Panel: Add ability to use text color for value or hide value in gauge cell ( #61477 )
...
* BarGauge: New value options
* Fix typings for cell options, add new value mode option for bar gauge cells
* Add BarGauge panel option, tests, and update test dashboard
* Updated
* Added default
* Goodbye trusty console.log
* Update
* Merge changes from main
* Update docs
* Add valuemode doc changes
* Update gdev dashboard
* Update valueMode symbol name to valueDisplayMode
* Use Enums as Opposed to literals, don't calculate values when hidden
* Remove double import
* Fix tests
* One more test fix
* Remove erroneous targets field, fix type of maxDataPoints
* Strip nulls and add index field to Thresholds
* Gen cue
* remove bad targets again
* Fixes
---------
Co-authored-by: Kyle Cunningham <kyle@codeincarnate.com>
Co-authored-by: sam boyer <sdboyer@grafana.com>
2023-03-10 14:41:46 +01:00
548a5054ad
Table: Introduce sparkline cell type ( #63182 )
2023-03-10 14:41:06 +02:00
5f2fecfda7
Dashboards: Avoid adding unused revision property ( #64362 )
2023-03-08 08:26:38 -08:00
6a8f9b7ebc
Table panel: Fix horizontal scrolling when pagination is enabled ( #47776 )
...
* Table panel: Fix horizontal scrolling when pagination is enabled
* Fix failing test
2022-04-14 09:35:37 -07:00
593140cfa4
Table: Adds new footer feature that can show Totals or other column calculations ( #38653 )
...
* table footer for showing calculations
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-09-22 09:29:07 -04:00
8f691115bc
Table: Updates devenv test dashboard after change to TestData Randrom Table response ( #30927 )
2021-02-06 18:03:35 +01:00
b709f6ad71
TablePanel: Adding sort order persistance ( #24705 )
...
* TablePanel: Adding sort order persistance
* adds panel test dashboard for table panel
2020-05-19 09:23:25 +02:00
844ec82eb0
More development dashboards ( #16550 )
...
* Dev: more dev dashboards and structure
* Moving gdev dashboards around into folders and aligning tags
2019-04-15 10:51:17 +02:00