Commit Graph

1087 Commits (b1d3dcd5c1e94c3ec32682eafcbd046220f667d0)

Author SHA1 Message Date
Delmer b1d3dcd5c1
Add missing measurement status (#4744)
Add missing syslog status for logs page

* Add missing measurement status
* Update changelog 1.7.0 ui improvements
2018-11-06 13:56:22 -05:00
Jared Scheib 38d86b8945 update changelog for be8bed17c 2018-11-05 15:19:34 -08:00
Delmer 7974ed3bbd
Add logs page spinner (#4715)
feat(logs/ui): Add logs page loading spinner
2018-11-05 11:19:52 -05:00
Alirie Gray 247d9f57de
Flatten Flux schema explorer tree (#4659)
* Use category tree to build schema explorer

* Remove expander from tag value list item

* Prevent clicking tag value item from closing tag values

* Remove input from under TAGS item in schema explorer

* Search for fields in measurements

* Add loading state and use search term in fetching tag values

* Add load more tag values button and debounce tag values search

* Add error handling to flux schema explorer
2018-10-30 13:24:21 -07:00
alexpaxton d9ebfb7003
Remove Markdown Shadows and Prefix/Suffix Limits (#4665)
* Remove shadow from markdown cells

* Remove prefix and suffix character maximums

* Updoot changelog
2018-10-29 13:06:24 -07:00
Delmer e5ae30127a
Add logs hostname (#4645)
fix(logs/table): add hostname column

* Guarantee hostname column exists on logviewer config
* Add hostname field to ui utils
* Update integrations server test
* Update changelog 1.7.0

Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-10-25 16:42:29 -04:00
Delmer fca25f942e
Fix logs scrollbar (#4640)
fix(logs/scroll): fix the horizontal scroll bar

* Update grid to have minWidth
* Fix logs scrollbar position
* Clean up unnecessary handlers
* Update 1.7.0 changelog

Co-authored-by: Alex P <thealexpaxton@gmail.com>
2018-10-25 12:34:02 -04:00
Delmer c17d0ad55c
Fix logs expansion handling (#4621)
* fix(logs/expand): pauses tailing on message expansion
* Fix expanded message wrapping
* Update changelog 1.7.0
2018-10-22 18:29:56 -04:00
Christopher Henn bb388ec236 Fix issue with disappearing alias' 2018-10-18 13:44:07 -07:00
Delmer 18c412a6c1
Fix logs vertical scroll (#4605)
fix(logs/scroll): fix logs scroll in firefox
2018-10-17 13:47:32 -04:00
Delmer 2b1e0c3cf9
Fix logs search race (#4599)
fix(logs/search): Search update race condition
2018-10-17 10:25:26 -04: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
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
Deniz Kusefoglu 7e2c7877bb Add validation to Alert Rule message templates 2018-09-24 10:52:34 -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
Edd Robinson a7c1800143 Improve asset loading performance
This commit improves the loading performance of static assets on devices
with low CPU, such as Pies or other embedded devices.

One characteristic of these devices is that they don't often have the
intrinsics available used in gzip compression.

This commit does two things:

  (1) Adds an option to explicitly disable gzip compression of requested
assets.
  (2) Avoids the very expensive URL prefix Handler wrapper if no base
path has been set.
2018-09-19 08:48:06 -07:00
Iris Scholten 9f8d3983e3
Show flux results in table graph (#4461) 2018-09-17 18:35:10 -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
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
Iris Scholten b251c9350e
Update Single Stat Vis types to work with Flux data (#4449) 2018-09-13 16:17:16 -07:00
Brandon Farmer 03c8c14d2c Provide services to dashboard export 2018-09-13 09:58:54 -07:00
Jared Scheib 46c8baca3a
feat: auto scroll to measurement item in explorer (#4436)
* feat: auto scroll to measurement item in explorer

* update changelog
2018-09-12 18:22:25 -04:00
Jared Scheib 4e99d20032
Add metaquery template generator button to Explorer and Cell Editor (#4433)
* fix: add back meta queries dropdown to DECEO via ActionDropdown

* feat: add ActionDropdown to reusable_ui

* refactor: clean up metaqueries template options

* change button text to 'Metaquery Template'

* update changelog

* Polish

* Extend Dropdown to allow for 2 different modes

* Guard against undefined selectedChild in dropdown

* Make id strings more unique

* WIP Replace ActionDropdown with Regular Dropdown in "ActionList" mode

* remove ActionDropdown since obsolete basedon 5902026
2018-09-12 18:12:56 -04:00
Delmer 0106e5dd1c
Fix query editor rejecting updates (#4429)
* Fix query editor rejecting updates for generated statements
* Fix query editor flickering
* UPDATE CHANGELOG
* Remove isShowingTemplateValues from state derivation
* Fix submission completion clobbering edits
2018-09-12 14:02:23 -04:00
Iris Scholten ceeb3e9b23
Flux in line graphs (#4410)
* Create workers for flux fetch and response decoding

Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>

* Add flux data to linegraph

* Fix error when queryConfigs are undefined

* Add service as prop instead of treating source as either service or source

* Fix raw data view after changing components

* Remove commented code

* Update Changelog

* Fix tests

* Remove unnecessary comment

* Rename timeSeries and data for clarity

* Add try catch around worker jobs

* Add type annotations

* Remove unncessary check

* Update to use descriptive variables
2018-09-11 17:25:24 -07:00
Brandon Farmer 4da0c9f24a
Merge pull request #4422 from influxdata/enhancement/deep-link-flux-de
Allow flux scripts in query string for DE
2018-09-11 16:44:46 -07:00
Brandon Farmer 8080583737 Allow flux scripts in query string for DE 2018-09-11 16:15:59 -07:00
Delmer def4acdfec
Fix query editor flickering on update (#4423)
* Fix query editor flickering on update
* Fix editor to update and focus on tab changes
* Update CHANGELOG UI IMPROVEMENTS
2018-09-11 18:40:57 -04:00
Delmer 9ba557b606
Autofocus dashboard query editor (#4399)
* Fix editor not focusing on mount
* Update query editor to close on blur
2018-09-11 17:51:25 -04:00
Jared Scheib 9b6263e667
Render null data point values in Alerts Table as mdashes (#4408)
* fix: render invalid Alerts Table row data as mdash

create new AlertsTableRow component
refactor Alerts Table rows to use new AlertsTableRow component

* test AlertsTableRow for valid data

render spans for all alerts table row cell values

* update changelog
2018-09-11 11:12:12 -04:00
Deniz Kusefoglu 786d310008 Add loading status indicator to HostsPage
Convert HostsPage and HostsTable to typescript

Display page-spinner if hostpage in loading state

Add error state to HostsPage

Fix tests for HostsPage

Update Changelog

Add missing type definitions to HostsTable
2018-09-10 23:24:09 -07:00
Alirie Gray cef576a829
Merge pull request #4403 from influxdata/flux/toggle-flux-influxql-ceo
Toggle for Flux/InfluxQL for dynamic source in CEO
2018-09-10 15:03:09 -07:00
Alirie Gray d6ae8a7926 Update changelong 2018-09-10 14:25:10 -07:00
Alex Paxton 8ecdb7a1b1
Restyle React Grid & Associated Interactions (#4391)
* WIP

* Use divs instead of background image URI

* Make cell resizer prettier

* Only show cell resizer on cell hover

* Make linter happy

* Redesign layout cell to adapt to single stat coloration and have spicy new aesthetic

* Guard against cellBackgroundColor getting set to null

* Add error boundary to cell header

* Polish

* Make custom time indicator more legible

* Update changelog

* Cleanup the code!
2018-09-10 12:51:09 -07:00
Delmer a612f97b49
Add regexp and aliases for appname attribute searching (#4389) 2018-09-10 10:24:35 -04:00
Delmer 5442ef9af4
Update add filters to add to the left (#4392)
* Update add filters to add to the left
* Update to preserve searchTerm ordering
2018-09-10 10:09:35 -04:00
Delmer 42b28205d2 Log viewer progressive loading (#4388)
feat: refactor log viewer to progressively load and render logs

Logs are progressively tailed to a buffer every 5000ms
while live updating. This is easily customizable. After
30000ms, this tail buffer is flushed to the "backward"
logs. This buffer was introduced to avoid losing logs
newly written to the database. This could easily be
extended to be a rolling buffer to be even more robust.

Also adds an Upper and Lower timestamp in the UI to
indicate to the user what the current search space time
bounds are.

Also removes logs from local storage.

Also fixers awaiting retrieving namespaces in order to
perform subsequent ajax requests & dispatches.

Also renames various functions & vars for clarity,
corrects typos, and corrects capitalization according
to convention.

Also removes LIMIT on fetch older and newer.

Also replaces bounds stored in Redux with UTC time.

Additionally, all the following:

* Fix LogsTable scroll loading indicator
* Move constants out of logs page
* Update newer chunk to be 100
* Fix tailing when custom/relative set
* Update chunk sizes to 30sec
* Update to use shouldLiveUpdate getter
* Fix scrollToRow after fetchNewer
* Update to use clearTailInterval
* Update scrollTo middle of backward if no forward data
* Remove last/first query time logic from logsTable
* Removing the last/first query time logic fixed scrolling
not working after performing a search and then deleting
the filter.
* Replace undefined currentNewer w/ nextNewerLower
* Add missing source redirection
* Remove comment deleted Paused status
* Add await to notify when no results are found
* Update fetchNewer to avoid chunking far into the future
* Update nextNewerLowerBound onChooseRelative
* Update lower bound on custom selection
* Update no results loading status
* Add comments to clarify actions
* Update fetch until to check before fetch
* Fix linting errors
* Update CHANGELOG 1.7.0 fixes
* Update logs to go to Infinity
* use Date instead of moment for logs actions
* replace moment with Date where straightforward in LogsPage
* throw error from fetchEachAsync so consumers can handle it
* Fix infiniteTableData localStorage
* add minor todo for possible future tweak
* remove redundant error throw
* simplify a LogsPage use of Date
* move max tail buffer const next to tail chunk duration const for clarity
* clarify comments documenting logs actions and state
* run histogram & table query config requests in parallel

Co-authored-by: Delmer Reed <ofthedelmer@gmail.com>
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-09-07 18:20:48 -04:00
Alirie Gray d988511b8b
Merge pull request #4390 from influxdata/flux/delete-flux-page
Delete FluxPage and related components
2018-09-07 12:23:14 -07:00
Alirie Gray 61a0aea357 Remove FluxPage, related components and route 2018-09-07 12:12:18 -07:00
nathan haugo d58167c5aa Update changelog for 1.6.2 release 2018-09-06 16:58:49 -07:00
Alex Paxton 5f6cb054ae
Improve Log Messages UX (#4363)
* Refactor ExpandableMessage to use React Portals

* Display "Clear Filters" button when more than 3 filters are present

* Move logs truncation toggle from options overlay to filter bar

* Simplify styles and markup

Ensure that the ... truncation happens
Showing a "zoom in" cursor when log messages can be clicked

* Update changelog

* Remove rogue file

* Type props in constructor and remove unecessary condition

* Remove spaces
2018-09-06 11:07:40 -07:00
Alirie Gray d842622160
Save flux query in CEO (#4364)
* Add isSaveable condition for flux query in CEO

* Save flux query to cell in CEO

* Use flux query in Dashboard cell

* Move script state to cellEditorOverlay reducer

* Update Changelog

* Remove feature flag for allowFlux
2018-09-05 17:30:42 -07:00
Iris Scholten bba49e9061
Add Visualization Options to DE (#4353)
* Update Children components of DisplayOptions to use props instead of individually connecting to redux and CEO visualization actions updated in prep for DE Vis

* Update DataExplorer to have visualization options

* Update timeSeriesToDygraph to not treat data explorer differently from ceo

* Remove featureflag from vis options in DE

* Update failing tests and rename cellNote to Note

* Update columns for table graph if in ceo or de, but not in dashboard

* Update Changelog

* Remove unnecessary getters from DisplayOptions
2018-09-05 11:49:10 -07:00
Alex Paxton 2d082e322f
Improve Cell Cloning UX (#4330)
* Clone cells as close as possible to source cell

* Remove comments

* Cleaner way to handle cell cloning

* WIP

* Increment clone number by 1 when cloning

* Update changelog

* Make linter happy

* Pass array of cell names into function instead of dashboard object

* Improve legibility of math expression
2018-09-04 10:08:46 -07:00
Iris Scholten eaa481d502
Update data explorer to Look like CEO (#4319)
* Update Visualization to get props from parent and not redux
* Update DataExplorer to use TimeMachine component and function like CEO
* Change dataExplorer to use time range from under dataExplorer in redux
* Change order of template variables
* Move shared actions/thunks between CEO and DE into one shared actions file
* Update tests with new reducers
* Fix types for editQueryStatus
* Remove unused components
* Fix typo
* Add Flux script to dataExplorer
* Update dataexplorer to persist what type of source its using
* Fix failing tests
* Change DE to use autorefresh dropdown from TimeMachineControls
* Update ChangeLog
* Fix failing test
* Remove unnecessary comment
* Provide default data explorer state for flux features
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-08-30 16:10:56 -07:00
Alirie Gray b781d2ece3
View flux editor in the CEO (#4311)
* Add FluxQueryEditor to CEO and move funcs to utils

* Use util functions in FluxPage

* Rename links to fluxLinks in TimeMachine

* Update Changelog

* Replace props with fluxContext
2018-08-29 13:32:59 -07:00
Iris Scholten 411094798e Add timeSelectorDropdown to timeMachine 2018-08-27 10:45:59 -07:00
Delmer a7544e17ed
Add query results spinner to table (#4236)
Add spinner for infinite scroll loading

* Add query results to table
* Update CHANGELOG 1.7.0 UI Improvements
* Update QueryResults contents

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-08-24 10:22:33 -04:00
Alex Paxton fc9cd71939
Introduce Cell Notes & Note Cells (#4257)
* feat: add Note string field to dashboard cells

* wip feat: html escape cell note to help prevent XSS attack

Requires further input to make sure this is effective at its
purpose.

* Add ability to view a cell's note from the cell header

* Make styles less brittle

* Add "chat" icon for use in notes

* Position note using cell X & Y

Avoid overlap with associated cell whenever possible

* New notes are empty strings by default

* Overflow note when contents are large

* Add react-markdown package for displaying markdown

* Display markdown in cell note

* Add a cell note text editor into the CEO

* Improve cell note editor

* Use codemirror placeholder addon

* Add placeholder to note field & foundation of markdown theme

* Add Markdown Cell

* Add initial styles for markdown cell contents

* Add graphic for Note type cell

* feat: add NoteVisibility to DashboardCell

* Add basic markdown syntax highlighting in editor

* Remove comment

* Show note in cell when queries return no data

* Make exception for rule graph

* Update fixtures and resources to fix tests

* Update changelog

* feat: sanitize xss-vulnerable note html

* Polish appearance of code samples in notes and note cells

* Replace ascii with plaintext before passing to markdown renderers

* Move "display when no results toggle" above text field

Less likely to go undiscovered
2018-08-23 14:41:40 -07:00
Delmer 395e882f8f
Fix loading status description (#4272) 2018-08-23 11:20:55 -04:00