Skip to content

Conversation

@Mgrdich
Copy link
Contributor

@Mgrdich Mgrdich commented May 27, 2022

  • Breaking change? (if so, please describe the impact and migration path for existing application instances)

What changes did you make? (Give an overview)
Change React Router v6

Is there anything you'd like reviewers to focus on?
Structure + Router navigation

How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

  • No need to
  • Manually (please, describe, if necessary)
  • Unit checks
  • Integration checks
  • Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
  • My changes generate no new warnings (e.g. Sonar is happy)
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged

Check out Contributing and Code of Conduct

A picture of a cute animal (not mandatory but encouraged)

@Mgrdich Mgrdich self-assigned this May 27, 2022
@Mgrdich Mgrdich linked an issue May 27, 2022 that may be closed by this pull request
@Mgrdich Mgrdich requested a review from workshur May 27, 2022 10:27
@Mgrdich Mgrdich added type/enhancement En enhancement to an already existing feature scope/frontend labels May 27, 2022
@Mgrdich Mgrdich force-pushed the issues/1961_react_router_migration branch 5 times, most recently from 5146aee to fc1689c Compare May 30, 2022 10:31
@Mgrdich Mgrdich marked this pull request as ready for review May 30, 2022 11:35
@Mgrdich Mgrdich requested a review from a team as a code owner May 30, 2022 11:35
@Mgrdich Mgrdich force-pushed the issues/1961_react_router_migration branch from 7e176d3 to 528154d Compare May 31, 2022 07:40
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

94.5% 94.5% Coverage
0.0% 0.0% Duplication

@Haarolean Haarolean added type/refactoring type/chore Boring stuff, could be refactoring or tech debt and removed type/enhancement En enhancement to an already existing feature labels May 31, 2022
@workshur workshur merged commit 71ac163 into master May 31, 2022
@workshur workshur deleted the issues/1961_react_router_migration branch May 31, 2022 09:33
javalover123 pushed a commit to javalover123/kafka-ui that referenced this pull request Dec 7, 2022
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/frontend type/chore Boring stuff, could be refactoring or tech debt type/refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade react-router-dom to v6

4 participants