-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Chore]: Technical: Isolate table-utils #1949
[Chore]: Technical: Isolate table-utils #1949
Conversation
406e09b
to
9cf265b
Compare
high level comment, can we name this modules |
src/components/bottom-widget.tsx
Outdated
@@ -24,7 +24,7 @@ import TimeWidgetFactory from './filters/time-widget'; | |||
import AnimationControlFactory from './common/animation-control/animation-control'; | |||
import AnimationControllerFactory from './common/animation-control/animation-controller'; | |||
import {ANIMATION_WINDOW, DIMENSIONS, FILTER_TYPES} from '@kepler.gl/constants'; | |||
import {getIntervalBins} from 'reducers/filter-utils'; | |||
import {getIntervalBins} from '@kepler.gl/table-utils'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this be moved to utils
or reducers/filter-utils
?
@@ -24,7 +24,7 @@ import {createSelector} from 'reselect'; | |||
import {format} from 'd3-format'; | |||
import moment from 'moment'; | |||
import {SCALE_TYPES, SCALE_FUNC, ALL_FIELD_TYPES} from '@kepler.gl/constants'; | |||
import {getTimeWidgetHintFormatter} from 'reducers/filter-utils'; | |||
import {getTimeWidgetHintFormatter} from '@kepler.gl/table-utils'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this be moved to utils
or reducers/filter-utils
?
@@ -23,7 +23,7 @@ import styled from 'styled-components'; | |||
import LoadingSpinner from 'components/common/loading-spinner'; | |||
import {ExportImage} from '@kepler.gl/constants'; | |||
|
|||
/** @typedef {import('reducers/ui-state-updaters').ExportImage} ExportImage */ | |||
/** @typedef {import('reducers').ExportImage} ExportImage */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this lien still needed?
src/components/modal-container.tsx
Outdated
@@ -27,7 +27,7 @@ import document from 'global/document'; | |||
import {EXPORT_DATA_TYPE_OPTIONS, EXPORT_MAP_FORMATS} from '@kepler.gl/constants'; | |||
import ModalDialogFactory from './modals/modal-dialog'; | |||
import {exportHtml, isValidMapInfo, exportMap, exportJson} from '@kepler.gl/utils'; | |||
import {exportData} from 'reducers/export-utils'; | |||
import {exportData} from 'reducers'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merge line 30, 62, 63, 65?
1c2e37a
to
b8ba7ad
Compare
Signed-off-by: Daria Terekhova <daria.terekhova@actionengine.com>
Signed-off-by: Daria Terekhova <daria.terekhova@actionengine.com>
Signed-off-by: Daria Terekhova <daria.terekhova@actionengine.com>
Signed-off-by: Daria Terekhova <daria.terekhova@actionengine.com>
Signed-off-by: Daria Terekhova <daria.terekhova@actionengine.com>
… to utils Signed-off-by: Daria Terekhova <daria.terekhova@actionengine.com>
Signed-off-by: Daria Terekhova <daria.terekhova@actionengine.com>
b8ba7ad
to
7dafe50
Compare
No description provided.