5413 Commits

Author SHA1 Message Date
Sriharsha Chintalapani
34ef13f083
Add Impersonation By Bots (#23712)
* Add Impersonation By Bots

* Update generated TypeScript types

* Fix migrations

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-16 19:14:29 -07:00
Aniket Katkar
b86d4083ba
Chore(UI): Fix flaky ApiDocs test (#23844)
* Fix the ApiDocs playwright test

* Add proper waits
2025-10-16 17:29:47 +05:30
Rohit Jain
f6720098c8
Playwright: Cleanup the user and role in playwright afterAll (#23899)
* Playwright: Cleanup the user and role in playwright afterAll

* Fix: cleanup roles and policies
2025-10-16 17:12:14 +05:30
Aniket Katkar
9b4d76d6e6
Add .codeqlignore in license ignore list (#23913) 2025-10-16 15:54:34 +05:30
Sweta Agarwalla
f98ea0fa87
fix(ui): add fixes for workflow API (#23917)
* add fixes for workflow API

* Fix the ingestion runner display name being passed to API

---------

Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
2025-10-16 15:16:17 +05:30
satish
8af7ac4c1a
fix: Prevent double notification when cover image upload fails (#23914)
- Centralize all notifications in createEntityWithCoverImage
- Change handleCoverImageUpload to return uploadFailed flag instead of showing notifications
- Remove unused parameters (entityLabel, enqueueSnackbar, t) from UploadCoverImageOptions
- Show warning notification only when uploadFailed = true
- Show success notification only when uploadFailed = false
- Fixes issue where both warning and success notifications appeared when upload failed

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Satish <satish@Satishs-MacBook-Pro.local>
Co-authored-by: Claude <noreply@anthropic.com>
2025-10-16 14:47:12 +05:30
Rohit Jain
c0df88f02f
Fixes 23223: Mentions from incidents/entities not showing in Notifications (#23874)
* Fix: Notifications not showing the mentions from incident/entity

* Fix: Fixed the unit test

* Playwright: Added test for verifing incident manager mention notification

* Fix: Addressed PR comments

* Fix: fixed code smells

* Playwright: Fixed the playwright tests

---------

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2025-10-16 14:18:59 +05:30
Aniket Katkar
b6544b6855
Enable trace for fist failures as well for service ingestion specs (#23912) 2025-10-16 10:58:15 +05:30
Aniket Katkar
a27d36f41f
Fix the advanced search AUT failing due to page closed (#23904) 2025-10-16 10:13:55 +05:30
Rohit Jain
4942e2bdfb
Fixes 23104: Showing validation error if user enter duplicate service name (#23788)
* Fix: Showing validation error if user enter duplicate service name

* Fix: validate service name field on field change instead of form submit

* Playwright: Added e2e test for service name field validation errors

* Fix: fixed the services unit tests

* Fix: fixed the ConfigureService unit tests

* Fix: fixed code smells
2025-10-16 10:10:09 +05:30
sonika-shah
303ee47d6f
Add assets API and deprecate inline assets field for Domain and Dataproduct (#23856)
* Add assets API and deprecate inline assets field for Domain and Dataproduct

* fix mvn test

* fix py test and add new tests

* fix py test

* fix py test

* fix timeout for workflow test

* address pr feedback

* Update generated TypeScript types

* minor- remove unused function

---------

Co-authored-by: Bhanu Agrawal <bhanuagrawal2018@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-16 05:23:05 +05:30
Ashish Gupta
12da9f24eb
supported playwright for dataContract displayName (#23901) 2025-10-15 20:26:52 +05:30
Ushran Gouhar
ffe967ec6c
Ignore playwright tests (#23896) 2025-10-15 19:26:20 +05:30
satish
a37efedfa4
refactor: Domain and Data Product UI improvements and architecture enhancements (#23804)
* refactor: Domain and Data Product UI improvements and architecture enhancements

## Major Changes

### Architecture Improvements
- **Refactored AssetSelectionModal**: Split monolithic component into composable hooks
  - Extracted `useAssetSelectionContent` hook (806 lines) for shared selection logic
  - Created `AssetSelectionDrawer` component for drawer variant
  - Reduced main modal component from 700+ to 18 lines
  - Enables reuse across modal and drawer UI patterns

- **Domain component reorganization**:
  - Renamed `DomainDetailsPage` → `DomainDetails` for consistency
  - Deleted legacy `DomainPage.component.tsx` (336 lines)
  - Centralized domain page styles in `DomainPageStyles.ts`

### UI/UX Enhancements
- **Breadcrumbs**: Changed to plural labels across all pages
  - "Domain" → "Domains" in listings and detail pages
  - "Data Product" → "Data Products" in listings and detail pages
  - Updated sidebar navigation labels to match

- **Scroll behavior fixes**:
  - Removed fixed height constraints causing nested scrolls in right panels
  - Changed from `height: @domain-page-height` to `min-height: 70vh`
  - Applied to both Domain (domain.less) and Data Product (data-products-details-page.less) detail pages
  - Now uses single body scroll for better UX

- **Visual improvements**:
  - Added white text color to MUI tooltips for better contrast on black background
  - Enhanced GenericProvider with `muiTags` prop support
  - Added new `CoverImage` component for domain/data product headers
  - Improved `useBreadcrumbs` hook with 187 lines of enhancements

### Bug Fixes
- **TypeScript errors in NotistackUtils.tsx**:
  - Fixed implicit 'any' type for `snackbarId` parameters (4 instances)
  - Added type assertion for i18n.t() return value
  - All type errors resolved

### Component Improvements
- Enhanced TagsViewer with MUI tooltip support
- Updated TagChip component for better tag display
- Improved EntityAvatar component
- Refined drawer hooks with better type safety

* feat: Add cover image upload with reposition functionality for domains

- Add MUICoverImageUpload component with drag-and-drop support
- Implement vertical reposition functionality for cover images
- Integrate cover image field in AddDomainForm
- Update CoverImage component to support position object format
- Add COVER_IMAGE_UPLOAD_MUI field type to form utils
- Support empty entityLink for uploads during domain creation
- Add translations for cover image upload UI

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: Add cover image display with authenticated loading and test IDs

- Update DomainDetails and DataProductsDetailsPage to pass cover image URL and position to CoverImage component
- Implement authenticated image loading with proper loading states in CoverImage component
- Add gray background during authenticated image loading to prevent 401 error flash
- Implement conditional rendering in MUICoverImageUpload to show loading spinner for authenticated images
- Add comprehensive data-testid attributes for both components to improve testability
- Use theme colors for loading backgrounds instead of hardcoded values

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* refactor: Implement generic cover image upload flow and remove dead code

- Create reusable createEntityWithCoverImage utility function
- Refactor domain, subdomain, and data product creation to use generic function
- Fix cover image preview and reposition functionality for client-side handling
- Remove unused AddDomain component and /domain/add route
- Remove dead DomainLeftPanel component
- Reduce code duplication by 77% (344 lines → 79 lines)
- Add proper TypeScript types and ESLint compliance

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* refactor: Update coverImage structure to match new backend API

- Update CoverImageUploadUtils to send coverImage as nested object
- Change from flat structure (coverImage: url, coverImagePosition: number)
- Change to nested structure (coverImage: { url: string, position: string })
- Update DomainDetails to read from nested coverImage object
- Update DataProductsDetailsPage to read from nested coverImage object
- Convert position between CSS string format ("20px") and pixel number (20)
- Fix DomainRouter test by removing deleted AddDomain component references
- Add type assertions for compatibility until backend types are regenerated

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* refactor: Use percentage-based positioning for cover images

Fix cover image display inconsistency between upload field (622x103px)
and detail page (auto x 131px) by using CSS percentage values for
translateY instead of absolute pixels. This ensures the same visual
result regardless of container width.

- Store position as percentage string (e.g., "-16%") instead of pixels
- Convert between pixels (for dragging UX) and percentage (for storage)
- Update CoverImagePosition interface to use string type
- Simplify detail page rendering by removing parseInt conversions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Fix ts error

* refactor: Extract generic file upload component from cover image upload

- Create MUIFileUpload component with drag-and-drop, validation, and preview support
- Refactor MUICoverImageUpload to use MUIFileUpload (33% code reduction)
- Add 20 i18n keys across all 18 languages for file upload features
- Fix TypeScript types and ESLint formatting issues
- Fix upload zone height to match preview at 103px

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Revert entity-transfer-message change

* Update checkDefaultStateForNavigationTree for 2 domains tree and tree item

* Fix navigation page test

---------

Co-authored-by: Satish <satish@Satishs-MacBook-Pro.local>
Co-authored-by: Claude <noreply@anthropic.com>
2025-10-15 19:22:50 +05:30
Chirag Madlani
21b1c23512
test(e2e): restore entity with inherited fields on entity (#23266)
* test(e2e): restor entity with inherited fields on entity

* fix tests

* fix flakiness for table and dashboard
2025-10-15 14:59:25 +05:30
Ushran Gouhar
e5f8ea2925
Potential fix for code scanning alert no. 1692: Incomplete string escaping or encoding (#23895)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-10-15 14:36:34 +05:30
Ashish Gupta
14f5d0610d
remove unwanted semantic rule and supported more playwright test (#23864)
* remove unwanted semantic rule and supported more playwright test

* fix data product filter not working and added playwright test for it

* fix test and some sonar issue

* fix the sonar issue

* fix the timeout issue
2025-10-15 14:21:11 +05:30
sonika-shah
585d4c8d92
Support coverImage upload (#23863)
* Support coverImage upload

* Update generated TypeScript types

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-15 14:19:59 +05:30
Akash Verma
9b16119ab5
feat: Add Hex dashboard connector support (#23246)
* feat: Add Hex dashboard connector support

* files

* Added tests and UI image

* fix tests

---------

Co-authored-by: Akash Verma <akashverma@Mac.lan>
2025-10-15 11:05:42 +05:30
Ushran Gouhar
63a8862e28
fix(ui): code scanning alert no. 1681: Insecure randomness #23886 (#23886) 2025-10-15 00:17:18 +05:30
Ushran Gouhar
582f9322ab
Potential fix for code scanning alert no. 1685: Incomplete string escaping or encoding (#23885)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-10-14 18:07:31 +05:30
Shailesh Parmar
a7b54fed00
playwright: fix tier issue in playwright (#23883) 2025-10-14 18:02:12 +05:30
Sweta Agarwalla
dd307a43e0
fix(ui): Runner getting wrong values in workflow API (#23827)
* fix runner issues

* add unit tests for the fix
2025-10-14 17:13:55 +05:30
Chirag Madlani
7a29bf1e2c
fix(test): customize details page and persona flow (#23839)
* fix(test): customize details page and persona flow

* revert playwright config
2025-10-14 15:27:21 +05:30
IceS2
7bdd9008ec
Fixes #23776 : Fix/data quality dashboard filtering (#23818)
* Fix Data Quality Dashboard Filtering

* Fix Data Quality Dashboard Filtering

* Fix Tier filter on DQ Dashboard

* Fix issue when tags are empty list

* Add Tier/Tag propagation to TestCaseResultIndex

* Add Tier/Tag propagation to TestCaseResultIndex

* Add Tier/Tag propagation to TestCaseResultIndex

* Add Tier/Tag propagation to TestCaseResultIndex

---------

Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
2025-10-14 11:30:10 +02:00
Harsh Vador
a36eef1c84
Search refactoring updates (#23742)
* refactor searchQuery to avoid AND and OR operators

* fix searchQuery function

* fix serviceDetails.tsx

* refactor for searchQuery

* update searchData calls with searchQuery

* fix unit test

* refactor queryFilter for dataContractUtil.ts

* fix authProvider for global domain filter

* address PR comments

* revert dataProduct fqn change

* refactor all query filtersusing getTermQuery function

* fix test

* fix tests

* fix e2e tests

* fix test

* fix service listing

* fix test

* fix service spec

* fix glossary spec and tag spec

* fix domains spec

* fix tag spec

* fix failing specs

* fix failed specs

* fix failing tests

* fix domain spec

* fix classification & service listing spec

* change query filter for following & change message for no online users

* add missing followers field in entity index mapping

* add missing owners field in entity index mapping

* address comments

* fix failing test

---------

Co-authored-by: Pranita <pfulsundar8@gmail.com>
Co-authored-by: Akash Jain <15995028+akash-jain-10@users.noreply.github.com>
Co-authored-by: sonikashah <sonikashah94@gmail.com>
2025-10-14 10:30:52 +05:30
Harshit Shah
a3e5190f69
Playwright: Fix users.spec default persona test (#23820)
* Playwright: Fix users.spec default persona test

* minor fix

* minor fix

* minor fix
2025-10-13 21:03:07 +05:30
Ashish Gupta
73b4f77e2e
#23774 : fix the bulk import column name contains dot in it (#23791)
* fix the bulk import column name contains dot in it

* fix for name field

* fix the failing test

* fix the test failure
2025-10-13 17:43:21 +05:30
harshsoni2024
c32a9b957f
Add AWS kinesis firehose connector [OSS] (#23807)
* AWS Firehose

* Add AWS Firehose

* add kinesis fireshose support

* remove unnecessary doc

* Update generated TypeScript types

* add connection doc, optional msg service name

* Update generated TypeScript types

---------

Co-authored-by: Sriharsha Chintalapani <harsha@getcollate.io>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ayush Shah <ayush@getcollate.io>
2025-10-12 08:27:13 -07:00
Harsh Vador
d4a9381473
fix(users): resolve search input losing characters during typing (#23832)
* fix(users): resolve search input losing characters during typing

* add test

* remove unwanted props & optimize code

* fix code smell
2025-10-11 10:55:40 +05:30
Ashish Gupta
6ce7623ca7
modify some data contract rule and supported playwright (#23766)
* supported contract owner rule additional playwright

* added all operator test for owners

* supported addition test for description operator

* change the description value from empty quotes to undefined to get that removed from data asset and the validation should work correctly on this

* Adding actualCase keyword to team and user index mappings

* change the query to displayName search from the fqn and name for better validation

* change the owner rule to name and added domain playwright test

* Conditional Sensitive Case Normalising in Search Aggregation

* Remove to lower case introduced by accident

* push the actual case field setting

* added is condition with teams for owners

* Reverted the displayName.actualCase changes

* reverted the owner back to fqn and supported fqn value and displayOption

* set the default operator for description

* changes made as per comments

---------

Co-authored-by: Ram Narayan Balaji <ramnarayanb3005@gmail.com>
2025-10-10 22:53:36 +05:30
Copilot
7b1d687f2d
Move logs summary from side panel to header for full-width logs display (#22307)
* Initial plan

* Move logs summary from side panel to header for full-width logs

Co-authored-by: harshach <38649+harshach@users.noreply.github.com>

* fix(test): update test description to reflect header layout instead of right panel

Co-authored-by: karanh37 <33024356+karanh37@users.noreply.github.com>

* fix failing unit test

* Update the UI for LogsViewerPage

* Fix sonarcloud issues

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: harshach <38649+harshach@users.noreply.github.com>
Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
Co-authored-by: karanh37 <33024356+karanh37@users.noreply.github.com>
Co-authored-by: shrushti2000 <shrushtipolekar@gmail.com>
2025-10-10 20:14:09 +05:30
Ashish Gupta
9286933d5c
chore(ui): refactor data contract spec test (#23741)
* chore(ui): fix data contract flaky test around contract tab not found

* modify the test to have their own table to run to avoid flakiness

* fix contract failing

* revert unwanted commit

* change the contract test admin page way

* fix the blank page issue after redirect
2025-10-10 18:57:04 +05:30
Ashish Gupta
8ccd879655
PLAYWRIGHT: fix activity feed mention flaky test (#23823) 2025-10-10 18:55:24 +05:30
Rohit Jain
e23638da60
Fix: Updated the Metrics page subtitle text (#23805)
* Fix: Updated the Metrics page subtitle

* Playwright: Fixed the metric e2e test
2025-10-10 18:37:46 +05:30
Rohit Jain
f97ed64316
Fixes 22418: Fixed the teams page breadcrumb url issue (#23824)
* Fix: Fixed the teams page breadcrum url issue

* Playwright: Added test for verifing breadcrumb navigation for teams which contains dot in their name
2025-10-10 18:36:58 +05:30
Rohit Jain
598de16eea
Fix: Added docs url for Metrics page (#23803)
* Fix: Added docs url for Metrics page

* Playwright: Fixed the searchSetting e2e test

* Test: Added unit test for doc link in metric page
2025-10-10 18:32:05 +05:30
Adrià Manero
0b107569d7
NotificationTemplate Schema and Repository Improvements (#23769)
* NotificationTemplate Schema and Repository Improvements

* Update generated TypeScript types

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
2025-10-10 14:49:33 +02:00
Aniket Katkar
13ab5af508
Safeguard the plugins use to avoid the flatMap error occurred during hot reloading (#23831) 2025-10-10 18:14:00 +05:30
Shailesh Parmar
1fa5641590
playwright: fix waitForAllLoadersToDisappear fn was not working as expected (#23822)
* playwright: fix waitForAllLoadersToDisappear fn was not working as expected

* revert playwright.config.ts changes
2025-10-10 17:59:14 +05:30
Teddy
6777ef6805
ISSUE #2034: BigQuery exporter (#23526)
* feat: bigquery exporter

* Update generated TypeScript types

* Update generated TypeScript types

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Teddy Crepineau <teddycrepineau@Teddys-MacBook-Work.local>
2025-10-10 12:20:23 +02:00
Ushran Gouhar
dfda6323c5
fix(ui): codeql-1693 Incomplete multi-character sanitization fix (#23738) 2025-10-10 10:01:11 +00:00
Rohit Jain
d6b4982628
Fix: Update boolean field layout to show switch before label (#23812) 2025-10-10 14:48:36 +05:30
Ashish Gupta
9a18e14cb4
fix the wrong label displayed on semantic status (#23814) 2025-10-09 21:19:47 +05:30
Harshit Shah
509295ed39
Playwright: Fix flaky user profile persona interactions (#23758)
* Playwright: Fix flaky user profile persona interactions

* add appropriate loading for curated assets

* add loaders at appropriate places

* fix failing tests

* fix waitForAllLoadersToDisappear
2025-10-09 14:21:01 +05:30
Uwais
7f5bda7d1a
Fixes: ISSUE-23316: change remove default persona icon (#23348)
* ISSUE-23316: icon used now CloseCircleOutlined

* ISSUE-23316: Using svg from projects assets

* fix the comments

* revert the unwanted changes

---------

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2025-10-09 11:39:09 +05:30
Ashish Gupta
6cf4d94285
chore(ui): Fix classification version flaky test (#23737) 2025-10-09 11:17:53 +05:30
Ashish Gupta
e748312799
fix the table column resize handler not visible (#23764) 2025-10-09 11:15:02 +05:30
Rohit Jain
e242e7cf8a
Fixes 23732: Hide owner and domain "Add" button if classification is disabled (#23748)
* Fix: Hide owner and domain add button if classification is disabled

* Playwright: Added e2e test case for disabled owner and domain add button

* Minor: Added network idle await in e2e

* Fix: fixed the classification util unit test

* Playwright: wait for loader to disappear before proceeding in UI tests
2025-10-09 11:14:31 +05:30
Shailesh Parmar
63336dd98c
fix(ui): updated default font size to 14px and grey color based on style guide (#23785)
* fix(ui): updated default font size to 14px and grey color based on style guide

* fix(ui): apply GlobalStyles for consistent font size of 14px across the application
2025-10-08 20:24:04 +05:30