* 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>
* 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
* Removed two enzyme test with testing-library tests
* Got rid of enzyme and wrapper in List.spec.tsx
* Got rid of enzyme and wrapper in ListItem.spec.tsx
* Got rid of enzyme and wrapper in BytesFormatted.spec.tsx
* Got rid of enzyme and wrapper in ConfirmationModal.spec.tsx
* Got rid of enzyme and wrapper in Tabs.spec.tsx
* Got rid of enzyme and wrapper in Actions.spec.tsx
* Got rid of enzyme and wrapper in ListItem.spec.tsx
* Got rid of enzyme and wrapper in FiltersContainer.spec.tsx
* Got rid of enzyme and wrapper in ListItem.spec.tsx
* Got rid of Enzyme in a two more files
* Got rid of Enzyme in testHelpers.tsx
* Got rid of snapshots
* Three wrappers replaced with render from testHelpers
* Testing id replaced
* Fixed linter warnings
* Got rid of testIds
* Got rid of unnecessary containers and ...queryBy functions
* Got rid of dublicated ...getByRole functions
* Got rid of dublicated more than two times ...getByText functions
* Got rid of unused imports
* Got rid of unused import
* Desciptions fixed
* Got rid of providers
* Got rid of unused imports
* package-lock.json reverted
* Refactor Actions component specs
* Get rid of TestRouterWrapper
* Refactor specs
* Refactor specs
* linting
Co-authored-by: k.morozov <k.morozov@ffin.ru>
Co-authored-by: lazzy-panda <grifx.design@gmail.com>
* fixing Message addition order during Live tailing
* fixing Message addition order during Live tailing adding tests suites
* minor changes in the function name for prepending addTopics during live mode
* delete minor code repetition
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
* Implementing Context to the Topic messages pages
* Using TopicContext in the Topics Topic MessageTable component
* Using TopicContext variable in the Filters component
* Fixing the Ordering of the Live mode Topic messaging
* Fixing isLive parameter bug during page refresh
* Minor code modification in Topic Filter Message page
* Implement the correct seekType during live mode in url as well as in api call
* Add Test cases to Messages and refactor eventSource Mock
* Add initial Testing file for messages table
* improve the MessagesTable test File
* improve the MessagesTable test File + Filter Test File
* improve the MessagesTable test File
* Change the function name toggleSeekDirection to changeSeekDirection
* change the name of the test suites to be more declarative
* Display the table progress bar in live mode only when no data is fetched
* Add Pagination to the ConsumerGroups Page
* Consumer Groups test suites minor code modifications
* Consumer Groups test Search results code
* Consumer Groups test Search with Api request
* Consumer Groups Search Logic
* Adding Consumer Groups Paged Reducer and action creator and get Selector logic
* Adding fetchConsumerGroupsPaged to the ConsumerGroups Paged
* Code refactoring and adding general fixtures For Consumer Group List
* Adding Container Redux Connect structure to the List of Consumer Groups
* Adding Selectors and action creators for orderBy and Sort Order
* Adding All Necessary components to render the smart Tables in Consumer Groups
* Adding SmartTable to the Consumer Groups page + fixing allSelectable Checkbox bug in the SmartTable Component
* Primitive Tests for ConsumerGroupsTableCells to test rendering and mockup the component and table data
* Finalizing Tests for consumer Groups table , minor code bug fix in the Consumer Groups table structure
* Adding Order By to the Consumer Groups Table , View part
* Adding order By to the Consumer Groups pages
* Adding order By to the Consumer Groups pages with SortBy functionality
* Code refactor in the ConsumerGroups component and its related tests
* Code refactor in the ConsumerGroups component and its related tests
* adding Tests in the Consumer Groups List
* Fixing the Sorting styling Bug in the Table order
* Adding additional Tests to the ConsumerGroups List tests
* Adding additional Tests for TableHeaderCell styled component
* Deleting obsolete codes from the consumer Groups Slice + minor table header test type fix
* Adding Tests for the consumerGroupSlice
* Adding Tests for the consumerGroupSlice
* Consumer Groups table minor code modifications
* Minor Code bug fixes in the SmartTable Component
* 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>
* sse init
* sse refactoring
* checkstyle fix
* checkstyle fix
* refactor
* refactor
* api spec changes
* ReactiveAdminClient toMono fix
* moved to ksql/v2 request
* Updates Result renderer and Query SSE bugs
* Result renderer works
* Corretcly renders table and errors
* Changes the way getFormattedError formats message for error alert
* Adds common comp Header, Adds new component TableTitle, Changes PageHeading, LatestVersionItem and TableTitle to use Header comp, Adds error handling for KSQL SSE
* Changes functions to useCallbacks
* WIP: Fixes linter issue
* fixes
* WIP: Disables controls on request
* fixes
* WIP: Disabled editors look disabled, Updates snapshot
* WIP: Removes codesmell
* fixes
* fixes
* WIP: Adds eslint rules for react hooks, Fixes bug in ksqlDb query
* WIP: Fixes error with early return
* WIP: run to test if it builds
* WIP: Fixes error formating
* WIP: Fixes error message
* WIP: better error
* WIP: Fixes validation issues and now we can submit form with CMD + ENTER
* WIP: Initial tests
* WIP: More test for query
* WIP: rewrite to make things simpler
* WIP: Tests done
* WIP: More tests
* small improvement
* Test if sonar works
* Adds cases for TableRenderer
* Fixes test fro table renderer
* Changes sonar properties
* Adds cases for QueryForm.spec.tsx
* Adds cases to QueryForm.spec.tsx
* Updates Query.spec.tsx
* Adds small eventsource mock
* Adds test to QueryForm.spec.tsx
* Updates Query.spec.tsx
* Better error with empty response
Co-authored-by: Ekaterina Petrova <epetrova@provectus.com>
Co-authored-by: iliax <ikuramshin@provectus.com>
Co-authored-by: Ilya Kuramshin <ilia-2k@rambler.ru>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: Mgrdich <mgotm13@gmail.com>
Co-authored-by: Mgrdich <46796009+Mgrdich@users.noreply.github.com>
* Removes regex from compareVersions
* Replaces regexes in reducers
* Rewrite Version and compareVersions to expect undefined
* Adds safeguard against strange cases
* Fixes regression from another PR
Co-authored-by: Damir Abdulganiev <dabdulganiev@provectus.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
* Fix#973
* Fix topic edition errors
Fixed two errors
1. The error with cleanup policy. Since some of the custom params (like, cleanup policy) are moved to the general form, we were not supposed to add them to the custom params section. Added filtration for this.
2. Fixed the variable name for Min In Sync Replicas to match the name in the contract
Co-authored-by: Alexander <mr.afigitelniychuvak@gmail.com>