Commit graph

822 commits

Author SHA1 Message Date
Smbat Siradeghyan
9f2310472d
[ BROKER ] Add broker metrics page (#2157)
* add metrics page

* add test for broker

* add test for paths

* remove unused-vars

* add editor view for broker metrics

* add not available message

* try to fix BrokerLogdir tests

* add tests for translateLogdir and translateLogdirs

* add tests for translateLogdir and translateLogdirs

* add tests for metrics page

* fix review comments

* fix unused var

* remove describe duplicate

Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-06-30 13:22:52 +04:00
Robert Azizbekyan
a77869783b
fixing connectors path redirection issue no to navigate dashboard (#2187) 2022-06-29 16:10:55 +04:00
Oleg Shur
a4046d46ef
chore: migrate clusters from toolkit to react-query (#2214) 2022-06-28 15:15:12 +03:00
dependabot[bot]
0efbd130b9
Bump dayjs from 1.11.2 to 1.11.3 in /kafka-ui-react-app (#2210)
Bumps [dayjs](https://github.com/iamkun/dayjs) from 1.11.2 to 1.11.3.
- [Release notes](https://github.com/iamkun/dayjs/releases)
- [Changelog](https://github.com/iamkun/dayjs/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/iamkun/dayjs/compare/v1.11.2...v1.11.3)

---
updated-dependencies:
- dependency-name: dayjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-28 13:00:12 +03:00
Robert Azizbekyan
d7a3629470
Change the name of path for Schema Compare versions (#2194) 2022-06-27 16:59:00 +04:00
Robert Azizbekyan
cc0a98262b
fixing alert close icon position (#2193) 2022-06-27 16:24:47 +04:00
Oleg Shur
8acbcbacb9
Upgrade deps (#2206)
* hook

* Upgrade Jest to v28

* Upgrade Typescript
2022-06-27 13:07:47 +03:00
Robert Azizbekyan
5cb1a7e0ce
Fix incorrect order of requests for changing SR compatibility lvl (#2201) 2022-06-25 01:47:05 +04:00
Robert Azizbekyan
9c7f078ded
fixing logout redirect issue (#2170)
* fixing logout redirect issue

* fixing logout problem
2022-06-23 17:59:30 +04:00
Robert Azizbekyan
aa839b4d69
add asterix for custom params (#2192) 2022-06-22 11:48:03 +04:00
Kirill Morozov
3c922bc470
Make broker table row clickable (#2151)
* Added click functionality to the row

* Clickablerow moved to separate file

Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-06-21 19:53:11 +04:00
Kirill Morozov
fac348bb38
Added Social icons (#2137)
* Added Social icons

* Removed unused import

* Icon name fixed

* package-lock.json reverted

* Delete package-lock.json

* Added colors to theme

* Social icons refactored

* Discord icon size fixed

* Discord icon color fixed

* Discord icon replaced with the new one

* Icons colors changed

* Social Network Links

Co-authored-by: Oleg Shuralev <workshur@gmail.com>
2022-06-21 15:23:28 +03:00
Robert Azizbekyan
0528c3a28f
Separating ksqlDb tables and streams by tabs (#2145)
* separating ksqlDb tables and streams by tabs

* adding tests
2022-06-16 13:57:27 +04:00
Tom Lai
41fd765d83
Fixed width of messages meta info block (#2171)
Co-authored-by: Yiu ming Lai <ymlai87416@gmail.com>
2022-06-16 10:19:09 +03:00
Oleg Shur
1b71ccb975
Migrate React app to Vite (#2153)
* Ejected CRA

* Cleanup

* jest

* Cleanup

* refactor cluster widgets

* configure build

* configure build

* configure coverage

* Experiment with lazy

* add ace to vendor

* Cleanup
2022-06-15 16:59:02 +03:00
Robert Azizbekyan
d859dd6b3f
fix adding message for topics (#2161) 2022-06-15 16:56:47 +04:00
Robert Azizbekyan
3b69b67c60
Adding isWindowed column to ksql table (#2138)
* adding isWindowed column to ksql table

* removing unnecessary code
2022-06-09 12:29:03 +04:00
Kirill Morozov
16ac428610
Burger fixed (#2131)
* Burger fixed

* Used function 'closeSidebar'

* Removed unused import

* Added whitespace before return

* Added useCallBack wrapper for closeSidebar function

* Added useCallBack wrapper for closeSidebar function

* Delete backend.yml

* backend.yml restored

* Extra spaces removed
2022-06-09 10:01:53 +03:00
Oleg Shur
f294b1bbad
Import Brokers page without lazy (#2142) 2022-06-07 18:28:38 +03:00
Arsen Simonyan
45dc7f616c
Add logout button UI (#1854)
* add logout button ui

* adding redirect to /logout

Co-authored-by: rAzizbekyan <razizbekyan@provectus.com>
Co-authored-by: Robert Azizbekyan <103438454+rAzizbekyan@users.noreply.github.com>
2022-06-07 16:05:58 +04:00
dependabot[bot]
3c984fc451
Bump @testing-library/dom from 8.11.1 to 8.13.0 in /kafka-ui-react-app (#2067)
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library) from 8.11.1 to 8.13.0.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases)
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v8.11.1...v8.13.0)

---
updated-dependencies:
- dependency-name: "@testing-library/dom"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07 14:22:05 +03:00
dependabot[bot]
19f27e7b92
Bump @reduxjs/toolkit from 1.8.1 to 1.8.2 in /kafka-ui-react-app (#2066)
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](https://github.com/reduxjs/redux-toolkit/compare/1.8.1...v1.8.2)

---
updated-dependencies:
- dependency-name: "@reduxjs/toolkit"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-06-07 14:21:30 +03:00
Oleg Shur
70656b7fc0
Use react-query for server state managment (#2133)
* Use react-query for server state managment

* Refactor using of react query
2022-06-07 13:30:15 +03:00
Oleg Shur
3cd0c2897a
get rid of unused bulma styles. small UI refactoring (#2130)
* Get rid of bulma

* Refactor SecondaryTabs

* Refactor Messages View

* Refactor Inputs

* get rid of unused components

* refactoring

* Remove unused bulma styles
2022-06-07 11:15:30 +03:00
Robert Azizbekyan
5fa2bcf5b2
fixing ksql table (#2115) 2022-06-07 11:29:06 +04:00
Smbat Siradeghyan
e6f3157508
Add UI for broker log dirs (#1992)
* change brokker table

* add broker page

* add tests for broker page

* add test for broker

* add test for broker

* remove unused import

* fix comments

* fix coments

* fix new coments

* fix comments

* fix coments

Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-06-06 21:15:48 +03:00
Kirill Morozov
1ca8873d35
Added buttons wrapping (#2126)
* Added buttons wrapping

* Layout improved
2022-06-06 14:18:10 +03:00
Robert Azizbekyan
070fba4d08
Using new API endpoint for KSQLDB instead of deprecated one (#2098)
* using new API endpoint for KSQLDB instead of deprecated one

* adding type and interface for header and accessors
2022-06-06 12:32:47 +04:00
Robert Azizbekyan
657025dfd4
adding success alert for topic recreation and fixed select arrow position (#2104) 2022-06-06 12:14:48 +04:00
Robert Azizbekyan
7db40577b5
fixing schema version path issue (#2100) 2022-06-06 11:49:30 +04:00
Robert Azizbekyan
c64519c2c1
fixing connector task count to work without refresh (#2099) 2022-06-06 11:41:57 +04:00
Robert Azizbekyan
0f0d51d386
fixing problem of endless loading after deleting multiple topics (#2095) 2022-06-06 11:34:32 +04:00
dependabot[bot]
4b70cbbde4
Bump @types/react-dom from 18.0.3 to 18.0.5 in /kafka-ui-react-app (#2072)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.0.3 to 18.0.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-03 13:24:13 +03:00
dependabot[bot]
801aeec666
Bump eslint from 8.15.0 to 8.16.0 in /kafka-ui-react-app (#2071)
Bumps [eslint](https://github.com/eslint/eslint) from 8.15.0 to 8.16.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.15.0...v8.16.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-03 13:23:39 +03:00
Robert Azizbekyan
9eae6b1f0a
adding success alert message for topic deletion (#2094) 2022-06-02 14:45:17 +04:00
Robert Azizbekyan
a211c41207
adding AsyncRequestStatus enum to avoid possible gramatical issues (#2093) 2022-06-02 13:33:13 +04:00
Robert Azizbekyan
70d3cee0bf
fixing partition dropdown (#2073) 2022-06-02 13:21:20 +04:00
Mgrdich
f0673b6005
Remove History from packages (#2092) 2022-06-01 12:33:16 +04:00
Robert Azizbekyan
eb9aeef2d1
disable produce message button if cluster is readOnly (#2077) 2022-05-31 19:04:33 +04:00
Mgrdich
c42858e722
Fix Selectors to not give error if not fetched yet (#2075) 2022-05-31 17:17:40 +04:00
Mgrdich
89c409a5d6
Fix Connector On Creation redirection (#2074) 2022-05-31 17:10:16 +04:00
Oleg Shur
a90aa52af5
Pkg update (#2063)
* Get Rid of react-router + minor updates

* jest update

* upgrade use-debounce & dayjs versions

* Refactor specs to reduce number of warnings
2022-05-31 14:49:47 +03:00
Robert Azizbekyan
50afb26f95
fixing error messages to be user friendly (#2049) 2022-05-31 14:58:20 +04:00
Mgrdich
71ac16357b
react router migration (#2045)
* remove withRouter HOC from FiltersContainer

* remove withRouter HOC from Topics DetailsContainer

* remove withRouter HOC from Topics TopicsConsumerGroupsContainer

* withRouter HOC from Topics TopicsConsumerGroupsContainer

* minor code refactor in the Details spec

* Routes code modifications to refactor strings representation to functions

* Settings and TopicsConsumer removal of HOC with Router

* Remove withRouter HOC from Overview file

* Remove withRouter HOC from Edit file

* replace Router path with functions instead of strings

* delete CustomParamsContainer and use the simple component in the TopicForm

* remove HOC from DangerZone container

* Remove withRouter HOC from Connect pages like Config , Overview , Tasks

* Remove withRouter HOC from Connect pages like Actions, Details, Edit, New

* Refactor Kafka Connect Codes

* Refactor Topics pages

* Remove HOC from Diff component and minor code refactor

* Route component migration into children instead of renderProps or component param in App Component

* Route component migration into children instead of renderProps or component param in Cluster Component

* Route component migration into children instead of renderProps or component param in Topics Component

* Route component migration into children instead of renderProps or component param in Topic Component

* Route component migration into children instead of renderProps or component param in Topic Component

* minor bug fix in the Overview selector spread

* change Router from component Render to child render
in ConsumerGroups page

* change Router from component Render to child render
in Schemas page

* change Router from component Render to child render
in KsqlDb page

* change Router from component Render to child render
in Connect page

* change Router from component Render to child render
in Connect Details page

* Overview Details styling code modifications

* All written path to paths with functions

* Route Parameters code fix with functions and params with variables

* Updating BreadCrumb Route

* Refactor Redirects

* WIP React Router v6 migration

* Remove unused imports from the file

* Make KsqlDb pages work with relative Routes

* WIP Make Connect pages work and fix the Schema page testing problem

* transforming consumer groups into relative path router

* Transform Topics pages into relative routes

* Transform Topic pages into relative routes

* Minor changes in Connect and KsqlDb test suites relative routes

* Minor changes in Connect and KsqlDb test suites relative routes

* change the Details into relative Routes

* Topics List naviagtion and caching issue fixed in tests suites

* Topic New Naviagation issue fix + tests suites

* Details navigate migrating into relative paths

* Send Message Submit Naviagttion with tests suites

* Topic Edit pages with working routes navigation

* Topic Details and ResetOffsets Pages tests suites and navigations

* Messages Table Tests suites

* BreadCrumbs Routes fixes

* ClusterMenu and Links styling minor code modifications

* ClusterMenu and Links styling minor code modifications

* Minor Code modifications

* Fix Lintter Problems

* fix Code Smells

* create custom useParams hook

* Adding Path tests

* minor code refactors

* Fix the Button Component redundant Props + transforming routes to relative

* Fix linter issues
2022-05-31 12:33:15 +03:00
Robert Azizbekyan
2a51f0ee14
fixing form error message issue (#2047) 2022-05-31 13:32:41 +04:00
Robert Azizbekyan
7ba10c1b7a
adding error message when created message has wrong header format (#2033) 2022-05-30 18:36:04 +04:00
Robert Azizbekyan
7211a18b57
adding success alert for partitions update and display changes immediately without refresh (#2038) 2022-05-30 16:55:16 +04:00
Kirill Morozov
996e127a02
Fixed Selected partitions label (#2042)
* Fixed Selected partitions label

* Console logs removed
2022-05-30 13:24:59 +03:00
Kirill Morozov
4f1078aabb
Next button removed (#2036)
* Next button removed

* Removed Next button functionality

* Removed unused import
2022-05-30 13:15:27 +03:00
Oleg Shur
93a09a6327
Get rid of senseless useCallback hooks (#2048)
* Remove senseless React.useCallback

* Remove senseless React.useCallback
2022-05-30 12:45:21 +03:00