From 133dee5ff2d8be0df41b9bfaca5fc3ecfccfb1f3 Mon Sep 17 00:00:00 2001 From: Bill Leoutsakos Date: Thu, 24 Sep 2026 11:24:18 -0700 Subject: [PATCH] Consolidate compact popover menus and embedded panels --- .../organization-search-stats-period.tsx | 3 ++- .../resource-header/resource-header.tsx | 16 ++++--------- .../message-sources/message-sources.tsx | 2 +- .../app/workspace/[workspaceId]/logs/logs.tsx | 2 +- .../credit-usage/credit-usage-view.tsx | 2 +- .../table-grid/cells/inline-editors.tsx | 3 ++- .../components/views-menu/views-menu.tsx | 23 +++++-------------- .../ee/audit-logs/components/audit-logs.tsx | 2 +- .../components/usage-monitoring.tsx | 2 +- .../emcn/src/components/popover/popover.tsx | 19 +++++++++++++-- .../src/lib/code-hover-card.tsx | 3 ++- 11 files changed, 39 insertions(+), 38 deletions(-) diff --git a/apps/sim/app/o/[organizationId]/settings/components/integrations/organization-search-stats-period.tsx b/apps/sim/app/o/[organizationId]/settings/components/integrations/organization-search-stats-period.tsx index cff874b2785..a355fddc86a 100644 --- a/apps/sim/app/o/[organizationId]/settings/components/integrations/organization-search-stats-period.tsx +++ b/apps/sim/app/o/[organizationId]/settings/components/integrations/organization-search-stats-period.tsx @@ -61,7 +61,8 @@ export function OrganizationSearchStatsPeriod({ tabIndex={-1} align='end' sideOffset={4} - className='w-auto p-0' + padding='none' + className='w-auto' onOpenAutoFocus={() => calendarRef.current?.focus()} onCloseAutoFocus={() => triggerContainerRef.current?.querySelector('[role="combobox"]')?.focus() diff --git a/apps/sim/app/workspace/[workspaceId]/components/resource/components/resource-header/resource-header.tsx b/apps/sim/app/workspace/[workspaceId]/components/resource/components/resource-header/resource-header.tsx index 006271eb23a..22242e78384 100644 --- a/apps/sim/app/workspace/[workspaceId]/components/resource/components/resource-header/resource-header.tsx +++ b/apps/sim/app/workspace/[workspaceId]/components/resource/components/resource-header/resource-header.tsx @@ -518,7 +518,7 @@ function BreadcrumbLocationPopover({ return ( <> - +