Commit graph

174 commits

Author SHA1 Message Date
Hrant Abrahamyan
20543fc2f3
Topic analysis visual improvements (#2691)
Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-11-07 15:23:40 +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
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
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
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
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
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
Robert Azizbekyan
002e4db355
fixing create topic (#2275) 2022-07-18 14:57:28 +04:00
Oleg Shur
a4046d46ef
chore: migrate clusters from toolkit to react-query (#2214) 2022-06-28 15:15:12 +03:00
Oleg Shur
8acbcbacb9
Upgrade deps (#2206)
* hook

* Upgrade Jest to v28

* Upgrade Typescript
2022-06-27 13:07:47 +03: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
Robert Azizbekyan
d859dd6b3f
fix adding message for topics (#2161) 2022-06-15 16:56:47 +04: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
70d3cee0bf
fixing partition dropdown (#2073) 2022-06-02 13:21:20 +04:00
Robert Azizbekyan
eb9aeef2d1
disable produce message button if cluster is readOnly (#2077) 2022-05-31 19:04:33 +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
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
7ba10c1b7a
adding error message when created message has wrong header format (#2033) 2022-05-30 18:36:04 +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