Commit Graph

7959 Commits (60f0ac7582106a41c2cc78a510dd887a149992a1)

Author SHA1 Message Date
Daniel Campbell bf2e29d9ee add default image, update tests 2018-08-02 13:40:10 -07:00
Daniel Campbell 8d9bad696d css tweaks, update tests 2018-08-02 13:40:10 -07:00
Daniel Campbell 09fd5cdb7c Add disabled state 2018-08-02 13:40:10 -07:00
Daniel Campbell f08a45755f Add card select card component and card select fieldset component 2018-08-02 13:40:10 -07:00
Alex Paxton 10d24997d0
Merge pull request #4089 from influxdata/update-style-imports
Update Reusable UI Style Imports
2018-08-02 13:30:38 -07:00
Deniz Kusefoglu fe4b2ad12a add Kapacitor step to connection wizard flow 2018-08-02 13:04:49 -07:00
Alex P 3c208c1426 Export input type 2018-08-02 12:01:53 -07:00
Alex P 47fd018b17 Organize scss imports 2018-08-02 11:58:06 -07:00
Iris Scholten 95c6cfc2ed Update the regex so that it consistently returns results
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-08-02 11:53:38 -07:00
Brandon Farmer 86400d3797
Merge pull request #4088 from influxdata/log-viewer/fix-expanding-pause
Clear interval when live updating is changed to Pause
2018-08-02 11:24:20 -07:00
Alex P 421afdebed Export all reusable components and enums from a single file 2018-08-02 11:18:04 -07:00
Brandon Farmer dd989467f3 Clear interval when live updating is changed to Pause 2018-08-02 11:06:29 -07:00
Alex P 1b6043da1e Import reusable stylesheets into master stylesheet instead of components 2018-08-02 10:52:17 -07:00
Alex Paxton dd73eb352f
Merge pull request #4064 from influxdata/reusable/form-layout
Reusable Form Layout Component Family
2018-08-02 10:36:01 -07:00
Alex Paxton 7cb592fb52
Merge pull request #4066 from influxdata/reusable/panels
Reusable Panel Component Family
2018-08-02 10:35:45 -07:00
Deniz Kusefoglu f1361bfb0c WIP add kapacitor Step component 2018-08-01 23:16:11 -07:00
Deniz Kusefoglu e1b0a63ad2 Add types to Kapacitor related components 2018-08-01 23:13:53 -07:00
Alex P 80d1d9e414 Revert page to not use Form Layout components 2018-08-01 16:45:19 -07:00
Jared Scheib 10de0e76dd Merge remote-tracking branch 'origin/master' into fix/import-dashboard-sources 2018-08-01 16:44:57 -07:00
Alex P f18f51ada9 Revert usage of panel components in page 2018-08-01 16:42:17 -07:00
Alex P 614e2fd4ed Merge branch 'fix/import-dashboard-sources' of github.com:influxdata/chronograf into fix/import-dashboard-sources 2018-08-01 16:09:11 -07:00
Alex P 601e72946b Move feature stylesheet and import into main stylesheet
Co-Authored-By: Jared Scheib <jaredscheib@users.noreply.github.com>
2018-08-01 16:09:06 -07:00
Jared Scheib 80e0e01a4a dev: use getDeep instead of _.get for stronger typing 2018-08-01 15:08:00 -07:00
Jared Scheib 3e86640828 dev: add missing types to various new func inputs & outputs
Instantiate source id regex only once & use const name convention.
2018-08-01 15:07:56 -07:00
Brandon Farmer 506d4f923c
Merge pull request #4079 from influxdata/bug-fix/laggy-time-dropdown
Store selected time in state on dashboard header
2018-08-01 14:58:02 -07:00
Brandon Farmer 391a8925c6 Store selected time in state on dashboard header 2018-08-01 14:50:02 -07:00
Alex P f7ea169be7 Remove "Controlled" from component name 2018-08-01 14:12:47 -07:00
Alex P 7cb73ee16f Allow for a custom class 2018-08-01 13:38:00 -07:00
Alex P 1a8f136adf Merge branch 'master' into reusable/inputs 2018-08-01 13:28:08 -07:00
Alex P 5f693e034e Merge branch 'master' into reusable/panels 2018-08-01 13:26:53 -07:00
Alex P 30f0c71e50 Merge branch 'master' into reusable/form-layout 2018-08-01 13:26:05 -07:00
Alex P 57314e8fb7 Introduce controlled input component 2018-08-01 13:23:43 -07:00
Alex P 92f7636655 Use a value for default status enum 2018-08-01 13:16:01 -07:00
Alex P 0786095c8b fix typo 2018-08-01 13:15:40 -07:00
Deniz Kusefoglu e1d06a718a Add https checking to SourceStep 2018-08-01 12:13:03 -07:00
Jared Scheib 032fa6154c fix: minor typo 2018-08-01 12:00:57 -07:00
Jared Scheib dddfafdb16 Merge branch 'master' into fix/import-dashboard-sources 2018-08-01 11:58:35 -07:00
Christopher Henn b85269589a Fix error when running `run-dev` after `clean` target 2018-08-01 11:56:26 -07:00
Deniz Kusefoglu a510c77e98 Add Wizard Checkbox to Source Step 2018-08-01 11:38:30 -07:00
Christopher Henn b1935560a2 Size laser spinners based on their container 2018-08-01 08:41:21 -07:00
Deniz Kusefoglu 1c4d1c2e7f Add source controls and notifications to SourceStep 2018-08-01 00:38:21 -07:00
Iris Scholten 37cfc685b5 Add tests for utils 2018-07-31 17:50:13 -07:00
Iris Scholten d41d252cf4 Add concept of Dynamic Source as dropdown option and replace No Source with Dynamic Source 2018-07-31 16:59:44 -07:00
Iris Scholten 818bfdff33 Update description verbiage for reconcile sources page 2018-07-31 15:55:20 -07:00
Deniz Kusefoglu 6018d740e2 Remove separate onBlur function from WizardTextInput 2018-07-31 15:36:37 -07:00
Deniz Kusefoglu ea6efe8aa6 Create SourceStep component and pass ref to connect to wizard actions
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-07-31 14:22:23 -07:00
Alex P e3596c16e2 Style empty state 2018-07-31 13:56:00 -07:00
Alex P 697cb96e6b Style alert message
Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>
2018-07-31 13:38:32 -07:00
Alex P 047753142c Center submit button
Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>
2018-07-31 13:38:22 -07:00
Alex P d00ad0f6e2 Add "Grey" version of alert
Much less screamy

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>
2018-07-31 13:37:49 -07:00
Iris Scholten 458c281c6a Add Description to the source mappings overlay 2018-07-31 11:51:39 -07:00
Iris Scholten 4d8a9e6c9c Polish styles mapping sources
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-07-31 11:50:07 -07:00
Delmer Reed e9dfb36442 Rename GrabDataForDownloadHandler
Renames GrabDataDownload type to indicate it's a function
2018-07-31 13:56:55 -04:00
Delmer Reed 5d68db7514 Remove unused prop for grabDataForDownload 2018-07-31 13:14:39 -04:00
Delmer Reed 215723020c Fix csv downloading
Fixes CSV downloading by adding back the optional call to
GrabDataForDownload in RefreshingGraph
2018-07-31 13:14:08 -04:00
Delmer 70369aedaf
Merge pull request #4063 from influxdata/fix/query-viewer-update
Fix query editor save
2018-07-30 22:22:17 -04:00
Iris Scholten 29d32cd209 Move constants/types/utils to separate files 2018-07-30 18:24:00 -07:00
Iris Scholten a3716a586c Change component to use old dropdown instead of new dropdown 2018-07-30 17:50:48 -07:00
Iris Scholten d0c56a645a Add arrow in mapping rows 2018-07-30 17:50:48 -07:00
Iris Scholten 7a0a050e2c Handle cells with no source in their queries when importing 2018-07-30 17:50:43 -07:00
Alex Paxton e470b51f72
Merge pull request #4050 from influxdata/reusable/buttons
Reusable Button Component
2018-07-30 17:25:49 -07:00
Alex P e3db98954c Simplify import filepath 2018-07-30 17:11:59 -07:00
Alex P 769dda3c78 Introduce and use enum for ComponentStatus
Using this to decouple from RemoteDataState
2018-07-30 17:09:29 -07:00
Alex P 471a097213 Unify naming scheme w/ panels PR 2018-07-30 16:57:21 -07:00
Alex P 385a37c672 Use cleaner way to validate children and throw errors 2018-07-30 16:51:10 -07:00
Alex P 8b78f2a991 Sort imports 2018-07-30 16:40:34 -07:00
Alex P e88ffdaafe Throw error when unexpected children passed in to Form 2018-07-30 16:40:24 -07:00
Iris Scholten dd68df7de8 Create a second step in the importing dashboard process that allows users to map sources from imported dashboard to current sources 2018-07-30 15:52:52 -07:00
Alex P dcff019ef2 Implement form layout components in SourceForm
Using this as an example of how to use the components
2018-07-30 15:35:23 -07:00
Delmer Reed df064c081d Fix type error in QueryMaker 2018-07-30 18:33:58 -04:00
Alex P 6c00d9ad0e Introduce Form Element Set 2018-07-30 15:33:03 -07:00
Delmer Reed e3b5bbe4e3 Update InfluxQLEditor to pass blur handler 2018-07-30 18:24:08 -04:00
Delmer Reed 1ad6372032 Remove onClickOutside in favor of onBlur 2018-07-30 18:24:08 -04:00
Delmer Reed 71f0281092 Rename varimoji handler to handleMouseDown 2018-07-30 18:24:08 -04:00
Delmer Reed 5f37b7d16a Fix save on editor blur 2018-07-30 18:24:08 -04:00
Delmer Reed 08f8aa8718 Fix unused handler method linting error 2018-07-30 18:23:52 -04:00
Delmer 403f90adc4
Add truncation to procid and host (#4059) 2018-07-30 18:20:29 -04:00
Deniz Kusefoglu a1758abc97 Add connection wizard to manage sources page 2018-07-30 14:41:37 -07:00
Brandon Farmer 65b40341a7 Pause log viewer when message is expanded 2018-07-30 13:06:41 -07:00
Alex P df34fb8dbf Revert dashboards page back to normal state 2018-07-30 12:32:50 -07:00
Brandon Farmer 634ce8f70a Show full value in filter tooltip 2018-07-30 11:31:10 -07:00
Alex P 03d889a758 Prevent click behavior on button icons 2018-07-30 11:11:31 -07:00
Alex P 1ff4850eae Polish appearance of buttons 2018-07-30 11:08:33 -07:00
Brandon Farmer cb2c539ec5
Merge pull request #4042 from influxdata/log-viewer/move-query-count
Move histogram count to make it more clear
2018-07-30 10:48:52 -07:00
Alex P 3d08fc5978 Use IconFont enum for icon prop type 2018-07-28 13:06:41 -07:00
Alex P f1978bf44f Merge branch 'master' into reusable/buttons 2018-07-28 11:41:05 -07:00
Alex P 17ab771114 Merge branch 'master' into reusable/panels 2018-07-28 11:39:26 -07:00
Alex Paxton 0e0856d5bc
Merge pull request #4041 from influxdata/reusable/dropdowns
Reusable Dropdowns
2018-07-27 17:34:55 -07:00
Alex P c7f29e00ca Throw away dummy testing component 2018-07-27 17:24:57 -07:00
Alex P b4d9a6581d Use id instead of itemKey and selectedID instead of selectedKey 2018-07-27 17:23:41 -07:00
Brandon Farmer 47b92b2776 Update backoff algorithm 2018-07-27 17:15:21 -07:00
Alex P a7c1ea6e71 Improve means of enforcing child type 2018-07-27 16:50:55 -07:00
Alex P db7c26d0bf Implement Panel component on a page 2018-07-27 16:35:52 -07:00
Alex P a420e8439c Introduce family of Panel components 2018-07-27 16:35:31 -07:00
Alex P 88b3586e8d WIP replace cloning with instantiating
Also checking for accepted child classes
2018-07-27 15:42:49 -07:00
Alex P c0719021d8 Use new status type in example 2018-07-27 15:16:46 -07:00
Alex P d07804f507 Use RemoteDataState type for indicating status of the button 2018-07-27 15:09:06 -07:00
Alex P 23c43fdcc3 Woops 2018-07-27 15:02:15 -07:00
Brandon Farmer d6927f3893 Move histogram count to make it more clear 2018-07-27 14:44:00 -07:00
Alex P fd0ad036cf Merge branch 'reusable/dropdowns' of github.com:influxdata/chronograf into reusable/dropdowns 2018-07-27 14:41:29 -07:00
Alex P 2f044342bc Make prop names more descriptive 2018-07-27 14:41:25 -07:00
Delmer Reed 5332d617ea Update tests for dropdown 2018-07-27 16:59:58 -04:00
Alex P 770c575ed6 Remove dropdown from dashboards page 2018-07-27 12:14:18 -07:00
Alex P 5780d977f1 Polish 2018-07-27 12:11:41 -07:00
Deniz Kusefoglu 34b9f720a0
Merge pull request #4038 from influxdata/bugfix/hover-time-in-alert-rule
Connect Rule Graph to redux store to set hover time on hover
2018-07-27 10:48:53 -07:00
Deniz Kusefoglu 65296546e0 Connect Rule Graph to redux store to set hover time on hover 2018-07-27 10:16:30 -07:00
Alirie Gray 0f393b8bf3 Flux/connections page (#4026)
* Load services on manages sources page

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add Flux dropdown on manage sources page

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add flux connection dropdown with create, select, and update

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Prevent creation of Flux connection with duplicate name

Fixed bug where refreshing page allowed for Flux or connections
with duplicate names to be created

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add ability to delete a FluxService from the fluxservice dropdown

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Change FluxPage to use the active flux connection set by FluxConnectionPage

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Ensure that only flux services are loaded into redux services

* Polish styles for Flux Connection Page

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add pingflux as a part of adding and updating a flux service

Co-authored-by: Chris Goller <goller@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add Swagger routes and definitions for Service endpoints

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Replace flux overlay with redirect to flux connections pages

* Add test for FluxConnectionPage

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Replace hard-coded string with enum

* Use active from metadata instead of service object in ServiceDropdown

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add generic for getDeep on service metadata property

* Capitalize enum constant values in FluxFormMode

* Show error notification when user reaches edit route for nonexistant flux

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add tests for FluxDropdown

* Update types for async functions
2018-07-26 18:16:02 -07:00
Alex P f901290b6a Organize files 2018-07-26 17:00:54 -07:00
Brandon Farmer 693cb549ce
Merge pull request #4025 from influxdata/log-viewer/scroll-performance
Log viewer/scroll performance
2018-07-26 17:00:53 -07:00
Brandon Farmer 04e72e679f Update for consolidating naming around infinite scroll 2018-07-26 16:52:22 -07:00
Alex P 3dc44c296e Use more obvious prop name 2018-07-26 16:37:44 -07:00
Alex P 4537b890b1 Remove child flattening mechanism 2018-07-26 16:35:24 -07:00
Deniz Kusefoglu 728c1fe825 WIP Add a text input component for wizard 2018-07-26 14:29:34 -07:00
Alex P da75597999 REVERT THIS COMMIT 2018-07-26 14:20:25 -07:00
Delmer 26921f4793
Update log viewer time ranges (#4037) 2018-07-26 17:14:52 -04:00
Alex P 1d95a703c6 Introduce reusable Dropdown components 2018-07-26 14:07:41 -07:00
Iris Scholten 42ef7bd8bc
Add a mapping of sources ids and names to dashboard export (#4033)
* Add a mapping of sources ids, links, and names to dashboard export

* Update Changelog
2018-07-26 13:59:44 -07:00
Delmer Reed a83a0f0d4b Revert "Update interval replacement (#4011)"
This reverts commit 06dc4e2222.
2018-07-26 16:32:40 -04:00
Delmer 06dc4e2222
Update interval replacement (#4011)
Update interval replacement to use replace api
2018-07-26 16:28:52 -04:00
Brandon Farmer 1ace31eb2d
Merge pull request #4031 from influxdata/log-viewer/default-source
If no current source for log viewer, use default
2018-07-26 13:23:17 -07:00
Delmer 110473c624
Update query editor to show template values (#3955)
Updates InfluxQLEditor to utilize ReactCodeMirror to show and hide
template variables in the CEO.

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
Co-Authored-by: Alex P <thealexpaxton@gmail.com>
2018-07-26 15:07:30 -04:00
Daniel Campbell 82910aa4dc
Merge pull request #4018 from influxdata/generic-wizard
Add Generic Wizard Component
2018-07-26 11:49:43 -07:00
Brandon Farmer f3862dce0f If no current source for log viewer, use default 2018-07-26 11:49:12 -07:00
Daniel Campbell 85c6d8018b Increase classname specificity, wizard style updates 2018-07-26 11:30:27 -07:00
Alex P c6e9319894 REVERT THIS COMMIT 2018-07-26 10:26:33 -07:00
Alex P cb3b092be1 Inroduce revamped Button component 2018-07-26 10:13:52 -07:00
Brandon Farmer 37e3092b14 Truncate appname in log viewer to prevent wrapping 2018-07-26 09:33:08 -07:00
Daniel Campbell 1574bb6af7 rename WizardCloak to WizardController 2018-07-26 09:05:59 -07:00
Daniel Campbell d2d85814b8 Move constants from types file to own constants file 2018-07-25 17:09:22 -07:00
Christopher Henn 5033c4a240 Remove unused index.template.html 2018-07-25 16:51:22 -07:00
Christopher Henn a9f8d688ae Add back favicon 2018-07-25 16:51:22 -07:00
Brandon Farmer 0a33f65847 Exponential backoff for finding timeframe to query logs from 2018-07-25 16:17:47 -07:00
Christopher Henn c4684151b0 Fix all existing type errors 2018-07-25 12:37:30 -07:00
Christopher Henn 9fc472ee00 Lock down prettier version
Prettier includes breaking changes in semvar minor versions. This
commit locks down prettier to the precise version that we have been
linting files with in the recent past (1.12.1).
2018-07-25 12:37:30 -07:00
Daniel Campbell 4fe2382628 Cleanup dummy files and changes 2018-07-25 11:39:23 -07:00
Christopher Henn 9f40961bd8 Tweak port and sourcemaps config 2018-07-25 11:16:04 -07:00
Jared Scheib 76a6cd3bc2 dev: clean up yarn scripts, add typescript check & watch scripts
tsconfig rootDir was changed because tsc would throw errors and
apparently it wants all files in the project to be at the rootDir.

Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
Co-authored-by: Chris Henn <chris@chrishenn.net>
2018-07-25 11:16:04 -07:00
Christopher Henn dcf6c7dcc5 Replace webpack with parcel 2018-07-25 11:16:04 -07:00
Andrew Watkins 70b340ad64 Bugfix/no org name (#4014)
Fix runtime error when no orgs
2018-07-25 10:23:42 -07:00
Daniel Campbell ee7dc31234 Add snapshots to Wizard cloak tests 2018-07-25 09:11:54 -07:00
Daniel Campbell 07a1a3ca27 Update Wizard step component and tests 2018-07-25 09:10:39 -07:00
Daniel Campbell 41c0c0c7dc add progress bar tests
Co-authored-by Daniel Campbell <metalwhirlwind@gmail.com>
Co-authored-by Deniz Kusefoglu <deniz@influxdb.com>
2018-07-25 09:09:12 -07:00
Daniel Campbell b07199c88b Add overlay tests 2018-07-25 09:04:23 -07:00
Daniel Campbell 045a5dd975 Add tests for WizardFullScreen 2018-07-24 17:01:03 -07:00
Daniel Campbell 6fbd0cee72 Handle case of single or no children passed to WizardCloak
Co-authored-by Deniz Kusefoglu <deniz@influxdb.com>
Co-authored-by Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-24 16:46:19 -07:00
Christopher Henn f9e21a4bb3 Fix histogram overflow issue when using basepath 2018-07-24 15:39:41 -07:00
Daniel Campbell d07d2e798b commit snapshot files 2018-07-24 15:33:18 -07:00
Daniel Campbell caa0f4e067 Add snapshots to previous tests, add tests for WizardCloak 2018-07-24 15:32:41 -07:00
Daniel Campbell ea9029ee1b Add error handling to components
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdb.com>
2018-07-24 15:31:11 -07:00
Iris Scholten 50e98214b9 Move dygraph legend slightly closer to dygraph to make it easier to hover inside
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-07-24 14:35:26 -07:00
Alex Paxton 89f9b5c88f
Merge pull request #4005 from influxdata/polish/single-stat-clip
Prevent Single Stat Text With Descenders From Clipping
2018-07-24 10:11:09 -07:00
Andrew Watkins 96295d300a
Merge pull request #4003 from influxdata/bugfix/flux-response
Change #partition to #group
2018-07-24 10:06:43 -07:00
Andrew Watkins 5829251787
Merge pull request #4006 from influxdata/bugfix/data-explorer-submit
Change UX of query submission and newlines
2018-07-24 09:55:46 -07:00
Alex P 61a58ea5e4 Prevent text with descenders from clipping 2018-07-24 09:25:50 -07:00
Andrew Watkins 69569d5c68 Change UX of query submission and newlines 2018-07-24 09:25:50 -07:00
Andrew Watkins 9284a010f6 Fix typo 2018-07-24 08:41:02 -07:00
Andrew Watkins 89009c88af Change partition to group 2018-07-24 08:40:00 -07:00
Andrew Watkins 787bf6df73 Change #partition to #group 2018-07-24 08:29:03 -07:00
Daniel Campbell 2945cafb00 Add tests to wizard button bar
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>>
2018-07-23 17:16:51 -07:00
Brandon Farmer 60ba9889d9
Merge pull request #3994 from influxdata/log-viewer/play-goes-to-now
When play is press go to now in logs
2018-07-23 17:16:20 -07:00
Daniel Campbell 82a78d985a Place wizard button bar out to its own component, and begin adding tests for wizard step
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>>
2018-07-23 17:15:34 -07:00
Brandon Farmer c9c06411c2 Use constant to represent now in time 2018-07-23 16:58:16 -07:00
nathan haugo 8c1862d8ae Update master to 1.7.0 and use bumpversion for makefile config instead of git tags 2018-07-23 15:53:48 -07:00
Brandon Farmer e763b531ef When play is press go to now in logs 2018-07-23 15:20:31 -07:00
Daniel Campbell 051c6fef91 Add tests for Progress Connector 2018-07-23 15:17:14 -07:00
Daniel Campbell 873623cce0 Correct height in full screen component, add skip callback function 2018-07-23 14:31:49 -07:00
Christopher Henn 85f222b62e Fix template variable replacement within regexes
Template variables used within regexes would not replace when the query
contained a '/' before the regex in the query (see test).

This commit rewrites the logic for replacing template variables within
regexes.
2018-07-23 10:08:45 -07:00
Daniel Campbell 7e6d434ab0 Pass handle skip function to component 2018-07-20 17:36:04 -07:00
Daniel Campbell 934b95e652 Add full screen variant of wizard 2018-07-20 17:30:53 -07:00
Christopher Henn 7065fcb710 Ensure blank text template variables have a value 2018-07-20 15:16:20 -07:00
Christopher Henn cf7f44715b Add tests for Text template value resolution 2018-07-20 15:16:20 -07:00
Christopher Henn eb258cf314 Refactor template variable resolution
Now handles the `Text` case properly.
2018-07-20 15:16:20 -07:00
Christopher Henn 099abd329c Track query error states in TimeSeries 2018-07-20 15:16:20 -07:00
Daniel Campbell 0c3869ff85 Use fancy scrollbar component 2018-07-20 15:15:10 -07:00
Daniel Campbell 99a700f87f Formatted wizard layout, display final wizard button as green instead of blue 2018-07-20 12:01:10 -07:00
Daniel Campbell 91314d0f6a Add hover titles and jump ability to progress bar, add skip link, add ability to pass custom labels to buttons 2018-07-19 18:22:09 -07:00
Daniel Campbell 01f00724b6 Place wizard types in appropriate files
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-07-19 15:58:39 -07:00
Daniel Campbell 0e22181190 Add navigation ability to wizard buttons, close wizard on final
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-07-19 15:46:17 -07:00
Daniel Campbell d14a9f4dac Infer current step status from completion of wizard children
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-07-19 13:52:29 -07:00
Daniel Campbell 256d5aa49a Add wizard control buttons
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-07-19 13:51:02 -07:00
Daniel Campbell 14533f591c Add completion callback for determining step completion
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-07-19 12:26:55 -07:00
Daniel Campbell 6ffdc525d6 Add colored icons for step state in progress bar
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-07-19 11:35:17 -07:00
Daniel Campbell 3fa1358379 Add thicker variant of circle icon 2018-07-19 11:11:18 -07:00
Daniel Campbell e4f3b6b440 Add progress icons and animate connectors
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-07-18 17:42:58 -07:00
Christopher Henn 25b3a3d89c Ensure Map templates track selections 2018-07-18 16:55:20 -07:00
Daniel Campbell 86c1d2d04c Map children to progress meter
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdb.com>
2018-07-18 16:53:54 -07:00
Daniel Campbell baf8e1d1cc Create initial wizard components
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-07-18 15:48:55 -07:00
Nathan Haugo 13a46b946d
Merge branch 'master' into release/1.6.x 2018-07-18 14:50:02 -07:00
nathan haugo 45069a0eee Changelog and version for 1.6.0 2018-07-18 14:48:59 -07:00
Christopher Henn 9eb897cce6
Ensure non-query backed templates track selections 2018-07-18 09:53:12 -07:00
Andrew Watkins d7c694c899
Merge pull request #3954 from influxdata/bugfix/annotation-refresh
Bugfix: Annotations not appearing until auto refresh tick
2018-07-18 09:13:40 -07:00
Andrew Watkins 1fa0c205ff Subcribe fetch and subscribe on mount 2018-07-17 18:21:42 -07:00
Iris Scholten a3f6d2ac40 Change default Decimal Places to enforced with a value of 2 2018-07-17 16:21:31 -07:00
ebb-tide 8ddde6ed5e Make max decimal points 20, and define constants for magic numbers 2018-07-17 16:19:28 -07:00
ebb-tide 0a97c82b45 Convert gauge labels and values to string in different ways 2018-07-17 16:19:12 -07:00
ebb-tide 6ea977be1a Change gauge line counts 2018-07-17 16:19:01 -07:00
Christopher Henn 7e20617d17 Fix failing replacement tests
Since all tests shared the same `emptyTemplate` fixture, the `id` used
for each template in the graph construction was being clobbered.
2018-07-17 15:53:36 -07:00
Christopher Henn a02712942a Rename module 2018-07-17 15:53:36 -07:00
Christopher Henn 6a413070f9 Render templates in topologically sorted order 2018-07-17 15:53:36 -07:00
Christopher Henn 366b345641 Use template values when constructing dependency graph 2018-07-17 15:53:36 -07:00