#8: Add tooltips to settings

This commit is contained in:
2019-08-30 21:37:11 -05:00
parent 9df4666438
commit d58ba1411e
3 changed files with 10 additions and 6 deletions

View File

@@ -40,7 +40,7 @@
"test": "react-scripts test", "test": "react-scripts test",
"eject": "react-scripts eject", "eject": "react-scripts eject",
"electron-dev": "cross-env ELECTRON_START_URL=http://localhost:3000 electron .", "electron-dev": "cross-env ELECTRON_START_URL=http://localhost:3000 electron .",
"electron-dev-unix": "cross-env ELECTRON_START_URL=http://localhost:3000 electron $NODE_DEBUG_OPTION .", "electron-dev-unix": "cross-env ELECTRON_START_URL=http://localhost:3000 electron .",
"pack": "npm run build && electron-builder --dir --x64", "pack": "npm run build && electron-builder --dir --x64",
"dist": "npm run build && electron-builder --x64", "dist": "npm run build && electron-builder --x64",
"dist-all": "npm run build && electron-builder --x64 --win --linux --mac", "dist-all": "npm run build && electron-builder --x64 --win --linux --mac",

View File

@@ -1,11 +1,15 @@
{ {
"HostConfig": { "HostConfig": {
"AgentString": "'User-Agent' used when communicating with Sia/SiaPrime's API.",
"ApiPassword": "Password used when communicating with Sia/SiaPrime's API.\n\nThis is not the same as your wallet's password, so please do not enter it here. Sia/SiaPrime typically auto-generate this value. It is exclusively used for API authentication purposes.",
"ApiPort": "API port used to connect to Sia/SiaPrime's daemon.",
"HostNameOrIp": "IP address or host name of Sia/SiaPrime daemon.",
"TimeoutMs": "Number of milliseconds to wait for Sia/SiaPrime API responses before timing out."
}, },
"Settings": { "Settings": {
"ApiAuth": "Password used to connect to Repertory API. Auto-generated by default.", "ApiAuth": "Password used to communicate with Repertory's API. Auto-generated by default.",
"ApiPort": "Repertory API port to use for JSON-RPC requests.", "ApiPort": "Repertory API port to use for JSON-RPC requests.",
"ApiUser": "Username used to connect to Repertory API.", "ApiUser": "Username used to communicate with Repertory's API.",
"ChunkDownloaderTimeoutSeconds": "Files that are not cached locally will download data in ChunkSize chunks when a read or write operation occurs. This timeout value specifies the amount of time chunks should continue downloading after the last file handle has been closed.", "ChunkDownloaderTimeoutSeconds": "Files that are not cached locally will download data in ChunkSize chunks when a read or write operation occurs. This timeout value specifies the amount of time chunks should continue downloading after the last file handle has been closed.",
"ChunkSize": "This is the minimum data size (converted to KiB - value of 8 means 8KiB) used for downloads. This value cannot be less than 8 and should also be a multiple of 8.", "ChunkSize": "This is the minimum data size (converted to KiB - value of 8 means 8KiB) used for downloads. This value cannot be less than 8 and should also be a multiple of 8.",
"EnableChunkDownloaderTimeout": "This setting applies to full allocation downloads. When set to true, downloads will timeout after ChunkDownloaderTimeoutSeconds if the file has no more open handles. If set to false, the entire file will always download.", "EnableChunkDownloaderTimeout": "This setting applies to full allocation downloads. When set to true, downloads will timeout after ChunkDownloaderTimeoutSeconds if the file has no more open handles. If set to false, the entire file will always download.",

View File

@@ -28,8 +28,8 @@ exports.DEV_PUBLIC_KEY = '-----BEGIN PUBLIC KEY-----\n' +
'-----END PUBLIC KEY-----'; '-----END PUBLIC KEY-----';
const REPERTORY_BRANCH = '1.1.0-release_branch'; const REPERTORY_BRANCH = 'master';
const REPERTORY_UI_BRANCH = '1.0.8_branch'; const REPERTORY_UI_BRANCH = 'master';
exports.RELEASES_URL = 'https://bitbucket.org/blockstorage/repertory/raw/' + REPERTORY_BRANCH + '/releases.json'; exports.RELEASES_URL = 'https://bitbucket.org/blockstorage/repertory/raw/' + REPERTORY_BRANCH + '/releases.json';
exports.UI_RELEASES_URL = 'https://bitbucket.org/blockstorage/repertory-ui/raw/' + REPERTORY_UI_BRANCH + '/releases.json'; exports.UI_RELEASES_URL = 'https://bitbucket.org/blockstorage/repertory-ui/raw/' + REPERTORY_UI_BRANCH + '/releases.json';