From 5c3d9117c59bb98154ec92826ec12078efd8f311 Mon Sep 17 00:00:00 2001
From: ilkin-overleaf <100852799+ilkin-overleaf@users.noreply.github.com>
Date: Wed, 23 Oct 2024 16:21:00 +0300
Subject: [PATCH] Merge pull request #21240 from
overleaf/ii-bs5-review-panel-old
[web] BS5 review panel old
GitOrigin-RevId: da018b8f2946afb21ab63da0003453e20781f04c
---
.../editor-widgets/editor-widgets.tsx | 23 +-
.../entries/add-comment-entry.tsx | 28 +-
.../entries/aggregate-change-entry.tsx | 28 +-
.../bulk-actions-entry/bulk-actions-entry.tsx | 14 +-
.../entries/bulk-actions-entry/modal.tsx | 41 +-
.../review-panel/entries/change-entry.tsx | 30 +-
.../review-panel/entries/comment-entry.tsx | 26 +-
.../entries/resolved-comment-entry.tsx | 2 +-
.../components/review-panel/nav.tsx | 12 +-
.../review-panel/overview-container.tsx | 6 +-
.../components/review-panel/overview-file.tsx | 7 +-
.../review-panel/positioned-entries.tsx | 479 ++++----
.../components/review-panel/toggler.tsx | 9 +
.../toolbar/resolved-comments-dropdown.tsx | 18 +-
.../toolbar/resolved-comments-scroller.tsx | 2 +-
.../review-panel/toolbar/toggle-menu.tsx | 13 +-
.../toolbar/track-changes-menu.tsx | 14 +-
.../upgrade-track-changes-modal.tsx | 76 +-
.../js/shared/components/loading-spinner.tsx | 5 +-
.../stylesheets/app/editor/review-panel.less | 98 +-
.../bootstrap-5/abstracts/mixins.scss | 30 +
.../components/loading-spinner.scss | 2 +
.../bootstrap-5/pages/editor/ide.scss | 4 +-
.../pages/editor/review-panel.scss | 1049 ++++++++++++++++-
.../frontend/stylesheets/core/utilities.less | 8 +
25 files changed, 1594 insertions(+), 430 deletions(-)
diff --git a/services/web/frontend/js/features/source-editor/components/review-panel/editor-widgets/editor-widgets.tsx b/services/web/frontend/js/features/source-editor/components/review-panel/editor-widgets/editor-widgets.tsx
index f20bd2ecce..fd9b65ec72 100644
--- a/services/web/frontend/js/features/source-editor/components/review-panel/editor-widgets/editor-widgets.tsx
+++ b/services/web/frontend/js/features/source-editor/components/review-panel/editor-widgets/editor-widgets.tsx
@@ -16,6 +16,8 @@ import useScopeEventListener from '@/shared/hooks/use-scope-event-listener'
import { memo, useCallback } from 'react'
import { useLayoutContext } from '@/shared/context/layout-context'
import classnames from 'classnames'
+import BootstrapVersionSwitcher from '@/features/ui/components/bootstrap-5/bootstrap-version-switcher'
+import MaterialIcon from '@/shared/components/material-icon'
function EditorWidgets() {
const { t } = useTranslation()
@@ -71,10 +73,20 @@ function EditorWidgets() {
{nChanges > 1 && permissions.write && (
<>