Check for changed files since last merge in GitHub Sync modal (#24180)
GitOrigin-RevId: 4cd55e1501648f0a18b77be5af19deb0773d6881
This commit is contained in:
@@ -152,6 +152,17 @@ const ProjectGetter = {
|
|||||||
'deleterData.deletedProjectOwnerId': userId,
|
'deleterData.deletedProjectOwnerId': userId,
|
||||||
}).exec()
|
}).exec()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
async getHistoryId(projectId) {
|
||||||
|
const project = await this.getProject(projectId, {
|
||||||
|
'overleaf.history.id': 1,
|
||||||
|
})
|
||||||
|
const historyId = project?.overleaf?.history?.id
|
||||||
|
if (!historyId) {
|
||||||
|
throw new OError('project does not have a history id', { projectId })
|
||||||
|
}
|
||||||
|
return historyId
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|||||||
@@ -238,6 +238,8 @@
|
|||||||
"change_the_ownership_of_your_personal_projects": "",
|
"change_the_ownership_of_your_personal_projects": "",
|
||||||
"change_to_group_plan": "",
|
"change_to_group_plan": "",
|
||||||
"change_to_this_plan": "",
|
"change_to_this_plan": "",
|
||||||
|
"changed_file_count_since_last_merge": "",
|
||||||
|
"changed_file_count_since_last_merge_plural": "",
|
||||||
"changes_the_color_scheme_of_the_code_editor": "",
|
"changes_the_color_scheme_of_the_code_editor": "",
|
||||||
"changing_the_position_of_your_figure": "",
|
"changing_the_position_of_your_figure": "",
|
||||||
"changing_the_position_of_your_table": "",
|
"changing_the_position_of_your_table": "",
|
||||||
@@ -274,7 +276,6 @@
|
|||||||
"column_width_is_x_click_to_resize": "",
|
"column_width_is_x_click_to_resize": "",
|
||||||
"comment": "",
|
"comment": "",
|
||||||
"comment_submit_error": "",
|
"comment_submit_error": "",
|
||||||
"commit": "",
|
|
||||||
"common": "",
|
"common": "",
|
||||||
"common_causes_of_compile_timeouts_include": "",
|
"common_causes_of_compile_timeouts_include": "",
|
||||||
"commons_plan_tooltip": "",
|
"commons_plan_tooltip": "",
|
||||||
@@ -1046,6 +1047,7 @@
|
|||||||
"no_actions": "",
|
"no_actions": "",
|
||||||
"no_borders": "",
|
"no_borders": "",
|
||||||
"no_caption": "",
|
"no_caption": "",
|
||||||
|
"no_changed_files_since_last_merge": "",
|
||||||
"no_comments": "",
|
"no_comments": "",
|
||||||
"no_comments_or_suggestions": "",
|
"no_comments_or_suggestions": "",
|
||||||
"no_existing_password": "",
|
"no_existing_password": "",
|
||||||
|
|||||||
@@ -304,6 +304,8 @@
|
|||||||
"change_the_ownership_of_your_personal_projects": "Change the ownership of your personal projects to the new account. <0>Find out how to change project owner.</0>",
|
"change_the_ownership_of_your_personal_projects": "Change the ownership of your personal projects to the new account. <0>Find out how to change project owner.</0>",
|
||||||
"change_to_group_plan": "Change to a group plan",
|
"change_to_group_plan": "Change to a group plan",
|
||||||
"change_to_this_plan": "Change to this plan",
|
"change_to_this_plan": "Change to this plan",
|
||||||
|
"changed_file_count_since_last_merge": "__count__ changed file in __appName__ since last merge",
|
||||||
|
"changed_file_count_since_last_merge_plural": "__count__ changed files in __appName__ since last merge",
|
||||||
"changes_the_color_scheme_of_the_code_editor": "Changes the color scheme of the code editor",
|
"changes_the_color_scheme_of_the_code_editor": "Changes the color scheme of the code editor",
|
||||||
"changing_the_position_of_your_figure": "Changing the position of your figure",
|
"changing_the_position_of_your_figure": "Changing the position of your figure",
|
||||||
"changing_the_position_of_your_table": "Changing the position of your table",
|
"changing_the_position_of_your_table": "Changing the position of your table",
|
||||||
@@ -354,7 +356,6 @@
|
|||||||
"column_width_is_x_click_to_resize": "Column width is __width__. Click to resize",
|
"column_width_is_x_click_to_resize": "Column width is __width__. Click to resize",
|
||||||
"comment": "Comment",
|
"comment": "Comment",
|
||||||
"comment_submit_error": "Sorry, there was a problem submitting your comment",
|
"comment_submit_error": "Sorry, there was a problem submitting your comment",
|
||||||
"commit": "Commit",
|
|
||||||
"common": "Common",
|
"common": "Common",
|
||||||
"common_causes_of_compile_timeouts_include": "Common causes of compile timeouts include",
|
"common_causes_of_compile_timeouts_include": "Common causes of compile timeouts include",
|
||||||
"commons_plan_tooltip": "You’re on the __plan__ plan because of your affiliation with __institution__. Click to find out how to make the most of your Overleaf premium features.",
|
"commons_plan_tooltip": "You’re on the __plan__ plan because of your affiliation with __institution__. Click to find out how to make the most of your Overleaf premium features.",
|
||||||
@@ -1382,6 +1383,7 @@
|
|||||||
"no_articles_matching_your_tags": "There are no articles matching your tags",
|
"no_articles_matching_your_tags": "There are no articles matching your tags",
|
||||||
"no_borders": "No borders",
|
"no_borders": "No borders",
|
||||||
"no_caption": "No caption",
|
"no_caption": "No caption",
|
||||||
|
"no_changed_files_since_last_merge": "No changed files in __appName__ since last merge",
|
||||||
"no_comments": "No comments",
|
"no_comments": "No comments",
|
||||||
"no_comments_or_suggestions": "No comments or suggestions",
|
"no_comments_or_suggestions": "No comments or suggestions",
|
||||||
"no_existing_password": "Please use the password reset form to set your password",
|
"no_existing_password": "Please use the password reset form to set your password",
|
||||||
|
|||||||
Reference in New Issue
Block a user