-
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 actions #1948
Conversation
c934b57
to
07dd659
Compare
export * from './vis-state-actions'; | ||
export * from './ui-state-actions'; | ||
export * from './map-state-actions'; | ||
export * from './map-style-actions'; | ||
export * from './identity-actions'; | ||
export * from './provider-actions'; | ||
|
||
/* eslint-disable prettier/prettier */ |
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.
why do we disable prettier here?
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.
That's because it throws an exception for every export type {...
line. If you have an idea how it can be reconfigured - let me know, I'll change the eslint config
src/components/modal-container.tsx
Outdated
@@ -61,17 +61,20 @@ import { | |||
|
|||
import {getFileFormatNames, getFileExtensions} from 'reducers/vis-state-selectors'; | |||
import {MapStyle} from 'reducers'; | |||
import {MapState, UiState, OnSuccessCallBack, OnErrorCallBack} from '@kepler.gl/types'; | |||
import {MapState, UiState} from '@kepler.gl/types'; |
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 import with line 77
import { | ||
DEFAULT_NOTIFICATION_TYPES, | ||
DEFAULT_NOTIFICATION_TOPICS, | ||
DATASET_FORMATS, | ||
OVERWRITE_MAP_ID | ||
} from '@kepler.gl/constants'; | ||
import {ProviderActions} from '@kepler.gl/actions'; |
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 with import above
import {ActionTypes} from 'actions'; | ||
|
||
import {exportFileToCloud, resetProviderStatus, setCloudProvider} from 'actions/provider-actions'; | ||
import {} from '@kepler.gl/actions'; |
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.
remove this line?
f228f27
to
8d2e570
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>
8d2e570
to
409ccba
Compare
No description provided.