* Marked serde-failed messages with red
* added styles on icon position
* added icon for the Key and Value
* changed warning icon position
* changed warning icon and data cell style
* added Ellipsis component
* refactor Ellipsis.tsx
* resolved conflicts
---------
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
* Display In Sync Replicas (ISR) by Partition on Topic overview (#2703)
* add unit test
---------
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
* Role based access control
* Fix build + checkstyle
* Refactoring, some bug fixes, review fixes
* Compile permission value patterns
* Make the resource a enum instead of a string
* Refactoring
* Make clusters required
* Fix formatting
* switch the switch case to a smart switch case
* Get rid of topic analysis actions
* Rename endpoints, fix an issue
* Return a flag indicating if rbac is on and a username
* Fix yaml indent in editorconfig
* Fix github & cognito role name fetching
* Fix case matching for actions
* Update readme
* Add an endpoint to determine if a user can create a resource
* Fix tests (I hope so)
* Fix tests
* Use spring configs instead of a separate file, rename endpoints
* Add "ALL" action
Get rid of unnecessary cache, save groups into spring auth
Review fixes
* Make "all" action case-insensitive
* Role based access control / FrontEnd (#2933)
* Initial modifications and mocking the For the RoleAccess
* fix the Suspense issue in the components , comment the Tests to implement later
* minor test comment
* Roles and configuration and santization of data
* initialize RoleCheck hook
* make the App test file visible + minor modification in the permission hook
* Structure the data so the Burger header toggle does not rerender the whole application
* add tests to the NavBar and the Page container , add tests
* NavBar and PageContainer bug fixes
* Roles Testing code modification
* covering Topics create button Actions, and Schema create button Actions
* minor typescript code modifications for the cluster required parameter in the rolesHelper
* minor typescript code modifications for the cluster required parameter in the rolesHelper
* minor code modification to describe the Permission tests more clearly
* Produce message Permissions with Tests Suites for Topic
* Add Schema Edit Permission with tests
* Minor role changes
* Add ActionButton Component to handle the Button with tooltip
* Add ActionButton Component to handle the Button with tooltip
* Add Action Button to every Button create Action
* ActionButton add test suites
* usePermission code modification to include regular expressions
* Abstract Actions Component for code repetition, add Configs Edit button Permission + add the tests suites to it.
* Schema Remove functionality Permission and Test Suites + creation of the ActionDropdownItem for Actions
* Topic Edit Clear and delete Topic , Permissions with test suites
* ActionsCell For Topic Message Overview for permissions with tests suites
* Connector Delete , Consumer Groups Permission + writing test suites
* Add Permissions to the Topics ActionCell
* Topic Table Permissions Tests Suites
* Headless Logic for the Permission Part
* add documentation for the headless Part of the permission + add modification of the data version 2 for efficient algorithmic lookup
* replace modify data logic and isPermitted function to have faster access to the data
* Add Permission helpers tests suites
* usePermission hook test suites
* BatchActionsBar add Permissions + minor modification in TopicTable tests suites
* Statistics and Metrics code Permission + add test suites
* Recreate Topic Permissions in the Topic page, add tests suites
* Actions for the Connector components
* Messages NavLink View Permission
* Test suites messages code modifications
* Permissions comment code modifications
* Replacing the Mock Data With the actual code
* Add ActionNavLink test suites
* BatchActionsBar code smell modifications
* maximizing the permissions tests suites
* maximizing the permissions tests suites
* maximizing the permissions tests suites
* Tooltip code refactoring and fix the positions issue
* permissions increase the tests coverage
* add user info at the navigation header and tests suites
* Add Global Schema Selector Permissions with test suites
* Roles minor code removal
* Change the Action Component form hook mixin approach to declarative props approach
* add isPermitted function for multiple Actions , adding tests suites for this particular case
* remove redundant Permissions test blocks from the components
* remove redundant Permissions test blocks from the components
* Action Buttons test suites' coverage + generalizing the code of the Actions
* add invalid Permission check in Action Components tests suites
* Modularization of Actions Components
* Modularization of Actions Components by adding DropDownAction to it.
* Reflect the BE Changes to the UI , by changing the default behavior or the testing of roles.
* Reflect the BE Changes to the UI , by changing the default behavior or the testing of roles.
* Get rid of not necessary usePermission mocks
* Modifications in the UserInfo data , to consider the UI without any login functionality
* minor code modifications in the BatchActionBar component
* change the Query key for the user info
* change the default message for the tooltip
* Fix the Create Role Access for Topics and Schemas
* ListPage Connector create permissions
* add Headless logic for Create Permission with test suites. + add react hook render-er
* Create Button ActionButton logic implementation
* Remove Code smells , by removing the duplications
* increase the test suites for isPermittedToCreate logic
* increase the test suites for isPermittedToCreate logic
* Change the UserResourceType Enum with the new value
* Apply New Resource Creation validation, for Topic, Schema, Connector
* Apply New Resource Creation validation, for Topic, Schema, Connector
* minor code refactor modifications
* minor code modification in the topics useCreate hook
* Async Validation for all the Create Pages
* caching test for optimal performance in async validation schemas
* Reverting the Front End Validation
* Reverting the Front End Validation
* Authorization API minor syntax modifications
* fix SmokeTests
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
Co-authored-by: Mgrdich <46796009+Mgrdich@users.noreply.github.com>
Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
* 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
* 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>
* 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>
* 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>
* Kafka Connect hooks
* Migrate connectors list page to RQ
* Migrate connector details page overview to RQ
* Migrate connector config page to RQ
* Migrate connector tasks page to RQ
* Get rid of some deadcode
* Migrate connector Actions page to RQ
* Get rid of some deadcode
* Migrate connector create page to RQ
* Migrate connector Edit page to RQ
* move fixtures to lib folder
* refactoring
* sse init
* sse refactoring
* checkstyle fix
* checkstyle fix
* refactor
* refactor
* api spec changes
* ReactiveAdminClient toMono fix
* moved to ksql/v2 request
* Updates Result renderer and Query SSE bugs
* Result renderer works
* Corretcly renders table and errors
* Changes the way getFormattedError formats message for error alert
* Adds common comp Header, Adds new component TableTitle, Changes PageHeading, LatestVersionItem and TableTitle to use Header comp, Adds error handling for KSQL SSE
* Changes functions to useCallbacks
* WIP: Fixes linter issue
* fixes
* WIP: Disables controls on request
* fixes
* WIP: Disabled editors look disabled, Updates snapshot
* WIP: Removes codesmell
* fixes
* fixes
* WIP: Adds eslint rules for react hooks, Fixes bug in ksqlDb query
* WIP: Fixes error with early return
* WIP: run to test if it builds
* WIP: Fixes error formating
* WIP: Fixes error message
* WIP: better error
* WIP: Fixes validation issues and now we can submit form with CMD + ENTER
* WIP: Initial tests
* WIP: More test for query
* WIP: rewrite to make things simpler
* WIP: Tests done
* WIP: More tests
* small improvement
* Test if sonar works
* Adds cases for TableRenderer
* Fixes test fro table renderer
* Changes sonar properties
* Adds cases for QueryForm.spec.tsx
* Adds cases to QueryForm.spec.tsx
* Updates Query.spec.tsx
* Adds small eventsource mock
* Adds test to QueryForm.spec.tsx
* Updates Query.spec.tsx
* Better error with empty response
Co-authored-by: Ekaterina Petrova <epetrova@provectus.com>
Co-authored-by: iliax <ikuramshin@provectus.com>
Co-authored-by: Ilya Kuramshin <ilia-2k@rambler.ru>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: Mgrdich <mgotm13@gmail.com>
Co-authored-by: Mgrdich <46796009+Mgrdich@users.noreply.github.com>
* smart filter creation
* fixing array deps warnings
* fixing array dep errors and infinite loop error
* fixing list item key issue
* adding tests for modals
* adding filterModal tests and fixing code smell in addFilter
* new test cases
* adding test cases
* adding test cases
* fixing code smell issue
* adding new test cases
* import fix
* minor code modifications AddFilter Testing
* minor code modifications FilterModal Testing
* adding AddEditFilterContainer Component for code to avoid code repetition initial
* adding AddEditFilterContainer Component for code to avoid code repetition
* adding AddEditFilterContainer Component moving the form validation and controlled components feature into the component
* adding AddEditFilterContainer Component minor code modifications + adding initial test file for AddEditFilterContainer component
* refactoring and minor modifications in the AddEditFilterContainer test files
* replace EditFilter body with the addEditContainer for general code structure
* Applying AddEditFilterContainer into the AddFilter component , minor EditFilter test typo fix.
* minor error messages view fix in the AddEditFilterContainer + adding testing in AddEditFilterContainer
* adding tests for AddEditFilterContainer component
* adding tests for AddEditFilterContainer component
* adding tests for AddFilter File
* Increasing the performance and the coverage of the tests in AddFilter
* Increasing the performance and the coverage of the tests in AddFilter to full capacity
* Removing the warnings from the AddFilter testing File
* Adding Test File To MessageContent styled file
* Adding Tests in the Filter Component
* Adding Tests in the Filter Component for Seek Selects
Co-authored-by: Mgrdich <mgotm13@gmail.com>
Co-authored-by: Mgrdich <46796009+Mgrdich@users.noreply.github.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
* Removed sass modules not used in project
* get rid Icon from Bulma
* Get rid of Bulma's classes 'Elements'.
* resoved comments from review
* resolved Code Smells problem
* refactoring TableHeader styles
* merge master
Co-authored-by: Oleg Shur <workshur@gmail.com>
* Get rid of direct use of colors map
* Edited direct using color map in styled component
* Resolved conflicts, refactored Dropdown component
* resolved feedback
* refactoring
Co-authored-by: Oleg Shur <workshur@gmail.com>
* Make all labels Title Case in popup menus.
* Increased length of the sorting box to make the title readable like for 'Latest first' there.
* Disabled 0 and negative values in Topic Creation redesign.
* Changed consumer, connect labels status colors.
* Added test for consumer-list
* Update kafka-ui-react-app/src/components/Brokers/Brokers.tsx
Co-authored-by: Oleg Shur <workshur@gmail.com>
* Fixed warnings.
* Added test for customer group list.
* Added an interface to the object.
Co-authored-by: Oleg Shur <workshur@gmail.com>