Commit Graph

189 Commits (b3e5e9fc31ffdb15c377aacd582cdfc454a5de5c)

Author SHA1 Message Date
Christopher Henn 2b38b550af Support custom sources in TimeSeries component 2018-11-27 09:06:49 -08:00
Christopher Henn cb48fda0c3 Enable switching the source for a dashboard cell 2018-11-27 09:06:49 -08:00
Brandon Farmer 70f9de4a81 Switch Dashboard UI to use generated client 2018-11-26 16:45:12 -08:00
Alirie Gray 69155e7caa Populate update task options pane with options returned from server
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-11-26 15:08:03 -08:00
alexpaxton 4cb6e8b507
Refactor & Redesign Opt-In Component (#1561)
* WIP

* Add optional "max" prop to inputs

* Improve opt-in component further

* Update YAxisBound to follow latest optin pattern

* WIP refactor decimal places widget

* Use Radio buttons in optin instead of checkbox

* Change layout of optin to vertically stack

* Shrink size of min/max y-axis options

* Give linter a cookie

* Move optin to clockface and rename to "Auto-Input"

* Update existing imports for auto-input
2018-11-26 12:36:08 -08:00
Christopher Henn e3a9c04495 Fix issue building UI for production env
Building the UI for production (via the `yarn build` script) involves
using [cssnano][0] to compress the UI stylesheets. Previously, cssnano
errored on some [invalid SCSS syntax][1], causing the entire production
build to fail. This also broke the `deploy` workflow in CircleCI.

This commit fixes the invalid SCSS syntax and resulting issues.

Closes #1553

[0]: https://cssnano.co/
[1]: https://github.com/sass/sass/issues/818
2018-11-26 10:20:49 -08:00
Palak Bhojani 24863c3125 Import on Tasks Page for flux script
Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-11-21 14:40:27 -08:00
Christopher Henn a30e644c4a Fix null property access bug in ColorSchemeDropdown 2018-11-21 13:32:41 -08:00
Brandon Farmer 169015bd85
Merge pull request #1547 from influxdata/fixes/task-nesting
Fixes tasks request for frontend
2018-11-21 13:11:26 -08:00
Christopher Henn b8536ba325 Implement clockface-based color scheme selector 2018-11-21 13:04:46 -08:00
Christopher Henn 307ca66abc Fix display of custom color schemes in dygraphs 2018-11-21 13:04:46 -08:00
Christopher Henn 3ab0c09580 Fix dygraph suffix and prefix formatting
A hack brought over from Chronograf 1.7. Without this, a screen tearing
bug will be visible near the y axis after updating the y axis' prefix or
suffix.
2018-11-21 13:04:46 -08:00
Christopher Henn 43f5fdca7b Remove unused components 2018-11-21 13:04:46 -08:00
Christopher Henn 67a48551e1 Fix ability to set y label in xy graphs 2018-11-21 13:04:46 -08:00
Brandon Farmer 6ddc0cb370 Fixes tasks request for frontend
- task in no longer nested
2018-11-21 11:00:00 -08:00
Brandon Farmer 1f388f2634
Merge pull request #1543 from influxdata/refactor/api-utils
Move api initialization to util
2018-11-21 10:46:37 -08:00
Christopher Henn 58d8ac8f67 Use EmptyGraphMessage in SingleStatTransform
For consistency.
2018-11-21 10:11:21 -08:00
Christopher Henn 7e98b0b38a Style single stat charts 2018-11-21 10:11:21 -08:00
Christopher Henn 8a848b4ed2 Fix number checking in SingleStatTransform 2018-11-21 10:11:21 -08:00
Brandon Farmer e5c63d23d9 Move api initialization to util 2018-11-21 10:08:31 -08:00
Christopher Henn 3834744464 Consolidate similar view types to "xy" view type 2018-11-21 08:42:54 -08:00
Delmer dd71ce5578
feat(ui/logs): add logs time selection actions (#1495)
adds simple log time selection
2018-11-21 08:15:50 -08:00
Brandon Farmer 272ffc44d6 Change swagger to represent nested task 2018-11-20 15:06:30 -08:00
Palak Bhojani bf10974283 Added sorting on all the columns on task page
Change sortingHat to sort by a single (last clicked) column
Change sortingHat to sort by a single (last clicked) column
Created tests for TasksList
Create dummyData.ts in src/tasks instead of using the mocks/dummyData
Added IndexList instead of using table header on  Dashbaord
Test snapshot

Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-11-20 14:53:22 -08:00
Brandon Farmer 90506ed51c Move delete and get by id tasks to generated client 2018-11-20 14:14:45 -08:00
Brandon Farmer 4f8ae2ba5a Switch Task UI get tasks to use generated client 2018-11-20 13:58:02 -08:00
Christopher Henn af1d9e47b0 Fix issue with changing view types
Since the `id` was not preserved when switching view types, attempting
to save a view after changing its type would result in a new view being
created rather than the existing view being updated.

Also fixes an issue where a dygraph would not rerender when switching
from a step plot to line plot, or during similar conversions.
2018-11-20 13:12:09 -08:00
Christopher Henn 188e714942 Implement bar chart type 2018-11-20 13:12:09 -08:00
Christopher Henn e389c04c0c Consolidate dygraph chart types 2018-11-20 13:12:09 -08:00
Brandon Farmer 08589aae61 Switch Tasks UI updates to use generated client 2018-11-20 11:03:39 -08:00
Brandon Farmer 806c69dc90
Merge pull request #1408 from influxdata/fixes/update-task-creation-swagger
Update task creation request body in swagger
2018-11-20 10:36:40 -08:00
alexpaxton 3a510c9ef0
Merge pull request #1498 from influxdata/polish/cell-styles
Refactor Cell Styles
2018-11-20 10:27:15 -08:00
Brandon Farmer 789a072dc7 Fixes select task by id 2018-11-20 09:49:40 -08:00
Brandon Farmer 843a7a2ada Fix typing issues with generated client 2018-11-20 09:49:40 -08:00
Brandon Farmer 948d2dcbe4 Exclude generated code from linting 2018-11-20 09:49:40 -08:00
Brandon Farmer b4aa8ff1d6 Add generated API code and use for task creation
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-11-20 09:49:39 -08:00
Delmer d64ebf6662
feat(ui/logs): add loading of old logs (#1492)
feat(ui/logs): add loading of older logs
2018-11-20 12:15:06 -05:00
Christopher Henn 5c446d7047 Preserve queries when switching chart types 2018-11-20 08:11:23 -08:00
Christopher Henn 4bd0568f00 Fix incorrect loading state in VEO
Setting the initial `TimeMachine` state of the VEO after the VEO was
opened caused a double render in the `TimeSeries` component. This
created an issue where opening the VEO for a cell after the VEO had
previously been open would display the incorrect loading state (since
the `TimeSeries` component displays a special loading state for the
initial render).

This commit ensures the initial `TimeMachine` state for the VEO is set
before the VEO is opened.
2018-11-20 08:11:23 -08:00
Alex P a857b0d7fa Match name of classes to component names 2018-11-19 19:57:01 -08:00
Alex P 6775263c40 Make linter happy 2018-11-19 19:16:36 -08:00
Alex P e78d5e7daa Merge branch 'master' into polish/cell-styles 2018-11-19 19:13:42 -08:00
Alex P 7eaf49ce27 Style view empty state 2018-11-19 19:05:01 -08:00
Alex P 385ea38d15 Cleanup 2018-11-19 19:03:52 -08:00
Alex P ea884f833f Add theme support to context menus 2018-11-19 18:54:12 -08:00
Alex P 9f22c5df48 Refactor resizable handle styles 2018-11-19 18:05:44 -08:00
Alex P a7aeb332f8 Refactor and redesign cell context menus 2018-11-19 17:46:21 -08:00
Alex P 0e1ea2bf4c Introduce clockface context menu component 2018-11-19 17:45:47 -08:00
Alirie Gray f2d07acb5b
Merge pull request #1426 from influxdata/tasks/configure-task-options-from-flux-page
Create task options UI
2018-11-19 16:50:07 -08:00
Alirie Gray 5996e24a54 Create task options UI
* Create TaskOptions type and actions/reducers
* Add prevent default event handling to Dropdown click functions
* Improve utility of ComponentSpacer
* Create components for task option unit and org dropdowns
* Replace ActionTypes enum with hard-coded strings in tasks actions

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-11-19 16:11:44 -08:00
Christopher Henn 3bddf76bb3 Submit script on Control-Enter 2018-11-19 15:59:26 -08:00
Christopher Henn f487d38e3c Do not autorefresh in VEO 2018-11-19 15:59:26 -08:00
Christopher Henn e3fa95fdd1 Show query status in submit script button 2018-11-19 15:59:26 -08:00
Christopher Henn 646879704f Remove menu options from Threesizer 2018-11-19 15:59:26 -08:00
Christopher Henn d2019fedd5 Port FluxFunctionsToolbar 2018-11-19 15:59:26 -08:00
Christopher Henn 43199e4468 Move TimeMachine activeTab state to Redux 2018-11-19 15:59:26 -08:00
Delmer 7e3f968484
fix(logs/ui): fix logs table height calculation (#1399)
fix(logs/ui): fix table height calc
2018-11-19 18:25:06 -05:00
Alex P 10d6c3e6b6 Remove cellheader component 2018-11-19 14:55:33 -08:00
Alex P d5b3c86078 Import react grid layout styles into associated component 2018-11-19 14:35:24 -08:00
Alex P b31acff421 Rename stylesheet and import into associated component 2018-11-19 14:34:40 -08:00
Alex P 4823b6d01b Introduce cell border component 2018-11-19 14:34:13 -08:00
alexpaxton b01627b62b
Merge pull request #1489 from influxdata/clockface/form-tweak
Cleanup Clockface Form Component
2018-11-19 12:24:17 -08:00
Alex P 935253187c Gaurd against nonexistant onSubmit 2018-11-19 10:49:37 -08:00
Alex P 7636400022 Remove unused child type validation 2018-11-19 10:49:25 -08:00
Andrew Watkins fc41d6454e
feat(sort-table): reusable component for table sorting (#1473)
* Introduce SortingHat component

* feat(dashboard-index): add sorting to table

* Implement suggestions
2018-11-19 10:40:25 -08:00
Christopher Henn cd0de6babb Add "View Raw Data" feature to TimeMachine 2018-11-19 10:00:47 -08:00
Christopher Henn 75b0052e75 Fix hover legend in DataExplorer 2018-11-19 10:00:47 -08:00
alexpaxton e09dd2abde
Merge pull request #1465 from influxdata/polish/fade-disabled-links
Fade IndexList Disabled Links to Match Design Spec
2018-11-16 15:24:35 -08:00
Iris Scholten 5e6a7c16b7 Add step for choosing csv, streaming, or line protocol 2018-11-16 14:17:39 -08:00
Alex P 439da75ac4 Fade color of links in disabled IndexList rows to match design spec 2018-11-16 11:20:04 -08:00
Palakp41 bf0d8362a2
Merge pull request #1464 from influxdata/fix-tasks-page-css
Fix css on tasks header for cleaner view
2018-11-16 11:08:06 -08:00
Palak Bhojani 846912c088 Fix css on tasks header for cleaner view 2018-11-16 10:18:07 -08:00
Christopher Henn b22c97df6f Remove use of external file download code 2018-11-16 10:12:29 -08:00
Christopher Henn 79b0ea9374 Add CSV export button to TimeMachine 2018-11-16 10:12:29 -08:00
Christopher Henn 74f7c81b7f Work around emergent type errors 2018-11-16 10:12:29 -08:00
Christopher Henn 355a19fe7a Split out singular time machine reducer 2018-11-16 10:12:29 -08:00
Christopher Henn 34d2216dc1 Introduce selector for getting active time machine 2018-11-16 10:12:29 -08:00
Christopher Henn 1b9fd1bcda Hoist TimeSeries component to root of TimeMachine
This enables us to use the data provided by the `TimeSeries` component
outside of the `TimeMachine` visualization without breaking one-way data
flow.
2018-11-16 10:12:29 -08:00
Delmer 3c6445cbaf
feat(ui/logs): add influxql logs querying utils (#1415)
feat(ui/logs): add influxql log querying utils
2018-11-16 11:45:56 -05:00
Palak Bhojani 0a22974e29 Add onclick to organization on task row
Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-11-15 16:32:38 -08:00
Palak Bhojani 1d5828d05a Add error message on task not created error
Co-authored-by: Palak Bhojani <palak@influxdata.com>
2018-11-15 15:24:23 -08:00
alexpaxton 512ec658e7
Merge branch 'master' into clockface/improve-index-list 2018-11-15 14:47:13 -08:00
Christopher Henn 6d0654d0f8 Add ability to filter orgs index 2018-11-15 14:07:50 -08:00
alexpaxton f4e7cc4233
Merge pull request #1407 from influxdata/polish/orgs-index-alignment
Fix Alignment of Orgs Index View
2018-11-15 14:02:21 -08:00
Palakp41 bf34eceb0f
Merge pull request #1419 from influxdata/feat/tasks-org-dropdown-filter
Create a dropdown filter to filter tasks through Organizations
2018-11-15 13:42:50 -08:00
Iris Scholten c79a8c90a3
Merge pull request #1416 from influxdata/onboarding/select-source
feat(ui/dataSources): Add initial Select Data Sources Step
2018-11-15 13:25:01 -08:00
Palak Bhojani b798e55db3 Create a dropdown filter to filter tasks through Organizations
Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-11-15 13:24:49 -08:00
Christopher Henn c7a708d3db Fix ProfilePage typechecking 2018-11-15 12:35:32 -08:00
Christopher Henn db5337d42a Move org name to page header on org page 2018-11-15 12:35:32 -08:00
Iris Scholten b493e97e5c Add initial Select Data Sources Step 2018-11-15 11:46:14 -08:00
Palak Bhojani 4bdeb1a934 Add export button on task row
Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-11-15 11:03:03 -08:00
Alex P e6f0b2d6a8 Fix more imports >___< 2018-11-14 17:41:34 -08:00
Alex P a2c9ea3590 Fix import 2018-11-14 17:38:42 -08:00
Alex P 04e6aa035c Update test snapshots 2018-11-14 17:38:38 -08:00
Alex P 510d426821 Merge branch 'master' into clockface/improve-index-list 2018-11-14 17:36:27 -08:00
Alex P 95660e583f Add optional sortable options to headers 2018-11-14 17:28:27 -08:00
Christopher Henn 81c0e53c4a Add initial source management UI 2018-11-14 16:38:25 -08:00
Alex P 629a03330d Import styles directly into component 2018-11-14 16:00:41 -08:00
Alex P 25b3e4f29e Move IndexList into Clockface directory 2018-11-14 15:49:19 -08:00
Alex P b357f22ef1 Wrap orgs index list in 12 column div
This fixes the misalignment of the page
2018-11-14 15:25:09 -08:00