App messages done

This commit is contained in:
Julian Molina committed 2021-01-18 21:53:05 +01:00
1 parent b76c9bdeaa
commit b473f2ce03
9 files changed
+63 -12

No files matched your search

@@ -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
}
]
}
@@ -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
@@ -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
}
]
}
@@ -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
}
]
}
@@ -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
@@ -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
}
]
}
@@ -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
@@ -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
},
{
@@ -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')