From ef90950cd3e9940b27391112e427fef6c1236f7a Mon Sep 17 00:00:00 2001 From: David <33458145+davidmcpowell@users.noreply.github.com> Date: Mon, 28 Oct 2024 15:39:02 +0000 Subject: [PATCH] Merge pull request #21439 from overleaf/dk-accept-reject-all-tooltip Added tooltips to "Accept all" and "Reject all" options GitOrigin-RevId: 62887e4e26964119cbb2c2aa140565c46aba94fe --- .../components/review-tooltip-menu.tsx | 30 +++++++++++-------- .../app/editor/review-panel-new.less | 3 +- .../pages/editor/review-panel-new.scss | 3 +- 3 files changed, 22 insertions(+), 14 deletions(-) diff --git a/services/web/frontend/js/features/review-panel-new/components/review-tooltip-menu.tsx b/services/web/frontend/js/features/review-panel-new/components/review-tooltip-menu.tsx index 50c154dcc9..d750ac7f78 100644 --- a/services/web/frontend/js/features/review-panel-new/components/review-tooltip-menu.tsx +++ b/services/web/frontend/js/features/review-panel-new/components/review-tooltip-menu.tsx @@ -29,6 +29,7 @@ import { } from '../context/ranges-context' import { isInsertOperation } from '@/utils/operations' import { isCursorNearViewportEdge } from '@/features/source-editor/utils/is-cursor-near-edge' +import OLTooltip from '@/features/ui/components/ol/ol-tooltip' const ReviewTooltipMenu: FC = () => { const state = useCodeMirrorStateContext() @@ -129,18 +130,23 @@ const ReviewTooltipMenuContent: FC<{ {showChangesButtons && ( <>
- - +