Refactoring of App Messages
This commit is contained in:
1 parent
cb17370093
commit
095a651d35
6 files changed
+10
-10
No files matched your search
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"topic": "App Commands Messages",
|
||||
"pageNumber": "1",
|
||||
"type": "App Message Contribution Succeed",
|
||||
"type": "App Message - Contribution Succeed",
|
||||
"definition": {
|
||||
"text": "Your contributions where uploaded to your Superalgos Fork and from there a Pull Request was submitted to the main Superalgos repository.",
|
||||
"updated": 1610461472544
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"topic": "App Commands Messages",
|
||||
"pageNumber": "2",
|
||||
"type": "App Message Creating Pull Request",
|
||||
"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
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"topic": "App Commands Messages",
|
||||
"pageNumber": "3",
|
||||
"type": "App Message Updating Your Local App",
|
||||
"type": "App Message - Updating Your Local App",
|
||||
"definition": {
|
||||
"text": "Write here a summary for this topic page."
|
||||
},
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"topic": "App Commands Messages",
|
||||
"pageNumber": "4",
|
||||
"type": "App Message Update Succeed - New Version Found",
|
||||
"type": "App Message - Update Succeed - 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
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"topic": "App Commands Messages",
|
||||
"pageNumber": "5",
|
||||
"type": "App Message Update Succeed - Already Up-To-Date",
|
||||
"type": "App Message - Update Succeed - 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
|
||||
|
||||
@@ -63,7 +63,7 @@ function newSuperalgosDocsCommmandInterface() {
|
||||
}
|
||||
|
||||
httpRequest(undefined, 'App/Contribute/' + message + '/' + config.username + '/' + config.token, onResponse)
|
||||
UI.projects.superalgos.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Message Creating Pull Request')
|
||||
UI.projects.superalgos.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Message - Creating Pull Request')
|
||||
|
||||
return
|
||||
|
||||
@@ -71,7 +71,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 Succeed')
|
||||
} else {
|
||||
UI.projects.superalgos.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Error - Contribution Not Sent', 'Anchor Contribution Not Sent')
|
||||
}
|
||||
@@ -113,7 +113,7 @@ function newSuperalgosDocsCommmandInterface() {
|
||||
}
|
||||
|
||||
httpRequest(undefined, 'App/Update/' + message + '/' + config.username + '/' + config.token, onResponse)
|
||||
UI.projects.superalgos.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Message Updating Your Local App')
|
||||
UI.projects.superalgos.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Message - Updating Your Local App')
|
||||
|
||||
return
|
||||
|
||||
@@ -122,9 +122,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 Succeed - 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 Succeed - Already Up-To-Date')
|
||||
}
|
||||
} else {
|
||||
UI.projects.superalgos.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'App Error - Update Failed', 'Anchor Update Failed')
|
||||
|
||||
Reference in new issue
Block a user