Commit Graph

10662 Commits (ecb5347597c0c08c0aeea1c5a4a32982c860b5c3)

Author SHA1 Message Date
Alex P 3e046839e1 Add data-test values for testing 2018-06-26 16:10:12 -07:00
ebb-tide f2a12fa915 Fix tests relating to template variables. 2018-06-26 15:31:54 -07:00
Delmer Reed 248982fa25 Set selected to default value if saving temp var for the first time.
Co-authored-by: Deniz Kusefoglu <denizk@influxdata.com>
2018-06-26 14:25:37 -07:00
Delmer Reed b451c087c4 WIP: debug selection 2018-06-26 17:13:51 -04:00
Delmer Reed 67c0cc470b Merge remote-tracking branch 'origin/feature/upload-template-var-csv' into tempvars/select-default 2018-06-26 16:34:42 -04:00
Delmer Reed e3ca16faf6 Update tempvar preview list to accept CSSProperties for style 2018-06-26 14:33:21 -04:00
Delmer Reed 0964931138 Add active class name on selected temp list item 2018-06-26 14:33:21 -04:00
Delmer Reed 393ae0f721 Refactor template builders to use template values
Refactors template builders to take an onChoose prop passed by the
TemplateVariableEditor and to utilize template.values for rendering
template preview list to gain access to what values are selected.
2018-06-26 14:33:21 -04:00
Delmer Reed 32e28ca94e Update template value list w/ item choice
Updates template value list items to handle choosing an item in the meta
query values preview list.
2018-06-26 14:33:21 -04:00
ebb-tide 7cd3e79904 Merge branch 'master' into feature/upload-template-var-csv 2018-06-26 11:25:09 -07:00
ebb-tide 326c5622bd Merge branch 'feature/upload-template-var-csv' of github.com:influxdata/chronograf into feature/upload-template-var-csv 2018-06-26 10:50:53 -07:00
ebb-tide 6544ace93e Parse csv using papa parse 2018-06-26 10:47:31 -07:00
Iris Scholten 2ce5c5a4ec
Merge pull request #3773 from influxdata/fix/logs-scrolling
Fix/logs scrolling
2018-06-26 10:40:19 -07:00
Alex P 3844f26f62 Improve implementation of overlay wrapper 2018-06-26 10:34:05 -07:00
Iris Scholten ac8b7a43df Trigger onVerticalScroll after setting logs table state
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-06-26 10:16:55 -07:00
Alex P 3a212c6ce4 Return tempvar input to previous state 2018-06-26 10:14:28 -07:00
Alex P bd728ee235 Polish template variable overlay
Using reusable components and styles as much as possible
2018-06-26 01:34:27 -07:00
Alex P 5dd141997a Add reusable button grouping styles 2018-06-26 01:32:43 -07:00
Alex P 3443bbcd06 Organize grid styles 2018-06-26 01:32:32 -07:00
Alex P 68686ccb02 Allow plain HTML elements as children 2018-06-26 01:32:11 -07:00
Alex P ec95c53370 Implement new overlay pattern in DE 2018-06-26 01:31:48 -07:00
Alex P 1e5e03a714 WIP implement new overlay pattern
WIP because I need to test this, and there is probably a better way to
handle state
2018-06-25 19:27:16 -07:00
Alex P 38051ab53c Refactor instances of Overlay Technology to new pattern 2018-06-25 19:17:05 -07:00
Alex P a1c8be810b Refactor overlay technology to not use redux store 2018-06-25 19:16:39 -07:00
Jared Scheib 33373d24af
Merge pull request #3739 from influxdata/fun/dashboard_page
Convert DashboardPage to TypeScript & introduce improved file structure for types
2018-06-25 17:23:39 -07:00
Jared Scheib bb07fec644 Rename types/query to types/queries for consistency 2018-06-25 17:10:34 -07:00
Jared Scheib 3fb5b32375 Revert introduction of /modules for single importable Types
After discussion with team, folks felt that it was too explicit and verbose
to import * as Types and use Types.*.*.x for all type annotations. So we
decided to try importing, for example, all dashboard action types under
a single import * as DashboardsActions from 'src/types/actions/dashboards'.
2018-06-25 17:07:56 -07:00
Alex Paxton 0d0a1c42c0
Merge pull request #3769 from influxdata/bring-back-favicon
Resurrect the Favicon
2018-06-25 15:58:58 -07:00
Jared Scheib 5d4c65049f Merge duplicate imports in test fixtures file 2018-06-25 15:49:58 -07:00
Alex P 1d7aa6b948 Resurrect favicon 2018-06-25 15:47:45 -07:00
Jared Scheib 2b7bad3d5c Simplify getNewDashboardCell default value for cell type
Co-authored-by: Alirie Gray<alirie.gray@gmail.com>
2018-06-25 15:47:32 -07:00
Jared Scheib 451e683401 Simplify naming of showOverlay import in FluxHeader 2018-06-25 15:45:04 -07:00
Andrew Watkins efc9fa9c7a Update crosshair on mousemove 2018-06-25 15:44:12 -07:00
Jared Scheib 4e74173799 Refactor HostPage mapDispatchToProps to simpler object syntax & remove bindActionCreators 2018-06-25 15:41:57 -07:00
Alex Paxton 4e1d10c1c9
Merge pull request #3762 from influxdata/polish-user-nav-icons
Make User Nav Icon Consistent
2018-06-25 12:32:03 -07:00
Iris Scholten 9d8a49ba0e
Merge pull request #3761 from influxdata/bug-investigation
Fix dashboards crashing by making some performance optimizations
2018-06-25 11:57:11 -07:00
Alex P f4ae205cf9 Make user nav icons consistent with other nav icons 2018-06-25 11:45:08 -07:00
Brandon Farmer 1c733d52e3 Fix dashboards crashing by making some performance optimizations
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-06-25 11:43:09 -07:00
Iris Scholten 2553d6bf2d
Merge pull request #3759 from influxdata/fix/unselect-yformat
Change axes options to have valid defaults
2018-06-25 10:07:13 -07:00
Iris Scholten ecd5475c10 Remove unused import 2018-06-25 09:21:53 -07:00
Jared Scheib e0d6cae425 Refactor all type imports modified in #3739 to unified Types ns 2018-06-23 13:55:55 -07:00
Jared Scheib e96f639635 Refactor dashboards/actions/index to use new Types namespace 2018-06-23 13:16:26 -07:00
Jared Scheib b920bac0c3 Add Auth to Types module & sort module index by alpha 2018-06-23 13:09:22 -07:00
Jared Scheib 5fe92b0d93 Rename types/apis/dashboard.ts dashboards.ts for consistency 2018-06-23 13:03:44 -07:00
Jared Scheib 780a68f35f Create global Types module & consume in DashboardPage for single import 2018-06-23 12:54:24 -07:00
Jared Scheib df6e6e9a32 Make all type imports consistent & group all imports 2018-06-23 11:41:14 -07:00
Jared Scheib 9b313bc23e Fix dashboardActions undefined by de-nesting all action creators
Using the object syntax for mapDispatchToProps (mdtp), the nested
dashboardActions functions were not being properly bound to
dispatch, and lookuped to dashboardActions were failing. This
refactors that by de-nesting and spreading action creators directly
onto DashboardPage props.
2018-06-23 11:21:15 -07:00
Alirie Gray 8909b2e4a5 Enable selection of default values for tempvars
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-06-22 19:26:38 -07:00
Jared Scheib 82e28efac8 Refactor DashboardPage getDashboard & getDashboardsNames instance methods to assignment syntax 2018-06-22 18:46:28 -07:00
Jared Scheib 7c88baaa06 Type setScrollTop instance method on DashboardPage 2018-06-22 18:45:56 -07:00