* 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
* Rename 'send' button to 'submit'
Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>
* fix the New spec test file for submit button name
Co-authored-by: Mgrdich <mgotm13@gmail.com>
* TimeToRetainBtn Fix Styling during non active state + write test suites for these components
* TimeToRetainBtn Fix Style during initial render phase
* TimeToRetainBtn Spec suites changes
* 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>
* fixing cannot create a topic issue,added some default values to pass validation
* fixed default values in other forms
Co-authored-by: Ekaterina Petrova <epetrova@provectus.com>
* Removes regex from compareVersions
* Replaces regexes in reducers
* Rewrite Version and compareVersions to expect undefined
* Adds safeguard against strange cases
* Fixes regression from another PR
Co-authored-by: Damir Abdulganiev <dabdulganiev@provectus.com>
* clusters"s table styles was fixed, added hyphens to breadcrumbs, URP is not abbreviated and ISR is abbreviated already and "f0" was changed to 0
* styled component name for cluster table was changed
* adding tests for clusterwidget cells, adding title for ISR and bringing back changes in breadcrumb regarding hyphens
* fixing clusterWidget test
* fixing double scroll issue inside Topics > Messages > Content for large message content
* bring back last changes
* changing styles for scrollbar
* fixing protobuf schema to be formatted correctly
* makeing requested changes, JSONEditor renamed to Editor,fixed schema edit and versions
* rename JSONViewer to EditorViewer
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
* Updates MessageContent to use keyFormat and valueFormat data from API
* Changes imports to * from S
* Adds tests verify keyFormat and contentFormat renders correctly
Co-authored-by: Damir Abdulganiev <dabdulganiev@provectus.com>
* CustomParams: Fixed condition error. Now existingFields updates correctly when one of CustomParamsFields is deleted
* Resolves bug when you select option and after select another - existingFields do not update correctly
* CustomParams fields update correctly
* Increases coverage
Co-authored-by: Damir Abdulganiev <dabdulganiev@provectus.com>
* clusters"s table styles was fixed, added hyphens to breadcrumbs, URP is not abbreviated and ISR is abbreviated already and "f0" was changed to 0
* styled component name for cluster table was changed
* adding tests for clusterwidget cells, adding title for ISR and bringing back changes in breadcrumb regarding hyphens
* fixing clusterWidget test
* fixing double scroll issue inside Topics > Messages > Content for large message content
* bring back last changes
* changing styles for scrollbar
* added required changes from reviewers and removed enzyme from clusterWidgets test
* Updated topic URP status color.
* Small fix.
* Added test for circular-alert.
* Added test for topic detail overview.
* Fixed name.
* Updated test for topic detail overview.