From da2ec0e1edc2c109402b97ad612ed9fc0dd16875 Mon Sep 17 00:00:00 2001 From: Athan Reines Date: Mon, 11 May 2020 11:18:38 -0700 Subject: [PATCH] Add setting for toggling UI suspension --- schema/plugin.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/schema/plugin.json b/schema/plugin.json index 0ffcd2889..b2027c725 100644 --- a/schema/plugin.json +++ b/schema/plugin.json @@ -5,6 +5,12 @@ "description": "jupyterlab-git settings.", "type": "object", "properties": { + "blockWhileCommandExecutes": { + "type": "boolean", + "title": "Suspend interaction until commands finish", + "description": "Suspend JupyterLab interaction until Git commands (e.g., commit, pull, reset, revert) finish executing. Setting this to true helps mitigate potential race conditions leading to data loss, conflicts, and a broken Git history. Unless running a slow network, UI suspension should not interfere with standard workflows. Setting this to false allows for actions to trigger multiple concurrent Git actions.", + "default": true + }, "cancelPullMergeConflict": { "type": "boolean", "title": "Cancel pull merge conflict",