Merge pull request #26471 from overleaf/dp-update-editor-switcher-modal

Add line about new error logs to editor switcher modal

GitOrigin-RevId: 13ca361060ab1e9144c3a3d4ebc1fc487e6a8895
This commit is contained in:
David
2025-06-17 13:00:53 +01:00
committed by Copybot
parent 89937d9635
commit 90309f59ae
3 changed files with 6 additions and 0 deletions

View File

@@ -1076,6 +1076,7 @@
"neither_agree_nor_disagree": "",
"new_compile_domain_notice": "",
"new_create_tables_and_equations": "",
"new_error_logs_panel": "",
"new_file": "",
"new_folder": "",
"new_font_open_dyslexic": "",

View File

@@ -15,6 +15,7 @@ import Notification from '@/shared/components/notification'
import { useSwitchEnableNewEditorState } from '../../hooks/use-switch-enable-new-editor-state'
import { Trans, useTranslation } from 'react-i18next'
import { useEditorAnalytics } from '@/shared/hooks/use-editor-analytics'
import { useFeatureFlag } from '@/shared/context/split-test-context'
import { useSurveyUrl } from '../../hooks/use-survey-url'
export const IdeRedesignSwitcherModal = () => {
@@ -160,10 +161,13 @@ const SwitcherModalContentDisabled: FC<ModalContentProps> = ({
const SwitcherWhatsNew = () => {
const { t } = useTranslation()
const newErrorlogs = useFeatureFlag('new-editor-error-logs-redesign')
return (
<div className="ide-redesign-switcher-modal-whats-new">
<h4>{t('latest_updates')}</h4>
<ul>
{newErrorlogs && <li>{t('new_error_logs_panel')}</li>}
<li>{t('searching_all_project_files_is_now_available')}</li>
<li>{t('double_clicking_on_the_pdf_shows')}</li>
</ul>

View File

@@ -1408,6 +1408,7 @@
"neither_agree_nor_disagree": "Neither agree nor disagree",
"new_compile_domain_notice": "Weve recently migrated PDF downloads to a new domain. Something might be blocking your browser from accessing that new domain, <0>__compilesUserContentDomain__</0>. This could be caused by network blocking or a strict browser plugin rule. Please follow our <1>troubleshooting guide</1>.",
"new_create_tables_and_equations": "NEW! <sparkle/> Create tables and equations in seconds",
"new_error_logs_panel": "New error logs panel. Added Go to location in code and Go to location in PDF buttons (17 June 2025)",
"new_file": "New file",
"new_folder": "New folder",
"new_font_open_dyslexic": "New font: OpenDyslexic Mono is designed to improve readability for those with dyslexia.",