Commit graph

680 commits

Author SHA1 Message Date
Mgrdich
c2be45fd06
[FE] Fix invalid SeekType value for the offset and timestamp fields (#3057)
* SeekType fix the value during the offset and timestamp fields

* BE: thread interruption logging added to Emitters

Co-authored-by: iliax <ikuramshin@provectus.com>
2022-12-19 21:44:14 +04:00
Ilya Kuramshin
f9906b5d30
Brokers API improvements (#2743)
* Brokers API improvements:
1. broker io rates stats added
2. active controller property set to node id
3. minor refactoring
4. FE: Add an indicator for an active broker controller

Co-authored-by: Mgrdich <mgotm13@gmail.com>
Co-authored-by: iliax <ikuramshin@provectus.com>
Co-authored-by: Hrant Abrahamyan <113341474+habrahamyanpro@users.noreply.github.com>
Co-authored-by: Mgrdich <mgotm13@gmail.com>
2022-12-12 14:15:55 +04:00
Hrant Abrahamyan
b0c897b5c8
UI support for MSK (#2828)
* UI support for MSK

* fixed test changes

* fixed pull request comments

* Use the opposite operator (!==) instead.

* fixed update topic

* Minor code modifications in the Edit Submission logic

* minor typescript code change, in the TopicFormData

* minor CustomParamField short circuit code efficiency improveral

* Topic Form Edit , sanitization of Default non-dirty fields, while sending the dynamic ones

* fix checkTopicCreatePossibility()

* fix checkTopicCreatePossibility()

Co-authored-by: Mgrdich <46796009+Mgrdich@users.noreply.github.com>
Co-authored-by: Mgrdich <mgotm13@gmail.com>
Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
2022-12-09 19:09:13 +04:00
Mgrdich
4dc0f6d81e
[FE] Implement 404/403s (#2966)
* Add SuspenseQueryComponent for the ErrorBoundary delegation , implement this component in all those pages where the issue was happening

* Add Comment to the SuspenseQueryComponent

* Create the Error page

* Error page styling modifications

* Error Page redirections

* Redux Request handle error case and Navigation

* SuspenseQueryComponent test suites

* minor ErrorPage component modifications

* Add error page test suites

* SuspenseQueryComponent Error handling modification
2022-12-09 13:31:51 +04:00
komilos
e07ce28b2c
Fix UI broker list display in some cases (#2903)
* UI now showing broker list when DISABLELOGDIRSCOLLECTION=true

* specs fix

* code review fixes

* fix the diskUsage check in the empty array case

* fix the diskUsage check in the empty array case minor segment size fix

Co-authored-by: Kamila Alekbaeva <kalekbaeva@provectus.com>
Co-authored-by: Ilya Kuramshin <iliax@proton.me>
Co-authored-by: Mgrdich <mgotm13@gmail.com>
2022-12-07 20:01:37 +04:00
kristi-dev
fdde380072
[FE] Fix create connector button availability (#2952) 2022-12-07 13:09:14 +04:00
kristi-dev
1ba8d14819
KSQL: Focus onto query field after incorrect query execution (#2970) 2022-12-07 12:42:55 +04:00
Pranav Yadav
dbdf143122
chore: changed dateFormat for Timestamp value (#2895)
* chore: changed `dateFormat` for Timestamp value

- in Topic/Messages
- closes #2858

* consider case-sensitivity in `dateFormat`

:)

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-12-07 12:03:10 +04:00
Winnie Chiu
212479d98f
[FE] [Bug] "Select filter" button is active without selecting any saved filter (#2900)
* "Select filter" button is active without selecting any saved filter within Topic/Messages/Saved filters (#2870)

* Add minor tests

* Fix prettier

* Fix unit test

* Fix unit test
2022-12-02 11:47:32 +04:00
Hrant Abrahamyan
7fe999660c
Topic creation: lock page until creation request finished (#2815)
* Topic creation: lock page until creation request finished

* use isLoading when create topic

* used isSubmitting property

* remove connectors import
2022-11-25 18:23:30 +04:00
David
7e82e7434e
fixed unchecking the already checked Topics from main checkbox is not… (#2941)
* fixed unchecking the already checked Topics from main checkbox is not available

* remove commented part

* added checked on header

* changed getToggleAllPageRowsSelectedHandler function to  getToggleAllRowsSelectedHandler

* changed getIsSomePageRowsSelected function to  getIsSomeRowsSelected

Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
2022-11-22 21:08:52 +04:00
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
7fcbf7507b
Changed Topic messages 'save as a file ' also changed test case (#2873)
Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: Mgrdich <46796009+Mgrdich@users.noreply.github.com>
2022-11-16 19:36:27 +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
David
97aa114696
Non-serializable warning (#2921)
* fixed non-serializable values in selectors.spec.ts, navigation warning in Table.spec.tsx,

* added await for userEvent in Table.spec.tsx,

Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
2022-11-11 15:43:15 +04:00
Oleg Shur
8b7c8e3216
Remove messages v2 (#2917) 2022-11-10 19:50:17 +04:00
Roman Zabaluev
9f5d9126da
Add a missing space for partitions count (#2803)
* Add a missing space for partitions count

* Update BrokersList.tsx
2022-11-10 00:43:18 +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
Hrant Abrahamyan
61ac1d921a
[UI] Do not cache serdes endpoint results on frontend (#2814)
* Do not cache serdes endpoint results on frontend

* fixed refetch bug
2022-11-07 19:45:22 +04: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
David
b46ee9c5cc
Broker configs: Display a tooltip about the source of the property (#2775)
* Broker configs: Display a tooltip about the source of the property #2679

* changed tooltip library to @tippyjs/react

* updated styled component import as S

* created separate object in root for theme

* moved tooltip component to Common

* Renamed TooltipComponent to Tooltip

* changed Configs Source Tooltip

* add pnpm lock version

* add @floating-ui/react-dom-interaction ti implement the tooltip , initial

* finalize the tooltip component and add test tio the component

* remove tippy library

* Styling modification in the Tooltip , in the Source pages

Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
Co-authored-by: Mgrdich <mgotm13@gmail.com>
2022-11-07 15:07:24 +04:00
Mgrdich
cd2d8b026f
[FE] Full width table display in KSQL_DB page (#2849) 2022-11-01 16:20:43 +04:00
Roman Zabaluev
cb8049e769
Add a separate endpoint for frontend time format (#2847) 2022-10-31 13:17:23 +04:00
Mgrdich
81072541a8
[FE] Update readme (#2843) 2022-10-29 22:45:21 +04:00
Mgrdich
b28492acd4
[FE] Fix fixtures (#2841) 2022-10-29 17:21:37 +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
Artem Tanyhin
a12380100e
[UI] Fix ksql panes overlap (#2804)
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-10-25 23:41:09 +04:00
David
1b8ee3b672
[UI] Topic search not working properly with pagination #2705 (#2766)
* added reset page to a search component

* changed search file

Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-10-25 23:14:40 +04:00
David
5a67adbf3e
Removed @types/yup package due to being deprecated also updated yup version to 0.32.11 (#2799)
Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-10-24 23:34:20 +04:00
Hrant Abrahamyan
f7f2e1dd1f
Fix wrong actuator URL with custom path (#2782)
Co-authored-by: Oleg Shur <workshur@gmail.com>
2022-10-24 23:32:51 +04:00
komilos
dc1785e338
Fix KSQL empty field in Stream properties causes errors (#2744)
Co-authored-by: Kamila Alekbaeva <kalekbaeva@provectus.com>
2022-10-20 15:17:26 +04:00
Hrant Abrahamyan
45aa4542ba
Migrate Schema details table to the new version of Table component (#2708)
* Migrate Schema details table to the new version of Table component

* change get row ogigin data from fixtures
2022-10-19 21:36:33 +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
0939d6140f
Migrate Dashboard table (#2694)
* 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

Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
2022-10-10 19:36:53 +04:00
Kris-K-Dev
7d5b7de992
#2325 Make connectors table rows clickable and #2076 Implement connec… (#2689)
* #2325 Make connectors table rows clickable and #2076 Implement connectors sorting

* #2325 fix status sorting

* fix ConnectorsTests

* #2325 code review

* #2325 add test coverage

* #2325 code review fix

* #2325 fix redirects for topics

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
2022-10-07 11:20:22 -04:00
Hrant Abrahamyan
80eb2dccfe
Unify tabs placement (#2637)
* Unify tabs placement

* moved topic page pane

* change

* remove topic pane change

* fix ConnectorsTests

Co-authored-by: Oleg Shur <workshur@gmail.com>
Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
2022-10-07 17:04:21 +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
Winnie Chiu
9632ffdbdb
Add "Messages behind" for Topics within Consumer group profile (#2614)
Co-authored-by: winniechiu <winniechiu@cht.com.tw>
2022-10-04 16:25:55 +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
David-DB88
68218668ec
fixed tests connectors buttons with a sandwich menu #2403 (#2666)
* fixed tests connectors buttons with a sandwich menu #2403

* Changed color delete button and fixed tests #2403

* fix deleteConnector()

* fix deleteConnector()

Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
2022-10-03 11:42:48 +03: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