Commit graph

40 commits

Author SHA1 Message Date
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
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
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
Alexander Krivonosov
0a2316c515
Fix consumer groups page (#891) 2021-09-18 09:40:19 +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
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
Alexander Krivonosov
128c67c1cf
Resetting consumer group offsets (#774) 2021-08-16 07:39:35 +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
Alexander Krivonosov
ad8598a1d2
Sending messages (#675)
* Implement message sending
2021-07-29 10:26:40 +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
Alexander Krivonosov
64a5985e81
Implement consumer group deleting (#600)
* Implement consumer group deleting
2021-07-02 11:05:59 +03:00
TEDMykhailo
5d65967bc6
WIP: [issues#121] Topic Details: Display consumers (#448)
* [issues#121] Topic Details: Display consumers

* [issues#121] Topic Details: Display consumers

* [issues#121] Topic Details: Display consumers

* [issues#121] Topic Details: Display consumers

* [issues#121] Topic Details: Display consumers

* [issues#121] Topic Details: Display consumers

Co-authored-by: mbovtryuk <mbovtryuk@provectus.com>
2021-05-14 10:23:04 +03:00
Alexander Krivonosov
b60ff8acf6
Fix linter (#452) 2021-05-12 21:10:38 +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
0deafa9d75
Implement updating registry compatibility level (#391)
* Implement updating registry compatibility level
2021-05-01 09:09:02 +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
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
TEDMykhailo
c86c955ace
[issues-211] - Clearing up messages from a topic (#378)
Co-authored-by: mbovtryuk <mbovtryuk@provectus.com>
2021-04-22 14:28:35 +03:00
Oleg Shur
ab57772329
[Chore] Connect. Connectors page (#382) 2021-04-19 23:40:18 +03:00
Alexander Krivonosov
3945845c37
Implement deleting schemas (#366) 2021-04-13 13:30:43 +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
Oleg Shur
46cec171e3
[CHORE] Alerts (#240) 2021-04-03 20:34:21 +03:00
Alexander Krivonosov
595707edb6
#224 Deleting topics (#271)
* Implement topic deletion

* Test
2021-03-23 11:34:16 +03:00
Oleg Shur
a826ca94cf
[CHORE] Update dependencies (#258) 2021-03-17 14:08:59 +03:00
Oleg Shur
49a7564366
#188 Pagination. Refactor topic reducer (#255) 2021-03-17 12:55:17 +03:00
Oleg Shur
bbdd60b7a5
Topics page refactoring (#251)
* Split thunks on files. Refactoring

* [CHORE] Refactor Topics section
2021-03-16 15:13:21 +03:00
Guzel738
44cf449a8f
Create Schema Registry form (#209)
* First commit

* Create Schema Form. Refactoring

* Specs for Create Schema Registry form created

* Update thunks.spec.ts

* Update actions.spec.ts

Co-authored-by: Oleg Shuralev <workshur@gmail.com>
2021-02-28 22:39:09 +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
ddc784559d
Get rid of redundant enums (#186)
* [CHORE] Get rid of redundant ActionType enum

* [CHORE] Get rid of redundant FetchStatus enum

* [CHORE] Get rid of redundant CustomParamButtonType enum
2021-02-11 16:29:18 +03:00
soffest
494443bb08
OpenAPI integration for kafka-ui frontend (#120)
* Added react openapi gen

* Integrated Openapi to React

Co-authored-by: German Osin <german.osin@gmail.com>
Co-authored-by: Sofia Shnaidman <sshnaidman@provectus.com>
2020-11-20 14:16:27 +03:00
maxim_tereshin
f974febb5f
Add topic messages UI (#61) 2020-06-16 12:46:51 +03:00
Sergey Zakirov
128c0d2e92
Topic settings editing (#55)
* Topic editing

* Remove old code

* Implement unique field name select

* Final changes to topic editing

* Cleanup eslint.json
2020-06-16 12:24:24 +03:00
soffest
0815739d79
Consumer group details view. (#18)
* Added concumer groups list with search.

* Added consumer group details view.

* Minor tweaks.

* Backend group details (#19)

* temp result commit

* consumer group details api done

* fixes

* changed calls from loop into vars, changed foreach to map

* changes

* removed redundant import

* Refactoring, fixed contract

* Fixed useless group query

* fix-consumer-groups-retaining-cluster-on-cluster-switch

Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>
Co-authored-by: German Osin <german.osin@gmail.com>
Co-authored-by: Azat Gataullin <gataniel@gmail.com>

* Add loader, fix details

* Add empty text for consumer groups

Co-authored-by: Sofia Shnaidman <sshnaidman@provectus.com>
Co-authored-by: Roman Nedzvetskiy <gmcodemail@gmail.com>
Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>
Co-authored-by: German Osin <german.osin@gmail.com>
Co-authored-by: Azat Gataullin <gataniel@gmail.com>
Co-authored-by: Maxim Tereshin <tereshin93@gmail.com>
2020-05-21 14:09:59 +03:00
Azat Gataullin
e4dbebbc20
Merge branch 'master' into feature/14-add-custom-params-for-topics-creation 2020-04-10 17:00:34 +03:00
Azat Gataullin
0e7f75bf21 feature/14-cleanup 2020-04-09 13:36:43 +03:00
Azat Gataullin
1109240169 feature/14-add-custom-params-for-topics-creation 2020-04-09 13:32:46 +03:00
soffest
c26edd1316
WIP: Consumer groups list with search. (#17)
* Added concumer groups list with search.

* added endpoint for group consumers

* removed redundand code and imports

* changed method to async mono

* method located better

* changes after review

* changed foreach to map

Co-authored-by: Sofia Shnaidman <sshnaidman@provectus.com>
Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>
2020-04-07 11:15:48 +03:00
Yevgen Taran
498eb96bee
Feature/backend init (#3)
* move react-app to its own folder inside project

* move backend to kafka-ui repo

* setup react inside netty

* make application ready in 2 commands

* update readme

* update readme

* update readme

* update readme

* update profiles for application start inside (sdp profile) and outside docker (local profile)

* broker metrics endpoint

* topics endpoint start commit

* topics details endpoint start commit //
dependencies and versions fix

* small pom updates //
continue review fixes

* fix review issues //
save errors //
save connections and update connection logic //
save jmx, zookeeper, kafka statuses //
error with getting one topic doesn't fail others //
async metrics processing //
cluster data storage refactoring

* properties version extracting

* properties versions

* topic details

* remove jmx, topic details, topic configs

* create topic

* final fixes, topic creation

* topic creation ui fixes

* add check for cases when cluster is offline
2020-02-27 15:55:53 +03:00
Renamed from src/redux/actions/actions.ts (Browse further)