Torkel Ödegaard
73980adb17
Merge pull request #15826 from grafana/davkal/15635-vendor-ansicolor-ts
...
fix(renderer): Vendor ansicolor as typescript
2019-03-06 15:06:46 +01:00
David Kaltschmidt
26236b4bc3
fix(renderer): Vendor ansicolor as typescript
...
Fixes #15635
Importing ansicolor from node_modules or vendored as is failed because
there is no ES5 transpiler configured for ES6 libs.
- remove ansicolor from package.json
- add ansicolor to public/vendor/ansicolor and port to typescript
- adapt all ansicolor imports
- add `public/vendor` as a path to be considered by ts compiler
2019-03-06 14:22:59 +01:00
Jon Ferreira
a3da8dc673
Expose onQueryChange to angular plugins
2019-03-05 15:04:10 -05:00
David Kaltschmidt
e6a74eb1a2
Explore: Make sure line graphs get different colors
...
- lines for graphs from different query rows end up in different
transactions
- within each transaction the color distribution resets leading to color
overlap
- this change takes existing transaction colors into account
2019-02-24 10:01:50 -08:00
Valentin Agachi
425636ff70
Improve Loki logs render with ANSI colors ( #15558 )
...
* Improve Loki logs render with ANSI colors
* fixup! Improve Loki logs render with ANSI colors
* fixup! Improve Loki logs render with ANSI colors
* fixup! Improve Loki logs render with ANSI colors
2019-02-22 13:13:10 +01:00
Torkel Ödegaard
7d105439f9
Fixed scrollbar issue introduced in theme changes
2019-02-21 09:41:53 +01:00
Dominik Prokop
88a46e6dd4
Bump Prettier version ( #15532 )
...
* Fix prettier version to 1.16.4
2019-02-19 15:41:35 +01:00
Torkel Ödegaard
df170aee16
Updated explore icon and style tweaks
...
Lowered icon size and improved paddings, tried to align placement between dashboard and explore
2019-02-18 18:26:24 +01:00
Torkel Ödegaard
2d5fd7fdfd
Fixed prettier issue ( #15471 )
...
Fixed prettier CI issue that caused build failures
2019-02-16 15:45:19 +01:00
David
2c92365969
Merge pull request #15305 from avaly/feature/ansi-colors
...
Support ANSI colors codes in Loki logs
2019-02-14 18:01:23 +01:00
Hugo Häggmark
90d162e608
Merge with master
2019-02-12 16:47:57 +01:00
Torkel Ödegaard
8bd7e5a5f4
Merge pull request #15374 from grafana/explore/dedup-selector
...
Move deduplication calculation from Logs component to reselect selector
2019-02-12 14:57:06 +01:00
Dominik Prokop
dd19ec3b22
Move explore selectors to a separate file
2019-02-12 12:36:46 +01:00
Torkel Ödegaard
a79bd42414
Merge pull request #15306 from grafana/explore/dedup-strategu-url
...
Persist deduplication strategy in url
2019-02-11 17:12:41 +01:00
Dominik Prokop
1693f083cc
Move deduplication calculation from Logs component to redux selector
2019-02-11 16:57:49 +01:00
Daniel Lee
52fe6b0316
Merge pull request #15198 from CorpGlory/azure-monitor-refactor-#15087
...
Azure Monitor: refactor #15087
2019-02-11 14:19:42 +01:00
Dominik Prokop
85780eb30c
Remove not related code
2019-02-11 13:18:16 +01:00
Dominik Prokop
cee2e4788b
Do not read store state from toggle panelaction creator
2019-02-11 12:56:37 +01:00
Dominik Prokop
14bf960b64
Merge branch 'master' into explore/dedup-strategu-url
2019-02-11 12:03:45 +01:00
Dominik Prokop
c9fbd43231
Review changes
2019-02-11 11:59:48 +01:00
Torkel Ödegaard
b780b6377a
Fixed missing time axis on graph due to width not being passed
2019-02-11 11:17:23 +01:00
Torkel Ödegaard
df17f7dc45
fixed explore width-0 issue, fixes #15304
2019-02-07 18:20:16 +01:00
Dominik Prokop
229d646bfc
Persis deduplication strategy in url
2019-02-07 18:01:09 +01:00
Valentin Agachi
ec0e03e547
Support ANSI colors codes in Loki logs
...
Closes #15114
2019-02-08 00:49:39 +08:00
corpglory-dev
0cc9cbcb54
Merge branch 'master' into azure-monitor-refactor-#15087
2019-02-07 16:59:49 +03:00
Torkel Ödegaard
78ea7ae783
Merge pull request #15212 from grafana/dashboard-react-page
...
Dashboard react page
2019-02-07 14:23:44 +01:00
Torkel Ödegaard
8c65430ea3
Merge pull request #15251 from grafana/14822-use-autosizer
...
Remove react-sizeme and use AutoSizer
2019-02-07 14:03:25 +01:00
corpglory-dev
e58f3a678d
Merge branch 'master' into azure-monitor-refactor-#15087
2019-02-06 14:31:23 +03:00
Torkel Ödegaard
fa32198831
Merge branch 'master' into dashboard-react-page
2019-02-05 17:56:04 +01:00
Torkel Ödegaard
a0bd022186
Merge pull request #15259 from grafana/hugoh/clicking-outside-timepicker-should-hide-it
...
Clicking outside TimePicker (Angular & React versions) should close it
2019-02-05 16:46:47 +01:00
Hugo Häggmark
e42b670f5c
Closing timepicker when clicking outside the picker
2019-02-05 15:41:00 +01:00
Johannes Schill
e103143634
fix: Update snapshot
2019-02-05 14:42:18 +01:00
Johannes Schill
f5431f5210
chore: Explore: Remove inner AutoSizer, spread the size-object to width/height, change height type to number
2019-02-05 14:42:18 +01:00
Johannes Schill
d68df9d704
fix: Calculation issue with AutoSizer in explore
2019-02-05 14:42:18 +01:00
Johannes Schill
097396c517
chore: Replace withSize with AutoSizer in explore/Graph.tsx
2019-02-05 14:42:18 +01:00
Hugo Häggmark
9ba98b8703
Fixes #15223 by handling onPaste event because of bug in Slate
2019-02-05 13:13:52 +01:00
Torkel Ödegaard
44cef757e5
Merge branch 'hugoh/explore-refactor-initial-modified-queries'
2019-02-05 09:33:28 +01:00
Torkel Ödegaard
bfdfb215f3
added missing typing to explore props
2019-02-05 09:32:42 +01:00
Torkel Ödegaard
28fc27c4ae
Merge branch 'master' of github.com:grafana/grafana into dashboard-react-page
2019-02-05 09:23:58 +01:00
Hugo Häggmark
3b0a04c627
Fixed so onBlur event trigger an QueryChange and QueryExecute if values differ
2019-02-05 07:03:16 +01:00
Hugo Häggmark
2c255fd85a
Renamed initialQueries to queries
2019-02-05 06:19:40 +01:00
Johannes Schill
9ab5eeb7f3
fix: Explore: Query wrapping on long queries #15222
2019-02-04 17:26:20 +01:00
Hugo Häggmark
f74ebdade6
Missed to save
2019-02-04 15:11:19 +01:00
Hugo Häggmark
a0c4837eb5
Merge with master
2019-02-04 15:06:01 +01:00
Hugo Häggmark
34dd1a22ab
Fixed bug with removing a QueryRow thats not part of nextQueries
2019-02-04 14:16:15 +01:00
Torkel Ödegaard
b58a3c939c
Merge pull request #15194 from grafana/explore/url
...
Explore - UI panels state persistance in url
2019-02-04 14:10:50 +01:00
Hugo Häggmark
96aef3bab8
Replaced intialQueris with queryKeys
2019-02-04 13:41:29 +01:00
Hugo Häggmark
5e2b9e40a2
Added more typings
2019-02-04 11:25:07 +01:00
Torkel Ödegaard
217468074f
added submenu, made sure submenu visibility is always up to date
2019-02-04 11:19:45 +01:00
Hugo Häggmark
6b98b05976
Removed modifiedQueries from state
2019-02-04 11:07:32 +01:00
Hugo Häggmark
1f5bb76718
Refactor of action, actionTypes and reducer
2019-02-04 07:50:17 +01:00
Hugo Häggmark
2d0fd96621
More types and some refactoring
2019-02-04 07:50:17 +01:00
Hugo Häggmark
acea1d7f00
Alignment of interfaces and components
2019-02-04 07:50:17 +01:00
Hugo Häggmark
43f8098981
Removed the on every key change event
2019-02-04 07:48:25 +01:00
Dominik Prokop
3c358e406e
Make runQueries action independent from datasource loading
2019-02-01 14:56:54 +01:00
Torkel Ödegaard
740e1a0540
Made really good progress on loki support in dashboards
2019-02-01 13:30:15 +01:00
Dominik Prokop
2ddccb4a21
Temporarily run queries independently from UI state of explore panels
2019-02-01 12:57:09 +01:00
corpglory-dev
cf60ae79c3
Move prism to app/features/explore
2019-02-01 14:47:17 +03:00
Dominik Prokop
6ab9355146
Restoring explore panels state from URL
2019-02-01 12:33:15 +01:00
Torkel Ödegaard
6e0b873739
Merge branch 'master' into loki-query-editor
2019-02-01 11:17:22 +01:00
Torkel Ödegaard
6663b2fab9
Moved time_srv to services folder, this should not belong to dashboard feature but it is too dependant on dashboard to move it out now, needs a bigger refactoring to isolate from dashboard
2019-01-31 08:44:46 +01:00
Dominik Prokop
661de1efe1
Rename SetInitialQueries action to QueriesImported
2019-01-30 09:50:28 +01:00
Dominik Prokop
d746df485c
Add missing code
2019-01-30 09:36:23 +01:00
Dominik Prokop
ca0d2996f2
Merge branch 'master' into explore/queries-import-changes
2019-01-30 09:30:10 +01:00
Torkel Ödegaard
4c689fce96
Merge pull request #15121 from grafana/davkal/15011-fix-query-change-twice
...
Explore: query field should not propagate non-text change
2019-01-29 20:29:47 +01:00
David Kaltschmidt
8d44ed8d8f
Explore: query field should not propagate non-text change
...
- after mounting with an initial value, the onChange of a query field is triggered
- even though the slate documents are not the same, their text values are identical, hence the change propagation is useless
- added check to propagate text change only when text has actually changed
2019-01-29 15:53:51 +01:00
Dominik Prokop
9ddbfed730
Wait for queries to be imported before proceeding with datasource change
2019-01-29 15:52:36 +01:00
Dominik Prokop
8ea72eeaf7
Remove commented code
2019-01-29 15:40:01 +01:00
Torkel Ödegaard
0ac0588583
Merge pull request #15107 from grafana/explore-query-styles
...
Updated Explore query styles to align them to other query editors
2019-01-29 15:38:06 +01:00
Dominik Prokop
010f902003
Import queries before datasource is changed
2019-01-29 15:34:28 +01:00
Torkel Ödegaard
d53a430c82
Fixed issue with explore changeTime redux action not being hooked up, fixes #15115
2019-01-29 14:58:57 +01:00
Torkel Ödegaard
6dad4cce07
Updated Explore query styles to align them to other query editor to make them fit in better
2019-01-29 08:14:07 +01:00
Torkel Ödegaard
e4244d8bf8
Merge branch 'master' into loki-query-editor
2019-01-29 07:10:06 +01:00
Torkel Ödegaard
daab7a5f6e
Merge pull request #15099 from grafana/tooling/storybook-poc
...
Named colors & storybook
2019-01-28 20:47:46 +01:00
Torkel Ödegaard
8510f0cd11
Merge pull request #15084 from grafana/fix/explore-datasource-change
...
Update datasource before the loading has started
2019-01-28 17:55:33 +01:00
Dominik Prokop
7a8eb8c115
Merge branch 'master' into tooling/storybook-poc
2019-01-28 17:36:41 +01:00
Torkel Ödegaard
fd06e51776
Merge branch 'master' into fix/explore-do-not-clear-results
2019-01-28 17:16:39 +01:00
Torkel Ödegaard
5768593da7
Merge pull request #15095 from grafana/hugoh/bug-inifinite-loop-when-scan-for-older-logs-clicked
...
Making sure we do not pass a long invalid queries and save to state
2019-01-28 17:01:24 +01:00
Torkel Ödegaard
a1a905cbb1
Removed the initial data source as I could not see it being used anywhere
2019-01-28 16:31:38 +01:00
Hugo Häggmark
08f5a3338a
Making sure we do not pass a long invalid queries and save to state
2019-01-28 15:27:35 +01:00
Torkel Ödegaard
91d926f180
single import for types from @grafana/ui
2019-01-28 15:27:23 +01:00
Torkel Ödegaard
2c9a867bde
Merge branch 'master' into fix/explore-datasource-change
2019-01-28 15:24:14 +01:00
Hugo Häggmark
dc125f1e4d
Made sure we only resetTypeahead if mounted
2019-01-28 14:43:59 +01:00
David
edfce0893e
Merge pull request #15090 from grafana/hugoh/bug-explore-cant-go-from-dashboard-to-explore
...
Fixed reinitialise of Explore
2019-01-28 13:43:32 +01:00
Dominik Prokop
07331b4c07
Revert "Use the same panel loading indicator in explore as on dashboard's panel"
...
This reverts commit 05edb3e5ad
.
2019-01-28 13:40:41 +01:00
Hugo Häggmark
6b0400eed2
Firing off an action instead of listening to location changes
2019-01-28 13:27:56 +01:00
Dominik Prokop
957c659291
Handle undefined graph and table results
2019-01-28 13:09:51 +01:00
Dominik Prokop
05edb3e5ad
Use the same panel loading indicator in explore as on dashboard's panel
2019-01-28 12:58:10 +01:00
Dominik Prokop
2ff62c42ac
Prevents query result cleaning when new query trransaction starts
2019-01-28 12:57:09 +01:00
Hugo Häggmark
9298876ef0
Changes after PR Comments
2019-01-28 12:47:01 +01:00
Hugo Häggmark
1e6d50df7a
Made ExplorerToolbar connected and refactored away responsabilities from Explore
2019-01-28 12:47:01 +01:00
Hugo Häggmark
21df0c90a9
Removed some split complexity
2019-01-28 12:47:01 +01:00
Hugo Häggmark
0a094a13f2
Fixed some more styling
2019-01-28 12:47:01 +01:00
Hugo Häggmark
18727dce23
Fixed close split look and feel
2019-01-28 12:47:01 +01:00
Hugo Häggmark
d2a5477654
Fixed small issue with TimePicker dropdown position
2019-01-28 12:47:01 +01:00
Hugo Häggmark
032a82feed
Simplified some styles and dom elements
2019-01-28 12:47:01 +01:00
Hugo Häggmark
9caaf25078
Fixed some more with the sidemenu open and smaller screens
2019-01-28 12:47:01 +01:00
Hugo Häggmark
b2c284e42c
Fixed so heading looks good with closed sidemenu
2019-01-28 12:47:01 +01:00
Hugo Häggmark
ffe03ee22d
Restructure of component and styling
2019-01-28 12:47:01 +01:00
Hugo Häggmark
1aefc4cc2d
Refactored out ExploreToolbar from Explore
2019-01-28 12:47:01 +01:00