-
Notifications
You must be signed in to change notification settings - Fork 1k
refactor: replace deprecated Popovers which open on click #19709
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
Open
aqandrew
wants to merge
58
commits into
main
Choose a base branch
from
aqandrew/replace-popover
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+401
−271
Open
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
fba9492
refactor: replace Popover with Tooltip in AgentLatency
aqandrew e230f38
refactor: replace PopoverTrigger with TooltipTrigger in AgentStatus
aqandrew 75c9fdf
refactor: replace PopoverTrigger with TooltipTrigger in
aqandrew bea24d8
fix: remove HelpTooltipText from AgentLatency (div inside p)
aqandrew 9e6fa0c
fix: add TooltipProvider to AuditHelpTooltip
aqandrew 303222b
fix: add TooltipProvider to ConnectionLogHelpTooltip,
aqandrew f835cb1
fix: add TooltipProvider to PublishTemplateVersionDialog
aqandrew dd7e233
fix: add TooltipProvider to TemplateHelpTooltip
aqandrew d397fff
fix: add TooltipProvider to WorkspaceHelpTooltip
aqandrew 6134bad
fix: add TooltipProvider to WorkspaceOurdatedTooltip
aqandrew ad562be
fix: add TooltipProvider to SubAgentOutdatedTooltip
aqandrew d30170c
fix: add TooltipProvider to EditRolesButton
aqandrew 4438af8
fix: add TooltipProvider to AutoCreateMissingGroupsHelpTooltip and
aqandrew 00b70ea
refactor: extract TooltipProvder to definition of HelpTooltip
aqandrew c59daf3
refactor: remove extract TooltipProvider from DevContainerStartError
aqandrew 3aeaa49
test: add PublishDTemplateVersionDialog story
aqandrew eaf3baf
chore: remove unused import
aqandrew c93e092
refactor: rename Tooltip to MUITooltip
aqandrew ef6cceb
refactor: replace Popover in OwnerBreadcrumb, WorkspaceBreadcrumb,
aqandrew c142b5a
chore: check:fix
aqandrew 143e33e
Merge branch 'main' into aqandrew/replace-popover-in-helptooltip
aqandrew d22a040
chore: lint:fix
aqandrew 2ff9e66
test: expect elements + text content rendered by HelpTooltip
aqandrew ed5bf98
Revert "refactor: rename Tooltip to MUITooltip"
aqandrew ff6c794
refactor: replace deprecated Popover in IconField
aqandrew 9887b09
refactor: move default collisionPadding from HelpTooltip to Popover
aqandrew d859688
refactor: replace deprecated Popover in SelectMenu
aqandrew bda70b2
style: prettier
aqandrew 6a37c49
refactor: replace deprecated Popover in DeploymentDropdown
aqandrew 6921bbe
style: prettier
aqandrew 423bddc
refactor: replace deprecated Popover in UserDropdown
aqandrew 81a70f3
refactor: remove redundant open state var from UserDropdown
aqandrew 949698b
refactor: replace deprecated Popover in UserDropdownContent.test
aqandrew 8207137
refactor: replace deprecated Popover in PortForwardButton
aqandrew a6cf0da
refactor: replace deprecated Popover in EditRolesButton
aqandrew 183d163
refactor: replace deprecated Popover in ProvisionerTagsPopover
aqandrew 1242cbe
refactor: replace deprecated Popover in WorkspacesButton
aqandrew 1f9acc3
refactor: replace deprecated Popover in BuildParametersPopover
aqandrew 244792a
refactor: extract TemplateInsightsControls component
aqandrew 07fd1e2
test: use set past dateRange
aqandrew 8bd2cd0
test: add play functions to TemplateInsightsControls.stories
aqandrew bdacfb1
refactor: replace deprecated Popover in DateRange
aqandrew 9e7b432
fix: remove unknown props from PopoverContent
aqandrew 5ba7da8
chore: check:fix
aqandrew 85611c3
refactor: don't export ClassName type
aqandrew 259e8a3
test: expect elements rendered by Popover
aqandrew d5a6d18
chore: rm 1rem comment
aqandrew e0f4f4c
Merge branch 'main' into aqandrew/replace-popover
aqandrew e5ab08d
fix: left-align EditRolesButton's PopoverContent
aqandrew 189fe0b
fix: restore BuildParametersPopover's background/border color
aqandrew 431b828
fix: prevent SelectMenuContent className from being overwritten
aqandrew f6a3098
fix: apply SelectFilter styles now that SelectMenuContent doesn't render
aqandrew 8785d6b
fix: softcode SelectMenuContent width
aqandrew ffc7aa8
fix: make default SelectMenuContent font size 14px
aqandrew cf7b88f
chore: remove unused searchStyles
aqandrew 8c6c3fc
refactor: export PopoverContentProps, PopoverTriggerProps, and
aqandrew 005256a
chore: check:fix
aqandrew 018c654
refactor: change `style` prop to `css`
aqandrew File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 |
||
|
||
/** | ||
* @deprecated This hook was used as an escape hatch to generate class names | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
muuuuch better