* 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
* Refactor TopicMessages's store to redux/toolkit
* adding test cases to improve coverage
* fixing eslint error
* removing extra code
* Transform redux connect reducer and actions into toolkit slice. (#1883)
* integrate redux toolkit for connects
* uncomment test case
* remove unnecessary comment
* reduce duplication
* Implement code highlighting for smart filters (#1868)
* Implement code highlighting for smart filters
* delete unnecessary code
* fixing eslint problem
* fixing sonar code smells (#1826)
* fixing sonar code smells
* removing unnecessary change
* fixing some sonar code smell issues
* making requested changes
* Fix sonar badges in readme (#1906)
* fixing merge conflicts
Co-authored-by: Oleg Shur <workshur@gmail.com>
* Add positive notifications after some successful actions. (#1830)
* add some positive notifications after successful actions
* some improvements
* improve alerts reducer tests
* Fix test warnings (#1908)
* fix fetch mock warnings in brokers.spec.tsx
* use separate waitFor-s for fetch-mock call expects
* Persist show internal topics switch state (#1832)
* persist show internal topics switch state
* minor improvements in topics list tests
* prevent duplication in topic list test file
* fix seek type select border-radius and user-select (#1904)
* Refetch topics list to display the updated data (#1900)
* refetch topics list to display the updated data
* fixing sonar code smells (#1826)
* fixing sonar code smells
* removing unnecessary change
* fixing some sonar code smell issues
* making requested changes
* Fix sonar badges in readme (#1906)
Co-authored-by: Robert Azizbekyan <103438454+rAzizbekyan@users.noreply.github.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
* Show confirmation modal when clear messages is clicked in topics list (#1899)
* show confirmation modal when clear messages is clicked in topics list
* change variable name
* add missing dependencies
* use useModal hook for topics list modals
* display a human-readable error message for topic custom parameers value field (#1896)
* modify dependencies to fix partitions filter bug (#1901)
Co-authored-by: Arsen Simonyan <103444767+simonyandev@users.noreply.github.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
* Revert "Issue-1184: fix logo link and remove redundant path segment "ui" (#1658)"
This reverts commit b08e22915d.
* changing them dashboard logo from an anchor tag to a react-router dom link
* Dashboard element redirect to the same place
* Add Recreate topic button in to list of Topic and Details topic Overview
* Add reducer and update test
* update reducer test
* update Topic/Details test
* Table and TableColumn components, TableState and DataSource
* Table: Migrate topics table to new Table component
* fix module paths
* test for propertyLookup
* improve useTableState code
* fix folder name
* improve table ordering
Co-authored-by: Anton Zorin <zorii4@Antons-MacBook-Pro.local>
Co-authored-by: Sash Stepanyan <sstepanyan@provectus.com>
Co-authored-by: Sasha Stepanyan <100123785+sasunprov@users.noreply.github.com>
* smart filter creation
* fixing array deps warnings
* fixing array dep errors and infinite loop error
* fixing list item key issue
* adding tests for modals
* adding filterModal tests and fixing code smell in addFilter
* new test cases
* adding test cases
* adding test cases
* fixing code smell issue
* adding new test cases
* import fix
* minor code modifications AddFilter Testing
* minor code modifications FilterModal Testing
* adding AddEditFilterContainer Component for code to avoid code repetition initial
* adding AddEditFilterContainer Component for code to avoid code repetition
* adding AddEditFilterContainer Component moving the form validation and controlled components feature into the component
* adding AddEditFilterContainer Component minor code modifications + adding initial test file for AddEditFilterContainer component
* refactoring and minor modifications in the AddEditFilterContainer test files
* replace EditFilter body with the addEditContainer for general code structure
* Applying AddEditFilterContainer into the AddFilter component , minor EditFilter test typo fix.
* minor error messages view fix in the AddEditFilterContainer + adding testing in AddEditFilterContainer
* adding tests for AddEditFilterContainer component
* adding tests for AddEditFilterContainer component
* adding tests for AddFilter File
* Increasing the performance and the coverage of the tests in AddFilter
* Increasing the performance and the coverage of the tests in AddFilter to full capacity
* Removing the warnings from the AddFilter testing File
* Adding Test File To MessageContent styled file
* Adding Tests in the Filter Component
* Adding Tests in the Filter Component for Seek Selects
Co-authored-by: Mgrdich <mgotm13@gmail.com>
Co-authored-by: Mgrdich <46796009+Mgrdich@users.noreply.github.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
* got rid of react-hooks/exhaustive-deps errors - part 1
* got rid of react-hooks/exhaustive-deps errors in useSearch
* got rid of react-hooks/exhaustive-deps errors in Filters
* got rid of react-hooks/exhaustive-deps errors in ResetOffsets
* got rid of react-hooks/exhaustive-deps errors in Filters
* got rid of react-hooks/exhaustive-deps errors in Breadcrumbs
* got rid of react-hooks/exhaustive-deps errors in DynamicTextButton
* got rid of react-hooks/exhaustive-deps errors in useDataSaver
* got rid of react-hooks/exhaustive-deps errors in ResultRenderer
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>
* Make all labels Title Case in popup menus.
* Increased length of the sorting box to make the title readable like for 'Latest first' there.
* Update kafka-ui-react-app/src/components/common/Select/Select.styled.ts
Co-authored-by: Oleg Shur <workshur@gmail.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
* #992: hide 'Clear All Messages' button on topics which are not delete policy, as it's not supported by AdminClient
* #992 remove console.log and use type
* broker config refactoring and adding broker config check before topic deletion
* add TOPIC_DELETION feature, refactor KafkaService, add class for constants (Constants.java)
* annotation fixes and change TOPIC_DELETION check
* [issue-727] Disable delete button for a topic if deletion in restricted for this broker #727
* Rewrite to context
* remove code smells
* small fixes
Co-authored-by: marselakhmetov <makhmetov@provectus.com>
Co-authored-by: mbovtryuk <mbovtryuk@provectus.com>
Co-authored-by: Alexander <mr.afigitelniychuvak@gmail.com>
* [issues-357] - User should not be able to update/delete internal topics. Add confirmation for all delete/reset actions
* [issues-357] - User should not be able to update/delete internal topics. Add confirmation for all delete/reset actions
* [issues-357] - User should not be able to update/delete internal topics. Add confirmation for all delete/reset actions
* [issues-357] - User should not be able to update/delete internal topics. Add confirmation for all delete/reset actions
* [issues-357] - User should not be able to update/delete internal topics. Add confirmation for all delete/reset actions
* [issues-357] - User should not be able to update/delete
Co-authored-by: mbovtryuk <mbovtryuk@provectus.com>