fix sqllab <Loading /> css, fix double AddSliceCard margin and drag border (#5293)

* fix sqllab <Loading /> css, fix double AddSliceCard margin and drag border

* [dashboard v2] improve cached visual indicator, add last fetched messaging

* [dashboard v2] fix ctrl + cmd + z + UndoRedoKeylisteners
This commit is contained in:
Chris Williams
2018-06-26 16:47:41 -07:00
committed by GitHub
parent b0eee129e9
commit 05a39b395a
13 changed files with 33 additions and 53 deletions

View File

@@ -31,6 +31,8 @@ const defaultProps = {
const SEARCH_HEIGHT = 46;
const LOADING_STYLES = { position: 'relative', height: 50 };
export default class ResultSet extends React.PureComponent {
constructor(props) {
super(props);
@@ -238,9 +240,9 @@ export default class ResultSet extends React.PureComponent {
);
}
return (
<div>
<Loading />
<div style={LOADING_STYLES}>
<QueryStateLabel query={query} />
{!progressBar && <Loading />}
{progressBar}
<div>
{trackingUrl}