Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
1bf9dd0
GPII-3521: WIP
georgitodorov Nov 9, 2018
195c4a2
GPII-3521: Positioning and redrawing of dialogs takes into account th…
georgitodorov Nov 13, 2018
462c3c9
GPII-3521: Removing the scaleFactor from the dialog's options
georgitodorov Nov 13, 2018
201ccdd
GPII-3521: Handling edge cases for the dynamic application of the sca…
georgitodorov Nov 14, 2018
12cd8fd
GPII-3521: Fitting the QSS dialog to screen when a display-metrics-ch…
georgitodorov Nov 15, 2018
223a61f
GPII-3521: Taking into account QSS widget dialog when fitting the QSS…
georgitodorov Nov 15, 2018
dfe701e
Merge branch 'morphic-1.0.1' into GPII-3521
georgitodorov Nov 15, 2018
1621cb3
GPII-3521: Fixing an issue with the crashing app on start-up
georgitodorov Nov 16, 2018
d97b325
NOJIRA: Handling some edge cases
georgitodorov Nov 19, 2018
5f40814
GPII-3546: Initial pass at the QS redesign
georgitodorov Nov 22, 2018
facb8e1
GPII-3546: More design changes to the QuickStrip
georgitodorov Nov 23, 2018
bd32052
GPII-3546: Aligning the Close button and the tooltips
georgitodorov Nov 26, 2018
ae2a056
Merge branch 'morphic-1.0.1' into GPII-3546
georgitodorov Nov 27, 2018
d0857f8
GPII-3546: Redesigning the QSS widget
georgitodorov Nov 27, 2018
76d0ebf
GPII-3546: More QS restyling
georgitodorov Nov 28, 2018
41a8c07
GPII-3546: Adding the OpenSans font family
georgitodorov Nov 29, 2018
f31d127
GPII-3546: Changing QSS tooltip styles to be in accordance with the n…
georgitodorov Nov 29, 2018
c14cacf
GPII-3546: Design changes to QSS More Panel and QSS Notification dialog
georgitodorov Nov 29, 2018
e813135
GPII-3546: Fixing QSS tests after design changes
georgitodorov Nov 29, 2018
94f4068
Merge branch 'morphic-1.0.1' into GPII-3546
georgitodorov Nov 29, 2018
19929c1
GPII-3546: Adding a border and a bordered arrow to the QSS menu
georgitodorov Nov 30, 2018
d0925bc
GPII-3546: Changing styles for QSS menu buttons
georgitodorov Nov 30, 2018
50ef93b
GPII-3540: Implemented the tray button.
stegru Nov 30, 2018
091eb30
GPII-3540: Fixed build command
stegru Nov 30, 2018
caea029
GPII-3546: Minor design changes
georgitodorov Dec 4, 2018
894abe9
Merge branch 'GPII-3546' into GPII-3521-new-designs
georgitodorov Dec 4, 2018
2b555f3
GPII-3521: Resizing the QSS when it won't fit on screen (includes sho…
georgitodorov Dec 5, 2018
d9b1f9b
Merge branch 'GPII-3521-new-designs' into morphic-1.1
georgitodorov Dec 7, 2018
93f9fe8
GPII-3574: Basics for the new QSS toggle menu
georgitodorov Dec 7, 2018
b980480
GPII-3574: Styling the toggle button
georgitodorov Dec 7, 2018
443a1f3
Merge remote-tracking branch 'upstream/master' into GPII-3540
stegru Dec 7, 2018
aa167c4
GPII-3540: Stopped the button from hiding when clicking the chevron
stegru Dec 7, 2018
a0e96cc
GPII-3540: Removed tray-button build from the provisioning.
stegru Dec 7, 2018
1bde0da
GPII-3540: Fixed bad merge
stegru Dec 8, 2018
60bb473
GPII-3574: Internationalizing the switch component
georgitodorov Dec 10, 2018
e2aca5f
GPII-3574: Updating QSS tests
georgitodorov Dec 10, 2018
29a6368
GPII-3455: Calling reset to standard after a timeout
stegru Dec 10, 2018
ff5d032
Merge branch 'morphic-1.0.1' into morphic-1.1
georgitodorov Dec 12, 2018
da55992
GPII-3573: Introducing focusing behavior in the QSS based on tabindex
georgitodorov Dec 12, 2018
f973499
GPII-3573: Basics for arrow navigation in the QSS
georgitodorov Dec 12, 2018
267c700
GPII-3575: Introduce 'steps' stepper widget
danailbd Dec 12, 2018
8940b79
GPII-3574: Making the toggle button in the QSS menu focusable
georgitodorov Dec 13, 2018
187ce4c
Merge branch 'GPII-3574' into GPII-3573
georgitodorov Dec 13, 2018
ed6392a
GPII-3575: Split qss widget stylesheet & docs
danailbd Dec 13, 2018
1a2832e
GPII-3573: Enhanced QSS navigation when there are disabled buttons in…
georgitodorov Dec 13, 2018
193972d
GPII-3573: Enhanced QSS navigation when there are disabled buttons in…
georgitodorov Dec 13, 2018
89d418d
GPII-3573: Refactoring, code and documentation improvements
georgitodorov Dec 13, 2018
419f67d
GPII-3573: Further code improvements
georgitodorov Dec 13, 2018
ab60fee
GPII-3573: Adding tabindex properties to the QSS test settings fixture
georgitodorov Dec 14, 2018
e78e275
GPII-3574: Addressing code review comments
georgitodorov Dec 14, 2018
23629f2
Merge branch 'morphic-1.1' into GPII-3574
georgitodorov Dec 14, 2018
3b7d193
Merge branch 'GPII-3574' into GPII-3573
georgitodorov Dec 14, 2018
49f6787
GPII-3575: Add tests
danailbd Dec 17, 2018
0c4a806
GPII-3575: Better naming
danailbd Dec 17, 2018
3cd72fa
GPII-3575: Use css varaible
danailbd Dec 17, 2018
af846cb
GPII-3575: Even better naming
danailbd Dec 17, 2018
1dbf993
GPII-3575: Remove debugging leftover
danailbd Dec 17, 2018
5b24b8b
GPII-3573: Minor fixes for the Read Aloud menu
georgitodorov Dec 17, 2018
53c5ceb
Merge pull request #61 from danailbd/GPII-3574
danailbd Dec 17, 2018
5e51d18
GPII-3575: A gigantic fix
danailbd Dec 17, 2018
e3da3aa
GPII-3575: Adress PR comments
danailbd Dec 17, 2018
15c0310
Merge branch 'morphic-1.1' into GPII-3575
danailbd Dec 17, 2018
d28fd39
GPII-3597: Only animating the spinner when it's shown.
stegru Dec 17, 2018
0583765
Merge branch 'morphic-1.0.1' into morphic-1.1
georgitodorov Dec 18, 2018
5fd0641
GPII-3575: Get rid of unneeded css variable
danailbd Dec 18, 2018
ea971ce
GPII-3573: Pressing the Arrow Up key while the Sign in button is focu…
georgitodorov Dec 18, 2018
172dcf1
GPII-3573: Addressing code review comments
georgitodorov Dec 18, 2018
f9311ac
Merge pull request #64 from danailbd/GPII-3573
danailbd Dec 18, 2018
096aa58
Merge branch 'morphic-1.1' into GPII-3575
danailbd Dec 18, 2018
69cb548
NOJIRA: Fix closing with PSP with escape
danailbd Dec 19, 2018
9ab609f
GPII-3176: Basics for variable QSS menu widget height
georgitodorov Dec 19, 2018
fa94527
GPII-3176: Improved the dynamic rescaling of the QSS menu widget
georgitodorov Dec 19, 2018
fac2b7f
Merge branch 'morphic-1.1' into GPII-3176
georgitodorov Dec 19, 2018
5f060ed
Merge pull request #63 from danailbd/GPII-3575
danailbd Dec 19, 2018
a644344
Merge remote-tracking branch 'upstream/master' into GPII-3455.1
stegru Dec 19, 2018
d874193
GPII-3176: Making the QSS menu dialog scrollable
georgitodorov Dec 20, 2018
e8f2e00
Merge branch 'morphic-1.1' into GPII-3176
georgitodorov Dec 20, 2018
0655dc8
Merge remote-tracking branch 'upstream/master' into GPII-3540
stegru Dec 20, 2018
fa5cb6f
GPII-3575: Address additional comments
danailbd Dec 20, 2018
8e7d941
GPII-3540: Detecting if the mouse is over the button
stegru Dec 20, 2018
94d3b02
GPII-3176: Adding a clarifying comment about the height observable
georgitodorov Dec 21, 2018
128e70e
Merge pull request #65 from danailbd/GPII-3176
georgitodorov Dec 21, 2018
d303e41
GPII-3573: Adding tests for the QSS navigation (#66)
danailbd Dec 21, 2018
ce8f58a
GPII-3597: Documented the new function
stegru Jan 4, 2019
a7655e5
Merge remote-tracking branch 'upstream/master' into GPII-3597
stegru Jan 4, 2019
ed4f644
Merge branch 'master' into morphic-1.1
danailbd Jan 8, 2019
fdead25
Merge remote-tracking branch 'upstream/master' into GPII-3540
stegru Jan 10, 2019
4de606f
GPII-3556: Show the survey without focus and behind the QS
danailbd Jan 11, 2019
46ef307
GPII-3557: Update reset to standard tooltip
danailbd Jan 11, 2019
25a531e
NOJIRA: Rename the first language option property to be less misleading
danailbd Jan 11, 2019
da6b44a
GPII-3540: Moved the read-only buttonItems into the component options
stegru Jan 11, 2019
4dc5ac4
GPII-3540: Updated gpii-windows reference.
stegru Jan 11, 2019
9319221
Merge branch 'GPII-3540'
amb26 Jan 14, 2019
cba7bc4
GPII-3455: Added better explanation to strange behaviour.
stegru Jan 14, 2019
d3d9e0d
Merge branch 'master' into GPII-3455.1
amb26 Jan 14, 2019
025d58f
GPII-3540: Increased ignorance.
stegru Jan 14, 2019
9fcc1a3
GPII-3540: Ignoring bin directory.
stegru Jan 14, 2019
5a846f5
Merge remote-tracking branch 'stegru/GPII-3540' into GPII-3455.1
amb26 Jan 14, 2019
3961c60
Merge branch 'GPII-3455.1'
amb26 Jan 14, 2019
bfd69e2
GPII-3635: Make the trayButton the default widget for the system tray
javihernandez Jan 15, 2019
76ff77c
GPII-3635: Use the production configuration of universal
javihernandez Jan 15, 2019
bdd95f7
GPII-3635: Updated gpii-windows reference
javihernandez Jan 15, 2019
69cffee
Merge branch 'GPII-3635'
javihernandez Jan 15, 2019
f3643f1
GPII-3635: Updated version number to 1.0.1
javihernandez Jan 15, 2019
5a60440
NOJIRA: Bump up gpii-windows version
danailbd Jan 16, 2019
7c2f467
GPII-3608: Set proper values for both Scale factor and language prefe…
danailbd Jan 16, 2019
7eaf041
NOJIRA: Improve float numbers support for stepper
danailbd Jan 18, 2019
24c2ffe
GPII-3597: Updating to current gpii-windows
amb26 Jan 21, 2019
e0ca48b
Merge branch 'GPII-3597'
amb26 Jan 21, 2019
cd20ca3
NOJIRA: Bump up gpii-windows version
danailbd Jan 22, 2019
0761009
NOJIRA: Improve tests utillity function naming
danailbd Jan 22, 2019
0a13c42
GPII-3689: Extract tooltip delay to siteconfig
danailbd Jan 29, 2019
a8d6324
NOJIRA: Disable user selection of the QS logo
danailbd Jan 29, 2019
2872ab0
GPII-3688: Close Psp on second button activation
danailbd Jan 29, 2019
59196f9
GPII-3608: Set proper values for both Scale factor and language prefe…
danailbd Jan 16, 2019
9c50775
GPII-3608: Improvements to commenting and linting
amb26 Jan 31, 2019
b1d7b43
Merge branch 'GPII-3608'
amb26 Jan 31, 2019
7dd5dc8
GPII-3689: Disable tooltip when shown button menu is shown
danailbd Jan 31, 2019
d7042cb
GPII-3690: Dynamically extend the stepper widget to make space for it…
danailbd Feb 1, 2019
1733551
GPII-3690: Center the stepper buttons beside the indicators
danailbd Feb 1, 2019
caed5d2
GPII-3663: Introduce resizing of QS with 1.1 design (#70)
danailbd Feb 4, 2019
98cfc01
GPII-3691: Hide all dialogs before rescaling after change in display …
danailbd Feb 4, 2019
942dcfb
GPII-3690: Disable zooming in/out of all dialogs
danailbd Feb 4, 2019
2aa6249
Merge branch 'master' into morphic-1.1
danailbd Feb 4, 2019
5cbe548
NOJIRA: Restore necessary require
danailbd Feb 4, 2019
21a1609
NOJIRA: Improve tests utilities documentation
danailbd Feb 5, 2019
ea83df6
NOJIRA: Morphic 1.1 Code review changes
krisYanachkov Feb 12, 2019
97bcebb
NOJIRA: added more properties to ButtonList
krisYanachkov Feb 13, 2019
d48e3cf
NOJIRA: remove duplicate settings schema definition
krisYanachkov Feb 13, 2019
3b185e0
NOJIRA: renamed the getScaledData() function to the more readable nam…
Karadaliev Feb 13, 2019
0884063
Merge pull request #72 from krisYanachkov/morphic-1.1-CRC
danailbd Feb 13, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ instrumented
reports
coverage
package-lock.json
/bin/
2 changes: 1 addition & 1 deletion configs/app.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
}
},
"mergeConfigs": [
"%gpii-universal/gpii/configs/gpii.config.untrusted.development.dynamicDR.all.local.json5"
"%gpii-universal/gpii/configs/gpii.config.untrusted.production.dynamicDR.json5"
]
}
30 changes: 18 additions & 12 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ https://github.com/GPII/universal/blob/master/LICENSE.txt
/* eslint-env node */
"use strict";

var app = require("electron").app;

// Perform this check early, do avoid any delay.
var singleInstance = app.requestSingleInstanceLock();
if (!singleInstance) {
// The event handler of second-instance (below) will be called in the original instance.
console.log("Another instance of Morphic is running");
app.quit();
return;
}

var dns = require("dns");
var lookupReal = dns.lookup;
dns.lookup = function lookup(hostname, options, callback) {
Expand All @@ -21,7 +32,6 @@ dns.lookup = function lookup(hostname, options, callback) {
};

var fluid = require("infusion"),
app = require("electron").app,
gpii = fluid.registerNamespace("gpii"),
kettle = fluid.registerNamespace("kettle");

Expand All @@ -33,25 +43,21 @@ app.disableHardwareAcceleration();
// The PSP will have a single instance. If an attempt to start a second instance is made,
// the second one will be closed and the callback provided to `app.makeSingleInstance`
// in the first instance will be triggered enabling it to show the PSP `BrowserWindow`.
var appIsRunning = app.makeSingleInstance(function (commandLine) {
app.on("second-instance", function (event, commandLine) {
var qssWrapper = fluid.queryIoCSelector(fluid.rootComponent, "gpii.app.qssWrapper")[0];
qssWrapper.qss.show();

if (commandLine.indexOf("--reset") > -1) {
process.nextTick(function () {
// GPII-3455: Call this in the next tick, to allow electron to free some things.
setTimeout(function () {
// GPII-3455: Call this in another execution stack, to allow electron to free some things, otherwise an
// error of a COM object being accessed in the wrong thread is raised - but that doesn't appear to be
// the case. Originally, nextTick was used to escape this strange state. However, since upgrading to
// Electron 3 it stopped working but a zero timeout does.
var gpiiApp = fluid.queryIoCSelector(fluid.rootComponent, "gpii.app")[0];
gpiiApp.resetAllToStandard();
});
}, 0);
}
});

if (appIsRunning) {
fluid.log("Another instance of gpii-app is running!");
app.quit();
return;
}

// this module is loaded relatively slow
// it also loads gpii-universal
require("gpii-windows/index.js");
Expand Down
3 changes: 3 additions & 0 deletions messageBundles/gpii-app-messageBundle_bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"gpii_psp_signIn_signUpButton": "Създай акаунт",
"gpii_psp_signIn_forgotPasswordButton": "Забравена парола?",

"gpii_psp_widgets_switch_on": "Вкл",
"gpii_psp_widgets_switch_off": "Изкл",

"gpii_psp_header_autosaveText": "Автоматично запазване е включено",
"gpii_psp_header_keyOut":"Отпиши се",

Expand Down
3 changes: 3 additions & 0 deletions messageBundles/gpii-app-messageBundle_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"gpii_psp_signIn_signUpButton": "Create an Account",
"gpii_psp_signIn_forgotPasswordButton": "Forgot Password?",

"gpii_psp_widgets_switch_on": "On",
"gpii_psp_widgets_switch_off": "Off",

"gpii_psp_header_autosaveText": "Auto-save is on",
"gpii_psp_header_keyOut":"Sign out",

Expand Down
12 changes: 7 additions & 5 deletions messageBundles/gpii-app-qss-settings_bg.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"gpii_app_qss_settings_close": {
"tooltip": "<p>Close Morphic QuickStrip</p><p>You can reopen it using the Morphic Icon (below) <img height=20 src='../../icons/TaskTrayIcon_outline.svg'></img></p>",
"title": "Затвори"
"tooltip": "<p>Close Morphic QuickStrip</p><p>You can reopen it using the Morphic Icon (below) <img height=12 src='../../icons/TaskTrayIcon_outline.svg'></img></p>",
"title": "×"
},
"gpii_app_qss_settings_undo": {
"tooltip": "<p>Undo the last change you made in the Morphic QuickStrip.</p>",
"title": "Undo"
},
"gpii_app_qss_settings_resetAll": {
"tooltip": "<p>Resets computer to standard settings</p><p>(does not affect personal saved settings)</p>",
"title": "Reset All to Standard"
"title": "Reset to Standard"
},
"gpii_app_qss_settings_save": {
"tooltip": "<p>Save your preferences so you can use them on other computers that have Morphic installed.</p>",
Expand All @@ -21,7 +21,7 @@
"keyedOut": "<p>Opens Morphic Settings Panel</p><p>Where you can sign in to apply your saved personal settings.</p>"
},
"title": {
"keyedIn": "Morphic Settings Panel",
"keyedIn": "Settings Panel",
"keyedOut": "Sign In"
}
},
Expand All @@ -31,7 +31,9 @@
},
"gpii_app_qss_settings_common-selfVoicing-enabled": {
"tooltip": "<p>Turn “Select to Read Aloud” extension in Chrome browser on/off.</p>",
"title": "Read Aloud"
"title": "Read Aloud",
"tip": "<p>Turns on and adjusts Read Aloud mode in Chrome <img height=12 src='../../icons/chrome.svg'></p>",
"extendedTip": "<p>To use Read Aloud</p><ol><li>Open web page in Chrome</li><li>Select / highlight text</li><li>Click Play button that pops up</li></ol>"
},
"gpii_app_qss_settings_common-highContrastTheme": {
"tooltip": "<p>Change the contrast between the text and background color, so text is easier to read.</p><p>Contrast changes will affect Windows, Edge, Chrome, and some other applications.</p>",
Expand Down
14 changes: 8 additions & 6 deletions messageBundles/gpii-app-qss-settings_en.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"gpii_app_qss_settings_close": {
"tooltip": "<p>Close Morphic QuickStrip</p><p>You can reopen it using the Morphic Icon (below) <img height=20 src='../../icons/TaskTrayIcon_outline.svg'></img></p>",
"title": "Close"
"tooltip": "<p>Close Morphic QuickStrip</p><p>You can reopen it using the Morphic Icon (below) <img height=12 src='../../icons/TaskTrayIcon_outline.svg'></img></p>",
"title": "×"
},
"gpii_app_qss_settings_undo": {
"tooltip": "<p>Undo the last change you made in the Morphic QuickStrip.</p>",
"title": "Undo"
},
"gpii_app_qss_settings_resetAll": {
"tooltip": "<p>Resets computer to standard settings</p><p>(does not affect personal saved settings)</p>",
"title": "Reset All to Standard"
"tooltip": "<p>Reset to the standard settings for this computer</p><p>(does not affect personal saved settings)</p>",
"title": "Reset to Standard"
},
"gpii_app_qss_settings_save": {
"tooltip": "<p>Save your preferences so you can use them on other computers that have Morphic installed.</p>",
Expand All @@ -21,7 +21,7 @@
"keyedOut": "<p>Opens Morphic Settings Panel</p><p>Where you can sign in to apply your saved personal settings.</p>"
},
"title": {
"keyedIn": "Morphic Settings Panel",
"keyedIn": "Settings Panel",
"keyedOut": "Sign In"
}
},
Expand All @@ -31,7 +31,9 @@
},
"gpii_app_qss_settings_common-selfVoicing-enabled": {
"tooltip": "<p>Turn “Select to Read Aloud” extension in Chrome browser on/off.</p>",
"title": "Read Aloud"
"title": "Read Aloud",
"tip": "<p>Turns on and adjusts Read Aloud mode in Chrome</p>",
"extendedTip": "<p>To use Read Aloud</p><ol><li>Open web page in Chrome <img height=12 src='../../icons/chrome.svg'></li><li>Select / highlight text</li><li>Click Play button that pops up</li></ol>"
},
"gpii_app_qss_settings_common-highContrastTheme": {
"tooltip": "<p>Change the contrast between the text and background color, so text is easier to read.</p><p>Contrast changes will affect Windows, Edge, Chrome, and some other applications.</p>",
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gpii-app",
"version": "0.3.0",
"version": "1.0.1",
"description": "Electron application and libraries to run the GPII as a native user space application on the desktop",
"main": "main.js",
"repository": {
Expand All @@ -12,7 +12,7 @@
"electron": "3.0.2",
"electron-edge-js": "8.3.8",
"electron-localshortcut": "3.1.0",
"gpii-windows": "0.3.0-dev.20181213T111654Z.3af6c04",
"gpii-windows": "0.3.0-dev.20190121T215628Z.21e7fbb",
"infusion": "3.0.0-dev.20180222T160835Z.6e1311a",
"nan": "2.10.0",
"node-jqunit": "1.1.8",
Expand All @@ -36,7 +36,8 @@
"scripts": {
"start": "electron .",
"dev": "electron . ./configs app.dev",
"build": "electron ./scripts/compileMessageBundles.js",
"build": "electron ./scripts/compileMessageBundles.js && .\\trayButton\\build.cmd",
"postinstall": "npm run build",
"pretest": "npm run pretest:clean && npm run build && npm run pretest:instrument",
"pretest:clean": "node node_modules/rimraf/bin.js coverage instrumented reports build && node ./node_modules/mkdirp/bin/cmd.js coverage instrumented reports",
"pretest:instrument": "node tests/lib/instrumentSource.js",
Expand Down
1 change: 1 addition & 0 deletions provisioning/Installer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ Invoke-Command "robocopy" "..\configs $(Join-Path $preStagingDir "configs") /job
Invoke-Command "robocopy" "..\src $(Join-Path $preStagingDir "src") /job:gpii-app.rcj *.*" $provisioningDir -errorLevel 3
Invoke-Command "robocopy" "..\testData $(Join-Path $preStagingDir "testData") /job:gpii-app.rcj *.*" $provisioningDir -errorLevel 3
Invoke-Command "robocopy" "..\build $(Join-Path $preStagingDir "build") /job:gpii-app.rcj *.*" $provisioningDir -errorLevel 3
Invoke-Command "robocopy" "..\bin $(Join-Path $preStagingDir "bin") /job:gpii-app.rcj *.*" $provisioningDir -errorLevel 3
Invoke-Command "robocopy" "$projectDir $preStagingDir LICENSE.txt" $provisioningDir -errorLevel 3
Invoke-Command "robocopy" "$projectDir $preStagingDir main.js" $provisioningDir -errorLevel 3
Invoke-Command "robocopy" "$projectDir $preStagingDir siteconfig.json5" $provisioningDir -errorLevel 3
Expand Down
30 changes: 19 additions & 11 deletions siteconfig.json5
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@

// Configuration options for the QSS window
qss: {
// Defines the delay in milliseconds before the tooltip is shown after a QSS button is selected
tooltipDisplayDelay: 500, // ms

// The scaling factor for the QSS
scaleFactor: 0.85,
scaleFactor: 1.5,
urls: {
account: "http://morphic.world/account"
},
Expand All @@ -20,10 +23,12 @@
currentLanguageGroup: "%native",
genericLanguage: "%native · %local"
},
// The code of the language that would always stay on top of the "Language" setting's menu list.
// The code of OS default language `gpii-app` (it might be the one with which the system was installed with).
// This language should always stay on top of the "Language" setting's menu list.
// The code must be exactly matching one of the installed languages' code (with respect to the region).
// In case the selected language code is missing, there simply won't be a special first setting.
defaultLanguage: "en-US"
// NOTE: this is not related to the default language value defined for the language setting
systemDefaultLanguage: "en-US"
},

// Configuration options for the PSP window
Expand Down Expand Up @@ -52,13 +57,13 @@

// Configuration options for the QSS More panel
qssMorePanel: {
// These are default values. The actual dimensions of the QSS more panel
// are qssScaleFactor * defaultWidth and qssScaleFactor * defaultHeight.
defaultWidth: 600,
defaultHeight: 450,
movable: true,
resizable: true,
alwaysOnTop: true,
// These are default values. The actual dimensions of the QSS more panel
// are qssScaleFactor * defaultWidth and qssScaleFactor * defaultHeight.
defaultWidth: 400,
defaultHeight: 300,
movable: true,
resizable: true,
alwaysOnTop: true,

urls: {
moreInfo: "http://morphic.world/more"
Expand All @@ -74,5 +79,8 @@
},

// URL to the the place serving the survey triggers data. Note that it should return triggers in JSON format
surveyTriggersUrl: "http://survey.gpii.net/survey-triggers.json"
surveyTriggersUrl: "http://survey.gpii.net/survey-triggers.json",

// The type of widget to use in the task bar - "gpii.app.trayButton", "gpii.app.trayIcon", or both.
trayType: ["gpii.app.trayButton"]
}
13 changes: 13 additions & 0 deletions src/assets/qssStepper/default.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/qssStepper/recommended.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/assets/qssStepper/selected.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/readAloud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading