Torkel Ödegaard
3b4d8c9b9b
Merge pull request #13984 from grafana/12759-panel-header-standard-menu-only
...
12759 panel header menu in React (standard options only)
2018-11-07 23:42:42 +01:00
Torkel Ödegaard
29e18fddd0
refactored how testing state was handled, using redux for this felt way to require way to much code
2018-11-07 14:28:44 -08:00
Torkel Ödegaard
bcd0b2fcf7
Merge branch 'master' into 12759-panel-header-standard-menu-only
2018-11-07 11:22:30 -08:00
Torkel Ödegaard
99610e040f
fixed exporter bug missing adding requires for datasources only used via data source variable, fixes #13891
2018-11-07 11:14:39 -08:00
Torkel Ödegaard
c52e91ee6c
minor text change in export modal
2018-11-07 10:46:09 -08:00
Torkel Ödegaard
e73e18913c
Merge branch 'export_dashboard_guidence' of https://github.com/bergquist/grafana into bergquist-export_dashboard_guidence
2018-11-07 10:34:15 -08:00
Peter Holmberg
682697e2cd
clear test box if success
2018-11-07 16:14:55 +01:00
Torkel Ödegaard
93b4cb562d
Fixed issues introduced by changing to PureComponent
2018-11-07 16:03:33 +01:00
Peter Holmberg
b7d494551c
Added testing state in reducer
2018-11-07 15:38:53 +01:00
Torkel Ödegaard
37eb7ca62b
further refactoring of #13984
2018-11-07 13:55:02 +01:00
Torkel Ödegaard
a24f6998f2
refactorings and some clean-up / removal of things not used
2018-11-07 13:36:35 +01:00
Peter Holmberg
e25b2d0ab6
Merge branch 'master' into data-source-settings-to-react
2018-11-07 09:50:17 +01:00
Torkel Ödegaard
7d87f57367
experimental option boxes
2018-11-06 18:55:35 +01:00
Torkel Ödegaard
5975c4a737
ux: changed panel selection ux
2018-11-06 18:34:37 +01:00
Johannes Schill
08251425ca
wip: panel-header: Fix shareModal compatibility with react and angular
2018-11-06 16:55:44 +01:00
Johannes Schill
9c28ff8f84
wip: panel-header: Remove custom menu items from panels completely
2018-11-06 16:44:13 +01:00
Johannes Schill
dd7437e9e9
wip: panel-header: Reverted a lot of code to pause the "custom menu options" for now
2018-11-06 16:37:51 +01:00
Johannes Schill
49550ccedf
wip: panel-header: More merge conflicts during cherry pick
2018-11-06 16:12:04 +01:00
Johannes Schill
dbf7f3fb61
wip: panel-header: More merge conflicts during cherry pick
2018-11-06 16:05:34 +01:00
Johannes Schill
6c0c1254fe
wip: panel-header: More merge conflicts
2018-11-06 15:44:04 +01:00
Johannes Schill
ca4612af26
wip: panel-header: Merge conflicts
2018-11-06 15:35:15 +01:00
Johannes Schill
f471482569
wip: panel-header: Fragment not needed anymore
2018-11-06 15:27:15 +01:00
Johannes Schill
443d381dd9
wip: panel-header: Add possibility to add custom actions to the menu by passing them in as props
2018-11-06 15:26:56 +01:00
Johannes Schill
f124b9de6a
wip: panel-header: Separate all panel actions to its own file so we decouple them from react
2018-11-06 15:26:43 +01:00
Johannes Schill
6151310216
wip: panel-header: Start implementing the Toggle legend, but its not taken all the way
2018-11-06 15:26:34 +01:00
Johannes Schill
79da3dc9f6
wip: panel-header: Change DashboardPanel to a PureComponent to avoid unwanted rerenders
2018-11-06 15:25:59 +01:00
Johannes Schill
5375ce5ffd
wip: panel-header: Refactor so "Share" use the same code in angular+react
2018-11-06 15:25:46 +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
edceb204e7
wip: panel-header: Add "Copy" functionality
2018-11-06 15:25:13 +01:00
Johannes Schill
b296d724e5
wip: panel-header: Add "Duplicate"
2018-11-06 15:25:07 +01:00
Johannes Schill
839057dc7a
wip: Add "Share" to the react panels
2018-11-06 15:25:02 +01:00
Johannes Schill
bf8703edb8
wip: panel-header: Move code existing in both angular+react to utility functions
2018-11-06 15:24:25 +01:00
Johannes Schill
820e47b4c0
wip: panel-header: Remove panel
2018-11-06 15:24:06 +01:00
Johannes Schill
9f6683de2c
wip: Initial commit for PanelHeaderMenu
2018-11-06 15:23:52 +01:00
Torkel Ödegaard
b372b4323d
Merge branch 'master' into panel-edit-ux
2018-11-06 15:01:16 +01:00
David Kaltschmidt
e39e82949d
Adaptive bar widths for log graph
2018-11-06 11:07:12 +01:00
bergquist
7bde98aff9
rename and mark functions as private
2018-11-06 09:00:17 +01:00
David Kaltschmidt
c1ca1ed35e
Time selection via graph
2018-11-05 23:36:58 +01:00
Torkel Ödegaard
9393b06166
basic panel options working
2018-11-05 10:31:39 -08:00
Torkel Ödegaard
35e62bbbe0
wip: react panel options architecture
2018-11-05 17:46:09 +01:00
bergquist
17adb58d80
export: provide more help regarding export format
...
this will provide the user with more info about
the export format and default to not use the format
for sharing on grafana.com etc.
ref #13781
2018-11-05 17:33:42 +01:00
Peter Holmberg
ffc06e9962
extract store from configurestore
2018-11-05 16:54:48 +01:00
Peter Holmberg
6dc3e0399d
added actions
2018-11-05 16:33:43 +01:00
Peter Holmberg
52232f98b9
Exposing digest from angular component
2018-11-05 13:39:57 +01:00
Torkel Ödegaard
c9802c283e
minor fix
2018-11-05 12:33:40 +01:00
Torkel Ödegaard
3e7cd5fa99
Merge branch 'panel-edit-ux' of github.com:grafana/grafana into panel-edit-ux
2018-11-05 10:49:44 +01:00
Torkel Ödegaard
2f4ae1e2d8
Merge branch 'master' into panel-edit-ux
2018-11-05 10:17:09 +01:00
bergquist
bc37e3caa2
alerting: increase default duration for queries
...
we should promote using longer queries since this should
increase the quality of the alerts. only using a 5min range
means that we will only have 4 datapoints in data is written
every min which is not good enough for the generic alert rule
2018-11-02 10:43:05 +01:00
David Kaltschmidt
583334df05
Explore: Logging graph overview and view options
...
- Logging gets a graph for log distribution (currently per stream, but I
think I'll change that to per log-level)
- added grid columns for timestamp and unique labels
- show common labels of streams
- View options to show/hide time columns, label columns
- created `--small` modifier for Switch CSS classes
- merging of streams is now a datasource responsibility
2018-11-02 08:25:36 +01:00
Torkel Ödegaard
0e26fad30b
minor tweak to back to dashboard buttons
2018-11-01 19:25:54 +01:00
Torkel Ödegaard
1bc3d8dad8
Merge branch 'master' into panel-edit-ux
2018-11-01 18:45:15 +01:00
Peter Holmberg
e37fa486ed
remove replaced components
2018-11-01 14:31:14 +01:00
Peter Holmberg
f95b80b7e1
remove this
2018-11-01 14:01:06 +01:00
Peter Holmberg
f15ed848f9
Merge branch 'master' into data-source-settings-to-react
2018-11-01 13:52:53 +01:00
Peter Holmberg
6493f96ac7
updated snap
2018-11-01 13:47:40 +01:00
Peter Holmberg
2837fd515f
tests
2018-11-01 13:45:52 +01:00
Peter Holmberg
7fc4b1934b
updating state and save
2018-11-01 11:19:40 +01:00
Torkel Ödegaard
ee5b37eb2c
Merge pull request #13878 from grafana/org-page-to-react
...
Org page to react
2018-10-31 20:39:56 +01:00
Torkel Ödegaard
d8e257e633
fixed react whitespace warning on teams page
2018-10-31 12:39:02 -07:00
Torkel Ödegaard
d64edc4a29
renamed org files to match new naming guide
2018-10-31 12:28:26 -07:00
Torkel Ödegaard
dcf8327dc9
moved profile pages to it's own feature folder
2018-10-31 12:25:46 -07:00
Torkel Ödegaard
17386c49d4
moved new teams page
2018-10-31 12:21:16 -07:00
Torkel Ödegaard
99d0beeaa9
reload page after preferences update
2018-10-31 12:18:19 -07:00
Torkel Ödegaard
7885453bcd
listen for changes in angular land and propagate that back to react
2018-10-31 09:19:08 -07:00
Peter Holmberg
2342f60a31
added actions
2018-10-31 14:28:16 +01:00
Peter Holmberg
1656f03acd
cleaned up render
2018-10-31 13:29:02 +01:00
Peter Holmberg
5140325a0d
renders angular component
2018-10-31 13:23:05 +01:00
Torkel Ödegaard
32ca8b7aad
updated api keys snapshot
2018-10-31 12:54:30 +01:00
Torkel Ödegaard
05dee9e340
Merge branch 'mondras-empty-cta-apikeys'
2018-10-31 12:51:36 +01:00
Torkel Ödegaard
95a8a59845
restored transition
2018-10-31 12:50:44 +01:00
Torkel Ödegaard
dfb9419f86
Merge branch 'graph-legend-to-react'
2018-10-31 04:26:44 -07:00
Torkel Ödegaard
36cd73819a
fixed memory leaks and minor refactoring
2018-10-31 03:40:03 -07:00
David Kaltschmidt
037167ff07
Fix TimePicker test by enforcing UTC on date string
2018-10-30 16:50:03 +01:00
Peter Holmberg
a7bd944098
updated view to use angular loader
2018-10-30 16:40:08 +01:00
David Kaltschmidt
c92f5462fe
Explore: repair logging after code restructuring
...
this is a fix-up PR that cleans up Explore Logging after the recent
restructuring.
- log results need to be merged since query transactions have been
introduced
- logging DS has its own language provider, query field, and start page
(some of them based on prometheus components)
- added loader animation to log viewer
- removed logging logic from prometheus components
2018-10-30 16:35:49 +01:00
David
758ec4bc70
Merge pull request #13844 from grafana/davkal/explore-empty-page
...
Explore: Pluggable components from datasource plugins
2018-10-30 14:54:34 +01:00
David Kaltschmidt
cf19ecc8f5
Make Explore plugin exports explicit
2018-10-30 14:38:34 +01:00
Peter Holmberg
58e94fc0fa
moved state
2018-10-30 13:09:59 +01:00
David Kaltschmidt
5a23723f2c
Explore: fix copy/paste on table cells
...
When selecting text via mouse, our ReactTable cells' click handler
triggers an event.
- check event target to be the link, only then handle the event
2018-10-29 16:44:50 +01:00
Peter Holmberg
12a63b605f
rename type
2018-10-29 16:01:14 +01:00
Peter Holmberg
12336e1548
using label component
2018-10-29 15:59:16 +01:00
David Kaltschmidt
d0776937b5
Pluggable components from datasource plugins
...
- when instantiating a datasource, the datasource service checks if the
plugin module exports Explore components, and if so, attaches them to
the datasource
- Explore component makes all major internal pluggable from a datasource
`exploreComponents` property
- Moved Prometheus query field to promehteus datasource and registered
it as an exported Explore component
- Added new Start page for Explore, also exported from the datasource
2018-10-29 15:14:36 +01:00
Peter Holmberg
70f6100d53
fixed type
2018-10-29 15:08:36 +01:00
David
b00e709aee
Merge pull request #13842 from grafana/davkal/explore-error-handling
...
Explore: error handling and time fixes
2018-10-29 15:08:14 +01:00
Peter Holmberg
7c5e04277c
Merge branch 'master' into org-page-to-react
2018-10-29 14:26:11 +01:00
Peter Holmberg
7dc5173a9b
removed angular code
2018-10-29 14:21:11 +01:00
Peter Holmberg
026588cbf1
test and some refactoring
2018-10-29 13:46:12 +01:00
Torkel Ödegaard
1a65046b64
Merge branch 'empty-cta-apikeys' of https://github.com/mondras/grafana into mondras-empty-cta-apikeys
2018-10-29 09:52:27 +01:00
Torkel Ödegaard
5dd9247762
Merge branch 'master' into panel-edit-ux
2018-10-28 12:11:47 -07:00
Torkel Ödegaard
9f1f5805ec
added switch form component
2018-10-28 12:10:49 -07:00
David
2ec827f02f
Merge pull request #13774 from miqh/feat/sum-query-suggestion
...
Implement sum aggregation suggestion with placeholder support
2018-10-28 17:37:42 +01:00
Michael Huynh
d1d5e9f7d3
Add tests to cover PlaceholdersBuffer and sum hint
...
Related: #13615
2018-10-28 21:07:40 +08:00
Michael Huynh
c255b5da11
Add sum aggregation query suggestion
...
Implements rudimentary support for placeholder values inside a string
with the `PlaceholdersBuffer` class. The latter helps the newly added
sum aggregation query suggestion to automatically focus on the label
so users can easily choose from the available typeahead options.
Related: #13615
2018-10-28 21:03:39 +08:00
Torkel Ödegaard
3da62f1083
Merge branch 'master' into panel-edit-ux
2018-10-27 17:44:04 +02:00
Torkel Ödegaard
c5f9d8092f
Reduce re-renderings when changing view modes
2018-10-27 16:54:04 +02:00
Torkel Ödegaard
b1b534a005
more ux progress
2018-10-27 15:09:36 +02:00
Torkel Ödegaard
a4674ecaa1
panel edit mode changes
2018-10-27 10:14:38 +02:00
David Kaltschmidt
bf1af66292
Explore: error handling and time fixes
...
- use global range types
- add ErrorBoundary around individual Explore components
- fix table merge on empty results
- fix TimePicker date parsing on ISO dates
- fix TimePicker range string after relative move
2018-10-26 18:16:00 +02:00
Torkel Ödegaard
bcf669fab5
ux experiments
2018-10-26 16:29:08 +02:00
Peter Holmberg
ccbff592d2
adding default value and update actions
2018-10-26 14:51:33 +02:00