Peter Holmberg
4f39df900c
Merge remote-tracking branch 'origin/develop' into gauge-value-mappings
2018-12-07 15:10:32 +01:00
Torkel Ödegaard
eb6d0e9f51
Merge branch 'master' into develop
2018-12-07 14:59:38 +01:00
David Kaltschmidt
acd52e6a93
Explore: Logging line parsing and field stats
...
Lazily parse lines and display stats for field when clicked on.
- log line parsers for JSON (basic), and logfmt
- delayed parsing in case user moves to other line
- reuse label stats for field stats
2018-12-07 09:59:55 +01:00
Torkel Ödegaard
9cc4e05205
Merge pull request #14366 from grafana/14341-wide-picker-no-button
...
Pickers with min-width instead of width
2018-12-07 09:05:22 +01:00
Torkel Ödegaard
ef77748a1b
Merge pull request #14368 from grafana/explore-logs-styling-alt2
...
Explore logs styling
2018-12-06 22:30:06 +01:00
Torkel Ödegaard
e7fe0bd668
fixed unit tests
2018-12-06 12:29:55 -08:00
David
be2d9edd1f
Merge pull request #14353 from grafana/14249-multi-button-group
...
Multi button group
2018-12-06 21:27:34 +01:00
Torkel Ödegaard
9ac3821454
made unknown color theme aware and sync with graph color, some minor cleanup
2018-12-06 11:55:01 -08:00
Peter Holmberg
6fff8e4a1c
initial stuff
2018-12-06 17:09:32 +01:00
Erik Sundell
b74c099773
use render props instead of cloneElement
2018-12-06 16:38:50 +01:00
Erik Sundell
6f8293af4e
sort of a hacky way to figure if the small variation should be used for the label
...
improve light theme look
use new toggle button group in logs
stop propagation on click event
clean up styles
improve support for small when a label is present
refactoring - move toggle button to the group file. turn it into a stateless component
improve support for light theme
rename dedupe to dedup
use radius variable
2018-12-06 16:37:23 +01:00
Erik Sundell
0d7b09b0f6
add basic button group component, using the the same label style as is
...
remove not used code
cleanup
2018-12-06 16:37:09 +01:00
Johannes Schill
02b14d33a6
If user login equals user email, only show the email once #14341
2018-12-06 13:46:04 +01:00
Johannes Schill
114a264da4
UserPicker and TeamPicker should use min-width instead of fixed widths to avoid overflowing form buttons. #14341
2018-12-06 13:46:04 +01:00
Torkel Ödegaard
2e6690428f
fixed logs to time series calculation issue, increased bucket size, fixes #14248
2018-12-06 12:12:43 +01:00
Torkel Ödegaard
09380399ef
Merge pull request #14331 from grafana/develop-tooltip-css
...
Portal component
2018-12-05 13:36:03 +01:00
Torkel Ödegaard
e4e408676f
Merge branch 'develop' of github.com:grafana/grafana into develop
2018-12-05 11:20:25 +01:00
Torkel Ödegaard
e01c196d88
fix to switch component
2018-12-05 11:19:38 +01:00
Johannes Schill
7d6db12f34
Rename BodyPortal to Portal and accept prop "root" which is where the portal should be placed
2018-12-05 10:50:26 +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
Johannes Schill
1bbe48e9c5
Create a portal and use it with our popper component (tooltip and popover) to avoid potential overflow-/zindex-bugs
2018-12-05 10:38:53 +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
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
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
6cb639baaa
Merge pull request #14283 from grafana/explore-styling-fixes
...
Misc styling fixes to explore
2018-12-04 15:17:10 +01:00
Erik Sundell
27c4db06fc
improve comments
2018-12-04 15:00:24 +01:00
Erik Sundell
8b3bb95007
remove redudant spread
2018-12-04 14:01:32 +01:00
Erik Sundell
2af78aca8e
Remove query empty from model
2018-12-04 13:23:26 +01:00
Peter Holmberg
f77c354341
Merge remote-tracking branch 'origin/develop' into gauge-value-options
2018-12-04 12:56:54 +01:00
Torkel Ödegaard
ac6170a7cc
Merge branch 'master' into explore-styling-fixes
2018-12-04 12:53:24 +01:00
David Kaltschmidt
9f0b1e533f
Tests for label stats calculation
2018-12-04 12:41:32 +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
Torkel Ödegaard
1828ace4b3
fix: align input backgrounds for code editors
2018-12-04 09:41:36 +01:00
flopp999
8caeb13026
fixedUnit for Flow:l/min and mL/min
...
got stranged result with decimalSIPrefix
2018-12-04 08:03:25 +01:00
SilverFire - Dmitry Naumenko
257802e750
Hid "Forgot your password" link from login menu when reset is disabled
2018-12-03 15:35:25 +02: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 Kaltschmidt
a513130493
Fixed typo in function name
2018-11-30 15:19:09 +01:00
Torkel Ödegaard
a6c4ba4dfb
Merge pull request #14242 from grafana/various-style-fixes
...
Fixed styling issues with new checkbox style
2018-11-30 12:52:24 +01:00
David Kaltschmidt
979f3f3e0c
Review feedback
...
- fixed typo
- moved result calculation to explore utils
- use component keys instead of componentWillReceiveProps
- require logs to have and id, to as use as Logs component key
- render delay based on row count
2018-11-30 12:26:57 +01:00
Johannes Schill
58da6e8c26
react-panel: Add test for Input with validation on blur
2018-11-30 12:26:45 +01:00
Johannes Schill
c722ea4f76
react-panel: Input validation should be optional
2018-11-30 11:04:56 +01:00
Torkel Ödegaard
cc210b11fb
Merge branch 'panel-edit-in-react' into various-style-fixes
2018-11-30 01:46:41 -08:00
Johannes Schill
a8e184c025
react-panel: Clean up input validation and increase code readability
2018-11-30 10:21:55 +01:00
Johannes Schill
69ae3d2e6a
react-panel: Time range options moved to "Queries" tab
2018-11-30 10:21:54 +01:00
Johannes Schill
3908e64ef0
react-panel: Use correct type for children prop to avoid the use of fragments <></>
2018-11-30 10:21:54 +01:00
Johannes Schill
8254086ecb
react-panel: Add CopyToClipboard-component and separate QueryInspector to its own component from QueriesTab
2018-11-30 10:21:53 +01:00
Johannes Schill
6242379915
react-panel: Replace JSONFormatter npm package with the current monkey patched JsonExplorer
2018-11-30 10:21:53 +01:00