Commit graph

278 commits

Author SHA1 Message Date
David
9256b741be
fixed All warnings with Act function in testing library (#2910)
* fixed All warnings whit Act function in testing library

* added act functions as described in the testing library documentation

* removed 'return' from renderComponents

Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
2022-11-22 16:40:34 +04:00
Winnie Chiu
8bb9f63658
Seek type field became empty with refreshing the page (#2863)
* Seek type field became empty with refreshing the page (#2857)

* Seek type field became empty with refreshing the page (#2857)

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-11-17 15:17:28 +04:00
David
8dc1e00ca2
fixed undefined (reading 'data') warning in Statistics.spec.tsx (#2927)
Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
2022-11-12 00:04:01 +04:00
Oleg Shur
8b7c8e3216
Remove messages v2 (#2917) 2022-11-10 19:50:17 +04:00
kristi-dev
74b20d5a58
#2685 Migrate Topic Settings page to the new version of table component (#2834)
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-11-09 15:47:25 +00:00
kristi-dev
fdf82986dc
Message fields previews (#2756)
* #2544 message fields preview

* #2544 add test coverage

* #2544 add tests to message table

* #2544 code review fix and validation message

* #2544 fix bug with validation and add edit values

* #2544 improve test coverage

* #2544 fix code review comments

* #2544 fix build fails

Co-authored-by: Kris-K-Dev <92114648+Kris-K-Dev@users.noreply.github.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-11-07 19:34:33 +04:00
Mgrdich
b0782da7d1
[FE] Add a space to formatted sizes (#2848)
* Add space to formatted sizes + modification in the test components

* Bytes-format component to be treated as a single word

* fix TopicTests()

* Merge branch 'master' into issues/2676

Co-authored-by: Vlad Senyuta <66071557+VladSenyuta@users.noreply.github.com>
Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
2022-11-07 17:01:57 +04:00
Hrant Abrahamyan
20543fc2f3
Topic analysis visual improvements (#2691)
Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-11-07 15:23:40 +04:00
vitalymatyushik
d2a62e2762
Make topic bulk actions buttons always visible (#2835) 2022-10-28 19:55:35 +04:00
David
b43ba68405
Testing library update to 14.4.3 (#2741)
* Update RTL to v14.4.3

* fixed test cases QueryForm.spec.tsx, SchemaVersion.spec.tsx

Co-authored-by: Oleg Shur <workshur@gmail.com>
Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
2022-10-26 23:15:25 +04:00
Hrant Abrahamyan
e67d940981
added shouldDirty (#2776) 2022-10-26 12:07:03 +04:00
Aditya Bhattad
e87178136c
[UI] Changed Content to Value and updated a Test (#2812)
* Changed Content to Value and Update a Test

* Corrected content->value in tests

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-10-25 23:52:19 +04:00
David
15e7fc42d2
Migrate Topic Consumers page to new version of table component (#2717)
* Migrate Dashboard table to the new version on table components #2682

* Added universal component to the column section and added part of test  #2682

* Added universal component for the all new tables in project  #2682

* deleted color argument on LinkCell component

* deleted link on topic count

* Migrate Topic Consumers page to new version of table component #2681

Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-10-19 21:31:18 +04:00
David
6581ee605b
Migrate Topic Overview to the new version of table #2684 (#2704)
* Migrate Topic Overview to the new version of table #2684

* changed Dropdown Toggle visibility to disabled and fixed test

* changed drop down button disabled rule

* deleted cleanUpPolicy form the some tests

Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-10-19 21:27:06 +04:00
Aditya Bhattad
0e4a314082
Topic messages: rename "content" to "value" (#2765) 2022-10-19 21:24:19 +04:00
David
c961344824
Add "Total size" of Partition within Topic's statistics #2536 (#2662)
* add "Total size" of Partition within Topic's statistics #2536

* Used Bytes Formatted on total size of Partition within Topic's #2536

Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-10-04 16:31:07 +04:00
Aditya Bhattad
e3aeb0cac8
Delete "Num Of Topics" column (#2690)
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-10-04 16:23:11 +04:00
Oleg Shur
8731de1520
Add scrollable wrapper to the new table component (#2692) 2022-10-02 14:38:36 +03:00
Vaishnavi Joshi
55c8d6ac2d
Topic list: Rename "total partitions" to "partitions" (#2687) 2022-10-02 11:34:13 +04:00
David-DB88
a1d14ab430
Add warning message for the Topic Danger zone #2534 (#2663)
* Add warning message for Danger zone in case of editing the Topic #2534

* Used existing palette color on warning message for Danger zone in case of editing the Topic #2534

* Update kafka-ui-react-app/src/components/Topics/Topic/Edit/DangerZone/DangerZone.tsx

Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-09-30 17:04:40 +04:00
Hrant Abrahamyan
eb03a12233
Format dates in a single place, Display build date instead of full commit hash in version info (#2590)
* message

* if tag contains -SNAPSHOT - display formatted timestamp

* create Time format context

* fix pull request commits

* change pull request commits

* add fetchTimeFormat function

* add fetchTimeFormat function

* chnage test run

* fix testing error

* covered global context with tests

* removed unused import statement

* fixed smell

* pull master

* fixed code smeils

* covered Version component, hooks with tests, fixed code review comments

* converted outdated to boolean

* remove tag condition from return
2022-09-28 14:23:16 +03:00
Ilya Kuramshin
049b35fc99
Pluggable serde (#2125)
* checkstyle

* node version reverted

* api comments

* unused properties removed

* serde api fix

* renamings

* PR review fixes

* checkstyle fix

* PR fixes

* UUID serde tests added

* UUID serde tests added

* fixed due to review comments

* 1. kafka-ui-serde-api renamed 2. kafka-clients dependency removed from kafka-ui-serde-api module

* dep fix

* Add serde to send message component (#2620)

* Add serde to send message component

* adds serde selects to messages views

Co-authored-by: iliax <ikuramshin@provectus.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: Kristina Kiparoidze <kkiparoidze@provectus.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-09-27 19:52:59 +04:00
Oleg Shur
d9e74deb28
[Experimental] New Messages layout (#2462) 2022-09-20 13:44:02 +03:00
Winnie Chiu
9962d29926
Add "Num of Topics" to Topic/Consumer tab (#2607)
Co-authored-by: winniechiu <winniechiu@cht.com.tw>
2022-09-20 03:37:21 +04:00
Winnie Chiu
3bfdc98cc9
Rename "back to filters" label (#2604) 2022-09-18 16:19:22 +04:00
Mau Rodríguez Morales
ee92ea47cb
Issue 2304: applying fix for saved filters cancel navigation issue (#2482)
* Issue 2304: applying fix for saved filters cancel navigation issue

* Addressing unit test warnings

Co-authored-by: Mau Rodriguez Morales <mrodriguezmorales@provectus.com>
Co-authored-by: Kristina Kiparoidze <kkiparoidze@provectus.com>
Co-authored-by: Kris-K-Dev <92114648+Kris-K-Dev@users.noreply.github.com>
2022-09-13 11:58:19 -05:00
Mau Rodríguez Morales
0ca69fb142
Add a warning upon deleting saved filter which is in use (#2484)
Co-authored-by: Mau Rodriguez Morales <mrodriguezmorales@provectus.com>
2022-09-01 13:43:46 +04:00
Shubham Jain
5ff65e4472
Add full message details to export (#2493) 2022-08-30 17:57:54 +04:00
Shubham Jain
a9c31e6a32
Fix topic edit redirect (#2485) 2022-08-25 00:41:22 +04:00
KriKiparoidze
6de2eaeab1
#2261 "Value" field is focused with adding the Custom Parameter in a Topic (#2469) 2022-08-22 15:11:53 -05:00
KriKiparoidze
26d800f997
Fix smart filters multiple conditions (#2400)
Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-08-18 16:51:51 +04:00
Oleg Shur
8d3f098385
Use back link instead of breadcrumbs (#2430)
* Use back link instead of breadcrumbs

* Unify topic pages

* Unify topic page actions

* fix

* Remove unused test
2022-08-15 14:08:10 +03:00
Oleg Shur
e1fb6bacc3
Get rid of SmartTable component (#2444)
* Get rid of SmartTable component

* Clickable rows

* Improve test coverage
2022-08-15 13:46:13 +03:00
Oleg Shur
21f17ad39e
Use new table component for topics list (#2426)
* Use new table component for topics list

* Fix styling

* Migrate BrokerLogdir to new tables

* Improve test coverage
2022-08-12 15:36:07 +03:00
Roman Zabaluev
5fdcd2124c
Fix a typo within topic's statistics (#2422) 2022-08-12 15:22:27 +04:00
MichaelGonzalezMurillo
24243e36ac
Fix validation message for Topic name field (#2425)
* Fixes #2203

* Fixes #2203 adding unit tests
2022-08-12 15:21:15 +04:00
Oleg Shur
7765a268af
Topic statistics (#2413)
* Topic statistics

* Typo

* Code smell

* Specs

* Specs

* Use timestamp helper

* Improve coverage

* styling
2022-08-09 16:13:03 +03:00
Oleg Shur
8efd890540
Update Alerts to use ReactNode as a message content (#2399) 2022-08-08 13:00:43 +03:00
Oleg Shur
8f0ffe665c
Refactor topics (#2386) 2022-08-05 00:25:50 +03:00
Oleg Shur
2d82b9c0a9
New Confirmation Messages modal (#2376)
* New Confirmation Messages

* Fix #2348

* Fix codesmels

* fix #2242

* fix #2347
2022-08-03 11:37:35 +03:00
Smbat Siradeghyan
819ae60e6b
Fix default properties' values propagation upon topic edit (#2205)
* fix topic  edit form

* remove unused import

* add test for topicParamsTransformer

* add tests for topicParamsTransformer

* try to fix tests topicParamsTransformer

* try to fix tests topicParamsTransformer

* try to fix tests topicParamsTransformer

* fix tests for topicParamsTransformer

* try to fix tests topicParamsTransformer

* try to fix tests topicParamsTransformer

* try to fix tests topicParamsTransformer

* try to fix tests topicParamsTransformer

* fix review comments

* fix tests name

* fix tests name

* remove default value from getValue function

* fix tests names

* fix topic create page

* remove unused import

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-08-01 21:17:08 +04:00
Oleg Shur
c4f97327c0
Make frontend work properly with custom context url (#2363)
* Add an ability to run app from subfolder

* linting

* Fix all the static resources URLs and manifest.json

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-08-01 20:47:49 +04:00
Oleg Shur
70414d2279
New Dropdown component (#2355)
* New Dropdown component

* Cleanup

* Styling

* Minireset
2022-07-31 15:38:44 +03:00
Oleg Shur
bffe316063
Use react-hot-toaster for alerts (#2312)
* Use react-hot-toaster for alerts

* Fix linting problems
2022-07-25 14:16:00 +03:00
Robert Azizbekyan
48325bc5ad
fixing newest first mode issue and actionscell dispatch issue (#2305) 2022-07-21 16:57:49 +04:00
Robert Azizbekyan
6891f71452
fixing create schema page validation issue (#2313) 2022-07-21 14:03:13 +04:00
Robert Azizbekyan
30f836645d
Dependabot/npm and yarn/kafka UI react app/eslint plugin react 7.30.1 (#2232)
* Bump eslint-plugin-react from 7.29.4 to 7.30.1 in /kafka-ui-react-app

Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.29.4 to 7.30.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.29.4...v7.30.1)

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

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

* taking ActionsCell out of List

* removing package-lock

* refactoring props

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-19 18:53:07 +04:00
Oleg Shur
96b00785b5
Upgrade redux (#2299)
* got rid of redux-thunk

* Bump redux

* Bump ace. Got rid of node-fetch

* Fix vite config
2022-07-19 16:18:28 +03:00
Oleg Shur
7d4e42c860
got rid of the dead code (#2286) 2022-07-18 18:33:44 +03:00
Robert Azizbekyan
7845476af1
fixing forms not no be able to submit until all required fields are f… (#2221)
* fixing forms not no be able to submit until all required fields are filled

* fixing topic form validation issue
2022-07-18 17:08:32 +04:00