Jared Scheib
6d74216ee5
Calc Status Page height for grid layout based on window height
...
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-06-16 17:22:37 -07:00
Jared Scheib
e2bf4197e8
Add isWidget prop to LayoutRenderer propTypes
2017-06-16 16:33:21 -07:00
Luke Morris
7f008c67c5
Change resolution on graph resize
2017-06-16 16:25:45 -07:00
Alex Paxton
e7a101650e
Update cell names in status page
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-06-16 16:25:40 -07:00
Jared Scheib
62bd9141d6
Add 'he' lib via yarn; use it to decode HTML entities in JSON Feed
2017-06-16 15:42:47 -07:00
Alex P
1220110e5b
Merge branch 'master' into rule-creator-function-selector
2017-06-16 15:10:07 -07:00
Alex P
a0bb5a29a2
Modify function selector to optionally work as a single select
2017-06-16 15:08:55 -07:00
Jared Scheib
aa1df3527a
Ensure UTF-8 decoding (didn't seem to be an issue)
2017-06-16 14:48:47 -07:00
Tim Raymond
fad1d744b7
Merge branch 'master' into feature/tr-auto-group-by
2017-06-15 20:45:30 -04:00
Tim Raymond & Jared Scheib
71db0cf3d5
Use appropriate default group by for CEO and DE
...
For the Data Explorer, the appropriate default group by interval is 10s,
where in the CEO it should be :interval:, since template variables are
supported there.
2017-06-15 20:39:08 -04:00
Tim Raymond & Jared Scheib
2834df5ca3
Ensure group by time when toggling fields
...
This makes sure that a group by time is applied whenever a function is
applied to a field within the query builder.
2017-06-15 20:19:56 -04:00
Jared Scheib & Tim Raymond
28360c7c02
Fix Auto Group By time with Data Explorer
...
The Data Explorer doesn't work with the :interval: template variable, so
it makes no sense to have an 'auto' option in the group by time
dropdown.
2017-06-15 19:17:57 -04:00
Luke Morris
e95e0d28e7
Revert "Merge pull request #1585 from influxdata/revert-auto-func"
...
This reverts commit 85376edc1f
, reversing
changes made to cdde4ff4dc
.
2017-06-15 17:43:35 -04:00
Tim Raymond & Jared Scheib
f18609cfc3
Rename :autoGroupBy: to :interval:
...
This naming is more consistent with user's expectations from other
similar visualization tools.
Also, the usage of the variable now requires the words "GROUP BY" to be
present. e.g. `GROUP BY :interval:`
2017-06-15 17:43:27 -04:00
Tim Raymond & Jared Scheib
5cd742b6ab
Update Group By Dropdown with Auto Option
...
This adds an "auto" option to the group by dropdown which interpolates
"GROUP BY :autoGroupBy:" to the query.
2017-06-15 17:41:55 -04:00
Jared Scheib
ba12733846
Update URLs to use 'latest' for better future-proofing
2017-06-15 14:16:29 -07:00
Alex P
e433a629da
Make the entire white square a link
2017-06-15 10:14:03 -07:00
bamb0u
98beef2c2a
Update link to the latest documentation version
...
Link is not pointing to the last version of the documentation of kapacitor v1.3
2017-06-15 18:09:14 +02:00
Jared Scheib
b84d23e7e0
Merge remote-tracking branch 'origin/master' into feature/status_page-1556
2017-06-14 19:27:24 -07:00
Jared Scheib
81466702d2
Remove unnecessary className braces
2017-06-14 19:17:27 -07:00
Luke Morris
de6b43c087
Cube should link to /status
2017-06-14 17:37:06 -07:00
Alex P
c98a55062f
Style "no associated kapacitor" error
2017-06-14 17:35:33 -07:00
Alex P
8b7cbcc1ed
Jared wrote this
2017-06-14 17:08:57 -07:00
Alex P
7d5dd7f1a8
Protect against potentially data not having items
2017-06-14 17:08:28 -07:00
Alex P
c801a1d63e
Style 'failed to load' and 'failed to refresh' states of newsfeed
2017-06-14 17:06:38 -07:00
Alex P
db43bb5e9b
Style 'load more alerts' button and accompanying empty state
2017-06-14 16:48:00 -07:00
Jared Scheib
ba4332d431
Only show Get More button if there are alerts
2017-06-14 14:15:15 -07:00
Jared Scheib
8a7c2afc7d
Remove /status 'eye' icon from side nav
2017-06-14 14:03:19 -07:00
Jared Scheib
f4fc3b8777
Make /status the default home page
2017-06-14 14:01:38 -07:00
Alex P
ee112419c9
Clean up detection of duplicate names
2017-06-14 10:25:08 -07:00
Tim Raymond
aa1e3cd4d2
Move hardcoded reporting interval to client side
...
There's some follow-on work to be done here to determine an appropriate
value for the reporting interval, but for now this lets the client
supply it.
2017-06-14 10:54:02 -04:00
Tim Raymond
66be46bf23
Fix :dashboardTime: by introducing tvar precedence
...
In order for :autoGroupBy: and :dashboardTime: to co-exist in a query,
it's necessary to introduce template variable precedence to the backend.
This is done by adding a `Precedence()` method to the TemplateVariable
interface that returns an ordinal indicating the precedence level of the
template variable. Precedence starts from 0 (highest) proceeding to the
maximum that a `uint` can represent.
A template variable at a given precedence level can expect that all
template variables with higher precedence will have already been
replaced in the query that is passed to its `Exec` call.
For example, :autoGroupBy: has lower precedence than :dashboardTime:
because it needs to know the selected time range for the query. When the
`Exec` method of `GroupByVar` is invoked, it will see the query after
:dashboardTime: has already been replaced, allowing it to extract the
duration successfully.
2017-06-14 10:54:02 -04:00
Tim Raymond
a7cc6040d3
Add hacks to make AGB work with the frontend
2017-06-14 10:54:02 -04:00
Tim Raymond
4912f4d375
Fetch resolution from dygraphs for autoGroupBy
2017-06-14 10:52:29 -04:00
Jared Scheib
c4f813319b
Add 'Get More' button to Alerts widget via proxy query limit
2017-06-13 20:33:16 -07:00
Jared Scheib
f8754fb3d2
Update error notification on 404 when fetching JSON feed
2017-06-13 19:24:06 -07:00
Jared Scheib
0973b05416
Modify status fixture graph type to 'bar'
...
Update bar graph fixture title to spec
2017-06-13 18:46:26 -07:00
Jared Scheib
25813406ab
Rename status reducer to statusUI; fix date prop validation
2017-06-13 18:38:29 -07:00
Jared Scheib
edb14f4ff5
Update JSONFeedReader to use latest live schema
2017-06-13 18:19:28 -07:00
Jared Scheib
3a37bfc409
Retrieve live JSON feed; delete fixture data
2017-06-13 17:57:25 -07:00
Alex P
9eb046ec3c
Prevent users from giving a Kapacitor a duplicate name
2017-06-13 17:13:25 -07:00
Alex P
32cfd7675a
Prevent users from giving a Kapacitor an excessively long name
2017-06-13 17:13:07 -07:00
Jared Scheib
c2f0af7e37
Update NewsFeed to use statusFeed url
2017-06-13 16:42:05 -07:00
Jared Scheib
b031dd5a78
Add statusFeed url to initial links reducer state
2017-06-13 16:41:37 -07:00
Jared Scheib
a455f87487
Test linksReceived in new links reducer
2017-06-13 16:40:13 -07:00
Jared Scheib
4369be7b17
Load external links from /chronograf/v1 into Redux
2017-06-13 16:25:12 -07:00
Alex P
d9b9ac59af
Increase breathing room of Y axes
2017-06-13 15:34:52 -07:00
Alex P
486c175b01
Polish dygraphs crosshair
2017-06-13 15:02:37 -07:00
Alex P
eb2becfa12
Polish singleStat+lineGraph shadow even further
...
Preventing the shadow from being way larger than the text above it
2017-06-13 14:59:47 -07:00
Alex P
407322de67
Use blur instead of box to increase legibility of singleStat on top of lineGraph
2017-06-13 14:43:21 -07:00
Alex P
c0ddea194a
Polish lineGraph + singleStat
...
- line color is always a darker purple
- small overlay behind text for visibility (more legible than text
border)
2017-06-13 12:49:12 -07:00
Alex P
e2d56462f9
WIP polish for singleStat + lineGraph
2017-06-13 12:32:52 -07:00
Alex P
a6000a162f
Make singleStat+LineGraph respond to cell height like single stat
2017-06-13 12:32:36 -07:00
Alex P
7da9643b36
Make dashboards table consistent with other tables
...
Restricting use of monotype to numbers and code samples for legibility
2017-06-13 12:32:04 -07:00
Alex P
a4a1ff7088
Merge branch 'master' into minor-theme-improvements
2017-06-13 12:31:03 -07:00
Jared Scheib
b2b012e8ca
Update RefreshingGraph to conform to merged Bar Graph implementation
2017-06-13 10:56:55 -07:00
Jared Scheib
0f847e0065
Merge remote-tracking branch 'origin/master' into feature/status_page-1556
2017-06-13 10:55:16 -07:00
Jared Scheib
0fbd216d1a
Add code reference citation for future debugging
2017-06-13 10:28:41 -07:00
Jared Scheib
ec16addb4e
Update 'chart' to 'graph' for consistency
2017-06-13 10:26:04 -07:00
Alex P
75a2af263e
Polish Source table more
...
- Highlight active source with green text
- “Add Config” buttons are less bright
- Kapacitor dropdowns are more bright
- Add QuestionMark Tooltip to clarify things a bit
2017-06-13 10:08:18 -07:00
Alex P
43d98456a7
Visually separate the kapacitor column
2017-06-12 16:52:15 -07:00
Hunter Trujillo
67c615bb15
Solve for sets.length of 1.
2017-06-12 16:26:14 -06:00
Jared Scheib
6eaead45e2
Modify hard-coded links to use /latest path so they remain up-to-date
2017-06-12 13:51:29 -07:00
Alex P
b3d9dcc856
Rework source table design
...
- Trash icon becomes more explicit “Delete Source”
- Moved “Connect” to the left side
- Changed table header to “Active Kapacitor”
2017-06-12 12:59:53 -07:00
Alex P
6f9dbf5fbf
Create style for permanently highlighted table rows
2017-06-12 12:58:56 -07:00
Jared Scheib
110bf46925
Update fixture query Bar Graph on Status Page
2017-06-12 12:18:11 -07:00
Hunter Trujillo
a4e6195b6e
Et voíla. Bar charts.
2017-06-12 12:59:51 -06:00
Jared Scheib
29553a4f4b
Fix GettingStarted link targets to open new page
2017-06-12 11:23:16 -07:00
Alex P
2480e8cabb
Add static content to getting started cell
2017-06-09 16:55:55 -07:00
Alex P
f90fb1d9b5
Always show scrollbar on recent alerts cell
2017-06-09 14:16:27 -07:00
Alex P
20d8f89b34
Polish recent alerts table
2017-06-09 14:14:30 -07:00
Alex P
d0f584aefe
Refactor sortable table headers, add indicators to Alerts table
2017-06-09 14:10:11 -07:00
Alex P
1afba6db7f
Restore time range to before debug state
2017-06-09 12:34:15 -07:00
Alex P
61f49cf689
Change cell sizes to better suit content
2017-06-09 12:33:09 -07:00
Alex P
f87986bbd2
Style newsfeed
2017-06-09 12:32:52 -07:00
Alex P
6ae77b5f77
Resolve conflicts
2017-06-09 12:32:29 -07:00
Jared Scheib
57cf7c2cdb
Fix display of text in News Feed; style JSONFeedReader
2017-06-09 01:48:34 -05:00
Jared Scheib
e328c30014
Simplify isFailed render logic
2017-06-09 01:13:20 -05:00
Jared Scheib
1053b4cbee
Render JSON feed data (text not showing)
...
Wrap JSONFeedReader in FancyScrollbar
2017-06-09 01:12:58 -05:00
Jared Scheib
35fa6da292
Comment out linter errors temporarily
2017-06-09 01:03:46 -05:00
Jared Scheib
7942cc9411
Make error notification consistent with others; console log error
2017-06-09 01:02:03 -05:00
Jared Scheib
12aa43af07
Fix linter negative bool error
2017-06-09 01:00:52 -05:00
Jared Scheib
3cda6933e2
Actually fix fetch conditional render logic in NewsFeed
2017-06-09 00:30:52 -05:00
Jared Scheib
12c1adcba5
Add functional skeleton for JSONFeedReader
2017-06-09 00:23:22 -05:00
Jared Scheib
cf9f6b654f
Add TODO comments for finishing NewsFeed
2017-06-09 00:22:44 -05:00
Jared Scheib
ddf328377d
Fix spinner logic by clarifying firstFetch bool
...
Support this change by replacing 'get' with 'fetch' throughout Status app
2017-06-09 00:19:59 -05:00
Jared Scheib
4af68e90ca
Fix fixture query for to have field func and groupby
2017-06-08 23:40:21 -05:00
Jared Scheib
338b0945b1
Remove obsolete & non-functional HOC sketch
2017-06-08 23:29:26 -05:00
Jared Scheib
22a97d7a3d
Update fixtures
2017-06-08 23:28:02 -05:00
Jared Scheib
e8bebebe19
Return fixture data until json feed proxy implemented
2017-06-08 23:27:31 -05:00
Jared Scheib
062261a4cc
Remove console
2017-06-08 23:26:49 -05:00
Jared Scheib
de7897f0c6
Add isFirstFetch and 3 refreshing or failure states to NewsFeed
2017-06-08 23:16:17 -05:00
Jared Scheib
937afc4656
Fix & update JSONFeed endpoint to hypothetical proxy one
2017-06-08 23:01:33 -05:00
Jared Scheib
006b3af4e9
Update AJAX fn to ES6
2017-06-08 22:58:43 -05:00
Jared Scheib
89d3d74e78
Merge branch 'feature/status_page-1556' of https://github.com/influxdata/chronograf into feature/status_page-1556
2017-06-08 19:35:12 -05:00
Jared Scheib
3434d75a00
Change name of statusReducer; add JSONFeed reducer
2017-06-08 19:34:56 -05:00
Jared Scheib
7118e8cce5
Delete this file for simplicity
2017-06-08 19:33:37 -05:00
Jared Scheib
c587c894b1
Make autoRefresh and timeRange actionType constants
2017-06-08 19:33:11 -05:00
Jared Scheib
28095a0984
Implement initial NewsFeed component
2017-06-08 19:32:44 -05:00
Jared Scheib
a96297a6f2
Fix getJSONFeed AJAX func
2017-06-08 19:31:52 -05:00
Jared Scheib
5cde9361d6
Remove url as param to actions & change actionTypes import
2017-06-08 19:31:19 -05:00
Jared Scheib
0ec450cb33
Add NewsFeed to LayoutRenderer
2017-06-08 19:30:56 -05:00
Jared Scheib
a36c7b1a0e
Fix logoutLink key in AJAX catch for Redux
2017-06-08 19:21:05 -05:00
Alex P
85889c27cb
Make dashboard cell menu hover state more obvious
2017-06-08 17:09:10 -07:00
Alex P
c10fd915d6
Remove excess styles
...
Previously was using these to override the “width: 100%” style from the
theme, which I have no removed
2017-06-08 17:07:51 -07:00
Alex P
9e333d8033
Make "Write Data" button match other neutral buttons
2017-06-08 17:07:05 -07:00
Alex P
442fe3e779
Clean up hosts table sizing & font styles
...
Remove jitter when loading, make font consistent with Sources table
2017-06-08 17:01:43 -07:00
Alex P
8e65054c33
Merge branch 'master' into minor-theme-improvements
2017-06-08 16:51:10 -07:00
Alex P
19398bbfcd
Refactor styles
...
Works better in more contexts, no longer assumes it is a direct child
of .chronograf-root
2017-06-08 16:36:22 -07:00
Jared Scheib
d658390add
Merge branch 'feature/status_page-1556' of https://github.com/influxdata/chronograf into feature/status_page-1556
2017-06-08 17:47:01 -05:00
Jared Scheib
478c9849fb
Merge branch 'feature/status_page-1556' of https://github.com/influxdata/chronograf into feature/status_page-1556
2017-06-08 17:46:53 -05:00
Alex P
457e87a503
Improve UX of alert table empty state
2017-06-08 15:03:24 -07:00
Alex P
c6ad7751f5
Separate table and empty state into their own render functions to play nicer with widget mode
2017-06-08 14:50:48 -07:00
Alex P
ca2104c9f7
Remove unnecessary wrapping DIV
2017-06-08 14:49:41 -07:00
Jared Scheib
e71b9a1bda
WIP
2017-06-08 16:04:34 -05:00
Alex P
e99fade37c
Refactor dygraphs styles to be more flexible
...
Previous approach relied on the DOM tree rendering a certain way, this
approach does not. Made the change to polish appearance of the Status
Page, but will also prevent styling headaches in the future
2017-06-08 13:14:07 -07:00
Alex P
a3351a8303
Prevent full page styles when is a widget
2017-06-08 12:02:37 -07:00
Jared Scheib
3c69a4e4ad
WIP Add Redux-based JSONFeedPoller component and actions skeleton
2017-06-08 13:53:33 -05:00
Alex P
2699f5fadb
Make status page header full width for consistency
2017-06-08 11:42:50 -07:00
Jared Scheib
f7a7510c25
Move StatusPage fixture to fixtures file
2017-06-08 12:13:06 -05:00
Jared Scheib
b7eda1a48e
Add NewsFeed fixture data
2017-06-08 12:10:13 -05:00
Jared Scheib
f076eeb394
Widgetize AlertsApp & add preliminary Alerts widget to StatusPage
...
Use optional timeRange prop in AlertsApp to set lower timeRange in seconds
Fix source pass-in to LayoutRenderer from StatusPage & make source use with LayoutRenderer consistent across app
Change nonGraph terminology to Widget
Change dimensions of StatusPage fixture cells
2017-06-08 02:41:04 -05:00
Jared Scheib
b1499cc0e1
Clarify timeRange lookup by matching on explicit Lower string
...
Update initial timeRange for status reducer
2017-06-08 02:32:31 -05:00
Jared Scheib
e24d5bcc92
Make filter bar hideable via props
2017-06-08 02:23:50 -05:00
Jared Scheib
8ff5c83f2c
Refactor AlertsTable to ES6 class
2017-06-08 00:34:34 -05:00
Jared Scheib
58d8ebec57
Update getAlerts syntax to ES6
2017-06-08 00:25:01 -05:00
Jared Scheib
0619336137
Use LayoutRenderer instead of building GridLayout in StatusPage
...
Add isNotGraph and real influxQL query to fixtures
Add autoRefresh, timeRange, and templates to StatusPage
2017-06-08 00:03:54 -05:00
Jared Scheib
ae5b66a55f
Simplify LayoutRenderer logic to determine if cell is a graph
...
Use switch instead of if/else for non graph rendering
Rename conformQueries to standardizeQueries
2017-06-08 00:02:25 -05:00
Jared Scheib
e41a280315
Add Status reducer with autoRefresh and timeRange
2017-06-07 23:57:51 -05:00
Jared Scheib
91f305495f
Update hson paths to absolute
2017-06-07 23:55:35 -05:00
Jared Scheib
2499f5fa7e
Refactor skeleton to accommodate graph vs non-graph cells
...
Connect StatusPage to router props, ex. source
2017-06-07 18:40:26 -05:00
Jared Scheib
af070832bb
Refactor RefreshingGraph into dedicated component
2017-06-07 18:31:22 -05:00
Jared Scheib
94de790fbd
Remove 'component' prop from non-graph cells in LayoutRenderer
2017-06-07 17:33:25 -05:00
Jared Scheib
7e54784795
Revert to non-Dashboard StatusPage
2017-06-07 17:32:57 -05:00
Jared Scheib
f7bc85f708
Merge branch 'master' into feature/status_page-1556
2017-06-07 12:07:27 -05:00
Hunter Trujillo
bc7f75d25a
Prettier tests.
2017-06-07 10:23:53 -06:00
Hunter Trujillo
e79c76f5a6
Update prettier formatting and update ESLint rules to match.
2017-06-07 10:12:40 -06:00
Jared Scheib
2172b0a4db
WIP Refactor parts of LayoutRenderer to accommodate non-graph visualizations; refactor StatusPage to use a Dashboard
2017-06-06 19:32:15 -05:00
Jared Scheib
e5ff925033
Use getActiveDashboard consistently in DashboardPage
2017-06-06 19:30:39 -05:00
Jared Scheib
c7a51c817b
Merge remote-tracking branch 'origin/master' into feature/status_page-1556
2017-06-06 17:22:46 -05:00
lukevmorris
6e3acf0386
Restore Line + Single Stat styling ( #1594 )
...
* Restore Line + Single Stat styling
* Update CHANGELOG
2017-06-06 15:07:11 -07:00
Jared Scheib
0dc7d8586c
Merge pull request #1512 from influxdata/feature/upgrade_and_synchronize_dygraphs
...
Upgrade and synchronize dygraphs, fix legend fall-off
2017-06-06 16:59:13 -05:00
Jared Scheib
79cfe02922
Prevent legend from swooping on-screen when graph is repositioned
...
Remove legend animation to support prevent of swooping
2017-06-06 16:44:58 -05:00
Jared Scheib
c93c8ac6de
Add comments to workaround for legend disappear on redraw
2017-06-06 16:40:18 -05:00
Jared Scheib
791a694c79
Move and comment graph synchronizer opt-out logic
2017-06-06 13:37:41 -05:00
Jared Scheib
9815d302a9
Update bool vars to use 'is' convention
2017-06-06 13:37:07 -05:00
Jared Scheib
93ea172b3a
Add Status Page skeleton to UI
2017-06-05 19:10:30 -05:00
Jared Scheib
8839fbac50
Change import path to absolute
2017-06-05 19:09:02 -05:00
Jared Scheib
6b81aa5bb2
Reorder component import to match routes order
2017-06-05 14:02:07 -05:00
Jared Scheib
533a8d62ec
Reorder client router routes to match nav order
2017-06-05 13:58:55 -05:00