Skip to content

Conversation

aqandrew
Copy link
Contributor

@aqandrew aqandrew commented Sep 4, 2025

for #19397
dependency: #19635

This PR specifically covers components which open a popover that's triggered by a click, rather than a hover.

IdpOrgSyncPageView, TableColumnHelpTooltip, TemplateInsightsPage
@aqandrew aqandrew changed the title refactor: replace deprecated Popover for components which open popover on click refactor: replace deprecated Popovers which open on click Sep 4, 2025
@aqandrew aqandrew marked this pull request as ready for review September 9, 2025 22:41
Copy link
Member

@aslilac aslilac left a comment

Choose a reason for hiding this comment

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

lots of good stuff! thanks!

@@ -102,7 +102,7 @@ export const UnselectingOption: Story = {
const canvas = within(canvasElement);
const button = canvas.getByRole("button");
await userEvent.click(button);
const menu = canvasElement.querySelector<HTMLElement>("[role=menu]")!;
Copy link
Member

Choose a reason for hiding this comment

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

muuuuch better

@@ -2,7 +2,7 @@ import { css } from "@emotion/css";
import { type Theme, useTheme } from "@emotion/react";
import { type DependencyList, useMemo } from "react";

export type ClassName = (cssFn: typeof css, theme: Theme) => string;
type ClassName = (cssFn: typeof css, theme: Theme) => string;
Copy link
Member

Choose a reason for hiding this comment

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

this means we're getting closer!! excited to see this old hack gone

Co-authored-by: ケイラ <mckayla@hey.com>
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.

2 participants