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
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
Jared Scheib
e00182db6d
Fix broken dashtimev1 delete dashboard test
2018-06-22 18:34:10 -07:00
Jared Scheib
72d913b955
Refactor app action types file structure & imports to new style
2018-06-22 18:26:15 -07:00
Jared Scheib
5a1a888e42
Refactor cellEditorOverlay types file structure & imports to new style
2018-06-22 18:22:49 -07:00
Jared Scheib
fa6ea87ebe
Refactor notifications types file structure & imports to new style
2018-06-22 18:17:58 -07:00
Jared Scheib
40e29346c6
Fix dashboards.ts import in src/types/index.js
2018-06-22 18:14:21 -07:00
Jared Scheib
3e7ac9c221
Rename types/dashboard.ts to plural for consistency
2018-06-22 18:08:57 -07:00
Jared Scheib
c1f43db5ba
Rename types/actions/error.ts to plural for consistency
2018-06-22 18:07:29 -07:00
Jared Scheib
cd368dbf9b
Rename types/reducers/dashboard.ts to plural for consistency
2018-06-22 18:06:26 -07:00
Jared Scheib
2c02e8bb27
Rename types/actions/error.ts to errors.ts for consistency
2018-06-22 18:05:07 -07:00
Jared Scheib
90fe0c293f
Rename types/actions/dashboard.ts to dashboards.ts for consistency
2018-06-22 18:04:09 -07:00
Jared Scheib
dad8c34e0b
Refactor annotations types file structure & imports to new style
2018-06-22 18:02:06 -07:00
Jared Scheib
f43f504bc1
Merge remote-tracking branch 'origin/master' into fun/dashboard_page
2018-06-22 17:53:44 -07:00
Delmer Reed
0db852f4c6
Stopgap-fix getDashboardsNamesThunk type error
...
Resolve react-redux type issues later to fix getDashboardsNames typing.
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-22 20:43:46 -04:00
Delmer Reed
a2a264d3e1
Refactor error types to follow new file structure
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-22 20:42:00 -04:00
Alex Paxton
7175f7d368
Merge pull request #3704 from fntlnz/fix/main-template-body
...
Fix: Close main template body only once
2018-06-22 17:19:24 -07:00
Iris Scholten
03eec57d2d
Update changelog
2018-06-22 17:06:14 -07:00
Iris Scholten
ca626b4efd
Set y-axis scale default to linear
2018-06-22 17:02:18 -07:00
Iris Scholten
9417c36d30
Add 'None as an option for Base'
2018-06-22 16:56:41 -07:00
Delmer Reed
894be9b9dc
Update cell editor test to return null
2018-06-22 19:48:57 -04:00
Delmer Reed
375338e313
Add ErrorDescription with auth and links
...
ErrorThrownAction triggers an AUTH_EXPIRED in middleware. AuthReducer
extracts auth links to upddate state.links. It's unclear what the shape
is of auth.links:
Errors.test.js utilizes an auth.links of type
arrayOf({
name: string,
label:string,
login: string,
logout: string,
callback: string,
})
OrganizationsPage consumes links w/ shape of
shape({
organizations: string.isRequired,
config: shape({
auth: string.isRequired,
}).isRequired,
})
UsersPage consumes links w/ shape of
shape({
users: string.isRequired,
}),
ProvidersPage consumes links w/ shape of
shape({
organizations: string.isRequired,
}),
Purgatory consumes links w/ shape of
shape({
me: string,
}),
UserNavBlock at some point expected
shape({
me: string,
external: shape({
custom: arrayOf(
shape({
name: string.isRequired,
url: string.isRequired,
})
),
}),
})
2018-06-22 19:13:43 -04:00
Delmer Reed
ae31aa5456
Update ShowOverlayActionCreator import from overlayTechnoloy
2018-06-22 17:40:21 -04:00
Jared Scheib
d1ac2a38e1
Refactor ManualRefresh interface to be consistent with withRouter
...
Clarifies relationship between HOCs and how to define DashboardPage
props by extending from the props it will receive from its HOCs.
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-22 14:24:27 -07:00
Jared Scheib
9cb1f45d64
Compose DashboardPage prop types with withRouter & ManualRefresh
...
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-22 14:07:57 -07:00
Jared Scheib
fcb3139d02
Convert ManualRefresh to TypeScript
...
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-22 14:07:43 -07:00
Delmer
e2227027eb
Merge pull request #3758 from influxdata/fix/pageheader-titletext
...
Update title to titleText in Admin page
2018-06-22 17:03:04 -04:00
Jared Scheib
39349e51a0
Rename ManualRefresh.js to ManualRefresh.tsx
2018-06-22 13:11:06 -07:00
Delmer Reed
7ff979aaef
Update hosts page optionsComponents to be a getter
2018-06-22 16:08:17 -04:00
Delmer Reed
461b809ab2
Update title to titleText in Host and Admin page
2018-06-22 15:07:45 -04:00
Jared Scheib
d6af25d812
Type most of the rest of DashboardPage
...
Add stronger types to Dashboard Actions.
Refactor Dygraph.onZoom to pass TimeRange rather than splitting
arguments, and refactor respective DashboardPage & LogViewer
methods accordingly.
2018-06-21 20:42:10 -07:00
Chris Henn
38d987e94c
Merge pull request #3749 from influxdata/bugfix/page-headers
...
Fix missing page titles
2018-06-21 19:33:37 -07:00
Delmer Reed
d493b46fd1
Fix types for presentation mode dispatcher
...
Cleaned up dashboard types and introduced the auth reducers types.
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-21 19:17:22 -04:00
Iris Scholten
03fe19b31c
Merge pull request #3751 from influxdata/fix/crosshairs-pass-edge
...
Ensure hoverTime is a valid time range for the dygraph
2018-06-21 15:31:27 -07:00
Iris Scholten
c79d177fa9
Move check for valid time to first comparison
2018-06-21 14:59:37 -07:00
Iris Scholten
e99c1e589a
Prevent index out of range error when getting min and max from timeRange
2018-06-21 14:58:28 -07:00
Iris Scholten
b3460ead1e
Update Changelog
2018-06-21 13:47:03 -07:00