Commit Graph

3553 Commits (acaf3ef07401087c889cf1cfea95708b1a319e6d)

Author SHA1 Message Date
Will Piers b258019778 Refactor rendering of notifications. Moar DRY 2016-10-20 13:32:09 -07:00
Will Piers 3171805445 Make notifications more prettier and fix spinner 2016-10-20 13:32:09 -07:00
Will Piers 9d400a0ccc Remove usages of old flash messages 2016-10-20 13:32:09 -07:00
Will Piers 26d1f52eda Render notifications and add dismissal 2016-10-20 13:32:09 -07:00
Will Piers 081d030728 Set up action and reducer 2016-10-20 13:32:09 -07:00
Chris Goller 10a2b31b8d Fix webpack exit code to actually work.
Webpack does not return non-zero values are failure.  This breaks
most build systems.
2016-10-20 15:08:45 -05:00
Chris Goller 8911b0fd78 Update name to chronograf 2016-10-20 09:39:40 -05:00
Kevin Fitzpatrick 9b0e95d8d2 Refactor hasSources -> redirectToHosts 2016-10-18 13:16:03 -07:00
Will Piers cf68ca807f Merge pull request #248 from influxdata/feature/manage-sources
Feature/manage sources
2016-10-18 10:21:00 -07:00
Todd Persen 24334063f4 Merge pull request #245 from influxdata/misc-polish
Explorer Empty State
2016-10-18 09:42:07 -07:00
Will Piers 2b8e42c9f7 Add connect link to each source 2016-10-17 16:21:22 -07:00
Will Piers 8d24a43415 Use mappings endpoint and refactor 2016-10-13 15:33:03 -07:00
Will Piers f6e83b9292 WIP on rendering hosts with apps 2016-10-13 12:26:48 -07:00
Alex P 183dc6632d CSS for sortable arrows + animations in table header 2016-10-12 14:53:58 -07:00
Jade McGough f3555a044d add directional arrow classes in hosts table 2016-10-12 14:41:15 -07:00
Will Piers b4c3ec5977 Refactor how default source works and second pass on manage source page 2016-10-12 14:10:45 -07:00
Alex P 3f08522098 Explorer empty state styles
Fits better into the UI
2016-10-12 13:44:35 -07:00
Will Piers b3dbbcfcef Set up route and initial html for managing sources 2016-10-11 17:21:49 -07:00
Jade McGough 75bc5ed3d3 remove unused default state 2016-10-11 14:48:21 -07:00
Jade McGough e384fa8bbc add cpu/load sorting on hosts table 2016-10-11 14:08:44 -07:00
Andrew Watkins 5dd6a20a38 Merge pull request #210 from influxdata/cleanup
Cleanup
2016-10-10 16:53:47 -07:00
Will Piers dbf1d36d35 Remove extra promise nonsense 2016-10-10 14:34:07 -07:00
Alex P 36d3504728 Adding favicon
tested in dev and prod works okay
2016-10-10 14:11:49 -07:00
Will Piers 007c6fd2cf Move Api logic out of HostsPage 2016-10-10 13:54:56 -07:00
Andrew Watkins 6b8f5a21b0 Remove linter errors 2016-10-07 13:47:54 -07:00
Will Piers f5cdece90f Fix bug when app receives a bad sourceID and fix eslint 2016-10-07 13:26:14 -07:00
Will Piers 1a53bd8b68 Simplify source page and set default source on creation 2016-10-07 13:20:12 -07:00
Will Piers c54e2d4a02 Merge pull request #199 from influxdata/feature/new-source
Creating a new source does not automatically connect to it
2016-10-07 11:30:17 -07:00
Andrew Watkins 1c80a69d84 Merge pull request #205 from influxdata/resizer-handle
Resizer Handle
2016-10-07 09:52:42 -07:00
Alex P 1e66c8bd0e Move hosts styles into corresponding stylesheet 2016-10-07 09:45:00 -07:00
Alex P e5d9db998d Making hosts pages dark 2016-10-07 09:42:07 -07:00
Alex P 578753fcf1 Aesthetic tweaks
monotype font feels really nice now
2016-10-07 09:38:41 -07:00
Alex P 4b8cbedb8d Moving panel from `HostsPage` to `HostsTable`
This way I can put the search bar next to the title without removing it
from the component
2016-10-07 09:38:40 -07:00
Alex P 7cf8d59980 fixing appearance of source selection page 2016-10-07 09:35:49 -07:00
Alex P 47a56ebcdd Polish
- Custom scrollbar
- bottom border on hosts table
2016-10-07 09:35:49 -07:00
Alex P 4009b09178 Re-styling search widget in host pages 2016-10-07 09:35:49 -07:00
Alex P c9a11fc9d6 Copy Tweak 2016-10-07 09:35:49 -07:00
Alex P c751909a25 Making hosts pages dark 2016-10-07 09:35:48 -07:00
Alex P 3be9b919a5 Obscuring white line on right side of DE
only appears once you’ve resized the panels, not the best fix but looks
better
2016-10-07 09:34:18 -07:00
Alex P 09fe86fa6e Copy Tweak 2016-10-07 09:34:18 -07:00
Alex P 1bd8ca4b3e Graph label polish
slightly smaller, text aligns more nicely
2016-10-07 09:34:18 -07:00
Alex P 6f26ac7ff3 Aesthetic tweaks
monotype font feels really nice now
2016-10-07 09:34:18 -07:00
Alex P 3631aac780 Moving panel from `HostsPage` to `HostsTable`
This way I can put the search bar next to the title without removing it
from the component
2016-10-07 09:34:18 -07:00
Alex P c75281b24f Copy tweak
matches name in navbar
2016-10-07 09:32:21 -07:00
Alex P 408bf58df3 Chopping down logs 2016-10-06 17:37:50 -07:00
Alex P e9c6aad4b2 UI Bug Fixes
- Removing minimum width from the CSS
- Minimum widths handled via JS now, much smoother
- Fixing weird white gap on right side, was math mistake
2016-10-06 16:32:03 -07:00
Alex P e7bf31f3d3 Resizer now has a more obvious handle 2016-10-06 15:19:23 -07:00
Andrew Watkins a08499a02a Add header to hosts show 2016-10-06 10:55:04 -07:00
Andrew Watkins 90be86930c Fix broken import 2016-10-06 10:34:12 -07:00
Andrew Watkins 744c6260ea Merge pull request #200 from influxdata/chore/remove-raw-query
Remove raw query tab from app
2016-10-06 09:36:55 -07:00
Tim Raymond 95cfc7d5aa Remove Overview page
This removes the Overview page from the navigation as well as all
associated JS that powered the Overview page. Styles for the Overview
page have been left in place, since there doesn't appear to be a good
option for performing CSS dead code elimination at this time.
2016-10-06 12:29:10 -04:00
Andrew Watkins 5ad9f32d67 Remove raw query tab from app 2016-10-05 15:07:03 -07:00
Andrew Watkins 893e16d573 Merge pull request #169 from influxdata/feature/#128-tr-data-explorer-source
Add Source Indicator to Data Explorer
2016-10-05 14:51:27 -07:00
Will Piers a767c6b978 Creating a new source does not automatically connect to it 2016-10-05 13:42:35 -07:00
Andrew Watkins 355850fba0 Implement rename explorations 2016-10-05 13:17:39 -07:00
Andrew Watkins 66cbb772eb Merge pull request #163 from influxdata/feature/delete-explorations
Allow deletion of explorations with new API
2016-10-04 14:21:55 -07:00
Andrew Watkins d483d4dfdb Make tagKeys / tagValues work in the DE 2016-10-04 13:18:43 -07:00
Timothy J. Raymond b1b6bea9fa Merge pull request #158 from influxdata/feature/tr-wp-add-source-to-host-table
Add Active Source to Host Table
2016-10-04 12:14:08 -04:00
Tim Raymond 81b20275b8 Add Source Indicator to Data Explorer
This places an indicator on the data explorer showing what source data
explorer queries are issued against. Sources were stored in the React
context already, presumably for other parts of the data explorer to
function, so it was possible to glean the name of the source from there.
2016-10-04 12:03:51 -04:00
Andrew Watkins 66b9776c06 Allow deletion of explorations with new API 2016-10-03 12:39:52 -07:00
Andrew Watkins 69a7ed7e0a Merge pull request #160 from influxdata/feature/vendor-fun
All the vendors are belong to us
2016-10-03 08:56:42 -07:00
Chris Goller f5e81e0ee6 Merge pull request #159 from influxdata/feature/bolt-sources
Add persistence to sources and use bolt by default
2016-09-30 18:27:53 -05:00
Andrew Watkins b39593c8c4 Fix no first explorer 2016-09-30 15:30:09 -07:00
Andrew Watkins 9b0dfd0c72 Include chunkhash to file names 2016-09-30 14:23:15 -07:00
Timothy J. Raymond 78a8aef6b2 Merge pull request #156 from influxdata/signup-styling
Make select host page pretty
2016-09-30 13:17:58 -07:00
Andrew Watkins a424d0adba Split vendor dependencies into chunks 2016-09-30 13:16:24 -07:00
Tim Raymond 96eaa9f325 Adjust prop type requirements to reflect swagger
We thought that some properties were required, but after looking back at
the swagger docs, that turned out not to be the case.
2016-09-30 11:48:52 -07:00
Tim Raymond 4225e6a0e2 Add Active Source to Host Table 2016-09-30 11:47:28 -07:00
Will Piers f9600d7f20 Merge pull request #155 from influxdata/feature/tr-wp-host-page
Implement Host List Page
2016-09-30 10:09:30 -07:00
Alex P 004f7e745b Make select host page pretty 2016-09-29 17:22:31 -07:00
Tim Raymond 0a21303286 Remove explicit "default" from RP in query 2016-09-29 17:15:54 -07:00
Tim Raymond 5adcd0d6e1 Fix up Host drilldown page
This gives the host drilldown page awareness of the host id that it
should scope its queries to. Also makes eslint happier because assigned a
magic number.
2016-09-29 16:49:58 -07:00
Will Piers c4a39b4af0 Fix connection point for source creation 2016-09-29 16:47:20 -07:00
Tim Raymond 9be3c91ed6 Add load stats to hosts page
Also normalizes the display of CPU and Load stats using toFixed to
ensure two decimals of precision.
2016-09-29 15:31:50 -07:00
Tim Raymond f10b6551e8 Populate HostsTable with name and CPU
Also includes a slight refactor of HostsTable to better separate some
mixed functional / stateful logic.
2016-09-29 14:10:45 -07:00
Andrew Watkins b2a06c0dc7 Merge pull request #151 from influxdata/feature/tr-wp-nav-rejiggering
Rejigger Side Navigation
2016-09-29 13:18:39 -07:00
Andrew Watkins 3f92cd39a0 Rename loadExplorer to loadExploration 2016-09-29 12:57:58 -07:00
Andrew Watkins a618a01036 Rename chooseExplorer to chooseExploration 2016-09-29 11:35:39 -07:00
Andrew Watkins 8f441b744e Change explorerID to explorerURI 2016-09-29 11:32:55 -07:00
Andrew Watkins e1bd544a88 Work with scoping under /sources and single source on context 2016-09-29 11:28:20 -07:00
Andrew Watkins b05219248e Successfully switch between data explorerations 2016-09-29 10:51:24 -07:00
Andrew Watkins ba6d90a685 Fix typo 2016-09-29 10:50:40 -07:00
Andrew Watkins cde8c2b5ff Successfully create new explorer 2016-09-29 10:50:40 -07:00
Andrew Watkins ac5e7689b8 WIP make create explorer AJAX call 2016-09-29 10:50:40 -07:00
Tim Raymond 9a77a5408d Reorder Side Navigation
This order was requested in issue #119.
2016-09-28 16:22:06 -07:00
Tim Raymond 441dd6e3d9 Removed users from SideNav
Issue #118
2016-09-28 16:22:06 -07:00
Tim Raymond cae3afc707 Remove the "My Account" link from side nav
Issue #123
2016-09-28 16:22:06 -07:00
Tim Raymond 25c6ff7ced Rename Cluster to Sources/add source management link 2016-09-28 16:22:06 -07:00
Tim Raymond 212a60cf9a Improve error message copy for missing data source 2016-09-28 15:24:06 -07:00
Will Piers 232cbc3ac2 Bugfix on source selection page
Missed a return
2016-09-28 14:49:15 -07:00
Will Piers 63028457af Fix redirect after choosing source 2016-09-28 14:49:15 -07:00
Will Piers 2fa0a12c0f Redirect to source page if we receive a bad source 2016-09-28 14:49:15 -07:00
Will Piers 1a98b7302c Scope pages by sourceID 2016-09-28 14:49:15 -07:00
Andrew Watkins 535373a96d Update prodConfig to handle images 2016-09-28 10:49:34 -07:00
Andrew Watkins ee59003018 Move loader to dev dep 2016-09-28 10:29:04 -07:00
Andrew Watkins 8210a56ad0 Merge pull request #136 from influxdata/feature/static-assets
Allow import of static png and jpg in scss
2016-09-27 16:15:07 -07:00
Rachel McGough 4732fc201c Merge pull request #113 from influxdata/feature/hosts-table
hosts sorting/filtering
2016-09-27 15:48:27 -07:00
Andrew Watkins 9a0aa08810 Allow import of static png and jpg in scss 2016-09-27 12:54:32 -07:00
Kevin Fitzpatrick ed7d5a4a89 Remove linter warnings
Signed-off-by: Andrew Watkins <andrew.watkinz@gmail.com>
2016-09-26 15:34:52 -07:00
Kevin Fitzpatrick 3db1853bf4 Merge branch 'feature/host-stats-view' into develop 2016-09-26 15:20:40 -07:00
Kevin Fitzpatrick c91cbb83ec Show host stats
#110

Signed-off-by: Andrew Watkins <andrew.watkinz@gmail.com>
2016-09-26 15:20:09 -07:00
Jade McGough 45c7295f45 remove reactable, do sorting by hand 2016-09-26 14:55:51 -07:00
Jade McGough af5bbd0c61 move search bar to separate component 2016-09-26 14:19:03 -07:00
Jade McGough 4f41b9c4b2 add filtering for hosts 2016-09-26 14:19:03 -07:00
Jade McGough d016828725 Hosts table can be sorted by column. 2016-09-26 14:19:03 -07:00
Jade McGough feea01c03c move hosts table to separate component 2016-09-26 14:19:03 -07:00
Will Piers 0ee756a616 Finish up source selection page structure 2016-09-23 16:24:52 -07:00
Paul Dix e7bfc3e36b Initial Select Source Page 2016-09-23 15:57:56 -07:00
Will Piers 13b2af3b09 Fix the table view 2016-09-22 13:34:03 -07:00
Andrew Watkins 6e070823a8 Merge pull request #98 from influxdata/feature/data-explorer
Feature/data explorer
2016-09-22 13:10:25 -07:00
Andrew Watkins 1dc8f86396 Remove old Desktop app build yml
Signed-off-by: Kevin Fitzpatrick <kevin@influxdb.com>
2016-09-22 11:29:50 -07:00
Andrew Watkins 8c3649c587 Skipping tests 2016-09-22 11:23:09 -07:00
Andrew Watkins 28121abf4e Skip test 2016-09-22 11:17:50 -07:00
Andrew Watkins 4c84a94985 Remove linting errors 2016-09-22 11:17:50 -07:00
Andrew Watkins ac5c76d03c Allow user to see graphs 2016-09-22 11:17:49 -07:00
Andrew Watkins 4c1bdb2eff Show measurement list after clicking a database 2016-09-22 11:17:49 -07:00
Andrew Watkins 344f44dd7f WIP See a list of databases 2016-09-22 11:17:49 -07:00
Andrew Watkins 74323269e0 Replace singular source with all sources 2016-09-22 11:17:49 -07:00
Andrew Watkins f586658376 Skipping tests 2016-09-22 11:17:49 -07:00
Andrew Watkins d2e9ce82c7 Remove linter errors
Signed-off-by: Kevin Fitzpatrick <kevin@influxdb.com>
2016-09-22 11:17:49 -07:00
Andrew Watkins 4cd3d7691e Fix broken source maps 2016-09-22 11:17:49 -07:00
Andrew Watkins 6d2fc4e098 Make data explorer visible
Signed-off-by: Kevin Fitzpatrick <kevin@influxdb.com>
2016-09-22 11:17:49 -07:00
Will Piers 04f3c1d529 WIP fixing the explorer 2016-09-22 11:17:49 -07:00
Andrew Watkins 0de8bb27a9 First steps towards revitalizaing the data explorer
Signed-off-by: Will Piers <willpiers@influxdb.com>
2016-09-22 11:17:49 -07:00
Jade McGough 480ff7eb97 add host view page with dancing banana 2016-09-21 14:00:25 -07:00
Jade McGough dfd66690d3 fix hosts route 2016-09-21 12:24:43 -07:00
Jade McGough 79769a86de make host link more restful 2016-09-21 11:16:14 -07:00
Jade McGough f7932cbe1c add host view link 2016-09-21 11:16:14 -07:00
Jade McGough 5202932e31 add hosts page with basic table display of hosts 2016-09-21 11:16:14 -07:00
Jade McGough 88a29d94ce wire getSources into checkDataNodes middleware 2016-09-21 11:16:14 -07:00
Jade McGough 29c1890ebc add hosts list to left rail 2016-09-21 11:16:14 -07:00
Andrew Watkins 92225fdc49 Merge pull request #72 from influxdata/ui-tests
UI tests and linting upgrades
2016-09-21 09:48:50 -07:00
Will Faurot b8fcab86bd Remove a brittle test that causes tests to fail on circle
Phantom seems to treat timestamps differently on different platforms.
2016-09-20 12:01:30 -07:00
Will Piers 1f07dc859b Merge pull request #71 from influxdata/feature/make_work_good
Feature/make work good
2016-09-20 11:54:19 -07:00
Will Faurot d2ffa0028d Remove old test cruft 2016-09-20 11:50:40 -07:00
Will Faurot 38d703a466 Remove old test scripts; add npm test 2016-09-20 11:50:32 -07:00
Will Faurot 224b46e1c8 Fix tests/setup for karma 2016-09-20 11:50:23 -07:00
Will Faurot 4cf281b5c1 Add karma config 2016-09-20 11:50:15 -07:00
Will Faurot ef14b88adc Add karma packages 2016-09-20 11:50:07 -07:00
Will Faurot 310a5fdf07 Update eslint rules
I did away with the private module for now, it was causing more issues
than were worth the effort IMO. No reason it can't come back as the org
grows and we want to have consistent code style across apps.
2016-09-20 11:49:57 -07:00
Will Faurot 242ad878f7 Bump lint-related packages 2016-09-20 11:49:30 -07:00
Will Piers e5d9b02382 Remove shared propTypes declarations and amend Makefile with dev server 2016-09-20 11:44:22 -07:00
Chris Goller 1ce14455da Fix prod webpack to look to / instead of /build 2016-09-20 09:09:36 -07:00
Jade McGough dd584e3228 removing old API dependencies 2016-09-19 16:43:59 -07:00
Chris Goller 2d03f60756 Update autogenerated index.html to work from /
Signed-off-by: Andrew Watkins <watts@influxdb.com>
2016-09-19 14:16:33 -07:00
Will Piers a1a5631513 Add build:dev option to build with dev config one time 2016-09-19 13:45:05 -07:00
Will Piers aae54875eb Add html template with react-root for the js to render into 2016-09-19 13:45:05 -07:00
Will Piers e349bcaed0 Have webpack build html file into output 2016-09-19 13:45:05 -07:00
Chris Goller 3e56f45b90 Update circle and makefile to build and test everything.
Signed-off-by: Will Piers <wpiers0405@gmail.com>
2016-09-19 13:45:05 -07:00
Will Piers ea24800d3f Tweak build output path and gitignore
Signed-off-by: Andrew Watkins <watts@influxdb.com>
2016-09-19 13:45:05 -07:00
Will Piers 4d20b2af4a Bring over enterprise ui and configuration
Signed-off-by: Andrew Watkins <watts@influxdb.com>
2016-09-19 13:45:05 -07:00
Will Piers 133da5a14f Use create-react-app 2016-09-09 16:10:54 -07:00
Kevin Fitzpatrick 24fcfb6be3 `npm start` to run server.
First `npm install`.
2016-09-07 13:20:20 -07:00