Commit Graph

23 Commits (254fe95298157bb6bc9fe43a44dd6832b93db86c)

Author SHA1 Message Date
Andrew Watkins 4a4a255903 WIP Edit scripts returned from the server
Had to downgrade react-codemirror due to a bug.  Issues and PRs
are open to resolve:
- https://github.com/JedWatson/react-codemirror/issues/121
- https://github.com/JedWatson/react-codemirror/issues/106
2017-09-12 09:23:23 -07:00
Andrew Watkins fa0a832bb7 Introduce CodeMirror for TICKscript editor 2017-09-12 09:23:22 -07:00
Chris Goller d1007513cd Update kapacitor rule response with dbrps, various dates, error, and executing. 2017-09-09 10:19:52 -05:00
Hunter Trujillo af03beafb1 Use src-relative path for importing enablePresentationMode action. Add query-string package. Use queryString library to parse location.search. 2017-09-01 15:07:37 -06:00
Andrew Watkins 78cab61c9c Fix js rounding errors 2017-08-28 12:39:49 -07:00
Andrew Watkins eacc8b3a0d Include babel-eslint plugin
An eslint plugin companion to babel-eslint. babel-eslint does a great
job at adapting eslint for use with Babel, but it can't change the built
in rules to support experimental features. eslint-plugin-babel
re-implements problematic rules so they do not give false positives or
negatives.
2017-08-17 09:33:36 -07:00
Nathan L Smith 7de81b4bde Improvements to npm scripts
When trying to run `npm run test:dev`, I noticed that `nodemon` was not found,
so that task will not work unless you've done `npm install -g nodemon`.

Replace `nodemon`, which would watch for changes to files and restart
Karma, with [concurrenty](https://www.npmjs.com/package/concurrently) and
[eslint-watch](https://www.npmjs.com/package/eslint-watch).

The NPM scripts also had some full paths to binaries that were not necessary
which have been replaced with the shorter versions, and short configuration
options that have been replaced with longer ones for readability (`-w` vs
`--watch`, etc.)

The `eslint` package was updated to remove a warning about an incorrect peer
dependency with `eslint-plugin-prettier`.

Signed-off-by: Nathan L Smith <smith@nlsmith.com>
2017-08-11 01:53:37 +00:00
Jared Scheib cae6d14e37 Separate Kapacitor & Data Explorer queryConfig actions & reducers
Refactor actions to ES6
Rename Kapa & DE action creator groups & redux state top-level keys for clarity
Remove auto-add func to field in kapa
Remove unused actions and reducers from kapa queryconfigs
Replace react-addons-update with lodash _.filter and _.omit; yarn package
2017-07-24 21:31:54 -07:00
Jared Scheib 24884ae735 Add Karma verbose reporting; comment options in config 2017-07-22 11:32:03 -07:00
Hunter Trujillo 37f29060a4 Add prettier to an eslint rule. 2017-07-20 11:12:48 -06:00
Hunter Trujillo 7c4a56932c Add prettier and eslint commands to package scripts. 2017-07-20 10:41:40 -06:00
Jared Scheib 50bfe97ac4 Move he dep to correct package.json and yarn.lock 2017-07-10 12:38:36 -07:00
Hunter Trujillo 05cbed726b Fix node-sass version for Node 8 support. 2017-07-06 17:29:59 -06:00
Alex P d0047e48cb Install text size calculator package
As per recommendation of @cryptoquick this thing is a much more sound
means of doing the calculation than my initial approach
2017-07-05 14:04:46 -07:00
Andrew Watkins bf131c43db Upgrade to Dygraph 2.0 2017-05-12 16:33:23 -07:00
Alex P 6e3a2f7a3a Add react-custom-scrollbars package and default styles 2017-05-08 15:04:21 -07:00
Chris Goller f8652efdee Update /queries endpoint to handle templates 2017-04-28 15:12:28 -05:00
Andrew Watkins 1af44ebb67 Resolve missing binding for Node Sass error 2017-04-26 06:17:41 -07:00
Jared Scheib 92775038f2 Upgrade react-router to ^3.0.2 to go ahead and iron out any issues and to accommodate refactor of Notifications and SideNavApp to use withRouter so that 'sourceID' and 'location' use can be cleaned up 2017-04-12 15:18:09 -07:00
Jared Scheib ab23481ab5 Refactor router to require authentication and force logout, add router dependencies with yarn 2017-04-11 19:35:39 -07:00
Andrew Watkins 0e966b7b5d WIP Introduce date time picker 2017-03-29 16:37:02 -07:00
Hunter Trujillo 8ac86ab88a Reuse shared sparse arrays for GC efficiency. Use fast.js methods to further optimize speed. 2017-01-30 08:05:57 -08:00
Hunter Trujillo c98383f543 Add React Storybook, in addition to stories and stubs for ValuesSection. Also… Add a nifty corsless proxy courtesy of yt. 2017-01-04 16:02:11 -08:00