Commit Graph

394 Commits

Author SHA1 Message Date
Torkel Ödegaard bcae94f8ca Merge pull request #15135 from grafana/tooling/stortybook-from-root
Add storybook script to run it from root dir
2019-01-31 07:25:52 +01:00
Torkel Ödegaard 6fd60c639f Updated version again 2019-01-30 17:20:43 +01:00
Torkel Ödegaard d7f81c4795 Updated version and made some changes to changelog and what's new article 2019-01-30 17:14:42 +01:00
Johannes Schill 3165305377 chore: Add typings for react-grid-layout and react-virtualized 2019-01-30 15:44:34 +01:00
Dominik Prokop d784accdec Add storybook script to run it from root dir 2019-01-30 12:54:24 +01:00
Alexander Zobnin 15d42ba414 Merge remote-tracking branch 'upstream/azure-monitor' into azure-monitor 2019-01-29 14:29:31 +03:00
Alexander Zobnin fefb2c2ba2 Azure Monitor: replace monaco by slate with initial Kusto syntax 2019-01-29 14:19:31 +03:00
Daniel Lee e4f4cb814c Merge branch 'master' into azure-monitor 2019-01-28 19:23:34 +01:00
Alexander Zobnin 0dc6e86b3b use @alexanderzobnin/monaco-kusto package for kusto syntax highlight 2019-01-25 11:15:18 +03:00
Alexander Zobnin 00de497663 Azure Monitor: build monaco with webpack WIP 2019-01-24 18:43:48 +03:00
Torkel Ödegaard 39fa0aec5d Updated version in package.json to 6.0.0-pre1 2019-01-22 11:37:14 +01:00
Johannes Schill 15d560a1c0 feat: wip: Sanitize user input on text panel 2019-01-22 09:36:07 +01:00
Daniel Lee dd96f2a522 azuremonitor: move files into grafana
Initial port of the code from the plugin - lots of small things to fix.
2019-01-17 10:55:03 +01:00
Dominik Prokop c3fdc1a0fb Panel time override tests 2019-01-11 16:21:44 +01:00
Johannes Schill 6ac25d41fa chore: Move CustomScrollbar to @grafana/ui #14759 2019-01-09 09:49:45 +01:00
Torkel Ödegaard 8a2d1b98e9 Removed rxjs compat 2018-12-31 08:57:01 +01:00
Simon Podlipsky d42f821c87 Update rxjs 2018-12-27 20:37:44 +01:00
Torkel Ödegaard 9cd449ed52 added node-sass as dev dependency, needed after I removed grunt-sass 2018-12-25 21:11:18 +01:00
Torkel Ödegaard ce0dcd5cab Husky and sasslint fixes, fixes #14638 2018-12-25 20:20:59 +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 19da963a19 Typings issues 2018-12-25 08:55:44 +01:00
Torkel Ödegaard 52f583fee7 @grafana/ui lib now contains one components, seperate lint & tsc steps 2018-12-21 14:23:32 +01:00
Torkel Ödegaard f089c7ee5e Grafana ui library poc 2018-12-20 09:25:04 +01:00
Torkel Ödegaard 72b9cb9b9f Switched to react-select fork 2018-12-16 09:58:37 +01:00
Torkel Ödegaard 180ca021b5 Merge branch 'master' into develop 2018-12-05 10:17:22 +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
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
Marcus Efraimsson e9a8185da1 update package.json to next version 2018-12-03 16:49:32 +01:00
Torkel Ödegaard 5038efe09e Merge branch 'master' into davkal/babel-7 2018-11-23 13:44:59 +01:00
Torkel Ödegaard fd71abc301 fixed issue with babel plugin proposal class properties that initiated
properties to void 0. This breaks angularjs preAssignBinding which
applies bindings to this before constructor is called. Fixed by
using fork of babel plugin.

https://github.com/babel/babel/issues/8417
2018-11-23 13:41:45 +01:00
Johannes Schill 6cd5bca9ab panel-header: Bump @types/react, @types/react-dom, react, react-dom, react-popper to latest versions 2018-11-14 22:28:00 +01:00
Torkel Ödegaard dedeaf541e wip panel size handling 2018-11-13 18:50:12 +01:00
David Kaltschmidt e8a895d58b JS tooling: run TS grunt tasks only when files changed
- using grunt-newer to prefix precommit tasks
- only got it to work for tslint and tsc

Not applied to:

- sasslint does not take the file arguments in a way that grunt-newer
  recognizes
- no-only-tests throws an error when used with `newer`, but it's
  sub-second runtime
2018-10-30 10:25:53 +01:00
David Kaltschmidt c1347e4ecb WIP babel 7 2018-10-29 12:20:10 +01:00
David Kaltschmidt ff67213b42 Explore: Use react-table as table component
- adds react-table as dependency
- replaces custom table component in Explore
- vendors react-table styles and overrides them (currently in
  explore.scss)
2018-10-17 14:58:04 +02:00
Torkel Ödegaard 50083da29c updated jest to 23.10 2018-10-12 13:46:30 +02:00
Johannes Schill 8620804b9f Lock down webpack to 4.19.1 to avoid issue with webpack-cli (https://github.com/webpack/webpack/issues/8082) 2018-10-10 14:15:27 +02:00
Johannes Schill 67d77e6061 Bump react-select to 2.1.0 #13425 2018-10-10 14:15:27 +02:00
Johannes Schill d9434ba1b1 wip: Upgrade react-select #13425 2018-10-10 14:15:25 +02:00
bergquist 81824370db bump master version to 5.4.0-pre1 2018-10-03 17:38:52 +02:00
Daniel Lee 0a77cd5569 stackdriver: adds on-change with debounce for alias by field 2018-09-26 00:33:18 +02:00
bergquist 63ed02e626 removes codedov refs 2018-09-18 11:44:31 +02:00
Torkel Ödegaard 742d2041a4 Merge pull request #13282 from grafana/davkal/explore-multiline-syntax
Explore: Add multiline syntax highlighting to query field
2018-09-17 13:20:19 +02:00
David Kaltschmidt face5b1890 Explore: Add multiline syntax highlighting to query field
- the non-nested query field schema did not allow for multi-line
  highlighting
- added explicit code schema and a `makeValue` function that enforces
  the nested structure
- replaced vendored prism-slate adapter with official slate-prism
  package
- renamed language to syntax
2018-09-14 16:38:45 +02:00
Torkel Ödegaard e58c2ebc1c tech: remove all mobx stuff 2018-09-14 09:43:34 +02:00
Peter Holmberg 0768a078ed Upgrade react and enzyme (#13224)
* upgrade to latest react and fixed failing test

* upgrading libs

* grunt exec update due to change filename

* new yarn lock

* updated snaps
2018-09-11 16:31:34 +02:00
Torkel Ödegaard 1ce9001141 upgrade of typescript and tslint and jest (#13223) 2018-09-11 13:48:13 +02:00
Torkel Ödegaard 4391209f7b Merge branch 'master' into redux-poc2 2018-09-07 14:49:05 +02:00
Alexander Zobnin cf832e7db4 wrapper for react-custom-scrollbars component 2018-09-06 15:09:18 +03:00