Commit graph

212 commits

Author SHA1 Message Date
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
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
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
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
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
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
Alexander Krivonosov
eaf77c49a2
Fix topic form (#767) 2021-08-23 08:49:15 +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
Marsel
7f66f00008
Issue#517 connector task status bug (#747)
* kafka-ui-connectors.yaml fix

* adding tasks status check

* adding new Connector Status

* adding new Connector Status

* [issue-517] connector task status bug #747

Co-authored-by: marselakhmetov <makhmetov@provectus.com>
Co-authored-by: mbovtryuk <mbovtryuk@provectus.com>
2021-08-18 12:03:41 +03:00
Alexander Krivonosov
128c67c1cf
Resetting consumer group offsets (#774) 2021-08-16 07:39:35 +03:00
Ilnur Yakupov
5e94f0fadc update confirmation text 2021-08-10 09:14:31 +03:00
Ilnur Yakupov
bd7ae932e8 api requests for issues/243 and issues/244 2021-08-05 13:03:27 +03:00
Ilnur Yakupov
08a3c5e225 UI for issues/243 and issues/244 2021-08-05 12:29:48 +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
Victor Alfaro
51646e786a
666: Adding new endpoint with corresponding service method. Also a… (#714)
* (#666): Adding new endpoint with corresponding service method. Also adding search box to kafka connect screen with consuming logic for added endopoint.

* Applying feedback: reusing same endpoint and removing '/filtered' version
2021-08-03 16:08:55 +03:00
Alexander Krivonosov
a9d659642e
Update SendMessage.tsx (#745) 2021-07-30 14:46:45 +03:00
Ilnur Farukhshin
392abf2991 [#710] feat(react-app): call fetchTopics on toggle show internal topics 2021-07-29 16:10:38 +03:00
Alexander Krivonosov
ad8598a1d2
Sending messages (#675)
* Implement message sending
2021-07-29 10:26:40 +03:00
Alexander Krivonosov
268c871312
Display cleanup policy in the topic list (#732)
* Add clean up policy to the topic overview

* Add clean up policy to the topic list
2021-07-29 10:16:10 +03:00
Alexander Krivonosov
38e1d12452
Add clean up policy to the topic overview (#718) 2021-07-26 23:13:31 +03:00
Alexander Krivonosov
8da350ea38
Allow increasing the number of partitions and updating of the replication factor (#544) 2021-07-24 18:00:29 +03:00
MBovtriukProvectus
326786e4ff
Display replication factor field in topics list #608 (#697) 2021-07-21 15:55:30 +03:00
MBovtriukProvectus
c035f58f5a
Review all tables and unify the way of data displaying. #602 (#687) 2021-07-19 12:11:53 +03:00
Roman Zabaluev
9b6952c480
Implements #610 (#673) 2021-07-14 11:08:42 +03:00
Alexander Krivonosov
587e08ab01
Update TopicConsumerGroups.tsx (#672) 2021-07-13 18:53:05 +03:00
Alexander Krivonosov
7eaa733623
Fix consumer groups & partitions (#650) 2021-07-13 17:09:46 +03:00
Oleg Shur
bf6dd6c91b
Fix topic messages (#664) 2021-07-12 13:58:12 +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