:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(experiments): drop the duplicate tooltip on the refresh button while loading (#124890)
Juraj Majerikc2d331527788
diff --git a/products/experiments/frontend/components/ExperimentMetaBar/ExperimentRefreshButton.tsx b/products/experiments/frontend/components/ExperimentMetaBar/ExperimentRefreshButton.tsxindex 71fa284d3d2d..40068c3b45b1 100644--- a/products/experiments/frontend/components/ExperimentMetaBar/ExperimentRefreshButton.tsx+++ b/products/experiments/frontend/components/ExperimentMetaBar/ExperimentRefreshButton.tsx@@ -5,7 +5,6 @@ import { LemonButton, lemonToast } from '@posthog/lemon-ui'import { dayjs } from 'lib/dayjs'import { useFeatureFlag } from 'lib/hooks/useFeatureFlag'-import { Spinner } from 'lib/lemon-ui/Spinner'import { experimentLogic, previousRefreshAnalytics } from 'scenes/experiments/experimentLogic'import { experimentMetricsLogic } from 'scenes/experiments/experimentMetricsLogic'@@ -37,9 +36,10 @@ function RefreshButton({<LemonButtontype="secondary"size="xsmall"- icon={isRefreshing ? <Spinner textColored /> : <IconRefresh />}+ icon={<IconRefresh />}+ loading={isRefreshing}onClick={onRefresh}- disabledReason={isRefreshing ? (queuedHint ?? loadingText) : blockedReason}+ disabledReason={isRefreshing ? queuedHint : blockedReason}aria-label={isRefreshing ? undefined : 'Refresh results'}data-attr="refresh-experiment">