Merge pull request #19007 from overleaf/ai-error-assistant-updates

Updates to the AI error assistant

GitOrigin-RevId: 6ca708b97a7eda81618abf3006b4bcc8d46f3dd4
This commit is contained in:
Alf Eaton 2024-06-20 13:03:30 +01:00 committed by Copybot
parent 3453f4cb94
commit b66d45784a
3 changed files with 9 additions and 3 deletions

View file

@ -507,6 +507,7 @@
"github_workflow_files_delete_github_repo": "", "github_workflow_files_delete_github_repo": "",
"github_workflow_files_error": "", "github_workflow_files_error": "",
"give_feedback": "", "give_feedback": "",
"give_your_feedback": "",
"go_next_page": "", "go_next_page": "",
"go_page": "", "go_page": "",
"go_prev_page": "", "go_prev_page": "",
@ -1370,6 +1371,7 @@
"this_could_be_because_we_cant_support_some_elements_of_the_table": "", "this_could_be_because_we_cant_support_some_elements_of_the_table": "",
"this_field_is_required": "", "this_field_is_required": "",
"this_grants_access_to_features_2": "", "this_grants_access_to_features_2": "",
"this_is_a_labs_experiment": "",
"this_project_exceeded_compile_timeout_limit_on_free_plan": "", "this_project_exceeded_compile_timeout_limit_on_free_plan": "",
"this_project_is_public": "", "this_project_is_public": "",
"this_project_is_public_read_only": "", "this_project_is_public_read_only": "",

View file

@ -54,10 +54,12 @@ function PdfLogEntry({
window.addEventListener('editor:view-compile-log-entry', event => { window.addEventListener('editor:view-compile-log-entry', event => {
if (event.detail.id === id) { if (event.detail.id === id) {
element.scrollIntoView({ block: 'start', inline: 'nearest' }) element.scrollIntoView({ block: 'start', inline: 'nearest' })
}
if (event.detail.suggestFix) { if (event.detail.suggestFix) {
element.querySelector('button[data-action="suggest-fix"]')?.click() element
.querySelector('button[data-action="suggest-fix"]')
?.click()
}
} }
}) })
} }

View file

@ -749,6 +749,7 @@
"github_workflow_files_delete_github_repo": "The repository has been created on GitHub but linking was unsuccessful. You will have to delete GitHub repository or choose a new name.", "github_workflow_files_delete_github_repo": "The repository has been created on GitHub but linking was unsuccessful. You will have to delete GitHub repository or choose a new name.",
"github_workflow_files_error": "The __appName__ GitHub sync service couldnt sync GitHub Workflow files (in .github/workflows/). Please authorize __appName__ to edit your GitHub workflow files and try again.", "github_workflow_files_error": "The __appName__ GitHub sync service couldnt sync GitHub Workflow files (in .github/workflows/). Please authorize __appName__ to edit your GitHub workflow files and try again.",
"give_feedback": "Give feedback", "give_feedback": "Give feedback",
"give_your_feedback": "give your feedback",
"global": "global", "global": "global",
"go_back_and_link_accts": "<a href=\"__link__\">Go back</a> and link your accounts", "go_back_and_link_accts": "<a href=\"__link__\">Go back</a> and link your accounts",
"go_next_page": "Go to Next Page", "go_next_page": "Go to Next Page",
@ -1957,6 +1958,7 @@
"this_could_be_because_we_cant_support_some_elements_of_the_table": "This could be because we cant yet support some elements of the table in the table preview. Or there may be an error in the tables LaTeX code.", "this_could_be_because_we_cant_support_some_elements_of_the_table": "This could be because we cant yet support some elements of the table in the table preview. Or there may be an error in the tables LaTeX code.",
"this_field_is_required": "This field is required", "this_field_is_required": "This field is required",
"this_grants_access_to_features_2": "This grants you access to <0>__appName__</0> <0>__featureType__</0> features.", "this_grants_access_to_features_2": "This grants you access to <0>__appName__</0> <0>__featureType__</0> features.",
"this_is_a_labs_experiment": "This is a Labs experiment",
"this_is_your_template": "This is your template from your project", "this_is_your_template": "This is your template from your project",
"this_project_exceeded_compile_timeout_limit_on_free_plan": "This project exceeded the compile timeout limit on our free plan.", "this_project_exceeded_compile_timeout_limit_on_free_plan": "This project exceeded the compile timeout limit on our free plan.",
"this_project_is_public": "This project is public and can be edited by anyone with the URL.", "this_project_is_public": "This project is public and can be edited by anyone with the URL.",