mirror of
https://github.com/apache/superset.git
synced 2026-04-17 15:15:20 +00:00
Implement SuperChart and enable the chart plugins (#6154)
* setup plugin and add SuperChart * Integrate SuperChart into Chart.jsx * Add vizType as class name * Remove .slice_container * add snakeCase to sanitize class name * Remove old code to load charts * Fix supportedAnnotationTypes * Update AnnotationTypes, remove unnecessary imports and dependency from VIZ_TYPES * remove index.js and update unit test * resolve tree map issue * fix issue with annotation types * fix proptypes * add ) * address a few comments * create bound functions * bound more functions * add reselect * use reselect for chartprops * improve performance with reselect * remove unused props * Remove getFilters() and update table test * Remove unused code * Delete adaptors * switch to react-loadable * Rewrite with reloadable * Add timeout back * remove loading * update table unit test * remove pastDelay
This commit is contained in:
committed by
Chris Williams
parent
9580103c22
commit
5c02e3199b
@@ -78,10 +78,4 @@ describe('Chart', () => {
|
||||
wrapper.instance().addFilter();
|
||||
expect(addFilter.callCount).toBe(1);
|
||||
});
|
||||
|
||||
it('should return props.filters when its getFilters method is called', () => {
|
||||
const filters = { column: ['value'] };
|
||||
const wrapper = setup({ filters });
|
||||
expect(wrapper.instance().getFilters()).toBe(filters);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user