Commit Graph
6 Commits
Author SHA1 Message Date
Ashish Kolhe 59e9f73e16 feat: use stream stats for partitioning api (#4901) 2024-10-26 10:43:32 +08:00
b53766d76a fix: Dashboard chart UI issues (#4745)
#4256 

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

- **New Features**
- Introduced new functions for enhanced chart rendering:
`getLargestLabel` for improved label sizing, `largestStackLabel` for
stacked charts, and `getPieChartRadius` for pie charts.

- **Improvements**
- Enhanced axis label handling for better visual representation in
horizontal bar and stacked charts.
- Updated text width calculation to be more flexible with an optional
font size parameter.
	- Improved clarity in variable naming for better understanding.
- Enhanced readability of the ViewPanel component template and improved
management of the loading state.
- Refined UI test interactions with more descriptive data-test
selectors, enhancing maintainability.
	- Improved handling of large datasets and complex SQL queries in tests.

- **Bug Fixes**
- Enhanced error handling in tests for invalid queries, improving
overall robustness of the application.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: ktx-akshay <akshay.patil@kiara.tech>
Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech>
2024-10-16 16:59:00 +05:30
John Vandenberg 16ee5fc680 chore: fix frontend typos (#4612) 2024-09-25 11:09:26 +08:00
ktx-vaidehiandktx-abhay 5c9f2940f9 feat: for view panel and visualization applied cancel query (#4569)
- #4572 

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

- **New Features**
- Enhanced functionality to cancel running queries within dashboard view
panels.
- Introduced loading state management for variables and panels,
improving user experience.
- Added support for managing visualization queries alongside standard
search queries in the search bar.
- Implemented default value handling for multi-select variables to
improve control flow.

- **Bug Fixes**
- Improved button rendering logic to accurately reflect the loading
state and available actions.
- Updated UI tests to ensure accuracy in interacting with the correct
refresh button for visualizations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech>
2024-09-18 12:23:00 +05:30
01d0582213 feat: AND, OR, group condition for dashboard filter (#3957)
## Feature:
- #4339 

## Fixes:
- #4233 
- #4239 
- #4306
- #4307
- #4311
- `<blank>` was not visible properly in the dropdown when the value is
null converted it to `<blank>`

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

## Summary by CodeRabbit

- **New Features**
- Introduced support for version 5 of the Dashboard, enhancing the
dashboard's extensibility.
- Added a new component for managing filter options, improving user
interaction with dashboard queries.
- Implemented a new user interface for adding conditions to dashboard
panels.

- **Bug Fixes**
	- Improved error handling in SQL query generation to prevent crashes.

- **Documentation**
- Updated localization files to include new entries for adding groups
and conditions.

- **Refactor**
- Streamlined filter management by creating dedicated components,
enhancing code maintainability.

- **Tests**
- Enhanced UI tests for improved interaction with dropdowns and filters.

- **Chores**
- Removed obsolete event listeners and variables to simplify component
logic.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech>
Co-authored-by: ktx-akshay <akshay.patil@kiara.tech>
2024-09-03 14:15:15 +05:30
ktx-akshay 355591cbef test: testcases for visualization functionality (#4061)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Expanded automated testing coverage by adding new UI test files for
dashboard management and logging visualization functionalities.
- Enhanced dashboard UI tests now cover creating, modifying,
duplicating, and applying filters to dashboards.
- Introduced tests for verifying user interactions with logging
visualizations, including error handling and data persistence.
- Added tests for Virtual Reference Language (VRL) features within the
dashboard, validating function applications and error handling.

- **Bug Fixes**
- Improved error handling in UI tests to ensure that invalid inputs
trigger appropriate error messages.

- **Tests**
- Comprehensive test cases implemented for various user interactions
across new features, ensuring functionality works as intended.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-08-05 14:26:57 +05:30