infor-design / enterprise

Enterprise-grade component library for the Infor Design System
https://design.infor.com
Apache License 2.0
134 stars 81 forks source link

Tooltip: Is not displaying the alert for aging candidates on the CAP/modal pop up #8858

Open ankitsharmaInfor opened 3 months ago

ankitsharmaInfor commented 3 months ago

User Story As a recruiter, I want to know what the status indicator are depicting so that I can determine what action I need to take upon for that particular requisition or candidate. Jira Ticket: https://inforwiki.atlassian.net/browse/T2V-23011

BEHAVIOR CHANGE/IMPACT Enhancement on existing functionality

IDS Dependency Not able to provide tool tip to display the alert for aging candidates on the CAP/modal pop up. (check screenshot for reference)

Scope To show as a tool tip while hovering on the aging icon on CAP/modal pop up.

Steps to reproduce

Aging candidate ss

image

tmcconechy commented 3 months ago

@ankitsharmaInfor when making issues try to frame it in the way of what you need from the component library. Sounds like you just wanted the alert with a tooltip. To do that you need to combine two examples:

a) an alert https://github.com/infor-design/enterprise/blob/main/app/views/components/alerts/example-index.html#L20-L22 b) Add a tooltip (lots of ways https://github.com/infor-design/enterprise/tree/main/app/views/components/tooltip)

NOTE: In web components it's much easier https://main.wc.design.infor.com/ids-alert/example.html

ankitsharmaInfor commented 1 month ago

Hi @tmcconechy, so we already have the tool tip implementation on the status indicators associated with Job requisitions in the open requisitions widget (eg: Aging requisitions & featured requisitions). But on the candidate modal which opens upon clicking the counts, we are facing this issue in displaying the Aging candidate alert tool tip associated with candidate alert. Please refer below screenshot for example. image image image

tmcconechy commented 1 month ago

@ankitsharmaInfor can you include a way to reproduce? Other than screen shots im not seeing any reduced test case we can act on here. The screen shot looks ok to me as well. Not seeing even the issue

infor-mahesh commented 3 weeks ago

hi @tmcconechy , Ankit referring that icon tooltip is not working on CAP. If I recall correctly from our last discussion, you mentioned this was a known issue. Could you please confirm if there is a ticket already opened for this? If not, could you kindly look into the issue?

For reference, we’re using the web component for the icon/tooltip.

tmcconechy commented 3 weeks ago

@infor-mahesh I think it was a known issue where the icon web component would not take a tooltip attribute. But it should now and can be seen in this example https://main.wc.design.infor.com/ids-icon/tooltip.html

This issue doesnt really give any ways to reproduce the issue. It just has a screen shot. So we marked the issue as clarification. Is this all you need and we can close this issue? Or do you plan on adding some examples so we can reproduce a bug?

infor-mahesh commented 3 weeks ago

hi @tmcconechy , We were able to successfully implement the tooltip via the web component, and it is working well over the data grid component. However, when the same component is used inside a Contextual Action Panel (CAP) or modal pop-up, the tooltip does not seem to work.

It seems like the tooltip, which is implemented as a layer, might not be functioning correctly when invoked from within an additional layer, like CAP or modal pop-up.

tmcconechy commented 3 weeks ago

@infor-mahesh can you provide a working stackblitz that shows the issue? I tried a tooltip on the Action Panel buttons and that works. But not sure how to reproduce it from your screen shots.