Johannes Schill
276f2567ee
Changing from PureComponent to Component to re-render on link updates made in Angular #14333
2018-12-06 10:54:31 +01:00
Johannes Schill
d62cd8a5c5
Fix transparent option #14333
2018-12-06 10:34:27 +01:00
Johannes Schill
a516ff81c9
Add prop key to panelPropsString to avoid a bug when changing another value and the render doesnt trigger
2018-12-06 09:39:17 +01:00
Johannes Schill
827ffaccd3
Pass some panel props down as strings to trigger render #14333
2018-12-05 14:57:57 +01:00
Johannes Schill
ed034b4288
Trigger panel.render on title, description, links change #14333
2018-12-05 14:56:29 +01:00
Torkel Ödegaard
aa6c52a1ba
Merge pull request #14323 from grafana/develop-tooltip-css
...
Small tooltip css-adjustments and add css for position "bottom-start"…
2018-12-05 10:40:10 +01:00
Torkel Ödegaard
5f8001689b
explore data source selector fix
2018-12-05 10:22:26 +01:00
Torkel Ödegaard
180ca021b5
Merge branch 'master' into develop
2018-12-05 10:17:22 +01:00
Torkel Ödegaard
0ad42641a2
Merge pull request #14303 from grafana/develop-keep-panel-settings
...
Develop keep panel settings when switching visualizations
2018-12-05 09:06:55 +01:00
Torkel Ödegaard
4872cef808
refactored and added tests for panel model remember properties
2018-12-05 07:33:21 +01:00
Torkel Ödegaard
6c46a1c8ea
Merge pull request #13873 from grafana/davkal/babel-7
...
JS tooling: upgrade to babel 7
2018-12-04 21:16:35 +01:00
Johannes Schill
e55659192a
Small tooltip css-adjustments and add css for position "bottom-start" used by the panel header corner
2018-12-04 17:00:00 +01:00
Johannes Schill
c2aa64595a
Merge pull request #14234 from grafana/gauge-value-options
...
Gauge value options
2018-12-04 16:30:34 +01:00
David Kaltschmidt
6980d2e142
Explore: Display duplicate row count as number
...
- the pips were hard to see
- make it really clear which rows are duplicates by allocating a column to show number
2018-12-04 16:21:27 +01:00
David Kaltschmidt
6ee7459f22
Explore: Logging query live preview of matches
...
A logging query has a selector part and a regexp. The regexp matches are highlighted when results return.
This change adds live preview to matches when modifying the regexp in a search field.
- delegate retrieval of match query to datasource
- datasource returns search expressions to be used to highlight a live preview of matches
- logs row now takes preview highlights
- logs row renders preview highlights with dotted line to distinguish from query run matches (solid line)
- fix react-highlight-words version to ensure custom chunk matcher
- custom chunk matcher can now also take incomplete regexps, eg, `(level` without inifinte looping
- perf: debounce of live preview to 500ms
- perf: only top 100 rows get the live preview
- preview is only supported with one query row (multiple rows semantic makes this tricky: regexp for row n should only filter results for query n)
2018-12-04 15:47:51 +01:00
David
34b8c5bb61
Merge pull request #14278 from grafana/14272-scan-old-logs
...
only make it possible to scan for older logs if there is at least one…
2018-12-04 15:44:55 +01:00
Torkel Ödegaard
33dd880e09
Merge pull request #14295 from grafana/develop-visualization-search
...
Add VizPicker search
2018-12-04 15:11:41 +01:00
Johannes Schill
fe9e4b51f1
Alert tab fails when datasource method targetContainsTemplate doesnt exist #14274
2018-12-04 15:00:37 +01:00
Erik Sundell
9c8bd34787
remove all query empty related code. root cause of the problem was to fix hasNonEmptyQuery
2018-12-04 14:55:56 +01:00
Johannes Schill
b8c6577626
Let the cached props from previous visualization be the masters, unless specified in keepLatestProps const
2018-12-04 14:39:56 +01:00
Johannes Schill
1ad4b44ec1
POC on how to save away settings from a viztype and restore when switching back to it #14274
2018-12-04 14:19:55 +01:00
Erik Sundell
4e591653bd
Set query empty condition in render function. Also clear query transactions when no valid query is present
2018-12-04 13:26:26 +01:00
Peter Holmberg
f77c354341
Merge remote-tracking branch 'origin/develop' into gauge-value-options
2018-12-04 12:56:54 +01:00
David Kaltschmidt
9f0b1e533f
Tests for label stats calculation
2018-12-04 12:41:32 +01:00
David Kaltschmidt
5916cb3e7c
Explore: Logging label stats
...
- added filter and stats icons to log stream labels
- removed click handler from label itself
- click on stats icon calculates label value distribution across loaded logs lines
- show stats in hover
- stats have indicator which value is the current one
- showing top 5 values for the given label
- if selected value is not among top 5, it is added
- summing up remaining label value distribution as Other
2018-12-04 12:41:32 +01:00
David
a69ab2fb3a
Merge pull request #14299 from grafana/14273-clear-scanning
...
Explore: Stop scanning when clear all button is clicked
2018-12-04 12:37:04 +01:00
Erik Sundell
f8cef73b5b
stop scanning when clear all button is clicked
2018-12-04 11:28:04 +01:00
Erik Sundell
2be92af456
Use origin meta
2018-12-04 11:13:16 +01:00
Erik Sundell
541a691aca
only display scan button if there is at least one existing selector that returned an empty result
2018-12-04 11:00:21 +01:00
David Kaltschmidt
4ce79349a3
Explore: return to grid layout for logs table
...
- better column control than flexbox
- increased gutter and row spacing
2018-12-04 10:48:28 +01:00
Johannes Schill
bc5a0d9120
Add VizPicker search #14274
2018-12-04 10:42:01 +01:00
Erik Sundell
e21ca3f545
Revert commit
2018-12-03 17:17:57 +01:00
Erik Sundell
d9d84f45bc
only make it possible to scan for older logs if there is at least one non failing selector
2018-12-03 16:58:46 +01:00
Peter Holmberg
b6ef10b8db
arrow function
2018-12-03 15:02:41 +01:00
Peter Holmberg
b4d5ddd6f4
fix for initial options
2018-12-03 13:33:17 +01:00
Torkel Ödegaard
9cbdd07315
Merge branch 'panel-edit-in-react-sidemenu' into develop
2018-12-03 13:21:07 +01:00
Torkel Ödegaard
ab33cfd7c8
minor css fixes
2018-12-03 03:31:55 -08:00
Torkel Ödegaard
9404d36ab5
Merge pull request #14135 from grafana/panel-edit-in-react
...
React Panel Editor Mode (For Angular and React Panels)
2018-12-03 11:50:06 +01:00
Torkel Ödegaard
d38a0a0b64
Merge pull request #14106 from grafana/unit-picker
...
Unit picker
2018-12-03 10:53:48 +01:00
David
ba18b470a4
Merge pull request #14260 from grafana/davkal/fix-14258
...
Explore: Show logging errors from backend
2018-12-03 10:00:22 +01:00
David
fab2597650
Merge pull request #14259 from grafana/14237-prevent-table-crash
...
change obj order when merging so that correct format is being used
2018-11-30 16:37:50 +01:00
David Kaltschmidt
47468fca68
Explore: Show logging errors from backend
...
- Logging datasource sends error string directly in the message body
- allowing response body to be an error when query transaction failed
- added throw in case we ever encounter unhandled errors again (forces us to fix the issue)
2018-11-30 16:09:56 +01:00
Erik Sundell
12ba314e24
change obj order when merging so that correct format is being used
2018-11-30 15:58:01 +01:00
David Kaltschmidt
a513130493
Fixed typo in function name
2018-11-30 15:19:09 +01:00
Erik Sundell
4f38af12a8
Merge branch 'panel-edit-in-react' of https://github.com/grafana/grafana into panel-edit-in-react
2018-11-30 14:18:33 +01:00
Erik Sundell
3c556c4833
never load fallback query field. remove commented code
2018-11-30 13:53:39 +01:00
Erik Sundell
be85944d84
add an error alert component that will be displayed when there was an error loading ds in explore
2018-11-30 13:51:49 +01:00
Torkel Ödegaard
222f26ea80
Merge branch 'panel-edit-in-react' of github.com:grafana/grafana into panel-edit-in-react
2018-11-30 04:46:39 -08:00
Torkel Ödegaard
6c09373995
fix: minor style changes, removed hover scale increase
2018-11-30 04:45:25 -08:00
Johannes Schill
0b65558c21
react-panel: Add nullcheck to prevent error on datasources without meta options
2018-11-30 13:42:49 +01:00