-
Notifications
You must be signed in to change notification settings - Fork 9
CCUBE-2031: Enhance DS to support an image and component within the popover #510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
qroll
left a comment
There was a problem hiding this 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
| expect(screen.getByText("Schema hint content")).toBeInTheDocument(); | ||
| }); | ||
|
|
||
| it("should handle enhanced content types without error", () => { |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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({}); |
There was a problem hiding this comment.
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
Changes
Additional information