From b473f2ce038cc7681366f446d720347506d7f49a Mon Sep 17 00:00:00 2001 From: Julian Molina Date: Mon, 18 Jan 2021 21:53:05 +0100 Subject: [PATCH] App messages done --- ...ssages-001-app-message-contribution-done.json | 16 ++++++++++++++++ ...ges-001-app-message-contribution-succeed.json | 2 +- ...es-002-app-message-creating-pull-request.json | 13 ++++++++----- ...pp-message-update-done-new-version-found.json | 16 ++++++++++++++++ ...message-update-succeed-new-version-found.json | 2 +- ...p-message-update-done-already-up-to-date.json | 16 ++++++++++++++++ ...essage-update-succeed-already-up-to-date.json | 2 +- ...124-tutorial-step-congrats-and-thank-you.json | 2 +- .../UI/Spaces/Docs-Space/CommandInterface.js | 6 +++--- 9 files changed, 63 insertions(+), 12 deletions(-) create mode 100644 Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-001-app-message-contribution-done.json create mode 100644 Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-004-app-message-update-done-new-version-found.json create mode 100644 Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-005-app-message-update-done-already-up-to-date.json diff --git a/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-001-app-message-contribution-done.json b/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-001-app-message-contribution-done.json new file mode 100644 index 000000000..3da2ac122 --- /dev/null +++ b/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-001-app-message-contribution-done.json @@ -0,0 +1,16 @@ +{ + "topic": "App Commands Messages", + "pageNumber": "1", + "type": "App Message - Contribution Done", + "definition": { + "text": "Your contributions were uploaded to your Superalgos Fork and a Pull Request was submitted to the main Superalgos repository.", + "updated": 1611002547907 + }, + "paragraphs": [ + { + "style": "Success", + "text": "No further action from you is required. Someone will review your Pull Request and merge it into the latest version of the software should everything be in order. If your changes are rejected for any reason, you will have to follow the issue at Github.com.", + "updated": 1611002626154 + } + ] +} \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-001-app-message-contribution-succeed.json b/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-001-app-message-contribution-succeed.json index 18854cefb..e594f8996 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-001-app-message-contribution-succeed.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-001-app-message-contribution-succeed.json @@ -1,7 +1,7 @@ { "topic": "App Commands Messages", "pageNumber": "1", - "type": "App Message - Contribution Succeed", + "type": "App Message - Contribution Done", "definition": { "text": "Your contributions were uploaded to your Superalgo's Fork and from there a Pull Request was submitted to the main Superalgos's repository.", "updated": 1610478517848 diff --git a/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-002-app-message-creating-pull-request.json b/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-002-app-message-creating-pull-request.json index 5cbb0cd4e..93ec87131 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-002-app-message-creating-pull-request.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-002-app-message-creating-pull-request.json @@ -3,8 +3,8 @@ "pageNumber": "2", "type": "App Message - Creating Pull Request", "definition": { - "text": "Hold on for a minute while we upload all the changes to GitHub.com and create a pull request with your contributions in it. You will be forwarded to a results page once the operation is complete.", - "updated": 1609941046109 + "text": "Hold on while changes are uploaded to GitHub.com and a Pull Request is created. You will get a new message when the operation is complete.", + "updated": 1611002766659 }, "paragraphs": [ { @@ -14,15 +14,18 @@ }, { "style": "Text", - "text": "Someone will review the Pull Request and if everything is alright, it will merge the changes you submitted into the develop branch of the main Superalgos repository." + "text": "No further action from you is required. Someone will review your Pull Request and merge it into the latest version of the software should everything be in order. If your changes are rejected for any reason, you will have to follow the issue at Github.com.", + "updated": 1611002796639 }, { "style": "Text", - "text": "If you submit more contributions while the Pull Request is under review, they will be automatically added to the already open Pull Request." + "text": "If you submit more contributions while the Pull Request is under review, they will be automatically appended to the open Pull Request.", + "updated": 1611002870980 }, { "style": "Note", - "text": "By default you will receive an email from Github.com when the changes are merged, or if the reviewer made comments on it, or reject those changes. You can manage your email suscription setting directly at GitHub.com" + "text": "You should receive an email from Github.com when changes are merged, or if the reviewer makes comments or reject the changes. You may manage your email suscription settings at GitHub.com.", + "updated": 1611002949297 } ] } \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-004-app-message-update-done-new-version-found.json b/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-004-app-message-update-done-new-version-found.json new file mode 100644 index 000000000..e84c8a488 --- /dev/null +++ b/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-004-app-message-update-done-new-version-found.json @@ -0,0 +1,16 @@ +{ + "topic": "App Commands Messages", + "pageNumber": "4", + "type": "App Message - Update Done - New Version Found", + "definition": { + "text": "The update process finished successfully. A new version of Superalgos was downloaded replacing the current one. In order for the changes to take effect, you must restart the Client and refresh the UI page.", + "updated": 1611003042937 + }, + "paragraphs": [ + { + "style": "Success", + "text": "You now have the latest version of Superalgos. Just remeber to restart the Client and the UI.", + "updated": 1610454408134 + } + ] +} \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-004-app-message-update-succeed-new-version-found.json b/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-004-app-message-update-succeed-new-version-found.json index a08b5070d..6f85bdf00 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-004-app-message-update-succeed-new-version-found.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-004-app-message-update-succeed-new-version-found.json @@ -1,7 +1,7 @@ { "topic": "App Commands Messages", "pageNumber": "4", - "type": "App Message - Update Succeed - New Version Found", + "type": "App Message - Update Done - New Version Found", "definition": { "text": "The update process ran successfully. It found a new version of Superalgos and it download it replacing the current one. In order for the new changes to take effect, you need to restart the Client and refresh the UI page.", "updated": 1610454363656 diff --git a/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-005-app-message-update-done-already-up-to-date.json b/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-005-app-message-update-done-already-up-to-date.json new file mode 100644 index 000000000..f647332b5 --- /dev/null +++ b/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-005-app-message-update-done-already-up-to-date.json @@ -0,0 +1,16 @@ +{ + "topic": "App Commands Messages", + "pageNumber": "5", + "type": "App Message - Update Done - Already Up-To-Date", + "definition": { + "text": "The update process run successfully but no changes where made since your installation is up-to-date with the selected branch. No further action required.", + "updated": 1611003139749 + }, + "paragraphs": [ + { + "style": "Success", + "text": "You are up-to-date. No need to reboot the Client or refresh the UI page.", + "updated": 1610454271911 + } + ] +} \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-005-app-message-update-succeed-already-up-to-date.json b/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-005-app-message-update-succeed-already-up-to-date.json index d120b5ddf..97d83d0e5 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-005-app-message-update-succeed-already-up-to-date.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/app-commands-messages-005-app-message-update-succeed-already-up-to-date.json @@ -1,7 +1,7 @@ { "topic": "App Commands Messages", "pageNumber": "5", - "type": "App Message - Update Succeed - Already Up-To-Date", + "type": "App Message - Update Done - Already Up-To-Date", "definition": { "text": "The update process was executed successfully, but no changes where found since you were running the latest version of Superalgos. No further action need to be taken.", "updated": 1610454235682 diff --git a/Projects/Superalgos/Schemas/Docs-Tutorials/welcome-to-superalgos-124-tutorial-step-congrats-and-thank-you.json b/Projects/Superalgos/Schemas/Docs-Tutorials/welcome-to-superalgos-124-tutorial-step-congrats-and-thank-you.json index d7b854343..700ab5a49 100644 --- a/Projects/Superalgos/Schemas/Docs-Tutorials/welcome-to-superalgos-124-tutorial-step-congrats-and-thank-you.json +++ b/Projects/Superalgos/Schemas/Docs-Tutorials/welcome-to-superalgos-124-tutorial-step-congrats-and-thank-you.json @@ -13,7 +13,7 @@ "paragraphs": [ { "style": "Text", - "text": "If everything went well with your authentication, you should be seeing the Contribution Succeeded message!", + "text": "If everything went well with your authentication, you should be seeing the Contribution Done message!", "updated": 1610913443275 }, { diff --git a/Projects/Superalgos/UI/Spaces/Docs-Space/CommandInterface.js b/Projects/Superalgos/UI/Spaces/Docs-Space/CommandInterface.js index 68cae1222..638d1ed0e 100644 --- a/Projects/Superalgos/UI/Spaces/Docs-Space/CommandInterface.js +++ b/Projects/Superalgos/UI/Spaces/Docs-Space/CommandInterface.js @@ -80,7 +80,7 @@ function newSuperalgosDocsCommmandInterface() { /* Lets check the result of the call through the http interface */ data = JSON.parse(data) if (err.result === GLOBAL.DEFAULT_OK_RESPONSE.result && data.result === GLOBAL.DEFAULT_OK_RESPONSE.result) { - UI.projects.superalgos.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Message - Contribution Succeed') + UI.projects.superalgos.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Message - Contribution Done') } else { UI.projects.superalgos.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Error - Contribution Not Sent', 'Anchor Contribution Not Sent') } @@ -131,9 +131,9 @@ function newSuperalgosDocsCommmandInterface() { data = JSON.parse(data) if (err.result === GLOBAL.DEFAULT_OK_RESPONSE.result && data.result === GLOBAL.CUSTOM_OK_RESPONSE.result) { if (data.message.summary.changes + data.message.summary.deletions + data.message.summary.insertions > 0) { - UI.projects.superalgos.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Message - Update Succeed - New Version Found') + UI.projects.superalgos.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Message - Update Done - New Version Found') } else { - UI.projects.superalgos.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Message - Update Succeed - Already Up-To-Date') + UI.projects.superalgos.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Message - Update Done - Already Up-To-Date') } } else { UI.projects.superalgos.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Error - Update Failed', 'Anchor Update Failed')