7 Commits

Author SHA1 Message Date
Shailesh Parmar
dd1b8848c3
fix: skip the failing playwright test (#20231) 2025-03-13 12:20:00 +05:30
Shrushti Polekar
d1710c8125
Fix #19068: While user in Pagination, Browser Back button takes them to start page (#19229)
* fix browser back btn issue related to pagination

* common function to handle cursor based data fetches

* Revert "common function to handle cursor based data fetches"

This reverts commit a585f3aaec49c966ae8c1aa5436d41c2456073c5.

* updated usePaging hook to store and retrieve cursor

* address PR comments

* address pr comments

* refactor handle paging cursor

* updated handlPageChange to setPage and cursorValues

* used useCustomLocation inplace of useLocation

* added Pagesize and refactor the history state object

* issue fix

* handle filter issue

* address pr comments

* fix failing unit test cases

* fix sonarqube issue

* address pr comment

* address pr comment

* added useTableFilters hook

* address pr comments

* update useTableFilter to handle multiple query params

* update useTableFilter

* fix failing unit test

* address pr comments

* address pr comments

* playwright test cases

* address pr comments

* issue fix

* issue fix

* revert generated file changes

* address pr comment for playwright test

* minor fix

* fix breadcrumb issue

* revert location changes

* address pr comment

* fix failing e2e test

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2025-01-29 11:36:19 +00:00
Chirag Madlani
cdef12c9cd
feat(ui): show count with schema tab for table details page (#19149)
* feat(ui): show count with schema tab for table details page

* fix active state for tab

* fix tests and cover topic details page

* add missing isActive check
2025-01-03 10:19:16 +05:30
Shailesh Parmar
ec3f9cf9e8
Feat: Data quality dashboard (#18146)
* Feat: Move data quality page tabs to left panel

* fixed failing unit test

* fixed failing playwright

* added support for dashboard in enum

* Add support for dashboard in enum and custom pie chart component

- Added support for dashboard in enum by creating a new file `Chart.constants.ts` and exporting the constant `CHART_BASE_SIZE`.
- Updated the `Chart.interface.ts` file to include the `CustomPieChartData` type and the `CustomPieChartProps` interface.
- Added a new file `CustomPieChart.component.tsx` to implement the custom pie chart component.
- Updated the `Color.constants.ts` file to import the `DEFAULT_THEME` from `Appearance.constants`.
- Added a new file `TestCaseStatusPieChartWidget.component.tsx` to implement the test case status pie chart widget.

Related to #18155

* Refactor: Update language translations and add initial entity health matrix

This commit refactors the language translations in the UI, specifically adding translations for "Healthy" and "Unhealthy" in multiple languages. Additionally, it introduces the initial entity health matrix, which includes the counts for healthy and unhealthy entities.

* Refactor: Update language translations and add initial entity health matrix

- Refactor the code to update language translations and add an initial entity health matrix.
- Add a new constant `INITIAL_ENTITY_HEALTH_MATRIX` to represent the initial health matrix of entities.
- Add a new constant `INITIAL_DATA_ASSETS_COVERAGE_STATES` to represent the initial coverage states of data assets.

* Refactor: Update language translations and add initial entity health matrix, added open incident area chart widget

* Refactor: Update language translations and add initial entity health matrix, added open incident area chart widget

* Refactor: Add IncidentTimeChartWidget component and related interfaces

This commit adds a new component called IncidentTimeChartWidget, which is responsible for displaying a chart widget related to incident time metrics. It also includes the necessary interfaces for the component.

The IncidentTimeChartWidget component fetches incident time metrics data from the server and displays it in a custom area chart. It calculates the average time value based on the fetched data and renders it along with the chart.

The commit also includes updates to the Chart.interface.ts and CustomAreaChart.component.tsx files to support the new component.

Issue #TBD

* Refactor: Update language translations and add resolution time and response time translations

* Refactor: Add TestCaseStatusAreaChartWidget component and related interfaces

* implemented filters for dq dashboard

* added description for menu

* move default tab view logic to classBase

* Refactor color variables and add unit test for utility function

* added unit test for dataQualityDashboardAPI

* added unit test for new component

* added unit test for new component

* updated the UI

* added unit test

* Refactor date formatting in KPIChart and DataQualityUtils

This commit refactors the date formatting in the KPIChart component and the DataQualityUtils module. In the KPIChart component, the tickFormatter function in the XAxis component is updated to use an arrow function instead of the formatDate function. In the DataQualityUtils module, the formatDate function is modified to support UTC formatting when necessary. Additionally, two functions, getStartOfDayInMillis and getEndOfDayInMillis, are added to the DateTimeUtils module to calculate the start and end of a day in milliseconds.

* fixed failing unit test

* updated icon

* refactore the code

* update the icon for sql

* fixed java checkstyle

* fixed playwright test

* minor
2024-10-29 18:18:49 +05:30
Chirag Madlani
ad920cf0ef
fix(test): playwright flaky tests (#17980) 2024-09-25 10:06:43 +05:30
Mayur Singal
ef67474310
Data Insights Refactor (#16532)
---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
Co-authored-by: Pablo Takara <pjt1991@gmail.com>
Co-authored-by: Chira Madlani <chirag@getcollate.io>
Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
2024-07-30 17:38:43 +05:30
Chirag Madlani
080314955a
fix: #16655 page breaks on changing page size with sorted table (#17009)
* fix: #16655 page breaks on changing page size with sorted table

* fix skeleton breaking

* fix tests

* fix tests

* remove unwanted code
2024-07-17 15:43:48 +05:30