Commit Graph

8313 Commits (remember-threesizer)

Author SHA1 Message Date
Brandon Farmer 5c101f5fe2 Encode github issue url 2018-10-05 09:29:09 -07:00
Christopher Henn 435b57507f Remove explicit injection of TimeMachineContainer 2018-10-04 16:09:55 -07:00
Iris Scholten f25d200b0d
Merge pull request #4537 from influxdata/flux/time-range-update
Flux/time range update
2018-10-04 14:27:57 -07:00
Iris Scholten 84bb003693 Fix line and single stat graphs showing previous time ranges data 2018-10-04 14:14:49 -07:00
Christopher Henn 78e5ff6516
Avoid displaying out of date body when script errors 2018-10-04 14:04:15 -07:00
Christopher Henn 681b1dcf2c Require explicit submit action in Flux builder 2018-10-04 13:42:09 -07:00
Alirie Gray a0b582be3e
Flux/replace duplicate sources in dropdown with toggle (#4547)
* Remove duplicate source items and add query type toggle

* Handle Flux toggling from non-dynamic source

* Keep query type when switching sources

* Refactor toggleFlux and source dropdown items
2018-10-04 12:52:43 -07:00
Alirie Gray a8481e4b53 Remove old flux services from dashboard export 2018-10-03 15:12:47 -07:00
Alirie Gray 61ab25b2c0
Merge pull request #4536 from influxdata/ceo/allow-save-note-cell-without-query
Allow note cell without query
2018-10-03 14:46:32 -07:00
Alirie Gray 3a7a9de6e0 Add private timeMachineContainer to DashboardPage 2018-10-03 14:36:29 -07:00
Alirie Gray 0755573ca4 Remove unused props 2018-10-03 14:24:52 -07:00
Alirie Gray 032ad5347f Connect CEO with TimeMachineContainer in DashboardPage 2018-10-03 11:22:49 -07:00
Alirie Gray aaef38c9aa Check for cell type in isSaveable 2018-10-03 11:09:55 -07:00
Deniz Kusefoglu 196c5b70be Add switch org link and fix routing when auth is enabled in onboarding 2018-10-03 09:41:06 -07:00
Christopher Henn b6ff76b6f2 Fix inability to select Flux table from sidebar 2018-10-02 16:59:27 -07:00
Christopher Henn b450d52b06 Enable horizontal scroll in Flux tables sidebar 2018-10-02 15:22:35 -07:00
Christopher Henn 110eed22e6 Fix inability to rename a dashboard cell
Also removes redundant query config building in CEO.
2018-10-02 13:11:13 -07:00
Christopher Henn 98e3242f30 Tweak padding the DE/CEO 2018-10-02 11:34:51 -07:00
Christopher Henn f7712568c9 Fix jitter on initial DE/CEO vis load 2018-10-02 11:34:51 -07:00
Alirie Gray 9afce0d3b2
Merge pull request #4527 from influxdata/flux/change-filter-type-in-builder
Fix filter type radio button in flux builder tag list dropdown
2018-10-02 10:13:52 -07:00
Delmer 7ae6ea8e65
Update logs copy button position (#4525)
Having the button in the lower right created a frustrating UX when the
message was expanded and the user was attempting to copy.

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-10-02 12:59:15 -04:00
Christopher Henn b9867eef95 Enable changing vis colors for Flux queries 2018-10-02 09:53:37 -07:00
Iris Scholten dd2d53b51a
Merge pull request #4526 from influxdata/flux/dashboard-time
Add dashboard time templates to flux queries
2018-10-02 09:32:56 -07:00
Christopher Henn 78a8a3ee3a Fix issue loading Data Explorer in Safari
Spin up 1 WebWorker by default, unless we are in a browser that defines
`navigator.hardwareConcurrency` (Chrome and Firefox do, Safari does
not).
2018-10-02 09:30:06 -07:00
Christopher Henn 8b0ae52e06 Fix issue with unwanted template var replacement 2018-10-01 17:39:18 -07:00
Iris Scholten b03913db8d Add dashboard time templates to flux queries 2018-10-01 17:16:52 -07:00
Alirie Gray d7d6c08afe Change = to != in radio button and convert onClick to arrow function 2018-10-01 17:10:38 -07:00
Brandon Farmer 035571c21d Properly handle negative numbers in flux 2018-10-01 16:44:01 -07:00
Iris Scholten f0d4f29f4c Treat flux service as a part of source 2018-10-01 12:44:46 -07:00
Christopher Henn 82045aea3a Fix Firefox styling issue 2018-09-28 14:23:54 -07:00
Christopher Henn 27fcc0dd21 Avoid uncaught exception in TableGraph 2018-09-28 13:59:26 -07:00
Christopher Henn 63c9172172 Persist Data Explorer state to localStorage 2018-09-28 10:49:12 -07:00
Christopher Henn dd44e48238 Port query config tests to new TimeMachineContainer 2018-09-27 15:15:25 -07:00
Christopher Henn 48a191e582 Remove unnecessary omit 2018-09-27 15:15:25 -07:00
Christopher Henn 1cff49e17a Always return setState promise in TimeMachineContainer 2018-09-27 15:15:25 -07:00
Christopher Henn 5e75e5ab9d Make use of helper function in TimeMachineContainer 2018-09-27 15:15:25 -07:00
Alirie Gray 955684a73d
Merge pull request #4511 from influxdata/annotations/fix-fiter-tag-update
Annotations/fix filter tag update
2018-09-27 13:18:05 -07:00
Iris Scholten 3d99060582 Move TimeMachine state to new state container
Co-authored-by: Iris Scholten <iris@influxdata.com>
Co-authored-by: Chris Henn <chris@chrishenn.net>
2018-09-27 13:12:19 -07:00
Alirie Gray 42a73792a2 Remove upper index limit on filtered suggestions 2018-09-27 13:05:01 -07:00
Alirie Gray f0203f7233 Clear local tag keys from redux upon saving annotation 2018-09-27 13:04:57 -07:00
Alirie Gray 75041ca13f Increase z-index for time dropdown
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-09-26 14:42:56 -07:00
Alirie Gray 954ec6d80b Change dash header button z index 2018-09-26 12:39:02 -07:00
Brandon Farmer caed5bc063 Check response uuid for updating linegraph 2018-09-25 16:38:41 -07:00
Delmer c56165bc0b
Fix meta query table (#4499)
Update table graph to render meta queries

* Add meta query response
* Fix meta query table graphing
* Fix meta query table transformation
* Update table graph error rendering
* Fix tests
* Fix nothing showing up if fix first data is true and there's only one visible column
* Add error throwing timeSeriesToTableGraph test

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-09-25 16:09:07 -04:00
Christopher Henn dffbfe7b85
Use correct dimensions in RawFluxDataTable 2018-09-25 12:35:08 -07:00
Christopher Henn e757c834d3 Show raw data when "View Raw Data" is toggled 2018-09-24 15:59:54 -07:00
Brandon Farmer d95bc6979d
Merge pull request #4491 from influxdata/polish/flux-editor-stays-selected
Flux editor stays selected when text changes
2018-09-24 13:07:10 -07:00
Iris Scholten 40101ef016
Merge pull request #4489 from influxdata/flux/table-hover-time
Change time field in flux table from Date to number to fix hover time
2018-09-24 11:06:41 -07:00
Deniz Kusefoglu b6824a2a3d
Merge pull request #4479 from influxdata/bugfix/validate-alert-rule-messages
Add validation to Alert Rule message templates
2018-09-24 11:02:05 -07:00
Christopher Henn 5bae044b1c Refactor host page (#4488) 2018-09-24 11:00:37 -07:00
Iris Scholten 1c66b6b6a1 Change time in flux table from Date to number to fix hover time 2018-09-24 10:54:44 -07:00
Deniz Kusefoglu 7e2c7877bb Add validation to Alert Rule message templates 2018-09-24 10:52:34 -07:00
Brandon Farmer 7cb598e13b Flux editor stays selected when text changes 2018-09-24 09:55:21 -07:00
Brandon Farmer aab0864947 Display more error information in flux editor 2018-09-23 22:29:14 -07:00
Iris Scholten c107beaf49 Update vis types to not assume there is a time field 2018-09-21 17:25:07 -07:00
Brandon Farmer 7bf46c955a Only query flux when done typing and valid ast 2018-09-21 15:05:45 -07:00
Christopher Henn 456723cdd5
Use consistent page spinners 2018-09-21 13:02:47 -07:00
Delmer e91faf6a6f
Update logs loading description (#4452)
* Update logs table loading time and timestamp
* Make time bounds in searching state have gradient text
* Add loading animation
* Add graphic for logs No Results state
* Update CHANGELOG 1.7 UI IMPROVEMENTS
* Update default logs message

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-09-21 15:33:13 -04:00
Christopher Henn e207bd3ec1 Remove extra comma from FuncArgsPreview 2018-09-21 10:13:06 -07:00
Christopher Henn 29da74752b Remove redundant helper code from TimeMachine 2018-09-21 10:13:06 -07:00
Christopher Henn 3d08e11962 Remove unused service prop from BodyBuilder 2018-09-21 10:13:06 -07:00
Christopher Henn 74f8aa8453 Use correct cursor type in Flux builder 2018-09-21 10:13:06 -07:00
Iris Scholten 49f5c39c76
Update TimeMachineTables to use table name as id instead of uuid (#4478)
Co-authored-by: Chris Henn <chris@chrishenn.net>
2018-09-20 10:19:47 -07:00
Christopher Henn bc143758d3 Exclude '_start' and '_stop' columns from group key 2018-09-18 15:12:18 -07:00
Brandon Farmer d947913336 Add stack traces to issues created on error 2018-09-18 12:40:12 -07:00
Delmer 454d1cb84e
Update histogram to clear before fetching new source/namespace (#4457) 2018-09-17 21:52:51 -04:00
Iris Scholten 9f8d3983e3
Show flux results in table graph (#4461) 2018-09-17 18:35:10 -07:00
Deniz Kusefoglu c30d939c6c
Merge pull request #4472 from influxdata/bugfix/config-kapacitor-without-switching-source
Check if source has been edited to decide where to redirect at wizard close.
2018-09-17 17:47:55 -07:00
Brandon Farmer a55d525e95 Fix various errors with data explorer
- Remove unused build button
- Handle missing `query` query param
- Better default for queryDrafts
2018-09-17 14:37:15 -07:00
Deniz Kusefoglu 75395b1053 Check if source has been edited by wizard to decide where to redirect 2018-09-17 14:31:52 -07:00
Alirie Gray c59c2b1d5f
Merge pull request #4468 from influxdata/flux/error-message-when-source-doesnt-have-flux
Add error message when current source doesn't support Flux
2018-09-17 12:39:49 -07:00
Alirie Gray c22e68d501 Add type to Query model and check for type and service in TimeSeries 2018-09-17 12:12:06 -07:00
Deniz Kusefoglu ad2be7a016
Merge pull request #4459 from influxdata/enhancement/send-to-dashboard
Fix notifications and dashboard getting in send to dashboard.
2018-09-17 12:11:55 -07:00
Jared Scheib e5f5ccf3e8
Maintain focus on Flux Editor text area when adding nodes via code (#4466)
* fix(flux/components): only autofocus new FuncArg input on user click

* update changelog
2018-09-17 14:42:17 -04:00
Deniz Kusefoglu 292d1ef75f Call getDashboards on didMount of SendToDashboard
Fix notifications when sending cell to dashboard

Update Snapshots
2018-09-17 11:04:36 -07:00
Brandon Farmer 07757eba5b Ensure that flux cells have correct type
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-09-17 10:07:37 -07:00
Brandon Farmer 66dff736e6 Retain source on data explorer between refreshes 2018-09-14 16:31:55 -07:00
Alirie Gray 246c6f15c7
Add type property to queries (#4458)
* Add type property to CellQuery model

* Make an enum for QueryType

* Add type property to Query model on backend

* Add query type checking to CEO reducer and Layout

* Update swagger.json docs
2018-09-14 16:24:17 -07:00
Delmer 4d2c5bc4c6
Add No Results Message For Histogram (#4456)
* Update histogram no results message
* Update histogram to display window option
* Update histogram no results window
2018-09-14 17:51:51 -04:00
Delmer b03e902a4e
Save log wrap/truncate setting (#4454)
Update logs to save user wrap/truncate setting

* Update CHANGELOG 1.7 features
2018-09-14 17:50:58 -04:00
Christopher Henn 91fc8cec3d Debounce fetching Flux data 2018-09-14 13:59:04 -07:00
Christopher Henn 8fd5e65506 Refactor TimeSeries component
Removes dependence on a `setState` timeout hack.
2018-09-14 13:59:04 -07:00
Christopher Henn 53df0769d0 Don't render Dashboard until Services are ready
Flux cells rely on `Service` objects to fetch and display graphs.
Previously, a dashboard would (sometimes) be rendered before the
`Service` objects had been fetched, and then never re-rendered. This
would cause Flux graphs to display as empty.

This did not occur in development unless the network connection was
throttled.
2018-09-14 13:59:04 -07:00
Christopher Henn 7e1ba8f9c8 Notify when Flux response is truncated in CEO 2018-09-14 13:59:04 -07:00
Christopher Henn d04c412b91 Remove redundant data fetching from TimeMachine
The `RefreshingGraph` in the DE/CEO already executes the Flux query, so
executing the Flux query when the `TimeMachine` mounts is redundant.

Since data is fetched on every keystroke in the Flux editor, executing
the Flux query when pressing Control-Enter was redundant as well. The
`KeyboardShortcuts` component existed only to facilitate this
interaction, so I have removed it as well.
2018-09-14 13:59:04 -07:00
Christopher Henn 5c41aeaf8f Notify when Flux CSV export is truncated 2018-09-14 13:49:50 -07:00
Christopher Henn 7817e1173b Enable exporting a CSV for Flux queries in the CEO 2018-09-14 13:49:50 -07:00
Christopher Henn 2169b8e35b Upgrade TypeScript to 3.0 2018-09-14 11:24:08 -07:00
Christopher Henn 8e0380c3c1 Upgrade React and Enzyme 2018-09-14 11:24:08 -07:00
Iris Scholten b251c9350e
Update Single Stat Vis types to work with Flux data (#4449) 2018-09-13 16:17:16 -07:00
Deniz Kusefoglu 5f138d6b63
Merge pull request #4450 from influxdata/hostpage/fix-numbering-bug
Fix numbering bug on hostspage
2018-09-13 16:03:37 -07:00
Delmer 702400c995
Make log time formats consistent (#4447)
* Fix inconsistent log time formats
* Remove unused query results logic
2018-09-13 18:28:29 -04:00
Deniz Kusefoglu 01f480b730
Merge pull request #4446 from influxdata/bugfix/send-to-dashboards-when-no-dashboards
Send cell from DE to a new dashboard
2018-09-13 14:58:54 -07:00
Deniz Kusefoglu ca4d18ba3f Memoize sortedHosts calculation and display correct copy if no hosts match search term
Convert HostsRow to TS and rename variables
2018-09-13 14:55:05 -07:00
Delmer d21b98dbf8
Refetch logs after source update (#4438)
* Fix logs source switching not refetching
* Fix logs not searching updated namespace
* Fix search not terminating
2018-09-13 16:51:48 -04:00
Christopher Henn ed36dae808 Clear localStorage cache every commit
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
Co-authored-by: Chris Henn <chris@chrishenn.net>
2018-09-13 13:33:23 -07:00
Deniz Kusefoglu edb3570eb9 Fix humanizeNotes crashing when note text is null
Get dashboards on DE mount

Add new dashboard option to send to dashboard dropdown in DE
2018-09-13 12:02:37 -07:00
Brandon Farmer fbb2dbca8d
Merge pull request #4445 from influxdata/enhancement/export-flux-cells
Provide flux services to dashboard export
2018-09-13 10:44:49 -07:00
Brandon Farmer 03c8c14d2c Provide services to dashboard export 2018-09-13 09:58:54 -07:00
Delmer 8fba2b5585
Remove logs table query stats (#4431)
* Remove logs table query results stats
* Remove logs filters margin
2018-09-13 12:16:21 -04:00