Damir Abdulganiev
2d5a8c024a
[ Fixes #1391 ] Incorrect topic message content type (avro -> json) ( #1422 )
...
* 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>
2022-01-19 17:45:50 +03:00
Damir Abdulganiev
7789523613
[ Fixes #1213 ] Topic Creation: Inconsistency in Deleted parameters ( #1395 )
...
* 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>
2022-01-19 17:34:12 +03:00
Oleg Shur
d0761e2040
Fix schema versions order ( #1413 )
2022-01-19 17:24:12 +03:00
NelyDavtyan
3291b85838
clusters"s table styles was fixed, added hyphens to breadcrumbs, URP … ( #1384 )
...
* 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
2022-01-19 16:14:47 +04:00
NelyDavtyan
7e3c66b197
fixing empty screen issue when opening edit schema for proto type ( #1411 )
...
* fixing empty screen issue when opening edit schema for proto type
* making requested changes
2022-01-19 15:41:19 +04:00
Damir Abdulganiev
cdc929add7
[ Fixes #1212 ] Confusing sorting UI in Topics ( #1389 )
...
* Topics: Updated tests for TableHeaderCell and recreated snapshots
* Topics: Updated snapshot
* Topics: Added more tests to verify that TableHeaderCell is rendering correctly
* Update kafka-ui-react-app/src/components/common/table/TableHeaderCell/TableHeaderCell.tsx
Co-authored-by: Oleg Shur <workshur@gmail.com>
* Update kafka-ui-react-app/src/components/common/table/TableHeaderCell/TableHeaderCell.tsx
Co-authored-by: Oleg Shur <workshur@gmail.com>
* Updates snapshots
* Updates snapshot
* Updates TableHeaderCell test to use theme object instead of hardcoded values
* got rid of codesmells
* Adds more tests to raise coverage
* cleanup
* Removes orderBy, orderValue, otherOrderValue from test
* Renames sortIconTitle -> sortIconTitleValue
* Renames th -> columnheader in test
* Renames title -> testTitle, previewText -> testPreviewText, sortIconTitleValue -> sortIconTitle
* Renames titleNode -> title, previewNode -> preview
Co-authored-by: Damir Abdulganiev <ehave@Damirs-MacBook-Pro.local>
Co-authored-by: Damir Abdulganiev <dabdulganiev@provectus.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-01-19 12:43:00 +03:00
Cory Locklear
439d41da0b
Fix typos ( #1409 )
2022-01-19 02:46:17 +03:00
NelyDavtyan
bdf01e4e69
Updated topic URP status color. ( #1336 )
...
* 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.
2022-01-18 19:04:28 +04:00
NelyDavtyan
a4fce3cd81
Added readonly status for the cluster. ( #1364 )
...
* Added readonly status for the cluster.
* Classes element changed to styled components.
* removed unnecessary className from interface.
2022-01-17 18:29:41 +04:00
Ekaterina Petrova
b6c876275f
Added GlobalSchemaSelector tests ( #1376 )
...
* Added GlobalSchemaSelector tests
* fix schema selection assertion
Co-authored-by: Ekaterina Petrova <epetrova@provectus.com>
2022-01-17 16:22:50 +03:00
Ekaterina Petrova
c732862fd0
Empty table for brokers & change tag styles ( #1371 )
...
Co-authored-by: Ekaterina Petrova <epetrova@provectus.com>
2022-01-13 11:13:39 +03:00
Oleg Shur
613348faa2
[ISSUE-1189] Refactor Schemas store ( #1327 )
...
* [ISSUE-1189] Refactor Schemas store
* Design review fix (#1341 )
* Design review fix init
* changed pagination tests, refactored styles, fixed topicform
* redesign fix code cleanup
* styled select position
* styled select fix bracket
* resolved code review
* moved latest version styles to theme
* fixed queryByRole in pagination tests
Co-authored-by: Ekaterina Petrova <epetrova@provectus.com>
Co-authored-by: Oleg Shuralev <workshur@gmail.com>
* Inconsistency in updating the global compatibility level (drop down menu) (#1363 )
* Fix select in schema registry
* refactored GlobalSchemaSelector & ListItem
* Moved list & list item tests to react-testing-library
* Added some tests for GlobalSchemaSelector
* Added props test
* Specs
Co-authored-by: Ekaterina Petrova <epetrova@provectus.com>
Co-authored-by: Oleg Shuralev <workshur@gmail.com>
* Feedback
* Cleanup
Co-authored-by: Ekaterina Petrova <32833172+Hurenka@users.noreply.github.com>
Co-authored-by: Ekaterina Petrova <epetrova@provectus.com>
2022-01-11 13:32:32 +03:00
NelyDavtyan
b5aa86cf4c
Added a popup warning about deleting topic messages. ( #1324 )
...
* Added a popup warning about deleting topic messages.
* Added test for warning popup.
* Small fix.
2022-01-10 16:34:36 +03:00
Roman Zabaluev
32a2e753b0
Allow producing messages with an empty key/value
...
* [ISSUE 1046] UI allows to submit message with empty key & value (#1264 )
* [ISSUE 1046] UI allows to submit message with empty key & value
* Update Contract
(cherry picked from commit 4b730eb288
)
* Backend fix
* Refactoring
* Fix nullable & checkstyle
* Fix jsonnullable get
* Remove unnecessary check and add a test
Co-authored-by: Oleg Shur <workshur@gmail.com>
2021-12-24 19:00:27 +03:00
NelyDavtyan
5a487e437d
Issues/1265 ( #1303 )
...
* 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>
2021-12-24 18:16:12 +04:00
NelyDavtyan
25d987eb62
Disabled negative values. ( #1312 )
...
* Disabled negative values.
* Used hook-form property instead of Object method.
2021-12-23 22:01:22 +03:00
Oleg Shur
6351361c38
[ISSUE-1210] Change of the Global Comp Level updates the list of schemas ( #1307 )
2021-12-21 22:51:18 +03:00
Roman Zabaluev
fd83f190f5
Revert "[ISSUE 1046] UI allows to submit message with empty key & value ( #1264 )"
...
This reverts commit 4b730eb288
.
2021-12-18 06:01:34 +03:00
Oleg Shur
4b730eb288
[ISSUE 1046] UI allows to submit message with empty key & value ( #1264 )
...
* [ISSUE 1046] UI allows to submit message with empty key & value
* Update Contract
2021-12-17 20:44:13 +03:00
Oleg Shur
816e30d6b2
Linting ( #1271 )
2021-12-17 20:14:48 +03:00
Oleg Shur
a170cce4fa
Fix specs ( #1267 )
2021-12-17 12:59:58 +03:00
NelyDavtyan
2d40c3eac1
Issues/1228 Increased length of the sorting box to make the title readable like for 'Latest first' there, make all labels Title Case in popup menus. ( #1263 )
...
* 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>
2021-12-17 11:46:27 +04:00
NelyDavtyan
65d648419c
Fixed issue of partition shrink of the drop-down list in the search bar. ( #1259 )
2021-12-16 14:41:45 +03:00
Oleg Shur
7e5e8d9268
Redesign ( #1045 )
...
* Refactor topic creation
* Remove unused thunk
* Remove excess interface
* Add New page snapshot test
* Refactor new component tests
* Remove excess function
* Add typography variables and classes
* Add font families
* Implement custom button
* Get rid of enums
* Add theme
* Separate styles from logic
* Feature/layout redesign (#862 )
* Refactor pages general layout
* Refactor breadcrumbs
* Refactor brokers metrics
* Fix toggle position
Co-authored-by: azat.belgibayev <azat.belgibayev@almatech.dev>
* add redesigned new menu item
* remove styles from theme
* update tests
* fix local and app wide styles
* add tests
* Add theme
* Add types to the styles
* update menu item prop prefixes, minor fixes
* add theme styles, move interface, update test, snapshot
* add optional styling
* add isActive props, propagate component, update tests
* remove button
* Revert "remove button"
This reverts commit 4a9c87d8d8
.
* add tests for styled button
* remove ternary operator from style
* import styled from lib/
* Custom Inputs (#890 )
* Implement and test custom input
* Custom select (#896 )
* Implement custom select
* Fix Metrics component (#914 )
* Add styled table header cell component (#901 )
* Redesign menu (#918 )
* Finish styling menu
* Styled Table
* Fix styled table
* Allow custom buttons work as links
* Restyle Breadcrumb
* Topics list (#946 )
* Redesign pagination
* Fix styled components usage
* Topic messages (#959 )
* Topic Consumer Groups
* Message settings
* Finish styling indicators
* Style the dashboard
* Finish with the topics page
* Style consumer groups list
* Restyle the consumer group details
* Style alerts
* Style confirmation modal
* Update DangerZone.spec.tsx
* redesign schema registry
* Add Topic details snapshot
* Style Page Loader
* Style connectors list
* Style KSQL
* Remove all the classes from the styled components (#1049 )
* Redesign topic form (#1051 )
* Redesign connect details (#1053 )
* Update types for styled-components (#1054 )
* Redesign some minor forms in the app (#1062 )
* Fix alert styles
* Get rid of bulma/layout styles
* Fix form styling
* Custom Switch component
* fix border-radius property of metrick widgets
* get rid of warnings in tests
* use jest-styled-components
* cleanup
* get rid of some bulma modules
* refactor metrics component
* get rid of JSON-tree. Json Editor redesign
* update proxy config
* Refactor Alerts component (#1124 )
* Refactor tests (#1129 )
* App layout update (#1127 )
* ‘App-layout-update’
* toBeNull changed to toBeInDocument
* scss file removed
* App navbar layout update
* navbar test
* code smells local refactoring
* StyledMenuItem code smells refactoring
* StyledClusterTab code smells refactoring
* ConfirmationModalWrapper code smells refactoring
* input icon and label code smells refactoring
* navburger displaying fixed
* Get rid of classes
* fix code smells
* refactor styles
* refactor styles
Co-authored-by: Oleg Shuralev <workshur@gmail.com>
* Refactored Cluster nav (#1147 )
* Update caniuse
* refactor Nav component
* Update sonars config
* refactor Nav component + specs
* Specs
* Feature/code smells removing (#1148 )
* StyledSelect code smell refactoring
* SecondaryTabs code smell refactoring
* TextareaStyled code smell refactoring
* TableStyled code smell refactoring
* StyledTableHeaderCell code smell refactoring
* Add custom render with theme provider wrapper for testing lib (#1152 )
* Added cleanupPolicy to topic details. Closes #999 (#1067 )
* Rename "latest first" to "oldest first"
* Switch to redux-toolkit. Refactoring (#1171 )
* Switch to redux-toolkit
* Fix #1207 (cherry-pick)
* refactor metrics (#1253 )
Co-authored-by: Azat Belgibayev <belg.azat@gmail.com>
Co-authored-by: Alexander <mr.afigitelniychuvak@gmail.com>
Co-authored-by: azat.belgibayev <azat.belgibayev@almatech.dev>
Co-authored-by: sergei <scheremnov@provectus.com>
Co-authored-by: Alexander Krivonosov <31561808+GneyHabub@users.noreply.github.com>
Co-authored-by: Alina Miryuk <alinamiryuk@mail.ru>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2021-12-15 12:10:36 +03:00
Sergii Petrychenko
f5d421d9f0
Fix wrong connectors counter
...
* Changed connect counter
* Fix linter
Co-authored-by: Sergii Petrychenko <spetrichenko@provectus.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2021-12-14 16:12:34 +03:00
Oleg Shur
7213bbdf7a
Get rid of node-sass. Ability to run UI using proxy( #1099 )
...
* Get rid of node-sass
* Add an ability to run app using proxy
2021-11-17 12:57:38 +03:00
Roman Zabaluev
7603199e53
Fix 4w time to retain selector value
2021-11-09 15:09:09 +03:00
Alexander Krivonosov
45a2fc2b47
Fix topics pagination ( #1041 )
...
* Fix topics search
2021-11-01 17:51:49 +03:00
Si Tang
c986bc178c
Sanitize credentials in Kafka Connector configs
...
* #980 : sanitize credentials in Kafka Connector configs. Add a warning to edit page when people try to edit configs with obfuscated field
* #980 : make sanitizer patterns configurable
* #980 fix using stream pattern
Co-authored-by: Si Tang <si@indeed.com>
2021-10-30 13:42:08 +03:00
Si Tang
7b62af1fa2
Hide 'Clear All Messages' button on topics with non-delete policy
...
* #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
2021-10-27 15:10:57 +03:00
yamsroun
40fa5e63dc
Typo fixed (Gropup -> Group)
2021-10-27 13:04:36 +03:00
Alexander Krivonosov
cfa4e11506
Skip schema validation if type is string
2021-10-26 14:39:55 +03:00
Alexander Krivonosov
9eb96dc59a
Fix custom params list after removing ( #1011 )
2021-10-25 15:22:48 +03:00
Roman Zabaluev
77226a2144
Support "compact,delete" cleanup policy ( #983 )
...
* 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>
2021-10-25 13:40:50 +03:00
Stuart Hinson
cf3708a3e1
Sort topic params ( #994 )
2021-10-25 13:36:52 +03:00
Si Tang
547863fdb2
Fixed protobuf schema rendering
...
Fixed the duplicate key problem on schema list
Co-authored-by: Si Tang <si@indeed.com>
2021-10-15 16:16:45 +03:00
Si Tang
ad19571eca
Make schema definitions collapsible
...
and set max lines for displaying schemas (#905 ) (#963 )
Co-authored-by: Si Tang <si@indeed.com>
2021-10-13 15:54:43 +03:00
Alexander Krivonosov
e8fb5d3241
Fix message validation ( #957 )
2021-10-11 13:33:55 +03:00
Marat Chukmarov
d5289e1d13
[hotfix]: typo in consumer groups error message ( #952 )
...
Co-authored-by: Марат Чукмаров <mchukmarov@infotech.team>
2021-10-09 15:31:34 +03:00
Alexander Krivonosov
fe0294798c
Update Filters.tsx ( #913 )
2021-09-29 12:25:17 +03:00
Alexander Krivonosov
0a2316c515
Fix consumer groups page ( #891 )
2021-09-18 09:40:19 +03:00
Alexander Krivonosov
315b6ed6d5
Use json-schema-faker and ajv ( #883 )
2021-09-16 13:53:31 +03:00
Alexander Krivonosov
f6b747f8cc
Update selectors.ts ( #881 )
2021-09-16 13:53:05 +03:00
Alexander Krivonosov
68cad6c76c
Fix readonly cluster error ( #859 )
2021-09-08 21:54:11 +03:00
Alexander Krivonosov
de245e8cc7
Fix redirect after the topic deletion ( #842 )
...
* Implement event canceling
* remove unnecessary API call
* Remove the codesmell
2021-09-02 11:16:24 +03:00
Alexander Krivonosov
7643825059
Clear topic messages locally
2021-08-30 12:51:07 +03:00
Alexander Krivonosov
de33c13dc8
Redirect right after a message is sent ( #831 )
2021-08-30 12:50:42 +03:00
Alexander Krivonosov
5302c3e47f
Fix the redirect after topic deletion ( #820 )
...
* Move redirect to a hook
2021-08-27 11:29:51 +03:00
Azat Belgibayev
76af95ed78
[Draft] Refactored topic creation form state management ( #802 )
...
* Refactor topic creation
* Remove unused thunk
* Remove excess interface
* Add New page snapshot test
* Refactor new component tests
* Remove excess function
2021-08-25 15:58:18 +03:00
Marsel
5c563de4f1
Issue#727 disable deleting ( #768 )
...
* 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>
2021-08-25 09:43:55 +03:00