Commit graph

748 commits

Author SHA1 Message Date
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
Robert Azizbekyan
b32ff9ca8b
fixing dropdown arrow behavior for Topics Messages (#2028)
* fixing dropdown arrow behavior

* adding color from theme
2022-05-30 11:46:32 +04:00
Robert Azizbekyan
cf6454c987
fixing message count problem when clearing or adding messages (#2029) 2022-05-30 11:38:46 +04:00
Robert Azizbekyan
cc109a7125
Show close icon on hover (#2034)
* show close icon on hover

* style changes to avoid repeating styles
2022-05-30 11:24:06 +04:00
doomcrewinc
6b1b47f02b
issues/2037: Changed 'Connects' to 'Connectors' (#2041)
Signed-off-by: doomcrewinc <oilfield101@gmail.com>
2022-05-27 11:59:52 +03:00
Roman Zabaluev
0c881b2df5
Rename messages consumed text (#2027) 2022-05-25 21:00:21 +04:00
Kirill Morozov
ab805c39c5
Click function moved from icon to row (#2017)
* Click function moved from icon to row

* Added cursor: pointer style
2022-05-25 14:52:57 +03:00
Kirill Morozov
ad2966f31b
Topics sorted alphabetically (#1999)
* Added topics sorting and tests

* Sorting topics logic moved to redux, test improved

* LocaleCompare replaced with default sort function

* Shadow fixed on overview topic page

* Code samples fixed in InfoModal

* String type removed

* Unused import removed

* Default JS sort method removed with lodash library sorting method
2022-05-25 14:33:05 +03:00
Robert Azizbekyan
6d8c6cace0
Refactoring Topics reducer into redux toolkit (#1939)
* WIP: creating topicSlice

* reformating reducer into toolkit slice and fixed tests

* removing unnecessary lines

* removing dismiss alert action and tests for actions

* removing unnecessary code

* adding tests for selectors

* adding test case for new topics

* adding test cases for topic reducer when fulfilled

* removing unnecessary code

* adding test cases for asyncthunks to increase coverage

* adding new test cases to cover topicSlice

* adding clear messsages fulfilled test case

* removing unnecessary code
2022-05-25 14:54:33 +04:00
Kirill Morozov
3ee2f87255
Feature/1334 please add a counters of all connectors tasks and failed connectors tasks (#2002)
* Added failed connections counter

* Getting failed connectors moved to Redux selector

* Failed connectors test has been rewritten in testing-library way

* Update kafka-ui-react-app/src/components/Connect/List/List.tsx

Co-authored-by: Oleg Shur <workshur@gmail.com>

* Suggestion exepted

* Added test case for failed connectors counter

* Unused import removed

* Added failed tasks counter

* Update kafka-ui-react-app/src/redux/reducers/connect/selectors.ts

Co-authored-by: Oleg Shur <workshur@gmail.com>

* Reduce args renamed

Co-authored-by: k.morozov <k.morozov@ffin.ru>
Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-05-20 20:53:31 +03:00
Kirill Morozov
d1c59dd74b
Added replicas data to topic overview page (#1993)
* Added replicas data to topic overview page

* Added tests

* Tests improved

* Some logic moved to css plus some refactoring

* Index removed

* Tests improved
2022-05-19 14:44:26 +03:00
Kirill Morozov
ca545ddf36
1865 implement a tooltip with smart filters documentation (#1989)
* Added QuestionIcon

* Added Info button functionality and tests

* Styled component renamed

* Info button testing moved to AddFilter spec

* Styled paragraph renamed

* Info text fixed
2022-05-18 11:30:21 +03:00
dependabot[bot]
3321460185
Bump @hookform/resolvers from 2.8.5 to 2.8.9 in /kafka-ui-react-app (#1978)
Bumps [@hookform/resolvers](https://github.com/react-hook-form/resolvers) from 2.8.5 to 2.8.9.
- [Release notes](https://github.com/react-hook-form/resolvers/releases)
- [Commits](https://github.com/react-hook-form/resolvers/compare/v2.8.5...v2.8.9)

---
updated-dependencies:
- dependency-name: "@hookform/resolvers"
  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-05-18 10:35:16 +03:00
Kirill Morozov
18eadfca28
1865 implement a tooltip with smart filters documentation (#1952)
* Added QuestionIcon

* Added Info button functionality and tests

* Styled component renamed

* Info button testing moved to AddFilter spec

* Styled paragraph renamed
2022-05-17 15:10:41 +03:00
Kirill Morozov
7eab325ac3
Added failed connections counter (#1831)
* Added failed connections counter

* Getting failed connectors moved to Redux selector

* Failed connectors test has been rewritten in testing-library way

* Update kafka-ui-react-app/src/components/Connect/List/List.tsx

Co-authored-by: Oleg Shur <workshur@gmail.com>

* Suggestion exepted

* Added test case for failed connectors counter

* Unused import removed

Co-authored-by: k.morozov <k.morozov@ffin.ru>
Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-05-17 13:04:59 +03:00
Kirill Morozov
20300f327d
Spinner fixed (#1964)
* Spinner fixed

* Tests refactored
2022-05-17 12:53:38 +03:00
Kirill Morozov
06864984a1
Border radius fixed (#1985) 2022-05-17 12:04:01 +03:00
Roman Zabaluev
26e84ff185
Fix indicator pane gap width (#1981) 2022-05-17 00:49:57 +04:00
Kirill Morozov
7958e2a9b5
Added fixed width to the tables cells (#1959)
* Added fixed width to the tables cells

* Removed affecting on other tables width
2022-05-16 18:51:12 +03:00
Smbat Siradeghyan
527df864bb
add test (#1979) 2022-05-16 18:03:32 +04:00
Oleg Shur
13791d0401
Update lockfile version (#1983) 2022-05-16 15:03:20 +03:00
dependabot[bot]
818e5d8127
Bump @fortawesome/fontawesome-free in /kafka-ui-react-app (#1749)
Bumps [@fortawesome/fontawesome-free](https://github.com/FortAwesome/Font-Awesome) from 5.15.4 to 6.1.1.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases)
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/5.15.4...6.1.1)

---
updated-dependencies:
- dependency-name: "@fortawesome/fontawesome-free"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-12 16:56:12 +03:00
Robert Azizbekyan
81d1e955da
Refactor TopicMessages's store to redux/toolkit (#1902)
* Refactor TopicMessages's store to redux/toolkit

* adding test cases to improve coverage

* fixing eslint error

* removing extra code

* Transform redux connect reducer and actions into toolkit slice. (#1883)

* integrate redux toolkit for connects

* uncomment test case

* remove unnecessary comment

* reduce duplication

* Implement code highlighting for smart filters (#1868)

* Implement code highlighting for smart filters

* delete unnecessary code

* fixing eslint problem

* fixing sonar code smells (#1826)

* fixing sonar code smells

* removing unnecessary change

* fixing some sonar code smell issues

* making requested changes

* Fix sonar badges in readme (#1906)

* fixing merge conflicts

Co-authored-by: Oleg Shur <workshur@gmail.com>

* Add positive notifications after some successful actions. (#1830)

* add some positive notifications after successful actions

* some improvements

* improve alerts reducer tests

* Fix test warnings (#1908)

* fix fetch mock warnings in brokers.spec.tsx

* use separate waitFor-s for fetch-mock call expects

* Persist show internal topics switch state (#1832)

* persist show internal topics switch state

* minor improvements in topics list tests

* prevent duplication in topic list test file

* fix seek type select border-radius and user-select (#1904)

* Refetch topics list to display the updated data (#1900)

* refetch topics list to display the updated data

* fixing sonar code smells (#1826)

* fixing sonar code smells

* removing unnecessary change

* fixing some sonar code smell issues

* making requested changes

* Fix sonar badges in readme (#1906)

Co-authored-by: Robert Azizbekyan <103438454+rAzizbekyan@users.noreply.github.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>

* Show confirmation modal when clear messages is clicked in topics list (#1899)

* show confirmation modal when clear messages is clicked in topics list

* change variable name

* add missing dependencies

* use useModal hook for topics list modals

* display a human-readable error message for topic custom parameers value field (#1896)

* modify dependencies to fix partitions filter bug (#1901)

Co-authored-by: Arsen Simonyan <103444767+simonyandev@users.noreply.github.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-05-12 16:41:58 +04:00
dependabot[bot]
fa6f587f97
Bump jest-styled-components from 7.0.6 to 7.0.8 in /kafka-ui-react-app (#1295)
Bumps [jest-styled-components](https://github.com/styled-components/jest-styled-components) from 7.0.6 to 7.0.8.
- [Release notes](https://github.com/styled-components/jest-styled-components/releases)
- [Changelog](https://github.com/styled-components/jest-styled-components/blob/main/CHANGELOG.md)
- [Commits](https://github.com/styled-components/jest-styled-components/compare/v7.0.6...v7.0.8)

---
updated-dependencies:
- dependency-name: jest-styled-components
  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-05-12 14:27:54 +03:00
dependabot[bot]
a3d7a1f376
Bump @testing-library/jest-dom in /kafka-ui-react-app (#1806)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.14.1 to 5.16.4.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.14.1...v5.16.4)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-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-05-12 13:59:32 +03:00