Skip to content

Conversation

@hhung2710
Copy link
Contributor

Changes

  • Enhance DS to support an image and component within the popover

Additional information

@hhung2710 hhung2710 requested a review from qroll December 9, 2025 07:02
@hhung2710 hhung2710 self-assigned this Dec 9, 2025
Copy link
Contributor

@qroll qroll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also include a unit test for the the schema object option

@hhung2710 hhung2710 requested a review from qroll December 16, 2025 06:27
@hhung2710 hhung2710 requested a review from qroll December 18, 2025 09:50
expect(screen.getByText("Schema hint content")).toBeInTheDocument();
});

it("should handle enhanced content types without error", () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, what does enhanced content type mean here? this test looks to be somewhat similar to the one above ("should render FEE schema content in hint") so we could stick to the previous one?

hint: {
content: {
text: { uiType: "text-body", children: "Schema hint content" },
} as any,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for as any?


export const PopoverComponent = Template("popover-component").bind({});
PopoverComponent.args = {
export const TooltipCustomisationWithSchema = Template("popover-component").bind({});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: move below the TooltipCustomisation story

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants