
* remove withRouter HOC from FiltersContainer * remove withRouter HOC from Topics DetailsContainer * remove withRouter HOC from Topics TopicsConsumerGroupsContainer * withRouter HOC from Topics TopicsConsumerGroupsContainer * minor code refactor in the Details spec * Routes code modifications to refactor strings representation to functions * Settings and TopicsConsumer removal of HOC with Router * Remove withRouter HOC from Overview file * Remove withRouter HOC from Edit file * replace Router path with functions instead of strings * delete CustomParamsContainer and use the simple component in the TopicForm * remove HOC from DangerZone container * Remove withRouter HOC from Connect pages like Config , Overview , Tasks * Remove withRouter HOC from Connect pages like Actions, Details, Edit, New * Refactor Kafka Connect Codes * Refactor Topics pages * Remove HOC from Diff component and minor code refactor * Route component migration into children instead of renderProps or component param in App Component * Route component migration into children instead of renderProps or component param in Cluster Component * Route component migration into children instead of renderProps or component param in Topics Component * Route component migration into children instead of renderProps or component param in Topic Component * Route component migration into children instead of renderProps or component param in Topic Component * minor bug fix in the Overview selector spread * change Router from component Render to child render in ConsumerGroups page * change Router from component Render to child render in Schemas page * change Router from component Render to child render in KsqlDb page * change Router from component Render to child render in Connect page * change Router from component Render to child render in Connect Details page * Overview Details styling code modifications * All written path to paths with functions * Route Parameters code fix with functions and params with variables * Updating BreadCrumb Route * Refactor Redirects * WIP React Router v6 migration * Remove unused imports from the file * Make KsqlDb pages work with relative Routes * WIP Make Connect pages work and fix the Schema page testing problem * transforming consumer groups into relative path router * Transform Topics pages into relative routes * Transform Topic pages into relative routes * Minor changes in Connect and KsqlDb test suites relative routes * Minor changes in Connect and KsqlDb test suites relative routes * change the Details into relative Routes * Topics List naviagtion and caching issue fixed in tests suites * Topic New Naviagation issue fix + tests suites * Details navigate migrating into relative paths * Send Message Submit Naviagttion with tests suites * Topic Edit pages with working routes navigation * Topic Details and ResetOffsets Pages tests suites and navigations * Messages Table Tests suites * BreadCrumbs Routes fixes * ClusterMenu and Links styling minor code modifications * ClusterMenu and Links styling minor code modifications * Minor Code modifications * Fix Lintter Problems * fix Code Smells * create custom useParams hook * Adding Path tests * minor code refactors * Fix the Button Component redundant Props + transforming routes to relative * Fix linter issues
28 lines
753 B
TypeScript
28 lines
753 B
TypeScript
import { connect } from 'react-redux';
|
|
import { RootState } from 'redux/interfaces';
|
|
import {
|
|
fetchConnector,
|
|
fetchConnectorTasks,
|
|
} from 'redux/reducers/connect/connectSlice';
|
|
import {
|
|
getIsConnectorFetching,
|
|
getAreConnectorTasksFetching,
|
|
getConnector,
|
|
getConnectorTasks,
|
|
} from 'redux/reducers/connect/selectors';
|
|
|
|
import Details from './Details';
|
|
|
|
const mapStateToProps = (state: RootState) => ({
|
|
isConnectorFetching: getIsConnectorFetching(state),
|
|
connector: getConnector(state),
|
|
areTasksFetching: getAreConnectorTasksFetching(state),
|
|
tasks: getConnectorTasks(state),
|
|
});
|
|
|
|
const mapDispatchToProps = {
|
|
fetchConnector,
|
|
fetchTasks: fetchConnectorTasks,
|
|
};
|
|
|
|
export default connect(mapStateToProps, mapDispatchToProps)(Details);
|