Erik Sundell
8867d8e99c
make templateSrv a prop
2019-01-08 13:52:19 +01:00
Dominik Prokop
de4e1a91f7
Refactored withPoper HOC to PopperController using render prop
2019-01-08 13:44:10 +01:00
Erik Sundell
dc7f98de6a
use correct event handler name convention. register directive on startup
2019-01-08 13:37:08 +01:00
Johannes Schill
f428db282c
fix: Remove the onRenderError prop and add an ErrorBoundary component
2019-01-08 13:32:08 +01:00
Johannes Schill
4f943687d8
feat: Display error when plot fail to render
2019-01-08 09:55:23 +01:00
Erik Sundell
49144f07e4
Merge branch '14293-metric-display-names' into reactify-stackdriver
...
# Conflicts:
# public/app/plugins/datasource/stackdriver/partials/query.aggregation.html
# public/app/plugins/datasource/stackdriver/partials/query.editor.html
# public/app/plugins/datasource/stackdriver/partials/query.filter.html
# public/app/plugins/datasource/stackdriver/query_aggregation_ctrl.ts
# public/app/plugins/datasource/stackdriver/query_ctrl.ts
# public/app/plugins/datasource/stackdriver/query_filter_ctrl.ts
# public/app/plugins/datasource/stackdriver/specs/query_aggregation_ctrl.test.ts
2019-01-07 13:59:36 +01:00
Johannes Schill
79fd8a7eda
feat: Add "theme" to Tooltip
2019-01-07 13:31:50 +01:00
Erik Sundell
126ceb9780
use correct type for select option
2019-01-07 11:26:06 +01:00
Erik Sundell
4928984825
set issearchable default value to true
2019-01-07 11:26:06 +01:00
Erik Sundell
786df7920e
remove group name from select component. let the parent set group name instead
2019-01-07 11:26:06 +01:00
Erik Sundell
03856b4e55
move component to components dir. also move directive registration out from datasource
2019-01-07 11:26:06 +01:00
Erik Sundell
bdf2573db9
fix condition that expands group if it has a selected child. also make it possible to pass expanded as a prop
2019-01-07 11:26:05 +01:00
Erik Sundell
793d3d9afa
remove old group heading
2019-01-07 11:26:04 +01:00
Erik Sundell
d75860a72c
wip: add basic option header
2019-01-07 11:26:02 +01:00
Torkel Ödegaard
85ecf54751
updated scrollbar snapshot
2019-01-07 11:19:44 +01:00
Erik Sundell
4340e81605
remove not used files
2019-01-07 11:06:36 +01:00
Torkel Ödegaard
179b19c71b
Fixed issue with cut legend in firefox & mobile devices, fixes #14744 and #14489
2019-01-06 17:03:38 +01:00
Peter Holmberg
168b8c389d
Merge remote-tracking branch 'origin/master' into 14388/alert-tab-ux-update
2019-01-03 11:29:03 +01:00
Torkel Ödegaard
5d3f4422c5
initial design for way to build value formats lazily and a backward compatability layer via Proxy
2019-01-03 09:39:46 +01:00
Torkel Ödegaard
a7d4e6caa3
Merge pull request #14699 from grafana/davkal/fix-14398
...
Explore: Remember last used datasource
2019-01-02 18:59:44 +01:00
Erik Sundell
0e49225d1d
merge from 14293-metric-display-names
2019-01-02 15:07:38 +01:00
Erik Sundell
4dbd113e20
use correct type for select option
2019-01-02 13:03:21 +01:00
Erik Sundell
b22bf9359f
set issearchable default value to true
2019-01-02 13:03:21 +01:00
Erik Sundell
d741295795
remove group name from select component. let the parent set group name instead
2019-01-02 13:03:21 +01:00
Erik Sundell
e180cf54ce
move component to components dir. also move directive registration out from datasource
2019-01-02 13:03:20 +01:00
Erik Sundell
e7670cacf4
fix condition that expands group if it has a selected child. also make it possible to pass expanded as a prop
2019-01-02 13:03:19 +01:00
Erik Sundell
566001aaf2
remove old group heading
2019-01-02 13:03:18 +01:00
Erik Sundell
488e92e7f5
wip: add basic option header
2019-01-02 13:03:16 +01:00
David Kaltschmidt
757d6f322e
s/initialDatasourceId/initialDatasource/
2019-01-02 11:32:12 +00:00
Peter Holmberg
d9c93e572e
hide protip if not defined
2019-01-02 10:50:52 +01:00
David Kaltschmidt
67ebdcbcc3
Explore: Remember last use datasource
...
- use local storage to store last used database
- renamed `datasourceName` property to `initialDatasourceId` for consistency
- adapted tests
2018-12-31 18:30:32 +00:00
David Kaltschmidt
a364487b3a
Logs data model: add more log levels
...
- add `eror` used in github.com/inconshreveable/log15 (used by Grafana as well)
- add levels from SYSLOG
2018-12-31 14:44:13 +00:00
Simon Podlipsky
d42f821c87
Update rxjs
2018-12-27 20:37:44 +01:00
Torkel Ödegaard
66a13b281c
Merge branch 'grafana-lib'
2018-12-25 19:26:46 +01:00
Torkel Ödegaard
98d26354c1
Added a form component to @grafana/ui
2018-12-25 11:42:23 +01:00
Torkel Ödegaard
493714c27d
Fixed JQuery typing issues
2018-12-25 09:59:23 +01:00
Torkel Ödegaard
a02b4b47b6
Moving a couple of types to @grafana/ui
2018-12-23 09:15:32 +01:00
Torkel Ödegaard
ef219dd72b
Merge pull request #14645 from grafana/fix-tooltip-placement
...
Fixed group button tooltip placement from auto to bottom
2018-12-23 07:00:56 +01:00
Torkel Ödegaard
41712c3957
Fixed group button tooltip placement from auto to bottom, fixes #14634
2018-12-23 06:46:26 +01:00
David Kaltschmidt
d1dec8bd44
Add timestamp back to log entry type
2018-12-22 17:36:35 +01:00
David Kaltschmidt
e694604be5
Loki: fix timestamp field
...
- timestamp was renamed to `ts` in grafana/loki#152
- renamed here in result transformer and tests
2018-12-22 17:19:58 +01:00
Torkel Ödegaard
2fec5c7577
Grafana ui lib is starting to work
2018-12-21 12:27:43 +01:00
Kofi Jedamzik
281312ffcd
Add units for blood sugar concentration 💉
2018-12-19 22:23:25 +01:00
Torkel Ödegaard
1260301099
Merge pull request #14589 from grafana/search-increase-recent-starred-limit
...
Increase recent and starred limit in search and home dashboard
2018-12-19 12:09:54 +01:00
Torkel Ödegaard
9e92609313
Merge pull request #14113 from cinaglia/fix-csv-decimal-places
...
Retain decimal precision when exporting CSV
2018-12-19 11:56:27 +01:00
Torkel Ödegaard
16ad0f65ea
Increase recent and starred limit in search and home dashboard, closes #13950
2018-12-19 11:40:38 +01:00
Torkel Ödegaard
6154f89d96
Merge pull request #14587 from grafana/panel-help-fixes
...
Panel help view fixes
2018-12-19 11:25:12 +01:00
Torkel Ödegaard
d21b5899c1
Merge branch 'master' of github.com:grafana/grafana
2018-12-19 11:24:25 +01:00
Torkel Ödegaard
6542bfb83e
Merge branch 'fix-misspell-issues' of https://github.com/mjtrangoni/grafana into mjtrangoni-fix-misspell-issues
2018-12-19 11:21:34 +01:00
Torkel Ödegaard
87cc3902b7
Merge pull request #14558 from hahnjo/flops
...
Add units for Floating Point Operations per Second
2018-12-19 11:11:14 +01:00
Torkel Ödegaard
60ea99078e
Panel help view fixes
2018-12-19 11:03:54 +01:00
Torkel Ödegaard
9fec202668
Merge pull request #14565 from grafana/panel-help-view
...
Panel help view
2018-12-19 10:25:02 +01:00
Erik Sundell
9e558b70d7
Merge branch '14293-metric-display-names' into reactify-stackdriver
...
# Conflicts:
# public/app/plugins/datasource/stackdriver/partials/query.aggregation.html
# public/app/plugins/datasource/stackdriver/partials/query.editor.html
# public/app/plugins/datasource/stackdriver/partials/query.filter.html
# public/app/plugins/datasource/stackdriver/query_aggregation_ctrl.ts
# public/app/plugins/datasource/stackdriver/query_ctrl.ts
# public/app/plugins/datasource/stackdriver/query_filter_ctrl.ts
# public/sass/_grafana.scss
2018-12-19 09:21:35 +01:00
Peter Holmberg
659b5a3c15
refactor to not crash when no links
2018-12-18 15:30:34 +01:00
Peter Holmberg
95656e1e95
renaming component
2018-12-18 14:49:59 +01:00
Peter Holmberg
a44a07593f
panel help working
2018-12-18 14:40:54 +01:00
Erik Sundell
5e4841cc6e
fix condition that expands group if it has a selected child. also make it possible to pass expanded as a prop
2018-12-18 14:30:46 +01:00
Jonas Hahnfeld
0cf3e94934
Add units for Floating Point Operations per Second
...
This is an important metric for computation throughput in the context
of High Performance Computing (HPC). I've never heard of the kilo
prefix here, nowadays it's mostly measured in MFLOP/s.
2018-12-18 12:11:21 +01:00
Torkel Ödegaard
a4091813bf
Merge pull request #14534 from grafana/14409/threshold-ux-changes
...
14409/threshold ux changes
2018-12-18 11:30:48 +01:00
Erik Sundell
ea1ce578ff
remove old group heading
2018-12-18 11:26:42 +01:00
Torkel Ödegaard
e56b478709
Merge pull request #14551 from grafana/explore-ds-fixes
...
Explore: Datasource fixes
2018-12-18 10:38:31 +01:00
Erik Sundell
5370f78ee7
wip: add basic option header
2018-12-18 10:37:46 +01:00
Torkel Ödegaard
1ee1247912
Gauge option form markup fixes
2018-12-17 17:54:40 +01:00
Erik Sundell
2835c4336d
filter out table responses that don't have columns and rows
2018-12-17 16:46:22 +01:00
Erik Sundell
18b39967fc
enable goto explore from query panel editor for all datasources
2018-12-17 16:44:57 +01:00
Peter Holmberg
cda7897323
started with component for generic panel help
2018-12-17 16:42:02 +01:00
Torkel Ödegaard
c0fc236fcb
Merge pull request #14535 from grafana/react-graph-changes
...
React graph changes
2018-12-17 16:29:00 +01:00
Torkel Ödegaard
0fe452ec26
Minor react graph panel refactorings and fixes
2018-12-17 15:38:51 +01:00
Torkel Ödegaard
e38a04ba9a
Fixes issues with user and team picker
2018-12-17 14:31:43 +01:00
Torkel Ödegaard
1ac81c3ad0
updated dropdown typeahead to place down instead of up, works better when inside scrollable area
2018-12-17 13:08:09 +01:00
Torkel Ödegaard
e6b8bfe7e6
Updated snapshot
2018-12-16 10:10:25 +01:00
Torkel Ödegaard
72b9cb9b9f
Switched to react-select fork
2018-12-16 09:58:37 +01:00
Torkel Ödegaard
f67e0827b2
Fixes and cleanup
2018-12-15 10:04:25 +01:00
Torkel Ödegaard
b15bb4fb95
Merge remote-tracking branch 'origin/master' into develop
2018-12-14 17:02:08 +01:00
Torkel Ödegaard
beff16bc8d
updated snapshot
2018-12-14 16:38:52 +01:00
Torkel Ödegaard
677eb6d179
fixes to unit picker
2018-12-14 16:27:48 +01:00
Torkel Ödegaard
84df0e2dde
Added custom scrollbar to select component
2018-12-14 15:25:49 +01:00
Torkel Ödegaard
cb7ffb4415
select refactor fixes
2018-12-14 14:19:39 +01:00
Torkel Ödegaard
ae76ddcc3b
explore using data source picker
2018-12-14 14:05:47 +01:00
Torkel Ödegaard
24825dc899
renamed folder to select
2018-12-14 12:59:45 +01:00
Torkel Ödegaard
58cc2e34d6
User picker using common select componnet
2018-12-14 12:38:36 +01:00
Torkel Ödegaard
104292df63
wip: unifying select components
2018-12-14 11:23:05 +01:00
Torkel Ödegaard
e40d21459a
fixing input unit test failure
2018-12-14 11:03:42 +01:00
Torkel Ödegaard
42ee81a97c
fixed issue with switching panels
2018-12-14 10:47:18 +01:00
Torkel Ödegaard
3f1adf1390
wip: styles are starting to come together
2018-12-13 14:28:44 +01:00
Torkel Ödegaard
a9e98feea0
Merge pull request #14476 from grafana/metrics-tab-changes-2
...
Metrics tab changes 2
2018-12-13 09:11:14 +01:00
Torkel Ödegaard
9f0d7314dd
fixed unit tests
2018-12-12 13:05:24 +01:00
Torkel Ödegaard
7161b2dc9b
wip
2018-12-12 09:51:17 +01:00
Torkel Ödegaard
3452ee5a9c
wip: making things work again
2018-12-12 06:52:08 +01:00
Torkel Ödegaard
fa4fddf7b5
React-select refactorings
2018-12-11 22:17:32 +01:00
Erik Sundell
b18f064817
wip: add basic option header
2018-12-11 20:11:18 +01:00
Torkel Ödegaard
1d7d72b49d
wip: react select css refactoring
2018-12-11 18:49:48 +01:00
Peter Holmberg
6ab93982ae
styling on dropdowns
2018-12-11 15:47:30 +01:00
Peter Holmberg
c2b1f504a0
Merge remote-tracking branch 'origin/develop' into gauge-value-mappings
2018-12-11 15:19:28 +01:00
Peter Holmberg
346f5f2595
Using drop down instead
2018-12-11 15:14:53 +01:00
Johannes Schill
6bb9415b0e
Filter tags select box on text input #14437
2018-12-11 15:04:40 +01:00
Peter Holmberg
ddf080dab6
Using an id to identify mappings
2018-12-11 14:17:58 +01:00
Torkel Ödegaard
5d4034be5a
Merge branch 'develop' of github.com:grafana/grafana into develop
2018-12-11 10:13:57 +01:00
Torkel Ödegaard
f9110f7902
Merge branch 'master' into develop
2018-12-11 10:00:29 +01:00
Torkel Ödegaard
0253792dad
Merge pull request #14438 from grafana/davkal/explore-enhanced-log-parsing
...
Explore: Improved line parsing for logging
2018-12-11 09:10:45 +01:00
David Kaltschmidt
71429d7210
Explore: Improved line parsing for logging
...
- changed log parser API to be more semantic: getting fields, getting values
- regexps become an implementation detail of parser and are no longer part of the API
- improved JSON parser to not be tripped by nested quotation marks
- improved JSON parser to support numbers
- added more tests
2018-12-10 10:05:57 -08:00
Johannes Schill
6ac8f5c7a5
Unmount component when fading out to reset its state, such as search..
2018-12-10 15:51:41 +01:00
Peter Holmberg
4a57d594e5
fixed styling
2018-12-10 14:50:32 +01:00
Torkel Ödegaard
512b617120
Merge pull request #14427 from grafana/color-picker-position-fix
...
Fixed issue with colorpicker position above window
2018-12-10 14:39:26 +01:00
Torkel Ödegaard
6f061ab159
Merge pull request #14403 from grafana/logs-graph-stacking
...
Fixed issue with logs graph and stacking
2018-12-10 14:16:28 +01:00
Torkel Ödegaard
0c5fd21327
fixed issue with colorpicker position above window, fixes #14412
2018-12-10 14:07:20 +01:00
Torkel Ödegaard
e05f6c5397
fix search tag issues, fixes #14391
2018-12-10 13:23:38 +01:00
Torkel Ödegaard
7e0bc8f30d
fixed max height issue not being respected by react select dropdown
2018-12-10 12:02:27 +01:00
David Kaltschmidt
487de2b832
Explore: Logging dedup tooltips
...
- use title attribute of toggle button group
- add descriptions for all dedup options
2018-12-09 13:06:34 +01:00
Torkel Ödegaard
14cf846e73
Fixed issue with logs graph and stacking
2018-12-08 11:15:02 -08:00
Torkel Ödegaard
efede26eea
Merge pull request #14382 from grafana/davkal/remove-explore-tab
...
Remove Explore > "New tab" from sidebar
2018-12-07 20:24:13 +01:00
Torkel Ödegaard
30c2cc4b5c
allow sidemenu sections without children still have a hover menu/header
2018-12-07 11:14:32 -08:00
Torkel Ödegaard
bfbb44af03
transparent toggle style and new button group style
2018-12-07 17:15:46 +01:00
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
Mario Trangoni
0f74843332
public/app/core/*: Fix some misspell issues
2018-12-05 13:02:58 +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
Johannes Schill
5cca489acd
react-panel: Clean up the JSONFormatter and make sure it updates both on mount and when props update
2018-11-30 10:21:53 +01:00
Johannes Schill
348f2e4ec4
react-panel: Get real datasource query for query inspector
2018-11-30 10:21:53 +01:00
Johannes Schill
82ce733e9e
react-panel: Create component for JSON formatting and use it on query inspector
2018-11-30 10:21:53 +01:00
Torkel Ödegaard
93ac4e4717
Fixed styling issues with new checkbox style
2018-11-29 18:39:02 +01:00
David Kaltschmidt
ae26f7126f
Explore: Logging render performance
...
- moved from grid to flexbox
- calculate Explore results only when query transactions change to prevent expensive re-renders
- split up rendering of graph and log data
- render log results in 2 stages
2018-11-29 17:30:11 +01:00
Peter Holmberg
b856ae3957
revert Label change
2018-11-29 14:12:18 +01:00
Erik Sundell
18abd987bb
prevent explore from crashing when table is not present in response
2018-11-28 14:31:20 +01:00
David Kaltschmidt
c3b67f3a13
Explore: Logging label filtering
...
- adds a custom label renderer to Logs viewer in Explore
- labels are no longer treated as strings, they are passed as parsed objects to the log row
- label renderer supports onClick handler for an action
- renamed Explore's `onClickTableCell` to `onClickLabel` and wired up log label renderers
- reuse Prometheus `addLabelToSelector` to modify Logging queries via click on label
- added tests to `addLabelToSelector`, changed to include the surrounding `{}`
- use label render also for common labels in the controls panel
- logging meta data section has now a custom renderer that can render numbers, strings, and labels
- style adjustments
2018-11-28 14:20:10 +01:00
Peter Holmberg
638c04e16b
using percentage to not hide search when smaller screen
2018-11-28 11:41:40 +01:00
Ryan McKinley
b3e6da0cbd
check for null with toLocalString ( #14208 )
2018-11-28 00:24:59 -08:00
Peter Holmberg
2919fe1d6a
color picker
2018-11-27 15:06:39 +01:00
David Kaltschmidt
4f55a238ed
Explore: Filter logs by log level
...
- add `onToggleSeries` to Explore Graph props
- toggling a Logging Graph series from the legend propagates its hidden series to Logs
- Logs translates hidden series alias to LogLevels
- Logs filters out hidden log levels
2018-11-23 16:29:55 +01:00
Peter Holmberg
5c992ba13a
created test for some functions
2018-11-23 16:12:53 +01:00
Torkel Ödegaard
263381eac6
Merge branch 'develop' into panel-edit-in-react
2018-11-23 14:00:15 +01:00
Torkel Ödegaard
2dc44f6089
Merge branch 'master' into develop
2018-11-23 13:59:35 +01:00
flopp999
91d97ab5b5
Fix abbreviations of Litre/min and milliLitre/min ( #14114 )
2018-11-23 02:48:22 -08:00
Erik Sundell
1fb686cafa
Merge branch 'develop' into panel-edit-in-react
2018-11-22 13:46:12 +01:00
Erik Sundell
a5947e820c
Merge branch 'master' into develop
2018-11-22 13:43:25 +01:00
David Kaltschmidt
bbaa5b63c8
Fix history rendering for DataQuery
2018-11-22 11:02:53 +01:00
David Kaltschmidt
22987ee75f
Renamed targets to queries
2018-11-21 16:28:30 +01:00
David Kaltschmidt
b3161bea5a
Explore: Introduce DataQuery interface for query handling
...
- Queries in Explore have been string based
- This PR introduces the use of the DataQuery type to denote all queries handled in Explore
- Within Explore all handling of DataQueries is transparent
- Modifying DataQueries is left to the datasource
- Using `target` as variable names for DataQueries to be consistent with the rest of Grafana
2018-11-21 14:45:57 +01:00
Daniel Lee
4aeea56342
Merge pull request #14007 from grafana/stackdriver-template-query-editor
...
Stackdriver template query editor
2018-11-20 13:41:18 +01:00
Torkel Ödegaard
7f46b75330
Merge branch 'develop' into panel-edit-in-react
2018-11-20 09:51:06 +01:00
Torkel Ödegaard
649d727805
Merge branch 'master' into develop
2018-11-20 09:47:23 +01:00
Torkel Ödegaard
f44e634da4
switch slider changes
2018-11-20 09:39:56 +01:00
Roland Dunn
fa2c46edb9
Revert "Update google analytics code to submit full URL not just path"
2018-11-19 18:21:37 +00:00
Torkel Ödegaard
571cfab923
added chekbox and other tweaks
2018-11-19 17:41:48 +01:00
Torkel Ödegaard
808a0aa6f0
Merge branch 'develop' into switch-slider-test
2018-11-19 16:48:16 +01:00
David Kaltschmidt
4771eaba5b
Explore: POC dedup logging rows
...
- added dedup switches to logs view
- strategy 'exact' matches rows that are exact (except for dates)
- strategy 'numbers' strips all numbers
- strategy 'signature' strips all letters and numbers to that only whitespace and punctuation remains
- added duplication indicator next to log level
2018-11-19 16:26:47 +01:00
Peter Holmberg
37729bf9f1
decimals
2018-11-19 15:50:51 +01:00
Peter Holmberg
a8cf2dc501
some touch ups on unit
2018-11-19 14:03:32 +01:00
Carl Bergquist
6049855dc7
Merge pull request #13947 from bergquist/alerting_for
...
Introduce alert debouncing
2018-11-19 10:38:02 +01:00
Victor Cinaglia
4ed0a3d29a
Retain decimal precision when exporting CSV
...
Using `Number.prototype.toLocaleString()` has the unexpected behavior of truncating anything
exceeding 3 decimal digits on floats.
Additionally, it introduces inconsistencies (comma vs period separators) which could make processing the
output CSV harder than it could be. The proposed solution here is to simply let numbers be cast
automatically via string concatenation.
Fixes #13929
2018-11-18 12:40:43 -05:00
Torkel Ödegaard
8d39ca76be
switch style tweaks
2018-11-16 12:45:19 -08:00
Peter Holmberg
cc7bf31c3e
Merge remote-tracking branch 'origin/develop' into unit-picker
2018-11-16 16:54:02 +01:00
Peter Holmberg
02d8ffda5b
default value
2018-11-16 16:35:42 +01:00
Peter Holmberg
0f4131b8d7
handle default value
2018-11-16 15:26:51 +01:00
Torkel Ödegaard
57de2475b0
various fixes to angular loading
2018-11-16 15:09:14 +01:00
Peter Holmberg
8ab86c2ceb
expand groups when searching
2018-11-16 14:40:24 +01:00
Peter Holmberg
2b8eab8c8c
maxHeight and style overrides
2018-11-16 14:11:51 +01:00
ijin08
c505fc3783
moved slider into label to make it clickable, styled slider in dark and light theme, created variables for slider
2018-11-16 13:02:29 +01:00
Marcus Efraimsson
f528142655
Merge pull request #14089 from grafana/fixed-alert-tab-location
...
fixed alert tab order and fixed some console logging issues
2018-11-16 03:58:13 -08:00
Torkel Ödegaard
f21fe65bb1
fixed issues when changing type, need to remove event listeners and cleanup props
2018-11-16 10:00:13 +01:00
Torkel Ödegaard
ad3e683739
Merge branch 'develop' into panel-edit-in-react
2018-11-16 07:43:37 +01:00
Torkel Ödegaard
e21a140fcc
minor fixes
2018-11-16 07:41:40 +01:00
Torkel Ödegaard
c4ae05c5e5
Merge pull request #14078 from grafana/12759-description-n-links
...
12759 React-panel: description and links
2018-11-16 06:57:42 +01:00
Roland Dunn
242ceb6d95
Update google analytics code to submit full URL not just path
2018-11-15 20:12:48 +00:00
Torkel Ödegaard
8ce1cc2d52
fixed alert tab order and fixed some console logging issues
2018-11-15 17:33:55 +01:00
Peter Holmberg
61a704a64e
some progress on groups and options
2018-11-15 17:14:43 +01:00
Torkel Ödegaard
a87035312d
Merge branch 'develop' into panel-edit-in-react
2018-11-15 17:04:00 +01:00
Torkel Ödegaard
03040159ca
Merge branch 'master' into develop
2018-11-15 17:00:03 +01:00
Marcus Efraimsson
52a71596eb
fix selected home dashboard should show as selected even though its not starred
2018-11-15 14:43:50 +01:00
bergquist
7ba04466a2
alerting: improve annotations for pending state
2018-11-15 14:30:36 +01:00
Marcus Efraimsson
9606491f6c
reload browser after preferences been updated
2018-11-15 14:29:14 +01:00
Johannes Schill
e979ed140e
panel-header: Unmount popper when not needed.
2018-11-15 14:16:26 +01:00
Johannes Schill
9e9ce80740
panel-header: Updated snapshots for popper
2018-11-15 13:49:48 +01:00
Johannes Schill
2a5f7d1e05
panel-header: Add fade in transition to tooltip
2018-11-15 13:44:15 +01:00
Torkel Ödegaard
cf0db51659
Trying to reduce the amount of duplication with preferences
2018-11-15 13:37:29 +01:00
Johannes Schill
e73466a80d
panel-header: Make it possible to style the reference element and fix so panel description looks good
2018-11-15 12:47:32 +01:00
Torkel Ödegaard
911646f913
poc: handling panel edit mode in react even for angular panels poc
2018-11-15 09:46:21 +01:00
Johannes Schill
0430bb47c2
panel-header: Simplify condition
2018-11-15 09:17:39 +01:00
Torkel Ödegaard
bdf598ccb2
minor fix
2018-11-14 21:38:53 -08:00
Torkel Ödegaard
810e256787
css update to switch slider
2018-11-14 21:35:02 -08:00
Johannes Schill
0a5f920bf5
panel-header: Avoid undefined classNames and use the real panel description
2018-11-14 22:29:10 +01:00
Torkel Ödegaard
bae4c8d2e6
wip: switch slider test
2018-11-14 13:29:09 -08:00
Johannes Schill
af859b2f4d
panel-header: Updates for the new react-popper api and make it possible to hover the tooltip popper without it closing
2018-11-14 22:28:00 +01:00
Peter Holmberg
063a1acf94
started on options and groups
2018-11-14 17:00:26 +01:00
Torkel Ödegaard
080d611004
minor changes to react panels
2018-11-14 13:20:19 +01:00
Torkel Ödegaard
604add078b
Merge pull request #14066 from grafana/panel-size-refactor
...
Panel size refactor
2018-11-14 12:38:21 +01:00
Torkel Ödegaard
6d65432c8a
Merge branch 'toggle-panel-menu-withreact' into develop
2018-11-14 12:24:30 +01:00
Torkel Ödegaard
90c41bb087
changed how size is calcualted and propagated and added proper interval calc to DataPanel
2018-11-14 12:03:25 +01:00
Peter Holmberg
e4e41474b1
first stuff
2018-11-14 11:06:02 +01:00
Peter Holmberg
a9b5cbf381
adced clickoutside wrapper
2018-11-13 17:00:28 +01:00
Erik Sundell
e698202fae
stackdriver: use new naming convention for query editor all over
2018-11-13 10:57:10 +01:00
Torkel Ödegaard
7a30220d01
fixed scrollbar autohide prop
2018-11-12 17:48:10 +01:00
Torkel Ödegaard
727efa5a03
Merge branch 'pane-edit-ux-tabs' into develop
2018-11-12 16:25:13 +01:00
Torkel Ödegaard
e0feb72637
Merge remote-tracking branch 'origin/data-source-settings-to-react' into develop
2018-11-12 16:17:05 +01:00
Torkel Ödegaard
a7daf58bb9
wip: progress on edit mode ux with tabs
2018-11-09 13:17:41 +01:00
David
203078280f
Merge pull request #13942 from grafana/davkal/explore-logging-graph
...
Explore: Logging graph overview and view options
2018-11-08 14:38:29 +01:00
David Kaltschmidt
6b8d7c89ac
Refactored log stream merging, added types, tests, comments
2018-11-08 14:24:54 +01:00
Torkel Ödegaard
964a21b091
Merge branch 'master' into panel-edit-ux
2018-11-08 11:46:04 +01:00
Torkel Ödegaard
d7655e0b54
fixed issue with reducer sharing url query instance with angular router
2018-11-07 11:44:50 -08:00
Peter Holmberg
e25b2d0ab6
Merge branch 'master' into data-source-settings-to-react
2018-11-07 09:50:17 +01:00
Torkel Ödegaard
5975c4a737
ux: changed panel selection ux
2018-11-06 18:34:37 +01:00
Johannes Schill
f9dd516578
wip: panel-header: Add "Edit JSON" functionality + make sure everyone using the json editor pass in the model property instead of the scope property when triggering the json modal
2018-11-06 15:25:36 +01:00
Johannes Schill
212c086162
Mobx is now Redux
2018-11-06 15:24:00 +01:00