Commit graph

121 commits

Author SHA1 Message Date
dependabot-preview[bot]
f468fc1be4
Bump @types/node from 14.14.35 to 14.14.37 in /kafka-ui-react-app (#325)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.35 to 14.14.37.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-29 14:28:04 +03:00
dependabot-preview[bot]
a56c98a433
Bump react-redux from 7.2.2 to 7.2.3 in /kafka-ui-react-app (#326)
Bumps [react-redux](https://github.com/reduxjs/react-redux) from 7.2.2 to 7.2.3.
- [Release notes](https://github.com/reduxjs/react-redux/releases)
- [Changelog](https://github.com/reduxjs/react-redux/blob/master/CHANGELOG.md)
- [Commits](https://github.com/reduxjs/react-redux/compare/v7.2.2...v7.2.3)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-29 14:27:34 +03:00
dependabot-preview[bot]
e2b2e1cb01
Bump @wojtekmaj/enzyme-adapter-react-17 in /kafka-ui-react-app (#328)
Bumps [@wojtekmaj/enzyme-adapter-react-17](https://github.com/wojtekmaj/enzyme-adapter-react-17) from 0.4.1 to 0.6.0.
- [Release notes](https://github.com/wojtekmaj/enzyme-adapter-react-17/releases)
- [Commits](https://github.com/wojtekmaj/enzyme-adapter-react-17/compare/v0.4.1...v0.6.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-29 14:27:09 +03:00
dependabot-preview[bot]
a15770e9d7
Bump @openapitools/openapi-generator-cli in /kafka-ui-react-app (#320)
Bumps [@openapitools/openapi-generator-cli](https://github.com/OpenAPITools/openapi-generator-cli) from 2.2.2 to 2.2.4.
- [Release notes](https://github.com/OpenAPITools/openapi-generator-cli/releases)
- [Changelog](https://github.com/OpenAPITools/openapi-generator-cli/blob/master/.releaserc)
- [Commits](https://github.com/OpenAPITools/openapi-generator-cli/compare/v2.2.2...v2.2.4)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-29 14:25:58 +03:00
dependabot-preview[bot]
56d718ce5e
Bump @typescript-eslint/eslint-plugin in /kafka-ui-react-app (#327)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.18.0 to 4.19.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.19.0/packages/eslint-plugin)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-29 14:25:36 +03:00
dependabot-preview[bot]
98ce933ee1
Bump eslint from 7.22.0 to 7.23.0 in /kafka-ui-react-app (#329)
Bumps [eslint](https://github.com/eslint/eslint) from 7.22.0 to 7.23.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.22.0...v7.23.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-29 14:25:20 +03:00
Oleg Shur
9775f0dae7
[CHORE] Update react app readme (#311) 2021-03-25 12:42:40 +03:00
iliax
8d2f929a52
ISSUE-309: Topic create & update models split (#312)
* ISSUE-309: Topic create & update models split
2021-03-25 11:24:51 +03:00
Oleg Shur
a256709580
[CHORE] Cleanup Sonar dups (#307) 2021-03-24 16:51:40 +03:00
Oleg Shur
7672f5e4cd
[CHORE] Cleanup based on SonarCloud report (#306)
* [CHORE] FIx security risk. Use FonAwesome package

* [CHORE] Cleanup

* [CHORE] Remove unused file
2021-03-24 13:24:10 +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
595707edb6
#224 Deleting topics (#271)
* Implement topic deletion

* Test
2021-03-23 11:34:16 +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
427d3faffa
Bump react app deps (#285)
* Bump deps

* Update actions
2021-03-18 14:39:00 +03:00
dependabot-preview[bot]
0ed08fb41e
Bump @types/node from 12.20.6 to 14.14.35 in /kafka-ui-react-app (#279)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.20.6 to 14.14.35.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-18 13:18:54 +03:00
Oleg Shur
c908ae6967
Update Code Q integrations (#276)
* Update Code Q integrations

* Code Q improvements (#277)
2021-03-18 13:07:04 +03:00
dependabot-preview[bot]
3cab34dca7
Bump @types/react-datepicker from 3.1.7 to 3.1.8 in /kafka-ui-react-app (#274)
Bumps [@types/react-datepicker](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-datepicker) from 3.1.7 to 3.1.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-datepicker)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-17 22:20:38 +03:00
dependabot-preview[bot]
575d83eaff
Bump @types/jest from 26.0.20 to 26.0.21 in /kafka-ui-react-app (#273)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.20 to 26.0.21.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-17 19:34:57 +03:00
dependabot-preview[bot]
47adcb43ab
Bump ts-jest from 26.5.3 to 26.5.4 in /kafka-ui-react-app (#270)
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.5.3 to 26.5.4.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.5.3...v26.5.4)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-17 19:34:33 +03:00
dependabot-preview[bot]
086c0b9a73
Bump immer from 8.0.1 to 8.0.2 in /kafka-ui-react-app (#272)
Bumps [immer](https://github.com/immerjs/immer) from 8.0.1 to 8.0.2.
- [Release notes](https://github.com/immerjs/immer/releases)
- [Commits](https://github.com/immerjs/immer/compare/v8.0.1...v8.0.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-17 19:23:18 +03:00
dependabot-preview[bot]
6f3aa54933
Bump esprint from 0.6.0 to 2.0.0 in /kafka-ui-react-app (#267)
Bumps [esprint](https://github.com/pinterest/esprint) from 0.6.0 to 2.0.0.
- [Release notes](https://github.com/pinterest/esprint/releases)
- [Commits](https://github.com/pinterest/esprint/commits/v2.0.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-17 14:28:37 +03:00
dependabot-preview[bot]
133f064e0e
Bump pretty-ms from 6.0.1 to 7.0.1 in /kafka-ui-react-app (#266)
Bumps [pretty-ms](https://github.com/sindresorhus/pretty-ms) from 6.0.1 to 7.0.1.
- [Release notes](https://github.com/sindresorhus/pretty-ms/releases)
- [Commits](https://github.com/sindresorhus/pretty-ms/compare/v6.0.1...v7.0.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-17 14:19:47 +03:00
dependabot-preview[bot]
63b422fd18
[Security] Bump react-dev-utils in /kafka-ui-react-app (#260)
Bumps [react-dev-utils](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-dev-utils) from 11.0.3 to 11.0.4. **This update includes a security fix.**
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/HEAD/packages/react-dev-utils)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-17 14:18:39 +03:00
dependabot-preview[bot]
9fde657747
Bump node-sass from 4.14.1 to 5.0.0 in /kafka-ui-react-app (#259)
Bumps [node-sass](https://github.com/sass/node-sass) from 4.14.1 to 5.0.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.14.1...v5.0.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-17 14:18:05 +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
Ramazan Yapparov
a8ed4ff37f
#188 added pagination for get topics api (#249)
* added pagination for get topics api

* frontend fix

* - fixed merge conflicts
- renamed pageSize to perPage
2021-03-15 21:37:36 +03:00
German Osin
909e196011
Feature refactoring, structure simplifying (#250) 2021-03-15 17:41:25 +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
1188ce9bc2
#219 ReadOnly flag (#231)
* Implement read-only flag logic

* Test new functionality
2021-03-11 12:00:46 +03:00
Ildar Almakaev
e02dd84491
#200 Update schema subject object (#229)
* Return id, version, schema, and subject after creating a new schema

* Throw 422 error code if incoming new schema is unprocessable entity due to invalid fields

* Return 409/Conflict error code if schema is duplicate. Change endpoint of createNewSchema method

* Fix submitting new subject or new version if the subject already exists

* Include schema type to schema objects. By default it's AVRO

* [ISSUE-200] Update FE to support new version of api

* Add one more schema-registry with version 5.5.0 to docker-compose files and app properties

* Upgrade Confluent service versions in tests up to 5.5.0

* Set schemaType is required and ignore when submitting to Schema Registry if it's NULL

Co-authored-by: Oleg Shuralev <workshur@gmail.com>
2021-03-10 15:14:15 +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
36a5bbf9b1
[CHORE] Add openapi-generator-cli to generate sources on FE side (#221)
* [CHORE] Add openapi generator to react app

* [CHORE] Use consistent config for gens in mvn & react app

* [CHORE] Update enums to follow new format

* [CHORE] Fix linter issue
2021-03-03 20:56:28 +03:00
Azat Mutigullin
715b0da3f8 Use getType in reducers 2021-02-28 22:41:19 +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
8f63cf775e
[CHORE] Specs. Improvements (#202)
* [CHORE] Improve types

* [CHORE] Example of actions & thunks specs

* [CHORE] Example of reducer & selectors specs

* [CHORE] Update dependencies
2021-02-20 00:10:50 +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
Oleg Shur
6fb1d12355
[CHORE] Specs and Test env improvements (#198)
* [CHORE] Update dependencies

* [CHORE] Configure Test env. Add enzyme-to-json snapshot serializer

* [CHORE] Specs for Topic Messages component

* [CHORE] Mock Date-fns

* [CHORE] Refactor keys

* Run related tests on commit

* [CHORE] Stub date

Co-authored-by: Azat Mutigullin <mehemaul@gmail.com>
2021-02-16 14:16:03 +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
Guzel738
10a27ba60e
Messages component refactoring (#174)
* ISSUE-169 Sort topics (#172)

* Messages Table component created

* Messages component refactored

* MessageItem component fixed

* MessageItem component updated

* MessageItem component refactored

Co-authored-by: German Osin <german.osin@gmail.com>
Co-authored-by: Oleg Shuralev <workshur@gmail.com>
2021-02-05 16:53:41 +03:00
Guzel738
5518bbd196 File for enzyme configuration fixed 2021-02-03 17:15:29 +03:00
Guzel738
373c9d1f58 Package-lock.json file updated 2021-02-03 15:15:53 +03:00
Guzel738
1940ff8065 Package.json file edited 2021-02-03 13:58:22 +03:00
Guzel738
8320e9755b
Update Messages.spec.tsx 2021-02-02 17:26:25 +03:00
Guzel738
51c0b1a41c Configuration files updated 2021-02-02 14:48:29 +03:00
Guzel738
8ecbeda71f Merge branch 'i154/tests' of github.com:provectus/kafka-ui into i154/tests 2021-02-02 13:37:08 +03:00
Guzel738
d59355873e Improvements made 2021-02-02 13:36:22 +03:00