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

Fix/3489 query config refactor #3490

Conversation

CPAlejandro
Copy link
Contributor

Hi guys,
In this PR refactor query Config from Angular to React

To prove it,
We enter the new Office 365 section, click on the Panel tab and click on the i at the top left, which will display the panel. It should not give us any error in console.

Close: #3489

@CPAlejandro CPAlejandro self-assigned this Jul 19, 2021
@@ -16,7 +16,8 @@ import { MainPanel } from '../../../components/common/modules/panel';
import { withErrorBoundary } from '../../common/hocs';
import { ModuleStats } from './module-stats';
import { WzRequest } from '../../../react-services/wz-request';
import { queryConfig } from '../../../services/query-config';
//import { queryConfig } from '../../../services/query-config';
Copy link
Contributor

Choose a reason for hiding this comment

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

remove commented import

@@ -16,7 +16,8 @@ import { MainPanel } from '../../../components/common/modules/panel';
import { withErrorBoundary } from '../../common/hocs';
import { ModuleStats } from './module-stats';
import { WzRequest } from '../../../react-services/wz-request';
import { queryConfig } from '../../../services/query-config';
//import { queryConfig } from '../../../services/query-config';
import { queryConfig } from '../../../react-services/query-config';
import { getCurrentConfig } from '../../../controllers/management/components/management/configuration/utils/wz-fetch';
// import { getCurrentConfig } from '../../../react-services';
Copy link
Contributor

Choose a reason for hiding this comment

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

remove commented import

@@ -16,7 +16,8 @@ import { MainPanel } from '../../../components/common/modules/panel';
import { withErrorBoundary } from '../../common/hocs';
import { ModuleStats } from './module-stats';
import { WzRequest } from '../../../react-services/wz-request';
import { queryConfig } from '../../../services/query-config';
//import { queryConfig } from '../../../services/query-config';
Copy link
Member

Choose a reason for hiding this comment

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

Could you please remove the comments to improve code readability?

Copy link
Member

@asteriscos asteriscos left a comment

Choose a reason for hiding this comment

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

CR: Besides cleaning some comments, looks good to me ✔️

@CPAlejandro CPAlejandro requested a review from eze9252 July 19, 2021 12:00
@asteriscos asteriscos merged commit ac11be0 into feature/create-modular-view-office365-github-3422 Jul 19, 2021
@asteriscos asteriscos deleted the fix/3489-query-config-refactor branch July 19, 2021 13:48
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

3 participants