Commit Graph
200 Commits
Author SHA1 Message Date
Sai Nikhil 064d029939 fix: schema page tab improvements (#6524)
1. This PR adds 
**previous approach** 
1. we were showing both All Fields and UDS tabs even user doesnot have
UDS enabled
2. UDS is shown as second tab


**current approach**
1. only show UDS if enabled otherwise show only All fields 
3. if UDS enabled show it as first tab and instead of All Fields(when
UDS enabled) renamed it to Other Fields and also added tooltip with some
explanatory text after Other Fields with a info icon as
**_

> Other fields show only the schema fields that existed before the
stream was configured to use a user-defined schema.

_**
2025-04-12 18:05:36 +05:30
18d42d93e4 test(dashboard): add test cases for dashboard folder (#6500)
Co-authored-by: ktx-kirtan <124270523+ktx-kirtan@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-04-10 15:58:24 +05:30
Shyam Panjiyar 6bed6730ed test: histogram reappears when enabled and data exists playwright (#6455) 2025-04-03 16:08:14 +05:30
ktx-akshay f9a4b65641 test(dashboards): add import test cases (#6399) 2025-03-27 18:05:56 +05:30
Shyam Panjiyar b0ac97c523 test: no histogram displays if no data available playwright (#6391) 2025-03-26 13:33:37 +05:30
06920b203b fix: previous histogram getting display even after there is no data (#6346)
Co-authored-by: ktx-vaidehi <vaidehi.akhani@kiara.tech>
Co-authored-by: sai nikhil kethe <nikhil@openobserve.ai>
2025-03-24 11:27:20 +05:30
Sai Nikhil c5be09fbf4 fix: changes for icon bar in logs page (#6362)
This PR includes changes 
1. introduced icons for histogram , sql mode, quickmode and moved search
history , download logs , search scheduled jobs options into menu that
will be there at right end
2. this will make the UI to accommodate upto 1200px with datetime as
relative , 1350 when it is absolute
3. introducing icons saved space of ~200px in total for both sides
2025-03-23 10:16:34 +05:30
71b32480ab feat: alerts folder implementation (UI) (#6228)
implemented alerts folders in the UI

1. search across folders
2. alert listing page moved condition and description column to the
expand so whenever user clicks on any row it will show respective
condition and description if there
3. provided fixed width for columns so that all columns are in view port
visibility expect name column as it can be varied depending upon name
given by user
4. search across all folders implemented in this PR only
Import alert add ons
1 additional things done to import alert as well like introducing the
folders in import page

---------

Co-authored-by: omkark06 <omkar@zinclabs.io>
Co-authored-by: Subhradeep Chakraborty <chakrabortysubhradeep556@gmail.com>
2025-03-21 13:31:54 +05:30
Omkar Kesarkhane 205965f854 fix: fixed histogram toggle playwright test (#6305) 2025-03-18 12:05:54 -07:00
Taiming Liu f931ac00fc fix: playwrite test selecting quick mode (#6304) 2025-03-18 11:29:22 -07:00
Omkar Kesarkhaneandudev bb4f30f21d feat: Actions in Logs and Alert Destinations (#6129)
Co-authored-by: udev <uddhavdave1@gmail.com>
2025-03-18 14:42:30 +05:30
ktx-kirtanandSubhra264 022506462d test: dashboard filters remove failed test case (#6286)
Co-authored-by: Subhra264 <chakrabortysubhradeep556@gmail.com>
2025-03-17 19:42:39 +05:30
73b49ea686 test: dashboard filter testcases (#6284)
Co-authored-by: ktx-kirtan <124270523+ktx-kirtan@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Kirtan Thakkar <kirtan@kiara.tech>
2025-03-17 15:13:49 +05:30
Bhargav 0fc1e65fc7 fix: added debounce in stream list filter (#6253) 2025-03-13 22:57:32 +05:30
77a70ef4fa fix: search type to lowercase (#6197)
Co-authored-by: Taiming Liu <liutaiming3@gmail.com>
Co-authored-by: Bhargav <BJP232004@GMAIL.COM>
2025-03-13 21:43:05 +05:30
ktx-akshayandHengfei Yang d7b90a48e0 test: dashboard timeout testcases (#6184)
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2025-03-07 10:46:54 +05:30
Sai Nikhil 2bea89307c fix: search jobs UI (#5706)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
  - Introduced search job scheduling functionality.
- Added ability to create, list, cancel, retry, and delete scheduled
searches.
- Enhanced user interface for managing scheduled search jobs, including
a new component for displaying scheduled jobs.
- Implemented conditional rendering for search history and search
scheduler components.
- Added new methods for handling scheduled searches within the service
layer.

- **Improvements**
  - Refined search bar interface with new scheduling options.
  - Updated pagination handling for job-related data.
- Enhanced overall functionality related to job management and
pagination.
- Improved loading indicators and user experience during data retrieval.

- **Bug Fixes**
  - Corrected conditional rendering of search history components.
  - Optimized job data retrieval and pagination logic.
  - Simplified sorting logic within the search history component.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-02-27 16:07:45 +05:30
Sai NikhilandTaiming Liu 85e8af977d fix: Pipeline improvements (#6078)
1. this PR introduces new design for query node 
2. dynamic stream name for destination node instead of create new stream
it allows user to input any non existing stream name as destination and
at the time of ingestion it will be created dynamically
3. Fixes issues of #5886

---------

Co-authored-by: Taiming Liu <liutaiming3@gmail.com>
2025-02-26 14:05:11 -08:00
Shyam Panjiyar b897f5439e test: websocket- Undefined Partitions Error When Histogram is disabled and run query and enabled again (#6085) 2025-02-26 14:57:41 +05:30
Neha P 50daaec8dc test: e2e-string-matchignorecase-fix (#6083) 2025-02-24 20:55:35 +05:30
Neha Pandsai nikhil kethe e3f685898b test: e2e-custom-charts (#6007)
Co-authored-by: sai nikhil kethe <nikhil@openobserve.ai>
2025-02-24 19:21:07 +05:30
Shyam Panjiyar b9eb81ffb8 test: Websocket Playwright (#6061) 2025-02-24 12:05:52 +05:30
ktx-akshay ad2d8882f2 test: dashboard login test cases (#5920) 2025-02-22 10:23:19 +05:30
Shyam Panjiyar acb434b455 test: Updated URL variable for UI Super Cluster (#6022) 2025-02-19 13:37:45 +05:30
dependabot[bot] 0ded1b4a65 chore(deps): bump serialize-javascript and mocha in /tests/ui-testing (#5930) 2025-02-18 20:55:54 +08:00
Bhargav 19d9f6ffe0 feat: reduced rows per page to 50 (#5978) 2025-02-17 16:30:39 +05:30
Neha P 3bac86c507 test: e2e-fix-flaky-tests (#5980) 2025-02-14 18:47:14 +05:30
Abhay PadamaniandKirtan Thakkar 5e3297903b fix: show warning and allow data parsing if there is a function error (#5961)
Co-authored-by: Kirtan Thakkar <kirtan@kiara.tech>
2025-02-14 16:21:36 +05:30
Neha P f6fb0e0605 test: e2e-logs-loadtest (#5971)
**Tests covered** 
- Ingest 79k fields with 100 user defined schema
- Reset stream selection while reloading home page and navigating to
logs
- Selecting stream and checking schema and values
- Go to streams page and enable store original data 
- Go to stresstest stream via stream explorer 
- Check if results are visible
2025-02-14 13:40:26 +05:30
Shyam Panjiyar 9570a93be2 test: Updated logged out steps for reports refactoring playwright (#5927) 2025-02-11 19:08:20 +05:30
Shyam Panjiyar 082255a704 test: internal user for login and super cluster steps refactoring (#5922)
internal user for login and super cluster steps refactoring
2025-02-11 17:29:19 +05:30
Shyam Panjiyar 9ca79d95ef test: Reports playwright two parts with added test cases in Super Cluster (#5906)
Reports playwright two parts with added test cases in Super Cluster
2025-02-10 10:18:56 +05:30
Neha P 527fcbc76e test: fix stream-selection flakiness (#5898) 2025-02-07 13:48:44 +05:30
Patrick SullivanandSubhradeep Chakraborty 89783b7df4 fix: Fix compiler error in enterprise unit test (#5896)
Co-authored-by: Subhradeep Chakraborty <chakrabortysubhradeep556@gmail.com>
2025-02-07 11:23:56 +05:30
Bhargav 63f88512ee fix: 5870 UI improvements (#5884) 2025-02-06 13:33:51 +05:30
Sai Nikhil fcd6647b63 fix: place holder text for select stream (#5869)
1. select stream as a place holder text added in logs page
2025-02-05 19:12:43 +05:30
Bhargav 0b682773c5 fix: upgraded playwright version (#5861)
Upgraded NPM Packages in OpenObserve repo
Upgraded playwright package from 1.42.x to 1.50.x
Upgraded Node version from 18 to 22
2025-02-05 13:02:05 +05:30
Neha P 873b8ca93e test: sanity fix test (#5874) 2025-02-04 19:47:30 +05:30
+1 9184a090f8 feat: dashboard annotations (#5680)
- #5844

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

Based on the comprehensive summary of changes, here are the updated
release notes:

- **New Features**
	- Added timed annotations functionality for dashboards.
	- Introduced ability to create, edit, and delete annotations on panels.
- Implemented annotation management across frontend and backend systems.

- **Improvements**
	- Enhanced chart rendering to support annotation visualization.
	- Added new API endpoints for annotation operations.
	- Improved dashboard interaction with annotation mode.

- **Backend Changes**
- Created new database migrations for timed annotations and timed
annotation panels.
	- Added database entities and relationships for annotations.
	- Implemented service-level logic for annotation management.

- **Frontend Changes**
- Added new components for annotation management, including
`AddAnnotation`.
	- Integrated annotation services and composables.
- Updated chart rendering to display annotations and improved panel
interactivity.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: ktx-vaidehi <vaidehi.akhani@kiara.tech>
Co-authored-by: Kirtan Thakkar <kirtan@kiara.tech>
Co-authored-by: Shyam Panjiyar <shyam@openobserve.ai>
Co-authored-by: ktx-vaidehi <134508096+ktx-vaidehi@users.noreply.github.com>
Co-authored-by: Huaijin <haohuaijin@gmail.com>
Co-authored-by: Neha P <144308844+neha00290@users.noreply.github.com>
Co-authored-by: Subhra264 <chakrabortysubhradeep556@gmail.com>
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
Co-authored-by: Bhargav <BJP232004@GMAIL.COM>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-31 18:02:06 +05:30
Neha P 83b92c1672 test: schema assertion for str_match (#5852)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Tests**
	- Enhanced UI testing for logs search functionality
	- Added test steps to validate search query execution
	- Implemented checks to ensure no error messages appear during search

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-31 13:52:06 +05:30
Subhra264 17fbd84409 fix: remove seaorm column type for entities (#5841)
The `Text` column type in seaorm `Model` structure might sometimes
create confusions if column is created using the `get_text_type()`
function which creates `longtext` field for mysql and `text` for other
dbs. If the db column type is `longtext` or `mediumtext` but seaorm
column type is `Text`, it may cause errors

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Database Schema Updates**
- Removed explicit column type annotations for various text fields
across multiple database tables.
- Updated nullability constraints for description and error message
fields, making some fields non-optional.
- Implemented KSUID (K-sortable unique identifier) for primary keys in
folders, dashboards, and alerts tables.

- **Migration Changes**
- Adjusted ORM model definitions for folders, dashboards, alerts, and
meta tables.
	- Enhanced consistency in database schema handling.
	- Added error handling for unsupported downgrades in migration scripts.

- **UI Testing Enhancements**
- Improved error reporting in the LogsPage class for better clarity on
query application failures.
	- Minor formatting adjustments made for improved code readability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-30 15:27:35 +05:30
Neha P d2b2165f9c test: e2e-remote-pipeline (#5842)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Tests**
	- Added new Playwright test suite for pipeline management.
	- Implemented comprehensive UI interaction tests.
	- Included tests for pipeline creation, deletion, and log management.
	- Enhanced test coverage with parallel test execution.
- Expanded integration tests with additional scenarios for pipeline
interactions.
	- Introduced a new test file for improved CI integration.

- **New Features**
- Added functionality for managing remote destinations within the
pipeline.
	- Introduced new methods for creating and deleting remote destinations.

- **Bug Fixes**
- Improved the logic for selecting the current date in the logs page to
ensure accurate date selection.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-30 13:35:00 +05:30
Loakesh Indiran b4b9fad1f7 fix: logs to debug db error (#5837)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Bug Fixes**
- Enhanced error logging for short URL database operations, providing
better visibility into failures when adding short URLs.
- Refined date selection logic in the logs page to ensure distinct
interaction with date elements.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-29 17:27:20 +05:30
Bhargav bbd34911c6 fix: about page locator and link (#5815)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Added a new help menu option to the About Page for improved
navigation.
- Enhanced testability by adding data-test attributes to key elements in
the layout.

- **Tests**
- Updated tests to include interactions with the new help menu before
validating the About page.
	- Adjusted method calls for consistency in validation tests.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-27 16:29:59 +05:30
Shyam Panjiyar 2714579307 test: skipping RUM Search Pytest sanity get history playwright (#5803)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Tests**
	- Removed several RUM and search-related test functions in API testing
	- Skipped a search history test case in UI testing

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-25 10:27:30 +05:30
Shyam PanjiyarandTaiming Liu d98164b127 test: rum search updated pytest (#5797)
rum search updated pytest

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Tests**
- Enhanced RUM (Real User Monitoring) test suite with improved logging
and data validation.
- Added print statements to output response payloads for better test
visibility.
- Introduced additional assertions for geographical data and log message
checks in search tests.
	- Commented out specific actions in UI tests to refine test execution.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Taiming Liu <liutaiming3@gmail.com>
2025-01-25 07:25:13 +05:30
Shyam Panjiyar 309b0ae009 test: Updated Sanity Playwright for SELECT histogram (#5789)
SELECT histogram in place of select histogram

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Tests**
- Simplified the login function by removing the click action for the
"Login as internal user" button.
- Enhanced search history test case to allow for case-insensitive
matching of the text "select histogram".
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-24 16:24:21 +05:30
Bhargav 74c9aa6236 fix: fix automation changes (#5763)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Tests**
- Enhanced UI testing for visualization page by improving index field
search interactions
- Updated test case to verify data display and input field manipulation
after page refresh

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-21 20:38:55 +05:30
Neha P 311153e89e test: selected-duration-results (#5756)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a method to set log date and time filters to the current
day.
- Enhanced log query testing with improved date and time selection
functionality.

- **Tests**
	- Updated test suites to incorporate the new log date filtering method.
- Added test cases for verifying log results based on selected date and
time settings.

- **Refactor**
- Improved test code organization by introducing a dedicated `LogsPage`
class.
	- Streamlined log interaction methods in test scripts.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-21 18:07:20 +05:30
Neha P 59c61f268c test: enrichment-pipeline-test (#5731)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Tests**
- Updated test cases for pipeline creation and action handling with
corrected boolean value casing.
	- Added new test case to validate pipeline creation failure scenario.
- Enhanced UI testing for enrichment table functionality by adding
date-time button interaction and visibility checks.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-17 16:27:15 +05:30