diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index 6a3534c36e..b0e1bd9cef 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -1841,7 +1841,7 @@ "this_project_is_public_read_only": "", "this_project_will_appear_in_your_dropbox_folder_at": "", "this_tool_helps_you_insert_figures": "", - "this_tool_helps_you_insert_simple_tables_into_your_project_without_writing_latex_code_give_feedback": "", + "this_tool_helps_you_insert_simple_tables_into_your_project_without_writing_latex_code": "", "this_total_reflects_the_amount_due_until": "", "this_was_helpful": "", "this_wasnt_helpful": "", diff --git a/services/web/frontend/js/features/source-editor/components/figure-modal/figure-modal.tsx b/services/web/frontend/js/features/source-editor/components/figure-modal/figure-modal.tsx index a74962f4b3..d3cb53429e 100644 --- a/services/web/frontend/js/features/source-editor/components/figure-modal/figure-modal.tsx +++ b/services/web/frontend/js/features/source-editor/components/figure-modal/figure-modal.tsx @@ -25,7 +25,6 @@ import { ensureEmptyLine } from '../../extensions/toolbar/commands' import { useTranslation } from 'react-i18next' import useEventListener from '../../../../shared/hooks/use-event-listener' import { prepareLines } from '../../utils/prepare-lines' -import { FeedbackBadge } from '@/shared/components/feedback-badge' import { FullSizeLoadingSpinner } from '@/shared/components/loading-spinner' const FigureModalBody = lazy(() => import('./figure-modal-body')) @@ -281,11 +280,6 @@ const FigureModalContent = () => { : sourcePickerShown ? t('replace_figure') : getTitle(source)}{' '} - diff --git a/services/web/frontend/js/features/source-editor/components/table-generator/help-modal.tsx b/services/web/frontend/js/features/source-editor/components/table-generator/help-modal.tsx index fcf90e3b98..899f816fbe 100644 --- a/services/web/frontend/js/features/source-editor/components/table-generator/help-modal.tsx +++ b/services/web/frontend/js/features/source-editor/components/table-generator/help-modal.tsx @@ -24,17 +24,9 @@ export const TableGeneratorHelpModal = () => {

- , - ]} - /> + {t( + 'this_tool_helps_you_insert_simple_tables_into_your_project_without_writing_latex_code' + )}

{t('how_it_works')}

diff --git a/services/web/frontend/js/features/source-editor/components/table-generator/toolbar/toolbar.tsx b/services/web/frontend/js/features/source-editor/components/table-generator/toolbar/toolbar.tsx index 637764fd76..ec9bfa4083 100644 --- a/services/web/frontend/js/features/source-editor/components/table-generator/toolbar/toolbar.tsx +++ b/services/web/frontend/js/features/source-editor/components/table-generator/toolbar/toolbar.tsx @@ -21,7 +21,6 @@ import { useCodeMirrorViewContext } from '../../codemirror-context' import { useTableContext } from '../contexts/table-context' import { useTabularContext } from '../contexts/tabular-context' import { useTranslation } from 'react-i18next' -import { FeedbackBadge } from '@/shared/components/feedback-badge' import classNames from 'classnames' type CaptionPosition = 'no_caption' | 'above' | 'below' @@ -458,22 +457,7 @@ export const Toolbar = memo(function Toolbar() { label={t('help')} command={showHelp} /> -

- } - /> -
) }) - -const FeedbackBadgeContent = () => ( - <> - We have a new way to insert and edit tables. -
- Click to give feedback - -) diff --git a/services/web/frontend/js/features/source-editor/extensions/visual/table-generator.ts b/services/web/frontend/js/features/source-editor/extensions/visual/table-generator.ts index 10772e3dc6..8605d020f9 100644 --- a/services/web/frontend/js/features/source-editor/extensions/visual/table-generator.ts +++ b/services/web/frontend/js/features/source-editor/extensions/visual/table-generator.ts @@ -290,10 +290,6 @@ export const tableGeneratorTheme = EditorView.baseTheme({ }, }, - '.toolbar-beta-badge': { - padding: '0 4px 2px 12px', - }, - '.table-generator-button-group': { display: 'inline-flex', 'align-items': 'center', diff --git a/services/web/locales/en.json b/services/web/locales/en.json index d45fa322ad..1c7300755d 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -2365,7 +2365,7 @@ "this_project_is_public_read_only": "This project is public and can be viewed but not edited by anyone with the URL", "this_project_will_appear_in_your_dropbox_folder_at": "This project will appear in your Dropbox folder at ", "this_tool_helps_you_insert_figures": "This tool helps you insert figures into your project without needing to write the LaTeX code. The following information explains more about the options in the tool and how to further customize your figures.", - "this_tool_helps_you_insert_simple_tables_into_your_project_without_writing_latex_code_give_feedback": "This tool helps you insert simple tables into your project without writing LaTeX code. This tool is new, so please <0>give us feedback and look out for additional functionality coming soon.", + "this_tool_helps_you_insert_simple_tables_into_your_project_without_writing_latex_code": "This tool helps you insert simple tables into your project without writing LaTeX code.", "this_total_reflects_the_amount_due_until": "This total reflects the amount due from today until __date__, the end of the billing period of your existing plan.", "this_was_helpful": "This was helpful", "this_wasnt_helpful": "This wasn’t helpful",