* Redirect the user to the wizard page if no clusters
* added test case
* changed test case for redirect to new cluster config page
* replaced mockedUsedNavigate with mockedNavigate
* added ability to show dashboard if clicking on it
---------
Co-authored-by: Oleg Shur <workshur@gmail.com>
* Drop experimental endpoints
* [FE] Change message timestamp format (#3119)
* remove dayjs from the code base
* remove dayjs library and clean up the hook codes
* minor obsolete fixtures deletion
* minor provider code modifications
* minor provider code modifications
* minor linter code modifications
* minor date local and language code modifications
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
* removing timestamp api from the generated sources
Co-authored-by: Mgrdich <46796009+Mgrdich@users.noreply.github.com>
Co-authored-by: Mgrdich <mgotm13@gmail.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>
* 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
* 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
* Removed two enzyme test with testing-library tests
* Got rid of enzyme and wrapper in List.spec.tsx
* Got rid of enzyme and wrapper in ListItem.spec.tsx
* Got rid of enzyme and wrapper in BytesFormatted.spec.tsx
* Got rid of enzyme and wrapper in ConfirmationModal.spec.tsx
* Got rid of enzyme and wrapper in Tabs.spec.tsx
* Got rid of enzyme and wrapper in Actions.spec.tsx
* Got rid of enzyme and wrapper in ListItem.spec.tsx
* Got rid of enzyme and wrapper in FiltersContainer.spec.tsx
* Got rid of enzyme and wrapper in ListItem.spec.tsx
* Got rid of Enzyme in a two more files
* Got rid of Enzyme in testHelpers.tsx
* Got rid of snapshots
* Three wrappers replaced with render from testHelpers
* Testing id replaced
* Fixed linter warnings
* Got rid of testIds
* Got rid of unnecessary containers and ...queryBy functions
* Got rid of dublicated ...getByRole functions
* Got rid of dublicated more than two times ...getByText functions
* Got rid of unused imports
* Got rid of unused import
* Desciptions fixed
* Got rid of providers
* Got rid of unused imports
* package-lock.json reverted
* Refactor Actions component specs
* Get rid of TestRouterWrapper
* Refactor specs
* Refactor specs
* linting
Co-authored-by: k.morozov <k.morozov@ffin.ru>
Co-authored-by: lazzy-panda <grifx.design@gmail.com>
* Implementing Context to the Topic messages pages
* Using TopicContext in the Topics Topic MessageTable component
* Using TopicContext variable in the Filters component
* Fixing the Ordering of the Live mode Topic messaging
* Fixing isLive parameter bug during page refresh
* Minor code modification in Topic Filter Message page
* Implement the correct seekType during live mode in url as well as in api call
* Add Test cases to Messages and refactor eventSource Mock
* Add initial Testing file for messages table
* improve the MessagesTable test File
* improve the MessagesTable test File + Filter Test File
* improve the MessagesTable test File
* Change the function name toggleSeekDirection to changeSeekDirection
* change the name of the test suites to be more declarative
* Display the table progress bar in live mode only when no data is fetched