From 23039dde76302717f3340f886ce26e2f5abb2c2f Mon Sep 17 00:00:00 2001 From: Alastair Ong Date: Mon, 24 Jun 2024 13:21:01 +0100 Subject: [PATCH 1/4] copy sweep WIP --- .../src/routes/+page.svelte | 2 +- .../src/routes/change-password/+page.svelte | 4 ++-- .../src/routes/extension-password/+page.svelte | 10 +++++----- .../src/routes/setup-keys/download/+page.svelte | 10 +++++++--- .../routes/setup-keys/generate-keys/+page.svelte | 4 ++-- .../setup-pass/enter-passphrase/+page.svelte | 2 +- .../setup-pass/enter-passphrase/Tooltip.svelte | 11 ++--------- .../src/routes/setup-pass/start/+page.svelte | 15 ++------------- .../src/routes/webapp-extension/+layout.svelte | 2 +- 9 files changed, 23 insertions(+), 37 deletions(-) diff --git a/holo-key-manager-extension/src/routes/+page.svelte b/holo-key-manager-extension/src/routes/+page.svelte index 637843b..ebecc34 100644 --- a/holo-key-manager-extension/src/routes/+page.svelte +++ b/holo-key-manager-extension/src/routes/+page.svelte @@ -57,6 +57,6 @@ mainAction={redirectToSetup} mainActionLabel="Setup" title="Setup Required" - subTitle="You are yet to setup Holo Key Manager. Click “start setup” to begin." + subTitle="Please set up Holo Key Manager to continue." /> {/if} diff --git a/holo-key-manager-extension/src/routes/change-password/+page.svelte b/holo-key-manager-extension/src/routes/change-password/+page.svelte index f953351..1c51b0f 100644 --- a/holo-key-manager-extension/src/routes/change-password/+page.svelte +++ b/holo-key-manager-extension/src/routes/change-password/+page.svelte @@ -36,14 +36,14 @@ bind:value={$passwordStore} label="New Password (8 Characters min)" extraProps="mb-6" - error={charCount < 8 ? 'Please enter a minimum of 8 Characters' : ''} + error={charCount < 8 ? 'Please enter a minimum of 8 characters' : ''} /> diff --git a/holo-key-manager-extension/src/routes/extension-password/+page.svelte b/holo-key-manager-extension/src/routes/extension-password/+page.svelte index cd46479..9925100 100644 --- a/holo-key-manager-extension/src/routes/extension-password/+page.svelte +++ b/holo-key-manager-extension/src/routes/extension-password/+page.svelte @@ -27,22 +27,22 @@ Set Key Manager Password
diff --git a/holo-key-manager-extension/src/routes/setup-keys/download/+page.svelte b/holo-key-manager-extension/src/routes/setup-keys/download/+page.svelte index 6ab7949..a1405a1 100644 --- a/holo-key-manager-extension/src/routes/setup-keys/download/+page.svelte +++ b/holo-key-manager-extension/src/routes/setup-keys/download/+page.svelte @@ -51,11 +51,15 @@ check -Save Seed Files and Keys +Save seed and key files + Padlock - - Manage Password + Change Password {#if $changePasswordWithDeviceKeyMutation.error} {$changePasswordWithDeviceKeyMutation.error.message} {/if}
- + diff --git a/holo-key-manager-extension/src/routes/extension-password/+page.svelte b/holo-key-manager-extension/src/routes/extension-password/+page.svelte index 9925100..fabf4f9 100644 --- a/holo-key-manager-extension/src/routes/extension-password/+page.svelte +++ b/holo-key-manager-extension/src/routes/extension-password/+page.svelte @@ -33,14 +33,14 @@ diff --git a/holo-key-manager-extension/src/routes/list-of/happs/+page.svelte b/holo-key-manager-extension/src/routes/list-of/happs/+page.svelte index a541d1d..d10c2c8 100644 --- a/holo-key-manager-extension/src/routes/list-of/happs/+page.svelte +++ b/holo-key-manager-extension/src/routes/list-of/happs/+page.svelte @@ -26,7 +26,7 @@
-

Managed hApps

+

hApps

{applicationKey.keyName} - - + + {/each} diff --git a/holo-key-manager-extension/src/routes/setup-keys/download/+page.svelte b/holo-key-manager-extension/src/routes/setup-keys/download/+page.svelte index a1405a1..3e4b436 100644 --- a/holo-key-manager-extension/src/routes/setup-keys/download/+page.svelte +++ b/holo-key-manager-extension/src/routes/setup-keys/download/+page.svelte @@ -58,7 +58,7 @@ /> Padlock diff --git a/holo-key-manager-extension/src/routes/setup-pass/enter-passphrase/+page.svelte b/holo-key-manager-extension/src/routes/setup-pass/enter-passphrase/+page.svelte index ac7e8d3..7bc3e6b 100644 --- a/holo-key-manager-extension/src/routes/setup-pass/enter-passphrase/+page.svelte +++ b/holo-key-manager-extension/src/routes/setup-pass/enter-passphrase/+page.svelte @@ -5,11 +5,9 @@ import { passphraseStore } from '$stores'; import EnterSecretComponent from './EnterSecretComponent.svelte'; - import PopupDialog from './PopupDialog.svelte'; let passphraseState: SetSecret = 'set'; let confirmPassphrase = ''; - let showDialog = false; $: charCount = $passphraseStore.length; @@ -28,15 +26,12 @@ bind:inputValue={$passphraseStore} title="Enter Passphrase" description="Make your passphrase as strong as possible. It should be long, include a mix of many different type of characters, and be hard to guess. Save it somewhere safe" - nextLabel="Set Passphrase" + nextLabel="Set passphrase" inputState={charCount < 20 ? 'Please enter a minimum of 20 characters' : `${charCount} characters`} - next={() => (showDialog = true)} + next={() => (passphraseState = 'confirm')} /> - {#if showDialog} - (passphraseState = 'confirm')} dismiss={() => (showDialog = false)} /> - {/if} {/if} {#if passphraseState === 'confirm'} diff --git a/holo-key-manager-extension/src/routes/setup-pass/enter-passphrase/PopupDialog.svelte b/holo-key-manager-extension/src/routes/setup-pass/enter-passphrase/PopupDialog.svelte deleted file mode 100644 index 23118a5..0000000 --- a/holo-key-manager-extension/src/routes/setup-pass/enter-passphrase/PopupDialog.svelte +++ /dev/null @@ -1,22 +0,0 @@ - - -
-
- Noun -
-

Important

-
-

Did you remember to write down your passphrase?

-
- - -
-
-
diff --git a/holo-key-manager-extension/src/routes/setup-pass/import-key/+page.svelte b/holo-key-manager-extension/src/routes/setup-pass/import-key/+page.svelte index be3e59a..b3f5ad6 100644 --- a/holo-key-manager-extension/src/routes/setup-pass/import-key/+page.svelte +++ b/holo-key-manager-extension/src/routes/setup-pass/import-key/+page.svelte @@ -39,7 +39,7 @@ Import Your Device Seed
{#if $recoverDeviceKeyMutation.error} - Wrong file or passphrase, try again + Oops! We couldn't import your device seed. + Please try again. {/if}
diff --git a/holo-key-manager-extension/src/routes/webapp-extension/create-key/+page.svelte b/holo-key-manager-extension/src/routes/webapp-extension/create-key/+page.svelte index 7a99a5c..2fd4325 100644 --- a/holo-key-manager-extension/src/routes/webapp-extension/create-key/+page.svelte +++ b/holo-key-manager-extension/src/routes/webapp-extension/create-key/+page.svelte @@ -32,7 +32,7 @@

Sign up

@@ -41,13 +41,13 @@ {/if} {#if $extractDetailsFromUrl.requireRegistrationCode} {/if} - + {#if $applicationKeyMutation.error}
From ea4a2730c5a7fb63e80b3f41f1a58fe6322c9723 Mon Sep 17 00:00:00 2001 From: Alastair Ong Date: Tue, 25 Jun 2024 09:50:30 +0100 Subject: [PATCH 4/4] bump version --- holo-key-manager-extension/static/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/holo-key-manager-extension/static/manifest.json b/holo-key-manager-extension/static/manifest.json index 754471c..39ead3c 100644 --- a/holo-key-manager-extension/static/manifest.json +++ b/holo-key-manager-extension/static/manifest.json @@ -1,7 +1,7 @@ { "name": "Holo key manager", "description": "A browser extension to manage holo keys", - "version": "0.0.61", + "version": "0.0.62", "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAiAtKvbHNTN3O2BLRZH7RkLczaMLenSeZu+YP+KomPQPZ18nt4DY9boIN/+GWts7gCzEeQq59l8edGdF2P7xAbsRxYR88+zFEbxMtIyfyqJZIlzXwnvPJkwGu/S6arNtX48K7q1+xnJEE7VyeYSj6/i2LR+LmPigCzY9JCP7+SmWVeYbdm3kZmReK0ecfh15RXSNjZpXJUgrbea/RVxweggYKnmhhOUBmuJSCLoWTXIuJPBMwGQK1O2GKBqHOq94bPVSF7j+4WzSpPan70ZZJX/reFsOFE/idfFN6wbizjR1Ne50Po03kudEmfQgoqUhVpd0wP8A3YbqE7ODdZcCPPwIDAQAB", "manifest_version": 3, "action": {