diff --git a/desktop/src/configure.tsx b/desktop/src/configure.tsx
index 4df6142..1641505 100644
--- a/desktop/src/configure.tsx
+++ b/desktop/src/configure.tsx
@@ -11,7 +11,8 @@ const FormCheck: React.FC<{
checked: boolean,
onChange: (e: any) => void,
disabled?: boolean,
-}> = ({ label, name, checked, onChange, disabled }) => {
+ help?: string,
+}> = ({ label, name, checked, onChange, disabled, help }) => {
return
{label}
@@ -23,6 +24,7 @@ const FormCheck: React.FC<{
disabled={disabled}
/>
+ {help && {help}
}
}
@@ -33,7 +35,8 @@ const FormInput: React.FC<{
inputType: string,
onChange: (e: any) => void,
disabled?: boolean,
-}> = ({ label, name, value, inputType, onChange, disabled }) => {
+ help?: string
+}> = ({ label, name, value, inputType, onChange, disabled, help }) => {
return
{label}
@@ -45,6 +48,7 @@ const FormInput: React.FC<{
disabled={disabled}
/>
+ {help && {help}
}
}
@@ -128,6 +132,7 @@ export const ConfigModal: React.FC<{
value={config.default_download_location}
inputType="text"
onChange={handleInputChange}
+ help="Where to download torrents by default. You can override this per torrent."
/>
@@ -139,6 +144,7 @@ export const ConfigModal: React.FC<{
name="dht.disable"
checked={!config.dht.disable}
onChange={handleToggleChange}
+ help="DHT is required to read magnet links. There's no good reason to disable it, unless you know what you are doing."
/>
@@ -165,6 +173,7 @@ export const ConfigModal: React.FC<{
name="tcp_listen.disable"
checked={!config.tcp_listen.disable}
onChange={handleToggleChange}
+ help="Listen for torrent requests on TCP. Required for peers to be able to connect to you, mainly for uploading."
/>
@@ -202,6 +214,7 @@ export const ConfigModal: React.FC<{
name="persistence.disable"
checked={!config.persistence.disable}
onChange={handleToggleChange}
+ help="If you disable session persistence, rqbit won't remember the torrents you had before restart."
/>
@@ -241,14 +256,16 @@ export const ConfigModal: React.FC<{
name="http_api.disable"
checked={!config.http_api.disable}
onChange={handleToggleChange}
+ help="If enabled you can access the HTTP API at the address below"
/>