13 Commits

Author SHA1 Message Date
Ashish Gupta
e80d385fd6
FIX: parsing error in case of special character in tag for BulkEdit/Import case (#20776)
* fix parsing error in case of special character in tag for BulkEdit/Import case

* change the behaviour to generic one and fix sonar issue

* re-added the minor miss

* changes as per comments
2025-04-11 23:51:30 +05:30
sonika-shah
38d866be60
Fix - 1.7 Glossary feedback and other minor bug fixes (#20652)
* Fix - 1.7 Glossary feedback and other minor bug fixes

* check for duplicateTerms in glossary

* check for duplicateTerms in glossary enable playwright

* fix tests

* playwright fix

* fix playwright for GlossaryImportExport.spec.ts

---------

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2025-04-09 09:59:15 +05:30
Chirag Madlani
3245b2d98e
Entity page redeisgn (#20384)
* initial commit

* support new layout for Table details page

* update tab design for detail pages

* support search withing table

* modify table desing as per mocks

* fix filtering layout

* improvement around some tables as per design

* modify more table as per new design

* minor fix around table padding in top

* modify the pagination for the number antd pagination one

* have changes the description rendere to richTextEditorPreviewNew one for handling 2 line description in table

* updated owner render in tables

* fix unit test failure

* finish layout update for entity page

* fix unit tests

* make the table header fix

* fix container tests

* update styles

* fix the unit test and table css issue

* minor revert

* update

* address comments

* fix unit test

* fix some playwright test

* fix playwright tests

* fix container spec

* fix table spec

* fix playwright tests

* fix playwright tests

* fix playwright tests

* minor clean up around tables

---------

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2025-03-26 01:49:12 +05:30
Sriharsha Chintalapani
ccd5f12daa
Fix #20200: Import/Export recursively at Database Service, Database, … (#20201)
* Fix #20200: Import/Export recursively at Database Service, Database, Schema

* Recursive import/ export - Fixed errors

* Recursive import - Column not getting updated fixed

* Bug fix - Error message when data length not given for varchar

* Recursive import: Flag added, parsing errors solved

* recursive import: fixed bugs and tests

* added recursive flag for bulk/edit import/export and created entity type filter for easy access

* dismiss the loading state if, dry run fails and websocket doesn't have error in it

* Recursive false for bulk edit

* Recursive import: db service level

* Recursive import: fixed tests

* Recursive import: bug fix

* Recursive import: fixed bug

* support recursive validation and skip bulkImport playright spec and fix some bulk edit playwright test

* Recursive import: bugs

* Recursive import: nested entity bug

* Data type made mandatory for column

---------

Co-authored-by: aji-aju <ajithprasad770@gmail.com>
Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2025-03-25 17:21:43 +05:30
Chirag Madlani
aa5f655e79
feat(ui): update navbar and leftsider bar with new design change (#20354)
* feat(ui): update new layout globally

* update

* update left side bar and nav bar

* update search bar design

* update layout

* update style

* update layout

* add nlp suggestion changes

* fix conflict

* add nlp search query

* update query

* fix styling

* update styling

* remove home

* fix logo

* close submenu upon selection

* fix selected styling for submenu

* fix notification condition and icon

* fix tests

* address comments

* fix left sidebar tests

* Add Aggregations

* fix domain selection issue

* update nlp search in explore page

* Synced ES / OS

* update code to remove _nlq request to es/os

* NLP Search: Improve LLM Prompt

* Remove unnecessary methods in IndexMapping and cleanup SearchRepository warnings; Update LLM search prompt

* Clean up code and pass search config for NLQService

* add nlp query logic on search

* Fix prompt in searchSettings

* Add api to check nlq if enabled

* fix minor feedbacks

* update api calls on explore

* remove from classbase

* add explore redesign

* fix tests

* Add caching for NLQ searches and support filters

* Improve the NLQ prompt; add custom properties

* pass nlq PR only

* update alias to use data asset

* fix tests

* fix explore styles

* fix domain tests

* Cache NLQ query only if we return results

* Add prompts for no tags, no description

* make nlq service protected

* fix domains

* fix null query on es aggregation endpoint

* remove domain

* fix tests

* fix conflicts

---------

Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: mohitdeuex <mohit.y@deuexsolutions.com>
Co-authored-by: Sriharsha Chintalapani <harsha@getcollate.io>
2025-03-21 23:59:19 +05:30
Aniket Katkar
e4c10bc401
Day 1: Service insights and agents tab improvements and bug fixes (#20294)
* update the service data insights charts to give percentage data

* fix the quey_cost_record_search_index not found error

* Fix java checkstyle

* Refactor Service Insights Tab and Widgets for Enhanced Data Visualization

- Updated ServiceInsightsTab to utilize new date utility functions for fetching chart data.
- Modified chart data structure to include percentage changes and current percentages.
- Enhanced PlatformInsightsWidget to display percentage values and improved tooltip functionality.
- Added new styles for better layout and responsiveness in TotalDataAssetsWidget.
- Removed unused SERVICE_INSIGHTS_CHART constant and integrated its logic directly into the fetching process.
- Introduced new enums for additional chart types in DataInsight.

This refactor aims to improve the clarity and usability of the service insights data presentation.

* Localization changes

* Fix the platform insights chart colors

* Make the insights tab as default for service details page

* Enhance Ingestion Component and List Table

- Added logic to conditionally render search dropdowns based on the selected sub-tab in the Ingestion component.
- Increased column widths for 'type', 'count', and 'action' in the IngestionListTable for better visibility.
- Adjusted scroll width in the IngestionListTable to accommodate new column sizes.
- Updated styles in metadata-agents-widget.less to ensure vertical alignment of table cells.
- Modified applicationAPI to include agentType in the application list parameters.
- Enhanced router utility to support sub-tab routing.

These changes aim to improve the user experience and layout of the Ingestion settings.

* Fix the playwright failures

* Fix the playwright tests

* fix notification alert flakiness

* Fix metadata agents table header styling

* localization changes

* Fix the flaky test
2025-03-18 11:17:24 +01:00
Ashish Gupta
f59252cd52
#19881: supported bulk import in OSS (#19982)
* supported bulk import in OSS

* remove duplicate file and fix sonar issue

* fix playwright and sonar issue

* remove the constant file from bulk import

* remove the src file method reference from the playwright folder

* fix the file name
2025-03-02 16:14:19 +05:30
Aniket Katkar
982b530ee5
Playwright: Fix the failing playwright tests on main (#19832)
* Fix the failing playwright tests on main

* Fix the GlossaryBulkImportExport test
2025-02-18 14:31:24 +05:30
Ashish Gupta
c406cceb9a
#19432: fix the description renderer in glossary import (#19450)
* fix the description renderer in glossary import

* added test for the same
2025-01-22 16:22:44 +05:30
Sachin Chaurasiya
4f3ae5d083
feat(#15380): replace description editor with block editor (#19003)
* feat(#15380): replace the description editor with a new block editor.

* chore: Add placeholder support to BlockEditor

* feat: Add autofocus support to BlockEditor

* chore: implement block editor in richtext editor

* chore: Remove unused CSS import in RichTextEditor

* fix: ensure safe access to getEditorContent in Markdown editor components

* minor change

* fix: add support for ttf file extension in pom.xml

* fix: adjust block editor styles for better usability and overflow handling

* fix: update RichTextEditorPreviewer to RichTextEditorPreviewerV1 and adjust block editor styles

* fix: update description box selector to use om-block-editor for consistency

* fix: disable autoFocus on BlockEditor in RichTextEditorPreviewerV1

* refactor: update RichTextEditorPreviewer references to RichTextEditorPreviewerV1 in tests

* test: update timer handling in ApplicationCard and SuggestionsAlert tests

* fix(diff): update diff view rendering and attributes for consistency

* fix(RichTextEditor): add placeholder for empty markdown descriptions

* Add data-diff in <span>

* Fix test

* fix: update description box selector to use locator method for better reliability

* feat: integrate RichTextEditorPreviewerV1 for description rendering in Notification and Observability Alerts pages

* feat: add markdown conversion for mentions and hashtags in BlockEditorUtils

* fix: update initial value handling in TagsForm and formUtils

* MINOR - Update description handling in Playwright tests and utilities

* Refactor Playwright tests to use descriptionBox for tag and team descriptions

* Refactor custom property handling and update description check logic

* Enhance entity version page tests by adding description box read-only check and updating data-testid attributes

* Refactor description handling and improve diff rendering logic in task pages

* Fix user description clearing logic in UserDetails.spec.ts

* Enhance Rich Text Editor by adding custom styles and converting markdown to HTML for backward compatibility

* Remove test for rendering alert description when not present in AlertDetailsPage

* Clean up RichTextEditorPreviewerV1 by removing unnecessary comments and improving readability

* Update SearchIndexApplication.spec.ts to select 'Table' instead of 'Topic' in the tree widget

* Refactor BlockEditor and FeedUtils to improve code organization and readability

* Fix regex in getTextFromHtmlString to correctly remove HTML tags

* Add tests for getTextFromHtmlString and improve HTML tag removal regex

---------

Co-authored-by: mohitdeuex <mohit.y@deuexsolutions.com>
2024-12-27 20:57:37 +05:30
sonika-shah
30497528bc
feat: add Import/export support for table type custom property in glossary (#18262)
* import/export support for table type custom property

* remove logs

* Add backend tests

* ui: add custom type property parsing

* print rows in the order of columns defined in config

* ui: handle special chars pasring for custom property import/export

* ui:improve table type property parsing

* ui:fix sql input styling

* ui: improve the parsing for table type property

* ui: fix parsing for markdown, string and sqlQuery properties

* ui: fix parsing for table type property

* ui: fix unit test

* fix backend tests

* remove unwanted comments

* ui: add playwright test for table type import/export part1

---------

Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
2024-10-16 15:44:38 +05:30
sonika-shah
7d736f6195
Feature : Add table-type custom property (#18135)
* Feature : Add table-type custom property

* ui: remove enumWithDescriptions property

* Refactor AddCustomProperty component to remove unused EnumWithDescriptionsConfig import and property

* ui: add support for creating and updating the table-type property

* add rowCount field in table-type and clean logic of validation

* add rowCount field in table-type and clean logic of validation

* add rowCount field in table-type and clean logic of validation

* ui: add support for adding value to table type property part 1

* use rowCount from the API

* default row-count to 10

* fix tooltip to read rowcount from the props

* fix empty row issue

* rename from table-type to table-cp

* Refactor table type property to handle empty rows and display in modal

* Refactor table type property to handle empty rows and display in modal

* use locales for messages

* minor change

* ui: use column layout for rendering custom properties cards

* remove enumwithDescriptions from backend and add tests for table type

* fix unit test

* fix playwright

---------

Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
2024-10-10 13:43:19 -07:00
sonika-shah
1d727d57bd
Feature: Allow Custom Property Update in Glossary Bulk Import/export (#17919)
* fix import issue

* Feat : Allow Custom Property Update in Bulk Upload

* Feat : Allow Custom Property Update in Bulk Upload

* supported editable imports in glossary page

* added remaning localizaion keys

* update logic of fieldToExtensionStrings to use csvparser

* update json and partialStatus condition

* fix tests for partialSuccess status change

* supported customProperty editable field

* fix error in custom property edit modal on new line empty custom property

* added entity type from root to support other bulk import entity as well

* fix the quote removing due to the regex in the string type

* Add backend tests , and error msg improvements

* GlossaryStatus header change

* fix unit test and dry run in case of synonyms having quotes in it

* Remove extension column in CSVs for all entities except glossaryTerm

* added editor for reviewers

* unit test around csv utils

* added escape for string too, in case of semicolon comes

* added playwright test without extension and supported relatedTerm as editable

* added unit test around csv util logic

* resolve conflicts

* Backend - add support for enumWithDescriptions in bulk import

* add tests and other error handling improvements related to enumWithDescriptions

* fix the custom property modal header and render the layout as per right panel in entities

* parese enumWithDescription for the customProperty modal while editable

* fix description data in enumWithDescription one

* fix: Handle NullPointerException when adding custom properties to ensure loop continues for other schemas of the same type for addToRegistry

* added extension playwrigth test and fix enumWithDescription object failure

* descrease the size of extension  modal

* remove additional comments

* fix the escape in parent key

* improve custom property layout

* improve ui for inline properties

* fix description, glossary and relatedTerm escape char issue

* fix some customProperty ui changes

* fix sonar issue

* minor layout changes

* minor label improvements for entity ref and list

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
Co-authored-by: Ashish Gupta <ashish@getcollate.io>
Co-authored-by: mohitdeuex <mohit.y@deuexsolutions.com>
Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
2024-10-01 00:12:43 +05:30