[explore] add "View samples" modal to action buttons (#5770)

* [explore] add "View samples" modal to action buttons

Also broke down the `View query` and `View results` as different
request so that viewing the query does not require fetching the results
anymore

* fix js tests

* lint
This commit is contained in:
Maxime Beauchemin
2018-09-20 13:51:39 -07:00
committed by GitHub
parent 896c2608aa
commit 73d1e4596d
9 changed files with 170 additions and 62 deletions

View File

@@ -54,5 +54,6 @@ describe('TableElement', () => {
wrapper.find('.table-remove').simulate('click');
expect(wrapper.state().expanded).to.equal(false);
expect(mockedActions.removeDataPreview.called).to.equal(true);
expect(mockedActions.removeTable.called).to.equal(true);
});
});