Skip to content
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

Merged
merged 6 commits into from Aug 24, 2022

Conversation

dariaterekhova-actionengine
Copy link
Collaborator

No description provided.

@dariaterekhova-actionengine dariaterekhova-actionengine force-pushed the dt/actions_isolations branch 3 times, most recently from c934b57 to 07dd659 Compare August 23, 2022 17:05
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 */
Copy link
Contributor

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?

Copy link
Collaborator Author

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

@@ -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';
Copy link
Contributor

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';
Copy link
Contributor

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';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this line?

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>
Signed-off-by: Daria Terekhova <daria.terekhova@actionengine.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants