[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

@@ -24,6 +24,6 @@ describe('DisplayQueryButton', () => {
});
it('renders a dropdown', () => {
const wrapper = mount(<DisplayQueryButton {...defaultProps} />);
expect(wrapper.find(ModalTrigger)).to.have.lengthOf(2);
expect(wrapper.find(ModalTrigger)).to.have.lengthOf(3);
});
});