* 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>
* fix URP color for topcis and brokers
* brokers ISR fix
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: Alla Golosenko <92585878+agolosen@users.noreply.github.com>
* got rid of enzyme in Dropdown tests
* got rid of enzyme in DynamicTextButton tests
* got rid of enzyme in Search tests
* Revert "got rid of enzyme in Search tests"
This reverts commit cd2c5b10ab.
* got rid of enzyme in Search tests
* got rid of enzyme in SQLEditor tests
* got rid of enzyme in Connect tests
* got rid of enzyme in Connect/Details tests
* got rid of enzyme in Topics\Topic tests
* got rid of ThemeProvider in render function
* fixed redundant
* used userEvent instead of fireEvent
* fixed snapshot tests
* used screen
* rise testing-library approach
* got rid of snapshot in Search component test
* changed titles of Search component test
* fixed topics details test
* component Utils test covered
* component Topic test covered
* Improved test coverage
* edited ConfigListItem component
* Resolve feedback's comment
* made correct description in test case title
- 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>
* Changes Default value of rentention.bytes
* Adds test for TopicForm
* Removes bug from Topic/New test
* Updates Topic/New test
* Adds accessible names for TopicForm
* Add id's to Select component
* Removed sass modules not used in project
* get rid Icon from Bulma
* Get rid of Bulma's classes 'Elements'.
* resoved comments from review
* resolved Code Smells problem
* refactoring TableHeader styles
* merge master
Co-authored-by: Oleg Shur <workshur@gmail.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>
* fixing cannot create a topic issue,added some default values to pass validation
* fixed default values in other forms
Co-authored-by: Ekaterina Petrova <epetrova@provectus.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>
* clusters"s table styles was fixed, added hyphens to breadcrumbs, URP is not abbreviated and ISR is abbreviated already and "f0" was changed to 0
* styled component name for cluster table was changed
* adding tests for clusterwidget cells, adding title for ISR and bringing back changes in breadcrumb regarding hyphens
* fixing clusterWidget test
* fixing double scroll issue inside Topics > Messages > Content for large message content
* bring back last changes
* changing styles for scrollbar
* fixing protobuf schema to be formatted correctly
* makeing requested changes, JSONEditor renamed to Editor,fixed schema edit and versions
* rename JSONViewer to EditorViewer
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
* Updates MessageContent to use keyFormat and valueFormat data from API
* Changes imports to * from S
* Adds tests verify keyFormat and contentFormat renders correctly
Co-authored-by: Damir Abdulganiev <dabdulganiev@provectus.com>
* CustomParams: Fixed condition error. Now existingFields updates correctly when one of CustomParamsFields is deleted
* Resolves bug when you select option and after select another - existingFields do not update correctly
* CustomParams fields update correctly
* Increases coverage
Co-authored-by: Damir Abdulganiev <dabdulganiev@provectus.com>
* clusters"s table styles was fixed, added hyphens to breadcrumbs, URP is not abbreviated and ISR is abbreviated already and "f0" was changed to 0
* styled component name for cluster table was changed
* adding tests for clusterwidget cells, adding title for ISR and bringing back changes in breadcrumb regarding hyphens
* fixing clusterWidget test
* fixing double scroll issue inside Topics > Messages > Content for large message content
* bring back last changes
* changing styles for scrollbar
* added required changes from reviewers and removed enzyme from clusterWidgets test
* Updated topic URP status color.
* Small fix.
* Added test for circular-alert.
* Added test for topic detail overview.
* Fixed name.
* Updated test for topic detail overview.
* Make all labels Title Case in popup menus.
* Increased length of the sorting box to make the title readable like for 'Latest first' there.
* Disabled 0 and negative values in Topic Creation redesign.
* Changed consumer, connect labels status colors.
* Added test for consumer-list
* Update kafka-ui-react-app/src/components/Brokers/Brokers.tsx
Co-authored-by: Oleg Shur <workshur@gmail.com>
* Fixed warnings.
* Added test for customer group list.
* Added an interface to the object.
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
* 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>