diff --git a/services/web/app/src/Features/Project/ProjectController.js b/services/web/app/src/Features/Project/ProjectController.js
index c35d265371..5a87c67767 100644
--- a/services/web/app/src/Features/Project/ProjectController.js
+++ b/services/web/app/src/Features/Project/ProjectController.js
@@ -996,21 +996,6 @@ const ProjectController = {
}
)
},
- linkSharingUpgradePromptAssignment(cb) {
- SplitTestHandler.getAssignment(
- req,
- res,
- 'link-sharing-upgrade-prompt',
- (error, assignment) => {
- // do not fail editor load if assignment fails
- if (error) {
- cb(null, { variant: 'default' })
- } else {
- cb(null, assignment)
- }
- }
- )
- },
trackPdfDownloadAssignment(cb) {
SplitTestHandler.getAssignment(req, res, 'track-pdf-download', () => {
// We'll pick up the assignment from the res.locals assignment.
diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json
index 06610daa68..3e6350f58e 100644
--- a/services/web/frontend/extracted-translations.json
+++ b/services/web/frontend/extracted-translations.json
@@ -496,7 +496,6 @@
"please_set_main_file": "",
"plus_upgraded_accounts_receive": "",
"premium_feature": "",
- "premium_makes_collab_easier_with_features": "",
"premium_plan_label": "",
"press_shortcut_to_open_advanced_reference_search": "",
"priority_support": "",
diff --git a/services/web/frontend/js/features/share-project-modal/components/link-sharing.js b/services/web/frontend/js/features/share-project-modal/components/link-sharing.js
index d733c9586f..07f762d958 100644
--- a/services/web/frontend/js/features/share-project-modal/components/link-sharing.js
+++ b/services/web/frontend/js/features/share-project-modal/components/link-sharing.js
@@ -1,7 +1,7 @@
import { useCallback, useState } from 'react'
import PropTypes from 'prop-types'
import { Button, Col, Row } from 'react-bootstrap'
-import { Trans, useTranslation } from 'react-i18next'
+import { Trans } from 'react-i18next'
import Tooltip from '../../../shared/components/tooltip'
import Icon from '../../../shared/components/icon'
import { useShareProjectContext } from './share-project-modal'
@@ -10,9 +10,6 @@ import CopyLink from '../../../shared/components/copy-link'
import { useProjectContext } from '../../../shared/context/project-context'
import * as eventTracking from '../../../infrastructure/event-tracking'
import { useUserContext } from '../../../shared/context/user-context'
-import StartFreeTrialButton from '../../../shared/components/start-free-trial-button'
-import { useSplitTestContext } from '../../../shared/context/split-test-context'
-import getMeta from '../../../utils/meta'
export default function LinkSharing({ canAddCollaborators }) {
const [inflight, setInflight] = useState(false)
@@ -129,7 +126,6 @@ function TokenBasedSharing({ setAccessLevel, inflight, canAddCollaborators }) {
-
- {t('refresh_page_after_starting_free_trial')} -
- )} - > - ) -} - -LinkSharingUpgradePrompt.propTypes = { - canAddCollaborators: PropTypes.bool, -} diff --git a/services/web/frontend/stylesheets/app/editor/share.less b/services/web/frontend/stylesheets/app/editor/share.less index 304eb7c149..d8b35959d4 100644 --- a/services/web/frontend/stylesheets/app/editor/share.less +++ b/services/web/frontend/stylesheets/app/editor/share.less @@ -45,22 +45,6 @@ } } } - .link-sharing-upgrade-prompt { - background-color: @ol-blue-gray-0; - margin-top: @margin-sm; - padding: @padding-sm 15px; - display: flex; - align-items: center; - border-radius: 3px; - - p { - margin-bottom: 0; - margin-right: 15px; - color: @ol-blue-gray-3; - font-size: 14px; - line-height: 23px; - } - } } .public-access-level.public-access-level--notice { diff --git a/services/web/locales/en.json b/services/web/locales/en.json index 26378ecf5a..a2b810caf7 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -1083,7 +1083,6 @@ "powerful_latex_editor_and_realtime_collaboration_info": "Spell check, intelligent autocomplete, syntax highlighting, dozens of color themes, vim and emacs bindings, help with LaTeX warnings and error messages, and more. Everyone always has the latest version, and you can see your collaborators’ cursors and changes in real time.", "premium_feature": "Premium feature", "premium_features": "Premium features", - "premium_makes_collab_easier_with_features": "<0>Overleaf Premium0> makes collaboration with others easier with features such as <1>track changes1> and <2>full document history.2>", "premium_plan_label": "You’re using Overleaf Premium", "presentation": "Presentation", "press_and_awards": "Press & awards", diff --git a/services/web/test/frontend/features/share-project-modal/components/share-project-modal.test.js b/services/web/test/frontend/features/share-project-modal/components/share-project-modal.test.js index b4aa0419c3..d01a8252af 100644 --- a/services/web/test/frontend/features/share-project-modal/components/share-project-modal.test.js +++ b/services/web/test/frontend/features/share-project-modal/components/share-project-modal.test.js @@ -834,68 +834,4 @@ describe('