* Refactor TopicMessages's store to redux/toolkit
* adding test cases to improve coverage
* fixing eslint error
* removing extra code
* Transform redux connect reducer and actions into toolkit slice. (#1883)
* integrate redux toolkit for connects
* uncomment test case
* remove unnecessary comment
* reduce duplication
* Implement code highlighting for smart filters (#1868)
* Implement code highlighting for smart filters
* delete unnecessary code
* fixing eslint problem
* fixing sonar code smells (#1826)
* fixing sonar code smells
* removing unnecessary change
* fixing some sonar code smell issues
* making requested changes
* Fix sonar badges in readme (#1906)
* fixing merge conflicts
Co-authored-by: Oleg Shur <workshur@gmail.com>
* Add positive notifications after some successful actions. (#1830)
* add some positive notifications after successful actions
* some improvements
* improve alerts reducer tests
* Fix test warnings (#1908)
* fix fetch mock warnings in brokers.spec.tsx
* use separate waitFor-s for fetch-mock call expects
* Persist show internal topics switch state (#1832)
* persist show internal topics switch state
* minor improvements in topics list tests
* prevent duplication in topic list test file
* fix seek type select border-radius and user-select (#1904)
* Refetch topics list to display the updated data (#1900)
* refetch topics list to display the updated data
* fixing sonar code smells (#1826)
* fixing sonar code smells
* removing unnecessary change
* fixing some sonar code smell issues
* making requested changes
* Fix sonar badges in readme (#1906)
Co-authored-by: Robert Azizbekyan <103438454+rAzizbekyan@users.noreply.github.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
* Show confirmation modal when clear messages is clicked in topics list (#1899)
* show confirmation modal when clear messages is clicked in topics list
* change variable name
* add missing dependencies
* use useModal hook for topics list modals
* display a human-readable error message for topic custom parameers value field (#1896)
* modify dependencies to fix partitions filter bug (#1901)
Co-authored-by: Arsen Simonyan <103444767+simonyandev@users.noreply.github.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
* Add Tests to Topics Lists Page for TopicsTableCells
* Delete obsolete ListItems and its test suites from topics.
* Add tests suites for the new Topic creation
* Add tests suites for TopicForm styled components
* Minor code modifications in the CustomParamField test file
* Minor code modifications in the CustomParams test file
* Minor code modifications in the Topic folder
* Add test suites for Topic Edit Page + minor modifications in the DangerZone test suite
* Add tests suites for Topic Edit page
* Add tests suites for Topic Edit page
* Add tests suites for Topic Edit page
* Add tests suites for DangerZone and validation
* Add tests suites for DangerZone
* Add tests suites for DangerZone
* Add tests suites to SendMessage
* increase the tests coverage for validateMessage
* minor changes in the SendMessage and validateMessage function
* add alert message suggestion in the SendMessage
* add alert message suggestion in the SendMessage
* Total Coverage of Overview test suites
* increase tests suite coverage in the Filters styles
* increase tests suite coverage in the Filters styles + Messages Page
* improve the test coverage of the Message Component
* improve the test coverage of the Message Component
* improve the test coverage of the MessagesTable Component
* improve the test coverage of the MessagesTable Component
* improve the test coverage of the MessagesTable Component
* Add Tests for Topic Page
* Change to react testing library from enzyme Topics list
* optimizing List elements Tests suites
* delete necessary file
* minor bug fix in messages due to the rebase
* minor semantic changes in the Test suites
* 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>
* disable filter options when live tailing mode is enabled
* prevent seek direction change when stop loading is pressed on live mode
* disable submit button while tailing
* write tests for MultiSelect.styled component to achieve 100% coverage
* fixing Message addition order during Live tailing
* fixing Message addition order during Live tailing adding tests suites
* minor changes in the function name for prepending addTopics during live mode
* delete minor code repetition
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.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
* Revert "Issue-1184: fix logo link and remove redundant path segment "ui" (#1658)"
This reverts commit b08e22915d.
* changing them dashboard logo from an anchor tag to a react-router dom link
* Dashboard element redirect to the same place
* Add Recreate topic button in to list of Topic and Details topic Overview
* Add reducer and update test
* update reducer test
* update Topic/Details test
* Table and TableColumn components, TableState and DataSource
* Table: Migrate topics table to new Table component
* fix module paths
* test for propertyLookup
* improve useTableState code
* fix folder name
* improve table ordering
Co-authored-by: Anton Zorin <zorii4@Antons-MacBook-Pro.local>
Co-authored-by: Sash Stepanyan <sstepanyan@provectus.com>
Co-authored-by: Sasha Stepanyan <100123785+sasunprov@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>
* live tailing
* addind test case
* fixing useffect array deps
* adding test cases for select
* adding test cases for filters
* deleting unused code
* adding test case for filter
* got rid of react-hooks/exhaustive-deps errors - part 1
* got rid of react-hooks/exhaustive-deps errors in useSearch
* got rid of react-hooks/exhaustive-deps errors in Filters
* got rid of react-hooks/exhaustive-deps errors in ResetOffsets
* got rid of react-hooks/exhaustive-deps errors in Filters
* got rid of react-hooks/exhaustive-deps errors in Breadcrumbs
* got rid of react-hooks/exhaustive-deps errors in DynamicTextButton
* got rid of react-hooks/exhaustive-deps errors in useDataSaver
* got rid of react-hooks/exhaustive-deps errors in ResultRenderer
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
* fix URP color for topcis and brokers
* brokers ISR fix
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: Alla Golosenko <92585878+agolosen@users.noreply.github.com>
* got rid of enzyme in Dropdown tests
* got rid of enzyme in DynamicTextButton tests
* got rid of enzyme in Search tests
* Revert "got rid of enzyme in Search tests"
This reverts commit cd2c5b10ab.
* got rid of enzyme in Search tests
* got rid of enzyme in SQLEditor tests
* got rid of enzyme in Connect tests
* got rid of enzyme in Connect/Details tests
* got rid of enzyme in Topics\Topic tests
* got rid of ThemeProvider in render function
* fixed redundant
* used userEvent instead of fireEvent
* fixed snapshot tests
* used screen
* rise testing-library approach
* got rid of snapshot in Search component test
* changed titles of Search component test
* fixed topics details test
* component Utils test covered
* component Topic test covered
* Improved test coverage
* edited ConfigListItem component
* Resolve feedback's comment
* made correct description in test case title
- Fixes No originally selected custom parameters in topic's edit tab #1534
- Adds test case for CustomParams to verify fix
- Updates CustomParamsField to use predefined value
- Renames INDEX_PREFIX to TOPIC_CUSTOM_PARAMS_PREFIX and moves it to constants file
- Removes unused configs from Topic/Edit component
- Rewrites DangerZone styled's
- Rewrites DangerZone tests
- Adds margin to DangerZone to match TopicForm width
- Adds simple Topic/Edit test
- Changes sonar-project.properties file's sonar.exclusions to correctly ignore paths
Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
* Changes Default value of rentention.bytes
* Adds test for TopicForm
* Removes bug from Topic/New test
* Updates Topic/New test
* Adds accessible names for TopicForm
* Add id's to Select component
* 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>