Preferences & Profile changes (#126)

Added: information on what the debug menu does, and added a helpful bit of text next to the private key to "not share it with anyone" to help new users out.
This commit is contained in:
Asuna⚡️ 2023-01-24 06:59:18 -05:00 committed by GitHub
parent fe13f8d682
commit a8560725cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ const PreferencesPage = () => {
<div className="card flex">
<div className="flex f-col f-grow">
<div>Debug Menus</div>
<small>Shows extra options to help with debugging data</small>
<small>Shows "Copy ID" and "Copy Event JSON" in the context menu on each message</small>
</div>
<div>
<input type="checkbox" checked={perf.showDebugMenus} onChange={e => dispatch(setPreferences({ ...perf, showDebugMenus: e.target.checked }))} />

View File

@ -184,7 +184,7 @@ export default function ProfileSettings() {
{settings()}
{privKey && (<div className="flex f-col bg-grey">
<div>
<h4>Private Key:</h4>
<h4>Your Private Key Is (do not share this with anyone):</h4>
</div>
<div>
<Copy text={hexToBech32("nsec", privKey)} />

View File

@ -10025,4 +10025,4 @@ yargs@^16.2.0:
yocto-queue@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==