Commit Graph

418 Commits (da0f5d5ea6597ba4549d778858189508a8b21292)

Author SHA1 Message Date
alexpaxton 59a73aabf0
Remove avatar from profile page component (#1930) 2018-12-13 11:36:13 -08:00
Alex P e0e2d4266c Remove accidentally merged code
=D Don't hate me!!
2018-12-13 10:58:18 -08:00
alexpaxton deda6d8cc3
Introduce Permissions Widget (#1761)
* First pass at component set

* REVERT THIS COMMIT
2018-12-13 10:56:39 -08:00
Iris Scholten b153338c78 Fix(ui/dataLoaders): Hide download button if there's nothing to download 2018-12-13 10:04:43 -08:00
Iris Scholten 4ef2663df3 Fix(ui/dataLoaders): Update streaming button to send you to the streaming step rather going to previous location 2018-12-12 17:09:47 -08:00
Palakp41 ff14ed1822
Merge pull request #1891 from influxdata/feat/streaming-new-source-button
Add the ability to count down timer on listening for data
2018-12-12 16:40:15 -08:00
Palak Bhojani 7259934280 Add the ability to count down timer on listening for data 2018-12-12 16:26:23 -08:00
Christopher Henn 890105ec06 Implement single stat visualization options 2018-12-12 15:57:45 -08:00
Christopher Henn 9b9967d8c7 Polish SingleStat styling
- Ensures that a SingleStat inside a TimeMachine can be resized
- Ensures that a SingleStat has the approriate border raidus when used
  in a cell or TimeMachine
2018-12-12 15:57:45 -08:00
Christopher Henn 98aececac7 Remove unused props from DraggableResizerPanel 2018-12-12 15:57:45 -08:00
Iris Scholten 6a2e507389
Merge pull request #1899 from influxdata/swagger-telegraf-config-schema
Update telegraf config schema to match cur swagger
2018-12-12 15:23:55 -08:00
Iris Scholten 50fbba9227 Update telegraf config schema to match cur swagger
chore(http): updated go validation library and fixed swagger test

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-12-12 15:11:18 -08:00
Iris Scholten 3315fa9cf1
Merge pull request #1893 from influxdata/dataLoaders/system-bundle
Feat(ui/dataLoaders): Change plugin selection to bundle selection
2018-12-12 13:43:58 -08:00
Deniz Kusefoglu f9bf8e918c Pass source id instead of source to resolvedSourceID 2018-12-12 12:56:45 -08:00
Iris Scholten c9508d4ac9 Feat(ui/dataLoaders): Change individual plugin selection to bundle selection 2018-12-12 12:48:10 -08:00
Iris Scholten cae010be69
Merge pull request #1892 from influxdata/fix/signin
Fix(ui/onboarding): Fix signin
2018-12-12 11:54:38 -08:00
alexpaxton 851ba878b7
Introduce Clockface Labels Components (#1890)
* Introduce Labels components

* Export label type from clockface

* Make component spacer behave as expected

* Include padding so IndexList rows scale more gracefully

* Allow optional truncation of labels in list with tooltip

* Add option for displaying a delete button on a label

* WIP introduce label selector component

* Flesh out suggestive functionality including keyboard support

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Enable scrolling in labels widget

Also doing a handful of things to improve usability

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Make linter happier
2018-12-12 11:54:26 -08:00
Iris Scholten 0ed9c1bd6a Fix(ui/onboarding): Fix signin
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-12-12 11:40:19 -08:00
Deniz Kusefoglu 134c458697
Merge pull request #1855 from influxdata/onboarding/add-logos-to-streaming-sources
Add (available) logos to streaming data cards and data type selector
2018-12-12 11:36:16 -08:00
Brandon Farmer f67eb65562
Merge pull request #1859 from influxdata/chore/move-user-api-generated
Use generated client for users endpoints
2018-12-12 11:16:51 -08:00
Brandon Farmer 3a397f26f9
Merge pull request #1887 from influxdata/fix/read-source-logs
Update readSource usages in log viewer
2018-12-12 11:14:08 -08:00
Christopher Henn 66770afdc8 Use clockface dropdown in ColorDropdown component 2018-12-12 10:39:40 -08:00
Christopher Henn 1e167ae41e Fix decimal place visualization option
Changes the gauge and single stat visualizations to use their decimal
place option more literally. For example, if the decimal place option is
set to 2 digits, then every number in the visualization will be
formatted with 2 digits after the decimal place. Previously, this option
was ignored altogether, and seemed to be programmed to mean “display at
most 2 digits after the decimal place”.
2018-12-12 10:39:40 -08:00
Christopher Henn f3a655bea8 Polish AutoInput
- Allow deleting the input entirely
- Only reset value if mode has changed, even if a mode button is clicked
- Emit changes to the input value consistently
2018-12-12 10:39:40 -08:00
Christopher Henn 0e1d89aa19 Polish query tab styling 2018-12-12 10:39:40 -08:00
Christopher Henn e57d082b1c Enable setting prefix/suffix for gauge views 2018-12-12 10:39:40 -08:00
Brandon Farmer 3769a85130 Update readSource usages in log viewer 2018-12-12 09:58:46 -08:00
Deniz Kusefoglu 0104466552 Add icons/logos to streaming data selector and data source type selector 2018-12-11 17:17:44 -08:00
Brandon Farmer 07ae96d4a2 Use generated client for users endpoints 2018-12-11 17:04:26 -08:00
Deniz Kusefoglu 2ef47c4316
Merge pull request #1850 from influxdata/plugin-icons
Add logos for telegraf plugins as components
2018-12-11 14:53:05 -08:00
Palakp41 051c6c276c
Merge pull request #1845 from influxdata/feat/streaming-new-source-button
Add functionality to add new source button to go back to streaming so…
2018-12-11 14:29:07 -08:00
Deniz Kusefoglu c2b1b2d5bb Add logos for telegraf plugins as components 2018-12-11 14:20:09 -08:00
Brandon Farmer 39996ea8e5
Merge pull request #1826 from influxdata/chore/switch-sources-generated-client
Move sources to use generated client
2018-12-11 13:39:49 -08:00
Iris Scholten 551a2fc3ab
Merge pull request #1842 from influxdata/dataLoaders/multiple-value-config
Fix(ui/dataLoaders): Update config field modifiers
2018-12-11 13:06:10 -08:00
Palak Bhojani eadce6a4ee Add functionality to add new source button to go back to streaming sources selection 2018-12-11 12:30:00 -08:00
Iris Scholten 97d397900e Fix(ui/dataLoaders): Update config field modifiers 2018-12-11 10:56:09 -08:00
Daniel Campbell 084d30bc94 Fix gridsizer recalculation, add scrolling, progress bar styles, increase max width
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-12-10 18:39:22 -08:00
Iris Scholten 30bf3301ad
Merge pull request #1804 from influxdata/dataloader/plugin-config-ui
feat(ui/dataLoaders) Create UI for creating telegraf config
2018-12-10 16:42:25 -08:00
Alirie Gray 07e178e59c feat(ui/dataLoaders): Create ui for adding a plugin config
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-12-10 16:18:16 -08:00
Palak Bhojani e21832bd5c Add line protocol precision dropdown
Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>

Add the ability to click on type on selection step to take you to next step on data source

Create a condition to display download config and add new source buttons only when on configuration step

Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-12-10 16:16:55 -08:00
Palak Bhojani 7d188c435f Add the ability to click on type on selection step to take you to next step on data source 2018-12-10 16:10:07 -08:00
Christopher Henn f5074631ee Ensure AutoInput submits value on enter key press 2018-12-10 15:19:18 -08:00
Brandon Farmer db292b00fc Move sources to use generated client 2018-12-10 15:15:37 -08:00
Christopher Henn 8c67dfc0ad Fix dygraphs multi-result response issue
The response from a Flux query contains multiple results. Series across
different results that shared the same column name and group key were
not properly disambiguated in the dygraphs parsing routines.  This
resulted in only one series being plotted.

This commit disambiguates these series using the `result` column
included in each result in a Flux query response.

Closes #1790
2018-12-10 14:25:57 -08:00
Christopher Henn f595bd7787 Deduplicate dygraphs parsing code 2018-12-10 14:25:57 -08:00
Andrew Watkins e505d73ebd
feat(token-ui): filter tokens
* chore(js): package.lock

* chore(generated-js): update generated client

* chore(ui): move FilterList component to shared

* feat(ui-tokens): add filtering capability

* chore(nav-ui): remove status link

* chore(js-test): update snapshots
2018-12-10 14:13:53 -08:00
Alirie Gray 470a811453
Dataloader/side bar source highlight (#1808) 2018-12-10 13:32:31 -08:00
alexpaxton 4f723eb458
Prevent Long Cell Names from Obscuring Cancel and Save Buttons (#1805)
* Prevent cell renamer from pushing controls off the screen

* Only enforce width proportions on page headers if a center element is provided
2018-12-10 13:07:33 -08:00
Palak Bhojani 91bfdf1725 Add line protocol precision dropdown
Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-12-10 12:21:24 -08:00
Deniz Kusefoglu 9de88f50ab Add retry button and submit line protocol body button
Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-12-10 12:13:26 -08:00
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