From 68ce10440ae02f5b7bbed3e6150f2e5a62a01cbc Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Tue, 9 Jun 2026 12:52:00 +0100 Subject: [PATCH] Add Dimensions search via module and rail panel (#33773) Co-authored-by: Claude Opus 4.7 (1M context) GitOrigin-RevId: 5c2811c155c7a1d577c08f6d01564b621b3b264c --- services/web/app/src/Features/Project/ProjectController.mjs | 1 + services/web/app/src/Features/Tutorial/TutorialController.mjs | 2 ++ services/web/frontend/extracted-translations.json | 3 +++ .../frontend/js/features/ide-react/context/rail-context.tsx | 1 + .../js/features/ide-react/editor/document-container.ts | 1 + services/web/locales/en.json | 3 +++ 6 files changed, 11 insertions(+) diff --git a/services/web/app/src/Features/Project/ProjectController.mjs b/services/web/app/src/Features/Project/ProjectController.mjs index 762db43a08..0bf04a0ad9 100644 --- a/services/web/app/src/Features/Project/ProjectController.mjs +++ b/services/web/app/src/Features/Project/ProjectController.mjs @@ -447,6 +447,7 @@ const _ProjectController = { } const splitTests = [ + 'plugin-dimensions', 'bibtex-visual-editor', 'compile-log-events', 'visual-preview', diff --git a/services/web/app/src/Features/Tutorial/TutorialController.mjs b/services/web/app/src/Features/Tutorial/TutorialController.mjs index ec3b92422b..0e0e15dbff 100644 --- a/services/web/app/src/Features/Tutorial/TutorialController.mjs +++ b/services/web/app/src/Features/Tutorial/TutorialController.mjs @@ -30,6 +30,8 @@ const VALID_KEYS = [ 'new-editor-intro-2', 'workbench-rail-popover', 'themed-dashboard-intro', + 'dimensions-consent', + 'dimensions-rail-popover', ] async function completeTutorial(req, res, next) { diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index 26263f3134..d0479dfbeb 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -471,6 +471,7 @@ "details_provided_by_google_explanation": "", "dictionary": "", "did_you_know_institution_providing_professional": "", + "dimensions_no_bib_file": "", "disable": "", "disable_ai_features": "", "disable_equation_preview": "", @@ -1318,6 +1319,7 @@ "no_project_notifications_description": "", "no_projects": "", "no_resolved_comments": "", + "no_results_found": "", "no_search_results": "", "no_selection_select_file": "", "no_symbols_found": "", @@ -1729,6 +1731,7 @@ "save_or_cancel-or": "", "save_or_cancel-save": "", "save_x_or_more": "", + "saved": "", "saving": "", "saving_notification_with_seconds": "", "scope": "", diff --git a/services/web/frontend/js/features/ide-react/context/rail-context.tsx b/services/web/frontend/js/features/ide-react/context/rail-context.tsx index 39f25a5c42..697fe9916f 100644 --- a/services/web/frontend/js/features/ide-react/context/rail-context.tsx +++ b/services/web/frontend/js/features/ide-react/context/rail-context.tsx @@ -23,6 +23,7 @@ export type RailTabKey = | 'review-panel' | 'chat' | 'full-project-search' + | 'dimensions' | 'workbench' export type RailModalKey = diff --git a/services/web/frontend/js/features/ide-react/editor/document-container.ts b/services/web/frontend/js/features/ide-react/editor/document-container.ts index 3a466387df..5190d2d839 100644 --- a/services/web/frontend/js/features/ide-react/editor/document-container.ts +++ b/services/web/frontend/js/features/ide-react/editor/document-container.ts @@ -152,6 +152,7 @@ export class DocumentContainer extends EventEmitter { this.doc.attachToCM6(this.cm6) } this.cm6.on('change', this.checkConsistency) + this.trigger('cm6:attach') } detachFromCM6() { diff --git a/services/web/locales/en.json b/services/web/locales/en.json index 983bfb26f4..1513bda1ee 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -625,6 +625,7 @@ "details_provided_by_google_explanation": "Your details were provided by your Google account. Please check you’re happy with them.", "dictionary": "Dictionary", "did_you_know_institution_providing_professional": "Did you know that __institutionName__ is providing <0>free __appName__ premium features to qualified users at __institutionName__?", + "dimensions_no_bib_file": "Add a .bib file to this project to save references", "disable": "Disable", "disable_ai_features": "Disable AI features", "disable_equation_preview": "Disable equation preview", @@ -1716,6 +1717,7 @@ "no_project_notifications_description": "You won’t be notified about this project.", "no_projects": "No projects", "no_resolved_comments": "No resolved comments", + "no_results_found": "No results found", "no_search_results": "No Search Results", "no_selection_select_file": "Currently, no file is selected. Please select a file from the file tree.", "no_symbols_found": "No symbols found", @@ -2267,6 +2269,7 @@ "save_or_cancel-or": "or", "save_or_cancel-save": "Save", "save_x_or_more": "Save __percentage__ or more", + "saved": "Saved", "saving": "Saving", "saving_notification_with_seconds": "Saving __docname__... (__seconds__ seconds of unsaved changes)", "scope": "Scope",