Skip to content

[Backport 2.13] Update loading state for tables fields in create acceleration flyout #797

[Backport 2.13] Update loading state for tables fields in create acceleration flyout

[Backport 2.13] Update loading state for tables fields in create acceleration flyout #797

Triggered via pull request March 20, 2024 01:11
Status Success
Total duration 4m 26s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 warnings
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1, lots0logs/gh-action-get-changed-files@2.2.2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint: public/components/datasources/components/manage/accelerations/create_accelerations_flyout/create/create_acceleration.tsx#L157
React Hook useEffect has missing dependencies: 'accelerationFormData.dataSource', 'accelerationFormData.dataTable', 'accelerationFormData.database', and 'initiateColumnLoad'. Either include them or remove the dependency array
Lint: public/components/datasources/components/manage/accelerations/create_accelerations_flyout/create/create_acceleration.tsx#L175
React Hook useEffect has missing dependencies: 'accelerationFormData.dataSource', 'accelerationFormData.dataTable', 'accelerationFormData.database', and 'loadColumnsToAccelerationForm'. Either include them or remove the dependency array
Lint: public/components/datasources/components/manage/accelerations/create_accelerations_flyout/create/create_acceleration.tsx#L181
React Hook useEffect has a missing dependency: 'stopLoadingTableFields'. Either include it or remove the dependency array
Lint: public/components/datasources/components/manage/accelerations/create_accelerations_flyout/selectors/index_type_selector.tsx#L36
React Hook useEffect has missing dependencies: 'accelerationFormData.dataSource', 'accelerationFormData.database', and 'initiateColumnLoad'. Either include them or remove the dependency array. If 'initiateColumnLoad' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint: public/components/datasources/components/manage/accelerations/create_accelerations_flyout/selectors/selector_helpers/load_databases.tsx#L59
React Hook useEffect has a missing dependency: 'loadDatabases'. Either include it or remove the dependency array. If 'loadDatabases' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint: public/components/datasources/components/manage/accelerations/create_accelerations_flyout/selectors/selector_helpers/load_databases.tsx#L63
React Hook useEffect has missing dependencies: 'loadingComboBoxes' and 'setLoadingComboBoxes'. Either include them or remove the dependency array. If 'setLoadingComboBoxes' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint: public/components/datasources/components/manage/accelerations/create_accelerations_flyout/selectors/selector_helpers/load_databases.tsx#L69
React Hook useEffect has a missing dependency: 'stopDatabasesLoading'. Either include it or remove the dependency array
Lint: public/components/datasources/components/manage/accelerations/create_accelerations_flyout/selectors/selector_helpers/load_objects.tsx#L83
React Hook useEffect has missing dependencies: 'isLoading' and 'loadTables'. Either include them or remove the dependency array. If 'loadTables' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint: public/components/datasources/components/manage/accelerations/create_accelerations_flyout/selectors/selector_helpers/load_objects.tsx#L94
React Hook useEffect has a missing dependency: 'isLoading'. Either include it or remove the dependency array. You can also do a functional update 'setIsLoading(i => ...)' if you only need 'isLoading' in the 'setIsLoading' call
Lint: public/components/datasources/components/manage/accelerations/create_accelerations_flyout/selectors/selector_helpers/load_objects.tsx#L98
React Hook useEffect has missing dependencies: 'loadingComboBoxes' and 'setLoadingComboBoxes'. Either include them or remove the dependency array. If 'setLoadingComboBoxes' changes too often, find the parent component that defines it and wrap that definition in useCallback