Tobias Skarhed
17826796da
Chore: Fix noImplicitAny issues ( #17636 )
...
* noImplicitAny: TableRenderer
* noImplicitAny and add types
* HeatmapData interface
* Heatmap rendering
* Fix optional type
* Remove use of lodash
2019-06-19 13:40:42 +02:00
Ryan McKinley
401615847c
Build: add @grafana/data package ( #17436 )
...
first step in moving non-ui components to their own package
2019-06-18 08:17:27 -07:00
Hugo Häggmark
ceb9f0855b
Chore: Replaces moment with Grafanas DateTime ( #16919 )
...
* Wip: Initial commit
* Refactor: Replaces moment.utc(
* Refactor: replaces the last isMoment statements
* Refactor: Removes almost all moment imports
* Refactor: Moves moment_wrapper to grafana/ui
* Refactor: Renames momentWrapper
* Refactor: Removes one more moment import
* Refactor: Removes unitOfTime import
* Fix: Fixes Prettier error
* Refactor: Renames DateTimeType to DateTime
* Refactor: Renames isDateTimeType to isDateTime
* Refactor: Renames dateTime to dateTime
* Feature: Bans moment imports and types
2019-05-08 13:51:44 +02:00
Hugo Häggmark
7eabc282e9
Chore: Adds typings to lodash ( #16590 )
2019-04-15 12:11:52 +02:00
Šimon Podlipský
00a07c855d
Fix: Table Panel and string values & numeric formatting ( #16249 )
2019-03-27 15:18:15 +01:00
Peter Holmberg
8a396acdb4
fix(panel/table): Fix for white text on white background when value is null
2019-03-25 16:21:07 +01:00
ryan
0a094c1226
merge master
2019-03-10 13:45:18 -07:00
ryan
b2a7891b08
move stringToJsRegex
2019-03-09 23:50:46 -08:00
ryan
fe22d14e93
cell builder cleanup
2019-03-09 20:47:02 -08:00
ryan
e1324289c8
rename to Table
2019-03-07 17:49:02 -08:00
ryan
d7b1fd75e3
move to grafana/ui
2019-03-07 16:52:20 -08:00
ryan
32543cac10
use typescrit in angular table
2019-03-05 18:23:13 -08:00
Dominik Prokop
6b1390b972
Update types and themes usage in components
2019-02-05 17:04:48 +01:00
Jeff Hage
f13018ce05
Replace usages of kbn.valueFormats with ui/getValueFormat
2019-01-30 18:57:33 -05:00
Dominik Prokop
e5f74fdf93
Rename colorsPalette util to namedColorsPalette
2019-01-23 15:31:41 +01:00
Dominik Prokop
84caf0bc9d
Make named colors usable in angular code pt 1
2019-01-22 09:11:30 +01:00
Daniel Lee
0ebd5e0c80
table: fixes #14484 . Renders epoch string if date column style
2018-12-16 00:03:03 +01:00
Anton
355e76a48e
Fix cell coloring
2018-10-29 23:26:29 +03:00
Anton
6092fa4dc3
Fix bug with background color in table cell with link
2018-10-29 23:13:07 +03:00
Patrick O'Carroll
f8c2b23c86
added rule use-isnan and and updated file to follow new rule ( #13117 )
2018-09-03 13:31:37 +02:00
Patrick O'Carroll
7837ee4466
Updated rules for variable name ( #13106 )
...
* updated rules for variable name and fixed files that didn't follow new rules
* fixed test so it uses new rule
* made exceptions to rule in interval_variable
2018-09-03 11:00:46 +02:00
Patrick O'Carroll
b494a29e02
changed var to let in last files ( #13087 )
2018-08-30 08:58:43 +02:00
Patrick O'Carroll
a702603e7b
changed var to const 2 ( #13068 )
...
* changed var to const
* fixed typo created in last commit
* added or empty object to options in prometheus/datasource
2018-08-29 14:27:29 +02:00
Torkel Ödegaard
9b978b7203
tslint: autofix of let -> const ( #13033 )
2018-08-26 17:14:40 +02:00
Marcus Efraimsson
36e808834d
don't render hidden columns in table panel ( #12911 )
2018-08-14 08:50:22 +02:00
Patrick O'Carroll
ff0ca6b7e2
added two new classes for color, fixed so link has value color
2018-08-02 15:25:48 +02:00
Patrick O'Carroll
36d981597e
removed table-panel-link class and add a class white to modify table-panel-cell-link class
2018-08-02 11:18:21 +02:00
Patrick O'Carroll
d4d896ade8
replaced style with class for links
2018-08-01 09:08:17 +02:00
Patrick O'Carroll
4b8ec4e323
removed a blank space in div
2018-07-31 13:07:43 +02:00
Patrick O'Carroll
7b5b94607b
fixed color for links in colored cells by adding a new variable that sets color: white when cell or row has background-color
2018-07-31 12:51:07 +02:00
Angrite
e52aceeaba
Fix for #10078 : symbol "&" is not escaped ( #10137 )
...
Fix for #10078 : Render value as link in Table panel: ampersand symbol "&" is not escaped in link URL, resulting URL is wrong.
2018-05-08 15:47:09 +02:00
Marcus Efraimsson
f673ec16d1
table panel: additional fixes for value to text mapping
...
Make the value to text mapping more similar to singlestat solution.
Adds more tests.
Also, allows string to be mapped to other string besides numeric values.
2018-03-27 19:04:45 +02:00
aandrew
67f0382222
add value to text mapping
2018-03-27 19:00:22 +02:00
Torkel Ödegaard
3a1f52d8a2
prettier: ran on all files again, sorry. now settings are defined in package.json
2017-12-21 08:39:31 +01:00
Torkel Ödegaard
fadfc665e4
tech: ran pretttier on all typescript files
2017-12-19 16:06:54 +01:00
Marcus Efraimsson
ecbe7d06a6
fix: Table panel now renders annotations correctly. Fixes #9842 ( #9868 )
2017-11-13 15:18:39 +01:00
Torkel Ödegaard
4aa227dd84
[Tech]: Start migrating to Jest for tests ( #9610 )
...
* tech: investigating karma + jest mix
* tech: migrating tests to jest
* tech: moved anoter test file to jest
* test: migrated two more test files to jest
* test: updated readme and made test fail to verify that it causes CI build failure
* tech: added code coverage for jest tests
* tech: testing codecov coverage
* tech: migrated more tests
* tech: migrated template srv to typescript and the tests to jest
* tech: minor build fix
* tech: build fixes
* build: another attempt at fixing go test with coverage
2017-10-22 07:03:26 +02:00
Torkel Ödegaard
c7959ff06e
fix: Using table cell links and ad hoc filters together now works & looks correct, fixes #8052
2017-08-10 14:12:31 +02:00
Torkel Ödegaard
a5d5f3d82f
feat: add ad hoc filters directly from table panel cells, kibana 3 style, #8052
2017-08-02 16:15:22 +02:00
Alexander Zobnin
9bbc942534
table-panel: clickable cell link - draft ( #8738 )
...
* table-panel: clickable cell link - draft
* table-panel: clickable cell link - fix link target option
* table-panel: fix undefined columnStyle.link
* table-panel: option to highlight cell with link
* table-panel: render variables for all cells in row
* table-panel: remove cell highlighting
* table-panel: add help for URL field
* linkPopover directive for link info in table panel
* table-panel: add link info popover to cells
* table-panel: use native popover instead directive
* table-panel: link drop refactor, remove unused code
* table-panel: fix unclickable link when drop is opened
* refactoring: minor refactoring to #8738 , do not think we need a full blown popover for the links, simple tooltip is enough and more efficient, sadly we do not have a modern tooltip framework, still using old bootstrap 2.3 tooltip
* table-panel: add tests for link rendering
2017-07-18 20:59:34 +02:00
Alexander Zobnin
1deeef9e91
Table panel: add option for preserving text formatting ( #8708 )
...
* table_panel: add option for preserving text formatting
* table_panel: fix undefined style error
* table_panel: fix class adding (add space before 'class')
* table_panel: aligin Type options labels
2017-06-27 06:38:49 -04:00
Dan Cech
29653d2bec
refactor and add column alias tests
2017-05-05 12:40:49 -04:00
Dan Cech
b1691f1cd1
add support for column aliases in table panel
2017-04-27 15:23:49 -04:00
Carl Bergquist
d11b17b8fe
Merge pull request #5677 from bmundt/remove_columns
...
Added Hidden Column Style for Table Panel
2016-11-30 00:08:17 +01:00
Carl Bergquist
2bdb2f79ec
fix(table): renderes empty date column as '-' ( #6736 )
...
* fix(table): renderes empty date column as '-'
closes #6728
* docs(changelog): add note about closing 6728
2016-11-28 14:42:43 -05:00
slqgsm
e17b1548e8
Release there were some issues with the way removing columns was being implemented.
...
So I decided to scrap that, and go for just having a hidden column style. This is what
@madshall did in his enhanced table pull request, so this is basically the hidden
column style feature form his pull request.
2016-07-29 20:21:59 +00:00
Torkel Ödegaard
4bb4d7f7d3
Merge branch 'v3.1.x'
2016-07-12 15:54:31 +02:00
Torkel Ödegaard
65683ab241
feat(table): added sanitize html option to column styles for table panel, fixes #4596
2016-07-11 09:38:06 +02:00
Kimmo Huoman
522a3408e9
Export CSV in the same format as presented in Table panel. Fixes issue #5372 .
...
The data is exported in the same exact format as presented in the table panel.
This is achieved by using the same renderer as the UI uses.
2016-07-01 20:21:53 +03:00
Torkel Ödegaard
5ffd57695c
feat(table): added support for column units overriding style units for table
2016-05-03 11:29:51 +02:00