chore: implement new mockup to the new viz gallery (2nd iteration) (#15868)

* chore: implement new mockup to the new viz gallery

* fix: update package-lock

* fix: add license

* fix: reduce duplication and fit within the sidebar

* fix: ut
This commit is contained in:
Yaozong Liu
2021-07-27 02:10:39 +08:00
committed by GitHub
parent 2f95f81be7
commit fb5dce07b7
9 changed files with 315 additions and 109 deletions

View File

@@ -84,7 +84,7 @@ describe('VizTypeControl', () => {
const thumbnails = screen.getByTestId('viztype-selector-container');
expect(thumbnails).toBeInTheDocument();
const searchInput = screen.getByPlaceholderText('Search');
const searchInput = screen.getByPlaceholderText('Search all charts');
userEvent.type(searchInput, 'foo');
await waitForEffects();