Skip to content

Commit

Permalink
[bugfix] moving from reactable to reactable-arc fork (apache#6576)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch authored and Conglei Shi committed Jan 7, 2019
1 parent b732804 commit 9a88c79
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 119 deletions.
112 changes: 4 additions & 108 deletions superset/assets/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion superset/assets/package.json
Expand Up @@ -120,7 +120,7 @@
"react-syntax-highlighter": "^7.0.4",
"react-virtualized": "9.19.1",
"react-virtualized-select": "^3.1.3",
"reactable": "1.0.2",
"reactable-arc": "0.14.42",
"redux": "^3.5.2",
"redux-localstorage": "^0.4.1",
"redux-thunk": "^2.1.0",
Expand Down
@@ -1,7 +1,7 @@
import React from 'react';
import { shallow } from 'enzyme';

import { Table, Thead, Td, Th, Tr } from 'reactable';
import { Table, Thead, Td, Th, Tr } from 'reactable-arc';

import AlteredSliceTag from '../../../src/components/AlteredSliceTag';
import ModalTrigger from '../../../src/components/ModalTrigger';
Expand Down
@@ -1,6 +1,6 @@
import React from 'react';
import { shallow } from 'enzyme';
import { Table } from 'reactable';
import { Table } from 'reactable-arc';

import { queries } from './fixtures';
import QueryTable from '../../../src/SqlLab/components/QueryTable';
Expand Down
Expand Up @@ -3,7 +3,7 @@ import { mount } from 'enzyme';
import thunk from 'redux-thunk';
import configureStore from 'redux-mock-store';
import fetchMock from 'fetch-mock';
import { Table } from 'reactable';
import { Table } from 'reactable-arc';

import DashboardTable from '../../../src/welcome/DashboardTable';
import Loading from '../../../src/components/Loading';
Expand Down
2 changes: 1 addition & 1 deletion superset/assets/src/SqlLab/components/QueryTable.jsx
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import moment from 'moment';
import { Table } from 'reactable';
import { Table } from 'reactable-arc';
import { Label, ProgressBar, Well } from 'react-bootstrap';
import { t } from '@superset-ui/translation';

Expand Down
2 changes: 1 addition & 1 deletion superset/assets/src/components/AlteredSliceTag.jsx
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Table, Tr, Td, Thead, Th } from 'reactable';
import { Table, Tr, Td, Thead, Th } from 'reactable-arc';
import { isEqual, isEmpty } from 'lodash';
import { t } from '@superset-ui/translation';
import TooltipWrapper from './TooltipWrapper';
Expand Down
2 changes: 1 addition & 1 deletion superset/assets/src/components/TableLoader.jsx
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Table, Tr, Td } from 'reactable';
import { Table, Tr, Td } from 'reactable-arc';
import { t } from '@superset-ui/translation';
import { SupersetClient } from '@superset-ui/connection';

Expand Down
Expand Up @@ -7,7 +7,7 @@ import sqlSyntax from 'react-syntax-highlighter/languages/hljs/sql';
import jsonSyntax from 'react-syntax-highlighter/languages/hljs/json';
import github from 'react-syntax-highlighter/styles/hljs/github';
import { DropdownButton, MenuItem, Row, Col, FormControl } from 'react-bootstrap';
import { Table } from 'reactable';
import { Table } from 'reactable-arc';
import { t } from '@superset-ui/translation';
import { SupersetClient } from '@superset-ui/connection';

Expand Down
@@ -1,6 +1,6 @@
import dist from 'distributions';
import React from 'react';
import { Table, Tr, Td, Thead, Th } from 'reactable';
import { Table, Tr, Td, Thead, Th } from 'reactable-arc';
import PropTypes from 'prop-types';

export const dataPropType = PropTypes.arrayOf(PropTypes.shape({
Expand Down
2 changes: 1 addition & 1 deletion superset/assets/src/visualizations/TimeTable/TimeTable.jsx
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import Mustache from 'mustache';
import { scaleLinear } from 'd3-scale';
import { Table, Thead, Th, Tr, Td } from 'reactable';
import { Table, Thead, Th, Tr, Td } from 'reactable-arc';
import { formatNumber } from '@superset-ui/number-format';
import { formatTime } from '@superset-ui/time-format';

Expand Down
2 changes: 1 addition & 1 deletion superset/assets/src/welcome/DashboardTable.jsx
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Table, Tr, Td, unsafe } from 'reactable';
import { Table, Tr, Td, unsafe } from 'reactable-arc';
import { SupersetClient } from '@superset-ui/connection';
import { t } from '@superset-ui/translation';

Expand Down

0 comments on commit 9a88c79

Please sign in to comment.