Commit Graph

253 Commits (f2891c3f59b656caebcc9146f21b1a8de39772bf)

Author SHA1 Message Date
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