* fixed All warnings whit Act function in testing library
* added act functions as described in the testing library documentation
* removed 'return' from renderComponents
Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
* Add warning message for Danger zone in case of editing the Topic #2534
* Used existing palette color on warning message for Danger zone in case of editing the Topic #2534
* Update kafka-ui-react-app/src/components/Topics/Topic/Edit/DangerZone/DangerZone.tsx
Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
* 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
* WIP: creating topicSlice
* reformating reducer into toolkit slice and fixed tests
* removing unnecessary lines
* removing dismiss alert action and tests for actions
* removing unnecessary code
* adding tests for selectors
* adding test case for new topics
* adding test cases for topic reducer when fulfilled
* removing unnecessary code
* adding test cases for asyncthunks to increase coverage
* adding new test cases to cover topicSlice
* adding clear messsages fulfilled test case
* removing unnecessary code
* Add Tests to Topics Lists Page for TopicsTableCells
* Delete obsolete ListItems and its test suites from topics.
* Add tests suites for the new Topic creation
* Add tests suites for TopicForm styled components
* Minor code modifications in the CustomParamField test file
* Minor code modifications in the CustomParams test file
* Minor code modifications in the Topic folder
* Add test suites for Topic Edit Page + minor modifications in the DangerZone test suite
* Add tests suites for Topic Edit page
* Add tests suites for Topic Edit page
* Add tests suites for Topic Edit page
* Add tests suites for DangerZone and validation
* Add tests suites for DangerZone
* Add tests suites for DangerZone
* Add tests suites to SendMessage
* increase the tests coverage for validateMessage
* minor changes in the SendMessage and validateMessage function
* add alert message suggestion in the SendMessage
* add alert message suggestion in the SendMessage
* Total Coverage of Overview test suites
* increase tests suite coverage in the Filters styles
* increase tests suite coverage in the Filters styles + Messages Page
* improve the test coverage of the Message Component
* improve the test coverage of the Message Component
* improve the test coverage of the MessagesTable Component
* improve the test coverage of the MessagesTable Component
* improve the test coverage of the MessagesTable Component
* Add Tests for Topic Page
* Change to react testing library from enzyme Topics list
* optimizing List elements Tests suites
* delete necessary file
* minor bug fix in messages due to the rebase
* minor semantic changes in the Test suites
- Fixes No originally selected custom parameters in topic's edit tab #1534
- Adds test case for CustomParams to verify fix
- Updates CustomParamsField to use predefined value
- Renames INDEX_PREFIX to TOPIC_CUSTOM_PARAMS_PREFIX and moves it to constants file
- Removes unused configs from Topic/Edit component
- Rewrites DangerZone styled's
- Rewrites DangerZone tests
- Adds margin to DangerZone to match TopicForm width
- Adds simple Topic/Edit test
- Changes sonar-project.properties file's sonar.exclusions to correctly ignore paths
Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
* Get rid of direct use of colors map
* Edited direct using color map in styled component
* Resolved conflicts, refactored Dropdown component
* resolved feedback
* refactoring
Co-authored-by: Oleg Shur <workshur@gmail.com>