[ 
https://issues.apache.org/jira/browse/ATLAS-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18088238#comment-18088238
 ] 

ASF subversion and git services commented on ATLAS-5306:
--------------------------------------------------------

Commit 5f950827339de6faa030381ba1c2a3c0e1850c64 in atlas's branch 
refs/heads/atlas-2.6 from Brijesh Bhalala
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=5f9508273 ]

ATLAS-5306: Atlas React UI: SearchResult Table: Classification toolti… (#665)

* ATLAS-5306: Atlas React UI: SearchResult Table: Classification tooltip is 
missing parent/super-type name

* ATLAS-5306: Atlas React UI: SearchResult Table: Classification tooltip is 
missing parent/super-type name

* ATLAS-5306: Atlas React UI: SearchResult Table: Classification tooltip is 
missing parent/super-type name
( cherry-picked from the commit 911079f8f57118845bf74984726b1ece617aeb49)


> Atlas React UI: SearchResult Table: Classification tooltip is missing 
> parent/super-type name
> --------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-5306
>                 URL: https://issues.apache.org/jira/browse/ATLAS-5306
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 2.5.0
>            Reporter: Brijesh Bhalala
>            Assignee: Brijesh Bhalala
>            Priority: Major
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
>  In the Search Results table, when hovering over the classification column, 
> the tooltip only displays the base classification name and does not include 
> its parent (super-type) name. However, on the Entity Detail page, the 
> classification tooltip correctly displays the parent name (e.g., 
> {{{}ClassificationName@(ParentName){}}}).
> *Steps to Reproduce:*
>  # Navigate to the Search Results page.
>  # Ensure there is a search result with a classification that has a parent 
> (super-type).
>  # Hover over the classification chip in the "Classifications" column to view 
> the tooltip.
>  # Observe that only the classification name is shown, without the parent 
> name.
>  # Go to the Entity Detail page for the same entity and hover over its 
> classification to observe that the parent name is correctly displayed.
> *Expected Behavior:* The classification tooltip in the Search Results table 
> should be consistent with the Entity Detail page and display the parent name 
> alongside the classification name (e.g., 
> {{{}ClassificationName@(ParentName){}}}).
> h3. Test Coverage :
> Added new unit tests to cover the recent UI layout changes and resolved 
> existing test failures.
> *Search Results ({{{}SearchResult.test.tsx{}}})*
>  * *Table Wrapper & Columns:* Added test cases to verify that the 
> {{.search-result-table-wrapper}} class renders correctly around the 
> {{{}TableLayout{}}}.
>  * *Column Sizing:* Added verifications to ensure the {{Owner}} and {{Type}} 
> columns are accurately configured with their new specific sizes ({{{}width: 
> 150{}}}, {{{}maxWidth: 200{}}}).
>  * *Type Safety:* Resolved multiple implicit {{any}} TypeScript compilation 
> errors within the filtering and sorting callbacks.
> *Classification Tooltip/Dialog ({{{}DialogShowMoreLess.test.tsx{}}})*
>  * *Chip Truncation:* Added tests to verify that the flex layout truncation 
> styles ({{{}minWidth: 0{}}}) are correctly applied to the Classification UI 
> chips so text overflow is handled properly.
>  * *Component Mocking Fixes:* Fixed an issue where the test suite was 
> crashing due to the newly added Material UI {{<Box>}} wrapper component not 
> being properly mocked in the Jest environment.
> *General:*
>  * Configured both test suites to properly import 
> {{@testing-library/jest-dom}} to support accurate UI styling assertions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to