Zorii4
00bac4eded
[ISSUE-1533] Update visible list in dropdown selector ( #1540 )
...
* Update visible list in dropdown select selector
* refactoring
* changed horizontal scrollbar
Co-authored-by: Anton Zorin <zorii4@Antons-MacBook-Pro.local>
2022-02-04 15:22:52 +03:00
Zorii4
0b5f9283d6
fixed Code Smells from PR 1494 ( #1536 )
...
Co-authored-by: Anton Zorin <zorii4@Antons-MacBook-Pro.local>
Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-02-02 16:04:27 +03:00
Damir Abdulganiev
982d29709b
[ Fixes #1510 ] UI, Critical: retention.bytes parameter set to 0 ( #1514 )
...
* 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
2022-02-01 17:08:46 +03:00
Damir Abdulganiev
4390923e48
[ Fixes #1520 ] Too short visible list for Schema compatibility level selector ( #1524 )
...
* Updates Select styles to always show scrollbar on webkit
Co-authored-by: Damir Abdulganiev <dabdulganiev@provectus.com>
2022-02-01 16:35:42 +03:00
Zorii4
10e6160eaf
[ISSUE 1408] Get rid of Bulma's classes 'Elements'. ( #1494 )
...
* 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>
2022-01-31 15:20:59 +03:00
ValentinPrischepa
540b8eb79b
Schema registry pagination and search
...
* [ISSUE-1191, ISSUE-1208] Implemented search and pagination for schema registry overview page.
* [ISSUE-1191, ISSUE-1208] Implemented search and pagination for schema registry overview page.
* [ISSUE-1191, ISSUE-1208] Implemented search and pagination for schema registry overview page.
* [ISSUE-1191, ISSUE-1208] fixed Checkstyle violation issue.
* WIP: Fixes some frontend issues just to build frontend
* WIP: Fixes fronted just to build it
* WIP: Fixes frontend to build it
* WIP: Schemas tests are failing
* WIP: List tests work
* WIP: Details test work
* WIP: Updates tests
* WIP: Fixes lint errors and comments
* WIP: Changes usePagination, some tests have warns
* WIP: Refreshes with query string works correctly
* cleanup
* WIP: cleanup
* WIP: cleanup
* WIP: Removes ThemeProvider from test as render function uses ThemeProvider
* WIP: Pagination + Search works correcly
* WIP: Cleanup
* WIP: Cleanup
* WIP: Cleanup
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: Damir Abdulganiev <dabdulganiev@provectus.com>
Co-authored-by: Damir Abdulganiev <damupka@gmail.com>
2022-01-31 13:24:39 +03:00
Zorii4
c116c844bb
[ISSUE 1406] Get rid of direct use of colors map. Refactoring.
...
* 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>
2022-01-25 18:10:02 +03:00
Azat Belgibayev
e569e46a8a
Refactor breadcrumbs params detection ( #1394 )
...
Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-01-25 12:01:37 +03:00
Dekshut
9446d9c39d
[ Fixes #1410 ] Edited using colors in styled components using our Theme ( #1442 )
...
* Edited using colors in syled components
* updated snapshots
* updated snapshots
* edited stylistic mistake
Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-01-22 15:49:41 +02:00
dependabot[bot]
e2b63fcec2
Bump eslint-config-airbnb-typescript from 12.3.1 to 14.0.2 in /kafka-ui-react-app ( #1294 )
...
* Bump eslint-config-airbnb-typescript in /kafka-ui-react-app
Bumps [eslint-config-airbnb-typescript](https://github.com/iamturns/eslint-config-airbnb-typescript ) from 12.3.1 to 14.0.2.
- [Release notes](https://github.com/iamturns/eslint-config-airbnb-typescript/releases )
- [Changelog](https://github.com/iamturns/eslint-config-airbnb-typescript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/iamturns/eslint-config-airbnb-typescript/compare/v12.3.1...v14.0.2 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb-typescript
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update Eslint config
* Update eslint
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oleg Shuralev <workshur@gmail.com>
2022-01-21 23:45:38 +03:00
Ekaterina Petrova
205d8d000d
Bugfix/select ( #1397 )
...
* new select styles init
* Custom select compound component
* Select component fix styles
* Added react hook form controller
* Moved from compound component
* fixed vslues & onChange for controller
* fixed tests & code cleanup
* fix review
* fixed linter
* fixed discussions
Co-authored-by: Ekaterina Petrova <epetrova@provectus.com>
2022-01-20 16:41:20 +03:00
NelyDavtyan
68f1d3e7ee
Protobuf schema is not formatted properly ( #1426 )
...
* 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>
2022-01-20 13:21:13 +04: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
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
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
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
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
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
Azat Belgibayev
03ed67db89
Issue#207 Requests to KsqlDb from UI ( #786 )
...
* Add ksql page
* Add streams to table
Add tables and streams count
* Add query execution modal
* Add tabs tests
* Adjust SQLEditor test
* Remove unused command
* Add QueryModal tests
* Remove excess box wrapper
* Add KsqlDb component tests
* Refactor SQLEditor displayName
* Refactor setIsShown naming
* Add empty placeholder for table
* Refactor use shortcut for Dictionary interface
* Refactor raw data to object transformation
* Add KsqlDb List component tests
* Remove excess import
* Add ksqlDb reducer tests
* Add ksqlDb fetch tables error alert
* Refactor remove code smell
* Add ksqlDb actions tests
* Add KsqlDb List component test for non-empty store
* Add streamProperties JSON field
* Adjust QueryModal test to new field
* Fix query with empty streamProperties
* Refactor query to modal to page form
* Add expanding to tables and streams table
* Refactor ksql execution to redux store
* Add Query component tests
* Add Breadcrumbs component tests
* Add ksqldb reducer tests
* Add result renderer test
* Add ksqlDb thunk tests
* Resolve PR comments
2021-08-18 13:24:17 +03:00
German Osin
18f5e1a2b2
Switched messages endpoint to provide sse with phases & consuming info ( #645 )
...
* Switched messages endpoint to provide sse with phases & consuming info
* Switched messages endpoint to provide sse with phases & consuming info
* fixed comments
* Fixed comparator
* Fixed tests
* Reduced images size
* Feature/sse for messages (#681 )
* [#645 ] SSE. Cleanup Topic Messages
* New messages page
* Update outdated snapshots
* Specs
* Specs
* Fixed build
* Fixed possible npe in update cluster on init stage
* Provided additional information with messages #677 (to messages_sse branch) (#700 )
* Provided additional information with messages #677
* Sse messages front (#725 )
* SSE. Messages page
* Fix handleNextClick
* Add the page loader to the list of messages
Co-authored-by: Alexander <mr.afigitelniychuvak@gmail.com>
* Fix merge errors
* fix conflicts
Co-authored-by: Timur Davletov <tdavletov@provectus.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
Co-authored-by: Alexander <mr.afigitelniychuvak@gmail.com>
2021-08-04 16:30:00 +03:00
German Osin
13463fe95f
Refactor consumer groups requests ( #636 )
...
* Refactor consumer groups requests
* Fixed offsets tests
* Moved state enum to separate class
* Adjust frontend for the new API
Co-authored-by: Alexander <mr.afigitelniychuvak@gmail.com>
2021-07-09 15:55:43 +03:00
Alexander Krivonosov
98fcc90c6b
Topics' filtration ( #405 )
...
* Implement topics' filtration
2021-05-12 16:34:24 +03:00
Marat Adiyatullin
16e63f2c35
Add connect views
2021-05-03 13:33:53 +03:00
Alexander Krivonosov
42a1c97686
Fix the problem with instant redirect ( #390 )
...
* Fix the problem with instant redirect
* Rewrite updateSchema thunk
2021-05-01 09:08:32 +03:00
Oleg Shur
993db2fc00
[CHORE] Get rid of react-json-tree ( #387 )
2021-04-23 13:50:13 +03:00
Alexander Krivonosov
caec4eb170
Schema registry views ( #317 )
...
* Add schema type select to the form
* Implement adding new version of a schema
* Fix some issues & Increase test coverage
* Add more tests
* Add compatibility level update
* Abstract updating schema into a separate thunk & test it
* Remove warnings and skipped test
* Update failed tests
* Update failing tests
* Update markup
* Make the JSONEditor a part of the form
* Fix linting problem
* Fix errors
2021-04-22 16:26:02 +03:00
Azat Mutigullin
083e3f7de0
Improve eslint configuration ( #385 )
...
Co-authored-by: Oleg Shuralev <workshur@gmail.com>
2021-04-22 14:50:06 +03:00
Oleg Shur
9d62670eef
Add ConfirmationModal common component ( #383 )
...
* Add ConfirmationModal common component
* Update specs
2021-04-20 16:48:50 +03:00
Oleg Shur
d471759b79
Cleanup styling ( #365 )
2021-04-09 14:29:39 +03:00
Oleg Shur
9d75dbdacd
Kafka Connect. Initial setup ( #362 )
...
* Refactor Nav. Use feature flags. Connect
* Refactor Alerts
* Kafka Connect initial setup
2021-04-07 23:50:17 +03:00
Alexander Krivonosov
a153ce7b21
#289 : Negative segment size ( #295 )
...
* Fix the negative segment size problem
* Fixed contract topic size bug
Co-authored-by: German Osin <german.osin@gmail.com>
2021-03-24 12:08:54 +03:00
Oleg Shur
398a5be1c9
#300 Refactor Topic Message pages ( #302 )
...
* [CHORE] Update deps. Remove unused
* [CHORE] Cleanup thunk specs.
* [CHORE] Add react-outside-click hook
* [CHORE] Adds Dropdown component
* [CHORE] Adds Dynamic Text Button component
* [CHORE] Refactor useDataSaver hook
* [CHORE] Cleanup
* Refactor topic messages view
* Refactor topic messages view
* Update actions
2021-03-24 11:29:42 +03:00
Alexander Krivonosov
7c86adbd67
WIP: #190 JSON export ( #236 )
...
* Implement functionality for copying and downloading data
* Test
2021-03-22 18:36:14 +03:00
Oleg Shur
49a7564366
#188 Pagination. Refactor topic reducer ( #255 )
2021-03-17 12:55:17 +03:00
Oleg Shur
1769a7a0fc
[CHORE] Schema Registry UI Improvements. Cleanup ( #237 )
...
* createSchema thunk throws an error for unsuccesfull response
* refactor PageLoader common component
* fix error on details page of schema reg section load
* refactor index page for schema reg
* refactoring
* Add cluster wrapper + cleanup
2021-03-11 15:22:03 +03:00
Alexander Krivonosov
1a215865ef
Testing common components ( #225 )
...
* Create tests for the Breadcrumb component
* Create tests for BytesFormatted component
* Create tests for the Indicator component
* Create tests for the MetricsWrapper component
* Create tests for the PageLoader component
2021-03-09 18:57:20 +03:00
Oleg Shur
3bc9447cc7
Schema Registry Views ( #195 )
...
* Schema Registry index page https://github.com/provectus/kafka-ui/pull/183
* Schema Registry show page https://github.com/provectus/kafka-ui/pull/196
* Specs https://github.com/provectus/kafka-ui/pull/208
* New JsonViewer common component
2021-02-24 15:05:05 +03:00
Oleg Shur
b4a243f470
[Issue 191] Fix Cluster Widgets on dashboard ( #201 )
...
* [ISSUE-191] Update Bulma to 0.9.2
* [ISSUE-191] Add links to Cluster Widget
* [ISSUE-191] Cluster Widget improvements
2021-02-17 21:17:26 +03:00
soffest
4ec0422357
Brokers, Topic details: Display disk usage. ( #129 )
...
* Display brokers disk usage.
* Fixed disk usage alignment.
* Added disk usage to topic details.
* Updated metrics wrapper props.
Co-authored-by: Sofia Shnaidman <sshnaidman@provectus.com>
2020-11-30 15:48:08 +03:00
Azat Mutigullin
be4b9543ce
[FE] Use id field for keys
2020-11-12 18:21:21 +03:00
Azat Mutigullin
cba12d4ff4
[FE] Fix eslint errors
2020-11-11 12:36:44 +03:00
maxim_tereshin
f974febb5f
Add topic messages UI ( #61 )
2020-06-16 12:46:51 +03:00