From 424563d1df04d7dbeda61b4e8a289f4cd3b037a6 Mon Sep 17 00:00:00 2001 From: jrmartin Date: Thu, 17 Oct 2019 16:07:00 -0700 Subject: [PATCH 1/2] Add configuration for ErrorModal : Twitter link, github repo to post issues/bugs, popup messages and buttons visibility --- GeppettoConfiguration.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/GeppettoConfiguration.json b/GeppettoConfiguration.json index 4e5bdf966..2a254ba20 100644 --- a/GeppettoConfiguration.json +++ b/GeppettoConfiguration.json @@ -13,6 +13,18 @@ "type": "website", "url": "http://v2.virtualflybrain.org", "icon" :"https://v2.virtualflybrain.org/images/vfbbrain_icon.png", - "image": "https://v2.virtualflybrain.org/images/vfbbrain_icon.png" + "image": "https://v2.virtualflybrain.org/images/vfbbrain_icon.png", + "errorDialog": { + "message" : "I broke geppetto, ops!", + "githubButton": { + "enabled" : false, + "url" : "https://github.com/VirtualFlyBrain/geppetto-vfb/issues" + }, + "twitterButton": { + "enabled" : false, + "url" : "https://twitter.com/openworm", + "message" : "I broke geppetto, ops!" + } + } } } \ No newline at end of file From a842de23ee3105491334efdbfba0289bb6749608 Mon Sep 17 00:00:00 2001 From: jrmartin Date: Thu, 17 Oct 2019 16:07:26 -0700 Subject: [PATCH 2/2] make buttons visible by default --- GeppettoConfiguration.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GeppettoConfiguration.json b/GeppettoConfiguration.json index 2a254ba20..b893c476c 100644 --- a/GeppettoConfiguration.json +++ b/GeppettoConfiguration.json @@ -17,11 +17,11 @@ "errorDialog": { "message" : "I broke geppetto, ops!", "githubButton": { - "enabled" : false, + "enabled" : true, "url" : "https://github.com/VirtualFlyBrain/geppetto-vfb/issues" }, "twitterButton": { - "enabled" : false, + "enabled" : true, "url" : "https://twitter.com/openworm", "message" : "I broke geppetto, ops!" }