Commit Graph

418 Commits (da0f5d5ea6597ba4549d778858189508a8b21292)

Author SHA1 Message Date
Delmer 27adc0ff91
feat(ui): add name to dashboard query (#1794) 2018-12-10 13:16:27 -05:00
Deniz Kusefoglu 4d7a675316
Merge pull request #1786 from influxdata/feat/line-protocol-status
Create different loading, success and error state for line protocol u…
2018-12-07 17:12:12 -08:00
Deniz Kusefoglu a0893b4ac5 Create different loading, success and error state for line protocol uploads
Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-12-07 17:06:16 -08:00
Christopher Henn 6195ded2e4 Fix issue creating dashboard cells with wrong endpoint 2018-12-07 15:37:49 -08:00
Andrew Watkins 4b5dd2f722
feat(account-settings): list tokens
* WIP tokens index

* Package json

* Update cur_swagger

* feat(account-settings): token list

* fix(token-test): add done callback

* fix(chrono): packaage json
2018-12-07 13:08:17 -08:00
Christopher Henn a3ddeec527 Use windowing for aggregate functions in query builder 2018-12-07 11:30:35 -08:00
Christopher Henn 4ab8a81454 Rebuild builder configs when changing time range 2018-12-07 11:30:35 -08:00
Christopher Henn 9095d58424 Persist query builder config 2018-12-07 11:30:35 -08:00
Christopher Henn 5ae2d459e3 Refactor draftScripts state to draftQueries 2018-12-07 11:30:35 -08:00
Christopher Henn cd26cc5d8b Build queries from selections in query builder 2018-12-07 11:30:35 -08:00
Christopher Henn 12accfea79 Tweak styling to match new DraggableResizer 2018-12-07 11:30:35 -08:00
Christopher Henn 8f468895f1 Update query builder metaqueries for Flux 0.7.2 2018-12-07 11:30:35 -08:00
Christopher Henn b041e1abff Pause autorefresh in TimeMachine by default 2018-12-07 11:30:35 -08:00
Christopher Henn ec25e93ae6 Do not implicitly execute queries on change 2018-12-07 11:30:35 -08:00
Brandon Farmer 8d546ff689
Merge pull request #1778 from influxdata/fix/load-and-clear
Load and clear -> Loud and clear
2018-12-06 16:39:00 -08:00
Brandon Farmer d222b8c4c5
Merge pull request #1774 from influxdata/feat/onboarding-routing
Handle routing from onboarding sidebar
2018-12-06 16:38:03 -08:00
Brandon Farmer 8df604bd31 Load and clear -> Loud and clear 2018-12-06 16:10:33 -08:00
Brandon Farmer 4757541e13 Properly handle queries without `_time` 2018-12-06 15:51:31 -08:00
Brandon Farmer 837c965e3e Handle routing from onboarding sidebar 2018-12-06 14:51:09 -08:00
Alirie Gray d607afe2a1
Merge pull request #1708 from influxdata/dataloader/skip-data-sources-steps
Dataloader/skip data sources steps
2018-12-06 14:31:26 -08:00
Brandon Farmer 67b4687ccb Handling onboarding with react router 2018-12-06 13:21:30 -08:00
alexpaxton 0abac380bf
Tighten UI Proportions (#1767)
* Adjust proportions

* Ensure contents don't touch the bottom of the viewport
2018-12-06 12:28:07 -08:00
Deniz Kusefoglu 83c23c89ef
Merge pull request #1763 from influxdata/feat/line-protocol
Add ability to file upload and call write api
2018-12-06 11:57:30 -08:00
Deniz Kusefoglu 514a92c2a4 Move writeLineProtocol API call to thunk.
Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-12-06 11:29:35 -08:00
Palak Bhojani f6f7494454 Add ability to file upload and call write api
Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-12-06 10:06:06 -08:00
j. Emrys Landivar (docmerlin) 0cb888afc0 Change delay to offset in tasks to match the flux spec 2018-12-06 11:00:07 -06:00
alexpaxton 5c2c8d4090
Misc. Polish (#1760)
* Move my profile to top of nav and use cubo as icon

* Replace slide toggle label with official slide toggle label

* Polish appearance of task editing page

* Improve UX of note editor

* Adjust cell note indicator

* Make search widget bigger
2018-12-05 16:08:00 -08:00
alexpaxton a67ce90770
Move VEO Tabs & Replace Threesizer (#1703)
* Import data explorer stylesheet directly into component

* Remove excess div

* Add missing key prop

* Move VEO tabs into bottom of time machine

* Extend slide toggle to offer an optional label component

* Fix typo

* Polish time machine controls

* Simplify styles for time machine vis

* Prevent time machine controls from shrinking

* Make number less magical

* Fix graph resizing
2018-12-05 13:26:46 -08:00
Delmer 81e5c93712
fix(ui): remove log viewer route (#1756) 2018-12-05 15:41:32 -05:00
Christopher Henn 6a171b0217 feat(ui/query-builder): add ability to select tags in query builder 2018-12-05 11:55:09 -08:00
Andrew Watkins f4500008a3
feat(account-settings): username view (#1752)
* Move Account page to separate dir

* Add account snapshot tests

* Allow console logs in tests

* Add data-test attribute to Input

* Add username to Settings component
2018-12-05 11:23:03 -08:00
Iris Scholten f306f0e4f6 Update cur_swagger for type safety in generated client 2018-12-05 09:28:34 -08:00
Alirie Gray 960ace37c2 Add button to skip data source steps in omnboarding wizard 2018-12-04 16:09:28 -08:00
Alirie Gray 48f921d83a
Merge pull request #1696 from influxdata/dataloader/complete-step-progress-bar
Add completion step to progress bar in onboarding wizard
2018-12-04 16:00:17 -08:00
Palak Bhojani aedf35b6c6 Add File URL option for line protocol 2018-12-04 15:30:00 -08:00
Alirie Gray bc3447655a Add completion step to progress bar in onboarding wizard 2018-12-04 15:14:38 -08:00
Palakp41 944ba2c0b6
Merge pull request #1701 from influxdata/feat/line-protocol
Add option for enter manually on line protocol configuration.
2018-12-04 13:53:21 -08:00
Palak Bhojani 6fe135bc57 Add option for enter manually on line protocol configuration.
Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-12-04 13:46:13 -08:00
Christopher Henn efc21bfddf feat(ui/query-builder): introduce SelectorCard component to query builder 2018-12-04 12:25:34 -08:00
Nathaniel Cook 3e8189a728
Merge pull request #1692 from influxdata/flux-staging
chore: update Flux dependency
2018-12-04 13:07:03 -07:00
alexpaxton 10259aeed7
Move View Type Selection (#1694)
* Introduce view type selector dropdown

* Add view type dropdown to time machine controls

* Polish appearance of view options
2018-12-04 11:49:18 -08:00
alexpaxton a75c3424ab
Introduce Draggable Resizer Component (#1686)
* Import stylesheet directly into component

* WIP introduce new draggable resizer component

* Improve styles for draggable resizer

* add onChange prop to draggable resizer

* WIP

* Add drag mask to ensure proper cursor when dragging outside the element

* Undo!

* More undo!

* Arrrr matey

* Remove dummy styles

* Use centralized variable for z index

* Make conditional statement more readable

* Rename direction enum values to be more semantic

* Rename "Direction" enum to "Stack"

* Update test snapshot
2018-12-04 11:49:01 -08:00
Andrew Watkins f6e209cb3a
feat(account-settings): settings and tokens tabs 2018-12-04 11:15:19 -08:00
Palak Bhojani 0f4a71dc88 Add css on DragAndDrop, remove unwanted props.
Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-12-04 11:06:23 -08:00
Palak Bhojani 0645a278cc Add Line Protocol component, tab selection, and add drag and drop import tab.
Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-12-04 11:06:23 -08:00
Brandon Farmer 0dc099d1d5
Merge pull request #1691 from influxdata/fix/resolve-package-lock-conflict
Resolve package-lock.json conflicts
2018-12-04 10:46:50 -08:00
Iris Scholten 01a4afa121
Merge pull request #1687 from influxdata/dataLoaders/plugin-configs
feat(ui/dataLoaders): Update redux to store telegraf plugin arrays rather than dataSource
2018-12-04 09:38:17 -08:00
Christopher M. Wolff f1d21b8132
refactor(query): update transpiler to reflect signature change to `group()` (#1689)
update other modules that used old syntax as well
2018-12-04 09:32:37 -08:00
Brandon Farmer 5a3303505d Resolve package-lock.json conflicts 2018-12-04 09:30:28 -08:00
Iris Scholten 7d562f29d1 Update redux to store telegraf plugin arrays rather than dataSource
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-12-03 17:29:56 -08:00
Andrew Watkins 62b840b616
chore(signin): display server error for signin (#1678)
* Display proper error for signin

* Package lock
2018-12-03 16:29:12 -08:00
Andrew Watkins 5ae5f986ad
feat(account-settings): introduce AccountSettings page
* Package json

* Change UserPage to MePage

* Add an account page

* package json

* Remove package-lock

* Adding back package json

* Update lint command

* Update react
2018-12-03 16:27:22 -08:00
Iris Scholten da20af2012 Move the listening/verify step into a separate step in the onboarding wizard
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-12-03 14:48:10 -08:00
Brandon Farmer 7a531e2d2a Move dashboard requests to use client 2018-12-03 12:27:04 -08:00
Brandon Farmer b57d3da46d Switch views request to use generated client 2018-12-03 11:03:56 -08:00
Christopher Henn b422cc297a Add query building modes to time machines 2018-12-03 09:43:41 -08:00
Brandon Farmer f04d420709 Remove yarn in favor of just npm 2018-11-30 17:02:31 -08:00
Palak Bhojani 5b502ee827 Change structure of onboarding component files 2018-11-30 14:03:27 -08:00
alexpaxton af64fe2e96
Improve Clockface Input Component (#1583)
* Improve handling of type property

* Export autocomplete enum

* Change type of value based on type of input

* Make type a required prop
2018-11-30 10:40:56 -08:00
Alirie Gray e5a29ab446 Add auto refresh controls to TimeMachine
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Chris Henn <chris@chrishenn.net>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-11-30 10:02:03 -08:00
Deniz Kusefoglu e2854a0a1c Add Onboaring Side Panel
Polish onboarding sidebar transitions and appearance of tabs
Flatten dataSources children for rendering
Add tests to SideBar components

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-11-29 18:40:24 -08:00
Christopher Henn 759891e37f Add ability to create notes on a dashboard 2018-11-29 16:41:40 -08:00
Iris Scholten 2bd3031383
Merge pull request #1631 from influxdata/dataLoader/streaming-step
feat(ui/DataLoaders): Streaming/Listening step
2018-11-29 16:40:55 -08:00
Delmer 889da9cb71
feat(ui/graph): add gauge view options (#1570)
Adds gauge view, thresholdlist, and thresholditem
2018-11-29 19:26:29 -05:00
Iris Scholten 6e15d444a1 Add Streaming data step to onboarding wizard
Co-authored-by: Palak Bhojani <palak@influxdata.com>
2018-11-29 16:06:20 -08:00
Deniz Kusefoglu 8279ba65c3
Merge pull request #1584 from influxdata/dataloader/add-dl-telegraf-button
Create API functions to create and get telegraf config
2018-11-28 16:17:22 -08:00
Deniz Kusefoglu 6c12aef449 Remove file 2018-11-28 16:05:06 -08:00
j. Emrys Landivar (docmerlin) 7ba729ad9a Deal with yarn bug 2018-11-28 13:25:48 -06:00
Deniz Kusefoglu b3ccd3064d Add option to download telegraf config to onboarding 2018-11-28 11:01:20 -08:00
alexpaxton e2959c61b7
Show inactive task count (#1578)
* Show inactive task count

* Simplify logic

* Subtle polish on disabled index list rows
2018-11-27 12:47:56 -08:00
alexpaxton ac14d81d03
Polish Dashboards Index View (#1585)
* Ensure table takes up entire width

* Ensure empty state appears
2018-11-27 12:46:47 -08:00
Christopher Henn 36818623d8 Ensure that ViewOptions are scrollable 2018-11-27 11:47:34 -08:00
Christopher Henn 9320516b99 Narrow view type in TimeMachineState 2018-11-27 11:47:34 -08:00
Christopher Henn fea821f54c Rename RefreshingViewProperties to QueryViewProperties 2018-11-27 11:47:34 -08:00
Christopher Henn 113093d5c7 Fix failing test 2018-11-27 11:47:34 -08:00
Christopher Henn 157fc6f81b Add timeMachinesReducer tests 2018-11-27 11:47:34 -08:00
Daniel Campbell 111996a310
Add sparkle spinner (#1582) 2018-11-27 10:51:41 -08:00
Brandon Farmer b2eb20369a
Merge pull request #1576 from influxdata/updates/switch-dashboard-ui-generated
Switch Dashboard UI to use generated client
2018-11-27 09:35:33 -08:00
Christopher Henn 402760d6f3 Rename struct field from "source" to "sourceID" 2018-11-27 09:06:49 -08:00
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
Palak Bhojani a7b8d4b35e Resolved state into action/reducer 2018-11-14 15:24:16 -08:00
Palak Bhojani 04ee4fce3c Added toggle on Task Header for option to show only active
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-11-14 15:24:16 -08:00
alexpaxton 0558f351d4
Merge pull request #1404 from influxdata/polish/page-layout-styles
Polish Page Styles
2018-11-14 15:16:22 -08:00
Alex P 1890fa96d4 Cleanup 2018-11-14 14:36:49 -08:00
Alex P ab2103c0cb Make radio buttons "primary" theme by default 2018-11-14 14:36:10 -08:00
Alex P 2ed24a76a7 Make Radio button active state more obvious 2018-11-14 14:35:59 -08:00
Alex P 6490283700 Import stylesheet into component 2018-11-14 14:27:11 -08:00
Alex P 24075ccc4c Import page styles into nav component 2018-11-14 14:13:49 -08:00
Palak Bhojani 57c17ba535 Added schedule column to the tasks page
Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-11-14 11:18:03 -08:00
Delmer fc4986f422
fix(ui/logs): time point selection dropdown (#1361)
fix(ui/logs): update time point selection to use clockface
2018-11-14 07:10:43 -05:00
Palak Bhojani 53d36e49b7 Updated function name for toggle in task row 2018-11-13 16:01:15 -08:00
Palak Bhojani 3d9df39fd1 Updated Organizaiton Tasks to include the task status 2018-11-13 16:01:15 -08:00
Palak Bhojani 8a58fb4041 Add enable toggle feature to tasks page
Co-authored-by: Palak Bhojani <patel.palak41@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-11-13 16:01:15 -08:00
Palak Bhojani 418116a49a Capitalized columns names on the tasks list page 2018-11-13 14:53:13 -08:00
Andrew Watkins 536bbe297e
feat(chrono): replace div with form element in Form component
* cleanup

* feat(forms): add onSubmit handlers to older forms

* cleanup
2018-11-13 12:36:16 -08:00
Iris Scholten b9ad495e58
Merge pull request #1352 from influxdata/line-display-options
Add display options ui for line graph types
2018-11-12 16:46:10 -08:00
Christopher Henn 78d3a0ba2d Streamline signin page
1. The username field is now autofocused.
2. Pressing enter in an input will submit the signin form.

Long term, we should switch the reusable UI `Form` element to use an
actual HTML `form` element, rather than a `div`. That way we get these
sorts of interactions for free.

Closes #1354
Closes #1355
2018-11-12 15:29:02 -08:00
Iris Scholten 9c3ec093b9 Add display options ui for line graph types 2018-11-12 12:42:09 -08:00
Delmer 53085c20b9
fix(ui/logs): update flux col to column in query (#1348)
Updates the ui/logs flux query builder to use the full word for column
in the flux query.
2018-11-12 13:01:14 -05:00
Christopher Henn 2f8893f5d5 Port 1.x Dygraph component
This ports the `Dygraph` component from Chronograf 1.7, which contains
many bug fixes and enhancements. Notably, it does not quadruple render
on every mouse move event.

The component has been adapter for platform. All code relating to
annotations and the static legend has been removed.
2018-11-09 16:57:48 -08:00
Christopher Henn 76637da6aa Flatten views state 2018-11-09 16:57:48 -08:00
Christopher Henn df636fb84d Move hoverTime and related state out of Redux
The `hoverTime` state updates very rapidly (on every mousemove event for
any graph in a dashboard). This makes storing the `hoverTime` in Redux
expensive, since _every_ Redux-connected component in the render tree
must rerender when any piece of state in the Redux store is updated.

This commit moves `hoverTime` (and `activeViewID`, and related setters)
out of the Redux store in favor of a context based solution. Now, when
the `hoverTime` updates, only components that actually use that state
will rerender.
2018-11-09 16:57:48 -08:00
Christopher Henn 886aa130ea Load/persist draft script when opening/closing VEO 2018-11-09 10:27:41 -08:00
Christopher Henn 62d1b1d2c2 Add basic Flux editor to TimeMachine 2018-11-09 10:27:41 -08:00
Andrew Watkins 06f468bdcb
chore(refreshing-view): tweaks
* Rename AutoRefresh to AutoRefresher, rename global

* Remove presentational states from TimeSeries component

* Simplify TimeSeries reload logic

* Remove unused props from RefreshingView

* Display loading errors in RefreshingView

* chore(views): extract non-visualization state and switching logic into components
2018-11-08 14:24:23 -08:00
Christopher Henn 95f6984ef2 Eliminate race condition in TimeSeries component 2018-11-08 10:44:54 -08:00
Christopher Henn cc1070fc1c Differentiate between new and persisted view types 2018-11-07 17:42:35 -08:00
Christopher Henn 5475fcdf1b Enable saving a new cell to a dashboard 2018-11-07 15:05:42 -08:00
Christopher Henn b2330ba513 Fix DataExplorer styles 2018-11-07 15:05:42 -08:00
Christopher Henn 09ef4354ed Fix TSLint/Prettier errors
Ran the `tslint:fix` Yarn script.
2018-11-07 13:33:02 -08:00
Christopher Henn 8cd3ff3c40 Run TSLint in CI 2018-11-07 13:33:02 -08:00
Christopher Henn 9b529771eb Rename InfluxLanguages to InfluxLanguage
To stay consistent with TypeScript enum conventions.
2018-11-06 16:36:02 -08:00
Christopher Henn 5230d267f1 Replace query query util and remove template props
Replaces the utility function used to execute a Flux query with the
version from the 1.7 release of Chronograf, which supports limiting the
response size of a query to a predefined row limit.

Also removes the existing minimal support for template variables in
queries. Our implementation of template variables will need to change
significantly, since the backend API has been rewritten in an
imcompatible manner. Additionally, our support for template variables in
Flux queries has evolved significantly in the 1.7 release of Chronograf,
but none of those changes have been ported to platform yet.

As a consequence, the drilling of a `templates` prop through a certain
path in the render tree has also been removed.
2018-11-06 16:36:02 -08:00
Christopher Henn 7991dcfd55 Delete unused code and reorganize modules
Deletes unused and outdated code, including and AST walker for Flux
queries and various Flux metaquery utilites.

Also moves the remaining modules in `src/flux` to somewhere under
`src/shared`. The `src/flux` directory was a vestige of a time when the
Flux related portions of Chronograf were contained to a single page, but
now these modules are used everywhere.
2018-11-06 16:36:02 -08:00
Brandon Farmer 5eaf281489 Fix api calls for tasks, tasks are now nested in response 2018-10-31 13:32:04 -07:00
Deniz Kusefoglu 175ba056ae Onboarding wizard polish
Add password confirmation field
Cursor defaults to username field
Enter submits wizard steps
2018-10-29 12:05:18 -07:00
Michael Desa b9f70b7bec chore(ui): move ui from chronograf/ui to ui 2018-10-29 14:00:54 -04:00
Mark Rushakoff 264a420f07 chore: move stray chronograf files to correct directory 2018-08-06 09:37:00 -07:00
Andrew Watkins 1042c22469 Bugfix/no org name (#4014)
Fix runtime error when no orgs
2018-07-26 11:21:42 -04:00