Christopher Henn
df5efbc9f9
Group schema tree children in div
2018-06-08 13:28:29 -07:00
Brandon Farmer
5616ff9ec3
Merge pull request #3593 from influxdata/log-viewer/dynamic-message-width
...
Message column width changes with window size
2018-06-08 11:07:44 -07:00
Alex Paxton
5e5d49d6cc
Merge pull request #3598 from influxdata/flux/vertical-builder
...
Make Flux Builder Stack Vertically
2018-06-08 11:05:21 -07:00
Brandon Farmer
6987b660e5
Handle failing queries for log viewer
2018-06-08 10:49:42 -07:00
ebb-tide
057b062381
Remove unnecessary comment in TableGraph
2018-06-08 10:48:44 -07:00
Andrew Watkins
47327459fd
Remove FeatureFlag from Flux Page
2018-06-08 10:44:06 -07:00
ebb-tide
e1a105757e
Add isGroupBy field to series that have groupby
2018-06-08 10:13:37 -07:00
Alex P
6fdc610f69
Refactor func args to use getters instead of ternary
...
Cleaning up the render function
2018-06-08 10:10:37 -07:00
Jared Scheib
969c21d776
Merge remote-tracking branch 'origin/master' into fix/tempvars_url_query
2018-06-07 18:05:13 -07:00
Brandon Farmer
5c56a9f82d
Add indication if query is running
2018-06-07 16:38:13 -07:00
Christopher Henn
5bda9c4150
Fix misaligned kapacitor form
2018-06-07 16:36:48 -07:00
Alex P
c71ddb3e6f
Align func node tooltip contents horizontally
2018-06-07 16:22:12 -07:00
Chris Henn
0e9552f495
Merge pull request #3596 from influxdata/flux/limit-responses
...
Improved handling of large Flux query responses
2018-06-07 16:13:20 -07:00
Jared Scheib
f2dbf20715
Make browser Back button work as expected in the context of url queries syncing
...
Replace rather than push browser history when syncing url queries.
2018-06-07 16:02:07 -07:00
Brandon Farmer
4eab5e5ed2
Selecting source is reflected in the dropdown
2018-06-07 15:43:41 -07:00
Jared Scheib
4526655b9b
Clear and hydrate temp vars on switch dashboards
...
componentDidMount was the only place that hydrating and syncing was happening,
but the component did not re-mount when you use the dashboard switcher. So
the new React 16 componentDidUpdate life cycle method was an appropriate place
to detect if the dashboard had switched, rather than creating an event handler
for dashboard switching.
2018-06-07 15:40:34 -07:00
Jared Scheib
f841932ea3
Get dashboards names for DashboardSwitcher
...
Refactor dashboards names into DashboardPage component state and
refresh names upon dashboard rename.
2018-06-07 15:35:05 -07:00
Jared Scheib
13c371eecf
Remove obsolete comment
2018-06-07 15:29:04 -07:00
Alex P
419eb07b90
Position node tooltips to the right of the node
2018-06-07 15:08:39 -07:00
Alex P
d77263011c
Add connector line from unassigned FROM to following node
2018-06-07 14:54:37 -07:00
Andrew Watkins
34916b7f99
Merge pull request #3595 from influxdata/flux/char-error
...
Flux Page Error Robustness
2018-06-07 14:39:16 -07:00
Alex P
3a66f92114
Add connector dot to variables when they are assigned to queries
2018-06-07 14:37:42 -07:00
Christopher Henn
c1d7333807
Increase max response limit
2018-06-07 14:32:54 -07:00
Christopher Henn
8f74d1f4b4
Improve scrolling performance in TimeMachineTable
2018-06-07 14:32:54 -07:00
Christopher Henn
0739c2f2ce
Only parse first 2MB of Flux query responses
2018-06-07 14:32:54 -07:00
Andrew Watkins
2ca649ab47
Fix updating twice
2018-06-07 14:19:43 -07:00
Andrew Watkins
cf0c4579b0
Fix typing
2018-06-07 13:36:07 -07:00
Andrew Watkins
2914069ee5
Update AST debounce script typing change
2018-06-07 13:30:05 -07:00
Alex P
d6059a63d8
Redesign flux builder to stack nodes vertically
2018-06-07 11:57:48 -07:00
Alex P
75ba68e22e
Wrap body builder in fancy scrollbars
2018-06-07 11:57:25 -07:00
Andrew Watkins
cd1b77eecc
Add clickable gutter error
2018-06-07 11:18:37 -07:00
Brandon Farmer
f69198cef3
Message column width changes with window size
2018-06-07 11:05:45 -07:00
Alex Paxton
e2351e3b25
Merge pull request #3589 from influxdata/flux/explorer-polish
...
Flux Explorer Polish
2018-06-07 10:38:56 -07:00
Alex P
95fce636c2
Refactor to remove ternary
2018-06-07 10:03:01 -07:00
Alex P
a0d1dca7e6
Replace icons in navbar with redesigned "outline" style icons
2018-06-06 17:27:22 -07:00
Iris Scholten
90180754fa
Rebase onto changeset from #3527 to fix time ranges for unparseable queries
...
Convert ui/src/shared/data/timeRanges to typescript
Update type in timeRanges.ts to extend TimeRange type from src/types/query
Fix typo in buildCannedDashboardQuery
Update addTimeBoundsToRawText to use regex in its string matching checks instead of strings
2018-06-06 17:17:33 -07:00
Alex P
90a87e9356
Fix linter bug
2018-06-06 16:41:22 -07:00
Alex P
ace4a047a2
Polish loading dots
2018-06-06 16:00:54 -07:00
Alex P
b87d726d9a
Merge branch 'master' into flux/explorer-polish
2018-06-06 15:51:44 -07:00
Alex P
5f806cb60d
Randomize widths of skeleton loader blocks
2018-06-06 15:35:09 -07:00
Brandon Farmer
8ca0a6f1e4
Merge pull request #3588 from influxdata/log-viewer/filtering
...
Log viewer/filtering
2018-06-06 15:33:11 -07:00
Brandon Farmer
55b58a8e39
Allow tags to be filtered with regex
2018-06-06 15:10:58 -07:00
Alex P
a578ffae29
Update styles
2018-06-06 14:43:37 -07:00
Alex P
2513453743
Change classnames to be more BEM
2018-06-06 14:43:31 -07:00
Alex P
ce7f9c52ad
Wrap tag values count in div
2018-06-06 14:43:03 -07:00
Alex P
a50e9e9b3e
Make search inputs smaller
2018-06-06 14:42:40 -07:00
Jared Scheib
929ceb3b97
Fix source maps to exactly reflect code instead of es5 transpilation
2018-06-06 14:15:59 -07:00
Iris Scholten
4cc0c93fd2
Merge pull request #3575 from influxdata/ifql/copy-paste-schema
...
flux/Copy to clipboard in schema explorer
2018-06-06 14:14:43 -07:00
Brandon Farmer
9abafe1dc2
Basic == and != filtering for logs
...
Co-authored-by: Delmer Reed<delmer814+1@gmail.com>
2018-06-06 13:35:39 -07:00
Iris Scholten
68b9edec8a
Rename copy functions for clarity
2018-06-06 13:31:45 -07:00
Iris Scholten
23bed0cb1b
Create a notificationAction type to be used as notify's type
2018-06-06 13:28:22 -07:00
Chris Henn
694ecd2971
Merge pull request #3583 from influxdata/flux/autocomplete
...
Function / Param specific autocomplete
2018-06-06 13:20:03 -07:00
Alex Paxton
5c4ab41ff4
Merge pull request #3580 from influxdata/polish/log-icon
...
Replace log viewer icon with "log" icon
2018-06-06 13:06:01 -07:00
Christopher Henn
8aeba97319
Fix autocomplete typo
2018-06-06 13:04:25 -07:00
Christopher Henn
11e2ebcdda
Don't insert newlines with default Flux script
...
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-06-06 13:04:25 -07:00
Christopher Henn
815597c069
Improve function specific autocomplete
...
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-06-06 13:04:24 -07:00
Christopher Henn
0efda40a47
Remove unnecessary CodeMirror addon code
...
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-06-06 13:04:24 -07:00
Christopher Henn
7187f64d4c
Use server-provided completion suggestions
...
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-06-06 13:04:24 -07:00
Christopher Henn
1bcd89151a
Display autocomplete hints on Ctrl-Space only
...
...as opposed to on every key up.
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-06-06 13:04:24 -07:00
Alex P
1791e4ec53
Merge branch 'master' into logs-viewer/filter-bar
2018-06-06 11:34:27 -07:00
Alex P
68c670c979
Complete editable filter interaction
2018-06-06 11:28:56 -07:00
Alex P
c40385dc5d
Replace log viewer icon with "log" icon
2018-06-06 10:50:42 -07:00
Jared Scheib
dd8dfc56c9
Merge pull request #3574 from influxdata/fix/webpack_sourcemaps
...
Fix source maps to exactly reflect code instead of es5 transpilation
2018-06-05 16:53:34 -07:00
Iris Scholten
9b4af1a23e
Add copy to clipboard to Tag value list items
2018-06-05 16:31:25 -07:00
Iris Scholten
99cc5e4135
Add copy to clipboard to tag list items
2018-06-05 16:19:41 -07:00
Iris Scholten
08388af19b
Update styles for copy to clipboard
...
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-06-05 15:16:31 -07:00
Jared Scheib
04ef3ca5c3
Fix source maps to exactly reflect code instead of es5 transpilation
2018-06-05 14:37:12 -07:00
Iris Scholten
f06c2e25c0
Send notification when copying to clipbaord
2018-06-05 14:24:56 -07:00
Alex P
46a2978483
Remove excess closure
2018-06-05 14:14:31 -07:00
Alex P
b02bf2fc4d
WIP Make filter blocks editable
2018-06-05 13:59:13 -07:00
Iris Scholten
809da1ab4d
Refactor the filter logic into getter
2018-06-05 13:37:09 -07:00
Iris Scholten
245228b847
Create styles for copy in schema and stop click propagation
2018-06-05 13:31:26 -07:00
Iris Scholten
cba5a9a4f8
Add copy and paste functionality to DatabaseListItem in IFQL schema
2018-06-05 11:15:48 -07:00
Chris Henn
9ac2ef09f0
Merge pull request #3571 from influxdata/flux/rename-everything
...
Rename all usage of "IFQL" to "Flux"
2018-06-05 11:11:44 -07:00
Christopher Henn
7a30b6fab8
Reorganize Flux apis and parsing
2018-06-05 10:57:20 -07:00
Andrew Watkins
ed4a6f24e5
Change IFQL to Flux
2018-06-05 10:57:19 -07:00
Iris Scholten
6a85b87713
Fix error from clicking on an imported dashboard due to redux not being loaded with new dashboard
2018-06-05 10:41:24 -07:00
Iris Scholten
0f6c60329e
Fix error when dashboard import does not contain template variables
2018-06-05 10:41:24 -07:00
Iris Scholten
2eea86707b
Add notifications for exports
2018-06-05 10:41:24 -07:00
Iris Scholten
9b57919c90
Convert dashboard ui/src/dashboards/actions/index.js and ui/src/dashboards/utils/templateVariableQueryGenerator.js to typescript
2018-06-05 10:41:24 -07:00
Alex P
3aa08aa3ab
Implement DragAndDrop in ImportDashboardOverlay
...
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-06-05 10:41:24 -07:00
Alex P
b010e70d3a
Revert commit 7338312
2018-06-05 10:41:24 -07:00
Alex P
f23c7bf156
Remove unused state
2018-06-05 10:41:24 -07:00
Alex P
f1cc1d85ce
Polish styles of drag and drop component
2018-06-05 10:41:24 -07:00
Iris Scholten
3b6c973ee8
WIP Create DragAndDrop component
...
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-06-05 10:41:24 -07:00
Iris Scholten
44cef03127
Add meta section to the expored file for chronografVersion and any other future metadata
2018-06-05 10:41:24 -07:00
Iris Scholten
69762e8c6a
Prevent the user from being able to import a file with invalid JSON or before a file is added
2018-06-05 10:41:24 -07:00
Iris Scholten
b2aeacdd1a
PrettyPrint dashboard export
2018-06-05 10:41:24 -07:00
Iris Scholten
337bdcc9c3
Send notifications for dashboard imports
2018-06-05 10:41:24 -07:00
Iris Scholten
701c30c356
Ensure only users with editor role or higher can import dashboard
2018-06-05 10:41:24 -07:00
Iris Scholten
d126a85451
Add begining styles for dashboard imports
2018-06-05 10:41:24 -07:00
Iris Scholten
9bd84275eb
Allow users to import Dashboard from file
2018-06-05 10:41:24 -07:00
Iris Scholten
df4f174b47
Convert DashboardsHeader to typescript
2018-06-05 10:41:24 -07:00
Iris Scholten
2b6c7ed5d4
Convert DashboadsPage to typescript
2018-06-05 10:41:24 -07:00
Iris Scholten
fa514945f0
Fix type errors
2018-06-05 10:41:24 -07:00
Alex P
3acd1a6dbc
Remove bindActionCreators
2018-06-05 10:41:24 -07:00
Alex P
ce22c25ab2
Fix type error with show overlay
2018-06-05 10:41:24 -07:00
Alex P
a32f27ea75
Introduce ImportDashboardOverlay component
2018-06-05 10:41:24 -07:00
Alex P
dfd153bb1a
Introduce styles for overlay sub-components
2018-06-05 10:41:24 -07:00
Alex P
5e96f6424e
Introduce generic overlay components
2018-06-05 10:41:24 -07:00
Alex P
53a610b247
Update styles of import dashboard button
2018-06-05 10:41:24 -07:00
Alex P
04eea50c24
Fix bug
2018-06-05 10:41:24 -07:00
Alex P
82eba200d3
Introduce styles for "Panel controls"
...
These are groups of controls that exist as a child of `.panel-heading`
Serves as a generic replacement for `.dashboards-page—actions`
2018-06-05 10:41:24 -07:00
Alex P
8e75ab6760
Convert component to TypeScript
2018-06-05 10:41:24 -07:00
Brandon Farmer
aa4515daf3
Show histogram for log counts in log viewer
2018-06-05 10:41:24 -07:00
Iris Scholten
05ae1a5dc0
Allow viwer roles or higher to Export a dashboard
2018-06-05 10:40:44 -07:00
Iris Scholten
03528ffa3c
Add ability to export a dashboard as a json file with chronografVersion
2018-06-05 10:40:44 -07:00
Iris Scholten
394e2b5569
Convert DashboardsTable to typescript
2018-06-05 10:40:44 -07:00
Alex Paxton
1952a485f6
Merge pull request #3570 from influxdata/logs-viewer/polish
...
Logs Viewer Polish
2018-06-05 10:39:43 -07:00
Alex P
4dfddd03e2
Add newline in stylesheet
2018-06-05 10:08:03 -07:00
Alex P
93c068797a
Add clickable style and div
2018-06-05 09:59:58 -07:00
Alex P
2ae0029b43
Style hover state and cells
2018-06-05 09:59:44 -07:00
Alex P
0eaf5ccc09
Add return types
2018-06-05 09:58:35 -07:00
Alex P
4693ff6c41
Show short text for severity level
2018-06-05 09:58:18 -07:00
Alex P
f6768280b8
Change widths of columns
2018-06-05 09:57:40 -07:00
Chris Henn
bca562317a
Merge pull request #3567 from influxdata/flux/table-sidebar-filter
...
Enable filtering of Flux table sidebar
2018-06-05 09:12:08 -07:00
Christopher Henn
58cd787b49
Enable filtering of Flux table sidebar
2018-06-04 16:46:04 -07:00
Chris Henn
924350c2e4
Merge pull request #3566 from influxdata/flux/table-cols
...
Tweak Flux table visualization
2018-06-04 16:45:44 -07:00
Chris Henn
2add416531
Merge pull request #3565 from influxdata/ifql/table
...
Introduce line graph visualization to Flux page
2018-06-04 16:12:10 -07:00
Christopher Henn
66f4ee540f
Improve display of table names in table sidebar
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-06-04 16:10:20 -07:00
Christopher Henn
3835ed2958
Fix Flux schema explorer filter placeholder text
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-06-04 15:42:21 -07:00
Christopher Henn
062f8671e1
Exclude certain columns from Flux table vis
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-06-04 14:38:56 -07:00
Chris Henn
c04635223f
Merge pull request #3554 from influxdata/upgrade-jest
...
Upgrade Jest
2018-06-04 14:12:16 -07:00
Christopher Henn
4cabb78e3e
Introduce Line Graph to Time Machine
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-06-04 14:10:48 -07:00
Alex Paxton
5de0d49f5a
Merge pull request #3564 from influxdata/bugfix/color-scale-dropdown
...
Fix Color Scale Dropdown
2018-06-04 13:32:59 -07:00
Alex P
cbec38dfe3
Add max height to fancy scrollbar
2018-06-04 12:53:42 -07:00
Brandon Farmer
8cf32e79d2
Merge pull request #3555 from influxdata/log-viewer/auto-refresh
...
Adds autorefresh with play/pause
2018-06-04 12:05:13 -07:00
Brandon Farmer
b5942c968f
Add dummy filters back in for display purposes
2018-06-04 11:49:58 -07:00
Jared Scheib
2ca08f57c9
WIP Fix zoomedTimeRange from URL queries
...
Zoomed time ranges are being passed down correctly to the cells,
but it appears in the Network tab that the cells are not updating
according to the zoomed temp var value data. The proxy is hit many
times, without the correct zoomed time range, but the final request
does contain the correct zoomed time range. At this point, I would
expect the graphs to refresh to the zoomed range, but they don't.
A setState waiting for all tempVars to be synced doesn't seem to
do the trick either.
Previously, this was working when zoomedTimeRange was on state
and the values were found from the query string while in the
constructor. After refactoring to put zoomedTimeRange into redux
so that it could be included in all of the temp var reconciliation
thunks, it is no longer working correctly.
2018-06-01 23:25:38 -07:00
Jared Scheib
2b16939f7f
Refactor time range validation logic to always return TimeRange
...
Clean up namespace & logic flow in
syncDashboardTimeRangeFromURLQueries.
Authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-01 22:44:42 -07:00
Jared Scheib
f7f8b2d93a
Refactor dashboard URL queries and temp var handling into thunks
...
Refactor zoomedTimeRange to be on DashboardPage props & use redux.
This cleans up DashboardPage considerably by adding a dedicated
loadDashboard action creator & reducer, moving zoomedTimeRange
out of component state and into redux state, and moving all of
the URL queries and template variable reconciliation into a single
series of async action creators (thunks) that hydrate a dashboard's
template variables and then reconcile them with URL queries.
This also moves URL query parsing for tempvars and time ranges
back out of the middleware and into this new dashboard thunk series.
This also renames a number of fns and vars for clarity.
2018-06-01 21:41:43 -07:00
Jared Scheib
2e655f46fb
Rename runTemplateVariableQuery to getTempVarValuesBySourceQuery for clarity
2018-06-01 17:45:36 -07:00
Jared Scheib
3500f715c3
Clarify putDashboardByID comment
2018-06-01 17:32:46 -07:00
Jared Scheib
f07edfbefd
Rename updateTempVarValues to hydrateTempVarValues for clarity
...
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-01 17:30:54 -07:00
Alex P
08f08bd0f6
Replace button with compact tab toggle
2018-06-01 16:59:51 -07:00
Jared Scheib
77f47c2c06
Revert notification message for invalid URL query value for temp vars
2018-06-01 16:51:16 -07:00
Jared Scheib
efd089020f
Don't show notification when no lower time range in URL query
...
Update validTimeRange to make having no lower acceptable
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
2018-06-01 16:47:32 -07:00
Alex P
0bbdc9efc0
Add "Play" icon to icon font
2018-06-01 16:47:18 -07:00
ebb-tide
d27036c825
Merge branch 'master' into ifql/join
2018-06-01 16:09:35 -07:00
ebb-tide
dbe16c4ada
Remove overspeicialized arg type definitions
2018-06-01 16:05:41 -07:00
Andrew Watkins
d2154aa194
Fix Flux CSV response parsing
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-06-01 15:49:50 -07:00
Andrew Watkins
e3196a6d2d
Add in browser debugger for testing
2018-06-01 15:49:50 -07:00
Christopher Henn
9bb8bdf4d3
Upgrade Jest
2018-06-01 15:49:49 -07:00
Christopher Henn
958316bec8
Upgrade Jest
2018-06-01 15:49:32 -07:00
Deniz Kusefoglu
5ad75beabc
Validate URL query for zoomed time range input & notify if invalid
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
2018-06-01 15:39:43 -07:00
Deniz Kusefoglu
ee986def89
Validate URL query time range for lower being before upper in time sequence
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
2018-06-01 15:39:43 -07:00
Jared Scheib
7c6e366077
Clean up validation of URL query time range inputs
...
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-01 15:39:43 -07:00
ebb-tide
d30779a5b8
WIP Validate URL query time range inputs
...
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-01 15:39:07 -07:00
Brandon Farmer
f0c63b3fd1
Adds autorefresh with play/pause
2018-06-01 15:05:38 -07:00
ebb-tide
26b480f959
Prune dashtimev1 values for dashboards that do not exist in dasboards page
...
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-01 13:40:34 -07:00
ebb-tide
d58c063fb2
WIP fix typescript inconsistencies
2018-06-01 13:08:29 -07:00
ebb-tide
05a377a48a
No longer enrich suggestions
2018-06-01 12:21:49 -07:00
ebb-tide
0e61d8e330
Replace get with getdeep to add types and refactor for clarity
2018-06-01 12:19:41 -07:00
Jared Scheib
b90f815596
WIP Validate timeRange from URL query param
2018-05-31 18:44:01 -07:00
Jared Scheib
b0db5c5aba
Prevent unnecessary TemplateControlBar re-render so TemplateControlDropdowns stay open
...
Convert TemplateControlBar to ES6 class to use shouldComponentUpdate
2018-05-31 18:00:18 -07:00
Jared Scheib
f68c047da1
Consume zoomed time range from URL queries in DashboardPage state
2018-05-31 17:51:08 -07:00
Jared Scheib
5189a0edd8
Rename query to queries in fn & var names for precision
2018-05-31 17:45:43 -07:00
Jared Scheib
d32d3a4e80
Fix tempvars being removed from url upon time range selection
2018-05-31 17:43:41 -07:00
ebb-tide
6ce88f946d
Set Dashboard time range from query string middleware
...
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-05-31 16:45:40 -07:00
Brandon Farmer
92521d6920
Merge pull request #3547 from influxdata/log-viewer/fancy-scrollbars
...
Fixes fancy scrollbars in log viewer
2018-05-31 15:58:17 -07:00
Brandon Farmer
d75b6cca8a
Fixes fancy scrollbars in log viewer
2018-05-31 15:35:07 -07:00
Andrew Watkins
9ac84263a1
Fix tests
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:31:50 -07:00
ebb-tide
01dc721e93
Prevent null valued object parameters from updating Location query
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-05-31 15:29:54 -07:00
Christopher Henn
5058691043
Increase pagination constant
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Christopher Henn
163f91951a
Fix table header
2018-05-31 15:20:53 -07:00
Christopher Henn
934ae8784d
Only show sidebar if multiple results
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Christopher Henn
dfa61e6ea7
Display message when TagList is empty
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Christopher Henn
7f2bbd88cc
Fetch tag values count when fetching tag values
...
...instead of when fetching tag keys.
2018-05-31 15:20:53 -07:00
Andrew Watkins
5eaaa69e6e
Simplify result naming in table sidebar
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Andrew Watkins
a47e1bf7c8
Display proper count in load more button
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Andrew Watkins
0327e5d359
Cleanup
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Andrew Watkins
53d0de11c0
Enable pagination in tag value lists
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Andrew Watkins
ed11ed865d
Get actual databases for From component
2018-05-31 15:20:53 -07:00
Andrew Watkins
812d84043d
Enable filtering with TagValueListItem
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Andrew Watkins
9897aac549
Add loading state to searching
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:52 -07:00
Christopher Henn
cdbe8a0069
Display loading state for tag key and value lists
...
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-31 15:20:52 -07:00
Christopher Henn
035fe8e105
Enable searching tag values
...
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-31 15:20:52 -07:00
Christopher Henn
1d66d216ac
Enable searching tag keys
...
...and remove unused top-level filter.
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-31 15:20:52 -07:00
Christopher Henn
2c56ee1ce3
WIP
...
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-31 15:20:52 -07:00
Andrew Watkins
e2d82ae74d
Refresh AST when getting time series
2018-05-31 15:20:52 -07:00
Christopher Henn
f1d583407a
WIP
...
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-31 15:20:52 -07:00
Christopher Henn
b1240ad156
WIP schema explorer
...
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-31 15:20:52 -07:00
ebb-tide
87087bf7bb
Sync Url Query to timerange selections for lower,upper, and zoomed ranges
2018-05-31 15:16:57 -07:00
Brandon Farmer
d3cea46282
Add more styling to severity
2018-05-31 13:50:28 -07:00
Brandon Farmer
ef0025c87c
Implements basic log viewer search
2018-05-31 10:50:46 -07:00
ebb-tide
550b7b19b4
Name the default export from FuncArgTextArea correctly
2018-05-30 18:59:41 -07:00
ebb-tide
d778346d61
DRY in FuncArds render function
2018-05-30 18:48:36 -07:00
ebb-tide
94b8501ef9
Refactor walker.test to create explicit expected variables
2018-05-30 18:14:54 -07:00
Deniz Kusefoglu
ec943f428f
Show error notification for each invalid tempvar value in url query
...
Rename queries to urlQueries for clarity.
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-05-30 16:30:32 -07:00
Jared Scheib
747443da49
Remove deleted tempVars from URL query upon manager save
2018-05-30 15:34:35 -07:00
Brandon Farmer
98c70f70cb
Merge pull request #3538 from influxdata/log-viewer/graph
...
Calculate bin size for log viewer
2018-05-30 15:00:33 -07:00
Brandon Farmer
97acfc07bf
Display tabular log data and Calculate bin size for log viewer
2018-05-30 14:23:12 -07:00
Deniz Kusefoglu
b592cede56
Keep URL fully in sync with all tempvars
2018-05-30 12:53:53 -07:00
Jared Scheib
d3098d82e1
Rename templateVariableQueryGenerator.js to tempVars.js
2018-05-30 11:22:04 -07:00
Deniz Kusefoglu
a706e44854
Sync URL query upon saving temp vars in manager
...
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-05-30 11:17:58 -07:00
Jared Scheib
be41ac7d17
Rename Manager.js to TemplateVariableManager.js
2018-05-30 10:58:07 -07:00
Jared Scheib
d2b1006dec
Refactor tempvar URL binding to be only in DashboardPage & no redux
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
2018-05-30 10:46:21 -07:00
Iris Scholten
5e6f46b868
Merge pull request #3527 from influxdata/fixes/custom-time-selector
...
Ensure Cells show only data from TimeSelector Constraints
2018-05-29 14:15:01 -07:00
Iris Scholten
896f049524
Update addTimeBoundsToRawText to use regex in its string matching checks instead of strings
2018-05-29 13:55:16 -07:00
Iris Scholten
c84389556e
Fix typo in buildCannedDashboardQuery
2018-05-29 13:17:42 -07:00
Iris Scholten
5eb8904d00
Update type in timeRanges.ts to extend TimeRange type from src/types/query
2018-05-29 13:16:35 -07:00
ebb-tide
46c30ed92f
Merge branch 'master' into ifql/join
2018-05-29 12:36:57 -07:00
ebb-tide
9adf7b557d
Remove ArgVar as an allowable argument type
2018-05-29 12:35:48 -07:00
ebb-tide
a8b6bb48c8
Add missing suggestion params inside bodynodes function
2018-05-29 12:35:24 -07:00
ebb-tide
eb4b9d238f
Remove table1 and table2 from state in Join
2018-05-29 11:26:02 -07:00
Alex P
6c5f39cf85
Merge branch 'master' into log-viewer/placeholder-markup
2018-05-29 10:36:41 -07:00
ebb-tide
a90313362f
Remove unused vars
2018-05-29 09:55:41 -07:00
ebb-tide
bb102812f7
Show table1 and table2 in dropdown selector even if they are not in dropdown items
2018-05-29 09:53:58 -07:00
Brandon Farmer
b305008ce8
Merge pull request #3526 from influxdata/log-viewer/graph
...
Show histogram for log counts in log viewer
2018-05-26 15:24:18 -07:00
ebb-tide
c82493d06b
Convert objects and arrays to script correctly
2018-05-25 17:20:11 -07:00
ebb-tide
11d859ca2e
Fix adding unnecessary newlines in script
2018-05-25 17:19:39 -07:00
ebb-tide
02337eab89
Stop deriving state from props in join component
2018-05-25 17:18:32 -07:00
ebb-tide
f5e4571bd2
Make join return table object values from state
2018-05-25 17:18:03 -07:00
Jared Scheib
fb63b6f63f
Synchronize temp vars with URL query params
...
Refactor action creator & reducer for updating tempvar overrides.
Authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-05-25 17:12:42 -07:00
Alex P
8698e6f8cf
Remove margin in filter tooltip
2018-05-25 16:56:20 -07:00
Alex P
3909a2012d
Improve readability of logic
2018-05-25 16:24:49 -07:00
ebb-tide
2617ede40d
Define additional argument types
2018-05-25 16:15:16 -07:00
ebb-tide
6b4e67c0cc
Correct default join string
2018-05-25 16:14:41 -07:00
Brandon Farmer
a8376ba615
Show histogram for log counts in log viewer
2018-05-25 16:03:22 -07:00
Alex P
2a7273a251
Introduce component for individual filters
2018-05-25 15:58:09 -07:00
Alex P
db3f3cb5e3
Create SCSS shadow mixin
...
this is used a bunch of places in the UI, going to work this in over
time
2018-05-25 15:57:38 -07:00
ebb-tide
cb13d44f97
Improve Join Function
2018-05-25 15:57:09 -07:00
Iris Scholten
8a73a53669
Convert ui/src/shared/data/timeRanges to typescript
2018-05-25 15:52:16 -07:00
Iris Scholten
2d2e665589
Add and ensure upper time bound in querytext when query is not parseable into a query config
2018-05-25 15:52:05 -07:00
ebb-tide
3320e96d02
Display object and array args in preview
2018-05-25 15:47:53 -07:00
ebb-tide
05fc0efb50
Return objects and array values from ast
2018-05-25 15:23:33 -07:00
Alex P
89f84c1ace
Rename files and flesh out filter bar component
2018-05-25 11:59:49 -07:00
Alex P
0f8699de14
Mock out search state and interactions
2018-05-25 10:54:46 -07:00
Jared Scheib
187752d49d
Add action & reducer to set temp var overrides from url params
2018-05-24 18:23:59 -07:00
Alex P
f9de2d9207
Add static markup & styles for Search and Filtering
2018-05-24 16:52:24 -07:00
Jared Scheib
1a0331dfb9
Prefer string literals for tempvar actions & reducers
2018-05-24 16:08:58 -07:00
Alex P
02eac85c1f
Condense page header
2018-05-24 15:34:53 -07:00
Andrew Watkins
cd48790f0c
Merge pull request #3519 from influxdata/ifql-table
...
Ifql table
2018-05-24 14:24:48 -07:00
Iris Scholten
fdc7844f36
Merge pull request #3522 from influxdata/feature/tempvars-cell-titles
...
Template Variables in Cell Titles
2018-05-24 14:20:17 -07:00
Andrew Watkins
4a4e1ef421
Tweak styles
...
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-24 13:50:17 -07:00
Andrew Watkins
4d3e31676c
Improve column sizing
...
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-24 13:18:31 -07:00
Andrew Watkins
2d0fb26ae1
Handle script edge cases
...
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-24 13:06:46 -07:00
ebb-tide
d042a83361
Add object type to ifql mode for codemirror
2018-05-24 12:00:38 -07:00
Andrew Watkins
c0c1467e1f
Move service fetching
...
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-24 11:01:38 -07:00
Andrew Watkins
08fd024373
Automatically select table on initial render
2018-05-24 09:37:17 -07:00
Andrew Watkins
85598e5588
WIP add table vis to TimeMachine
2018-05-23 15:55:59 -07:00
Iris Scholten
eab88d491b
Replace temp vars in cellName
2018-05-23 15:05:16 -07:00
Alex P
934298e46a
Use text block icon in sidenav
2018-05-23 14:38:11 -07:00
Alex P
e8f758d3c0
Create scaffolding components for page layout
2018-05-23 14:35:25 -07:00
Alex P
c67dd04287
Use fragment instead of wrapper div
2018-05-23 14:35:04 -07:00
Alex P
6a193cf5be
Introduce stylesheet for logs viewer page
2018-05-23 14:34:45 -07:00
ebb-tide
9902cf295d
Merge branch 'master' into ifql/join
2018-05-23 14:28:33 -07:00
Andrew Watkins
2b29db6a2d
Enable sidebar selection of IFQL script results
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-23 14:15:16 -07:00
Brandon Farmer
049bd075d8
Fix import of get to getDeep
2018-05-23 12:48:05 -07:00
Brandon Farmer
9478d9da26
Merge pull request #3508 from influxdata/features/log-viewer-scaffold
...
Add log viewer page with header
2018-05-23 12:27:27 -07:00
Brandon Farmer
02d08bb6ea
Populate current namespace when getting source
2018-05-23 12:11:00 -07:00
Andrew Watkins
2b37494dcb
Add IFQL script response parser
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-23 11:30:52 -07:00
Andrew Watkins
df94bf30d4
Kind of type buildQueriesForLayouts
2018-05-23 09:18:21 -07:00
Andrew Watkins
aca34ccb49
WIP introduce tables
2018-05-22 16:44:45 -07:00
Andrew Watkins
c12ea3d9b3
Merge pull request #3507 from influxdata/ifql/save-service
...
Persist ifql script
2018-05-22 15:22:00 -07:00
Alex Paxton
2bf8bcd3a5
Merge pull request #3506 from influxdata/design/new-icons
...
Moar Icons
2018-05-22 15:19:49 -07:00
Andrew Watkins
4ee391f55c
Update action type to use enum
2018-05-22 15:06:13 -07:00
Brandon Farmer
da0c47e644
Add log viewer page with header
2018-05-22 15:05:02 -07:00
Andrew Watkins
4326855844
Persist ifql script
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-22 14:50:07 -07:00
Alex P
b7a91d7ffa
Add bar chart & text block icons
...
Experimenting with using these for the log viewer
2018-05-22 14:45:29 -07:00
Alex P
30f502892c
Update Icon Font
...
- Remove unused “arrow” icons
- Redesigned Cube icon
- Redesigned Refresh icon
- Redesigned Download icon
- Import & Export icons
2018-05-22 14:03:57 -07:00
Alex P
127750503a
Shrink vertical handles and font size in collapsed state
2018-05-22 11:45:53 -07:00
Alex P
9a9cf9b114
Ensure that page container fills screen when no header is present
2018-05-22 11:45:26 -07:00
Alex P
2ac44922b7
Make buttons in division headers XS size
2018-05-22 11:44:58 -07:00
Alex Paxton
8dd79a9a92
Merge pull request #3499 from influxdata/ifql/style-suggestions
...
Ifql/style suggestions
2018-05-22 11:06:46 -07:00
Jared Scheib
4106bfc330
Merge pull request #3500 from influxdata/fix/ceo_source_change
...
Fix/ceo source change
2018-05-22 10:44:24 -07:00
Alex P
eb320cd888
Merge branch 'master' into ifql/style-suggestions
2018-05-22 10:34:12 -07:00
Jared Scheib
fbef5a97cb
Use consistent logic for finding source in getter
2018-05-22 10:19:01 -07:00
Iris Scholten
6e8a67035e
Rename getNested to getDeep
2018-05-22 10:13:56 -07:00
Brandon Farmer
bd7768f112
Merge pull request #3492 from influxdata/fixes/missing-role-on-logout
...
Use get to find role
2018-05-22 10:04:45 -07:00
Brandon Farmer
97012cd499
Fixes topic saving for kafka handler
2018-05-21 17:50:22 -07:00
Iris Scholten
0b0d7524b2
Merge remote-tracking branch 'origin/master' into fix/ceo_source_change
2018-05-21 17:20:53 -07:00
Iris Scholten
bb41d80269
Fix initialSource getter to find source from props sources
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-05-21 16:54:49 -07:00
Alex P
bb394c9083
Merge branch 'master' into ifql/style-suggestions
2018-05-21 16:30:00 -07:00
Jared Scheib
6715ea9744
Correct spelling of 'fallack' to 'fallback' in getNested
2018-05-21 16:22:53 -07:00
Iris Scholten
bef6b99e59
Rename nested lodash get wrapper to getNested for idiomatic in-place clarity
2018-05-21 16:22:38 -07:00
Alex P
8931e67a46
Highlight function arg in function body
...
This regex is kinda simplistic and could be more specific but I’ll do
more testing / improvement on this later
2018-05-21 16:20:46 -07:00
ebb-tide
7f621cb9f5
Pass declarationsFromBody to FuncArgs
2018-05-21 16:20:10 -07:00
Alex P
a2c2350c6e
Implement new themes and modes
2018-05-21 16:12:51 -07:00
Alex P
8ea1763ca4
Organize code mirror themes into separate sheets
2018-05-21 16:12:29 -07:00
Alex P
85e9eac4ac
Improve IFQL syntax highlighting
2018-05-21 16:12:11 -07:00
Iris Scholten
82ba619ff5
Fix source selection & CEO initialSource to always be Source type
...
Refactor lodash get usage in CEO to use wrapped get that
requires generics. Nested generics were at the root of
not being able to determine that initialSource() was not
always returning a Source, and was instead returning a string.
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-05-21 15:58:19 -07:00
Alex P
7981ad53ee
Move and rename code mirror theme styles
2018-05-21 15:32:30 -07:00
Alex P
ffc6dbbd8f
Define separate Code Mirror "Modes" for IFQL and TickScript in a constants file
2018-05-21 15:29:44 -07:00
Jared Scheib
f23ebff47e
Fix source switching by ensuring source is always url string
2018-05-21 11:54:26 -07:00
Alex P
a05e30bbf2
Add styles for CodeMirror hints
2018-05-21 11:30:41 -07:00
Jared Scheib
1d3df7ae10
Correct QueryConfig to Query type in Visualization & VisView
2018-05-21 11:18:40 -07:00
Brandon Farmer
c4f79044fa
Use get to find role
2018-05-21 11:16:01 -07:00
Andrew Watkins
87ee0ea5b5
Introduce new and edit ifql connection forms
2018-05-21 10:45:28 -07:00
Andrew Watkins
d084ca29b9
Add abiility to edit existing service
2018-05-21 10:45:28 -07:00
Andrew Watkins
008b5c9b37
WIP edit ifql service
2018-05-21 10:45:28 -07:00
Andrew Watkins
2dc26ad81a
Fix type errors
2018-05-21 10:45:28 -07:00
Andrew Watkins
100809af48
Introduce ability to add an IFQL connection
2018-05-21 10:45:28 -07:00
ebb-tide
1690639c0b
Improve temporary amendment of suggestions to include join
2018-05-21 10:45:28 -07:00
Andrew Watkins
623664696e
Introduce CheckServices component
2018-05-21 10:45:28 -07:00
Andrew Watkins
c8c62f1de3
Remove services from ifql table
2018-05-21 10:45:28 -07:00
Andrew Watkins
19b1dfc7d5
Import Service type
2018-05-21 10:45:28 -07:00
Andrew Watkins
484a05319c
Give services their own namespace in app state
2018-05-21 10:45:28 -07:00
ebb-tide
22251a782f
Override suggestions temporarily
2018-05-21 10:45:28 -07:00
ebb-tide
a8e51b2da2
Add temporary overrides to suggestions
2018-05-21 10:45:28 -07:00