From 36db772ff1f16ef1632c1a0f92cd334562b2ba36 Mon Sep 17 00:00:00 2001 From: Henry Wilkinson Date: Thu, 8 May 2025 00:32:28 -0400 Subject: [PATCH 1/5] Reset prettier printWidth to default Match original codebase --- .prettierrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.prettierrc b/.prettierrc index a0d7b8f..8a60a58 100644 --- a/.prettierrc +++ b/.prettierrc @@ -2,6 +2,5 @@ "useTabs": false, "tabWidth": 2, "semi": true, - "singleQuote": false, - "printWidth": 120 + "singleQuote": false } From d5b9637481644d58044fdbf4f5a448601ddcba73 Mon Sep 17 00:00:00 2001 From: Henry Wilkinson Date: Thu, 8 May 2025 00:33:03 -0400 Subject: [PATCH 2/5] Comment out archive button from Replay view --- src/ui/coll.ts | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/src/ui/coll.ts b/src/ui/coll.ts index 392d272..9c3c9f2 100644 --- a/src/ui/coll.ts +++ b/src/ui/coll.ts @@ -134,30 +134,30 @@ class WrRecColl extends Item { } } - protected renderToolbarLeft(isDropdown = false) { - const leftBar = super.renderToolbarLeft(); - - if (this.embed) { - return leftBar; - } - - return html`${leftBar} - - - - `; - } + // protected renderToolbarLeft(isDropdown = false) { + // const leftBar = super.renderToolbarLeft(); + + // if (this.embed) { + // return leftBar; + // } + + // return html`${leftBar} + // + // + // + // `; + // } protected renderToolbarRight() { const rightBar = super.renderToolbarRight(); From 80bc98298877b8b7c8af8d1c9ede6ea8509488ed Mon Sep 17 00:00:00 2001 From: Henry Wilkinson Date: Thu, 8 May 2025 00:50:22 -0400 Subject: [PATCH 3/5] Comment out ArchiveWeb.page related naming overrides Restores app to its default "ReplayWeb.page" states --- src/ui/app.ts | 193 +++++++++++++++++++++++++------------------------- 1 file changed, 95 insertions(+), 98 deletions(-) diff --git a/src/ui/app.ts b/src/ui/app.ts index b747981..05095a0 100644 --- a/src/ui/app.ts +++ b/src/ui/app.ts @@ -149,9 +149,9 @@ class ArchiveWebApp extends ReplayWebApp { } } - get appName() { - return "ArchiveWeb.page"; - } + // get appName() { + // return "ArchiveWeb.page"; + // } static get properties() { return { @@ -442,14 +442,14 @@ class ArchiveWebApp extends ReplayWebApp { } renderNavEnd() { - return html`  User Guide - + --> - `; - } + // renderAbout() { + // return html` + // + // `; + // } renderSettingsModal() { return html` @@ -1043,9 +1043,7 @@ class ArchiveWebApp extends ReplayWebApp { > ${this.settingsTab === "prefs" ? html`
-
- Optional archiving features: -
+
Optional archiving features:
Save Screenshots

- Save screenshot + thumbnail of every page on load. Screenshot will be saved as soon as page is done loading. + Save screenshot + thumbnail of every page on load. + Screenshot will be saved as soon as page is done loading.

@@ -1084,10 +1083,8 @@ class ArchiveWebApp extends ReplayWebApp { enable only when archiving websites that contain Flash.

-
-
- Privacy related settings: -
+
+
Privacy related settings:
Date: Thu, 8 May 2025 00:50:32 -0400 Subject: [PATCH 4/5] Comment out start archiving button --- src/ui/coll-info.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/coll-info.ts b/src/ui/coll-info.ts index a3e7f26..a9cc19e 100644 --- a/src/ui/coll-info.ts +++ b/src/ui/coll-info.ts @@ -200,7 +200,7 @@ class WrRecCollInfo extends ItemInfo { - + -->
From 3bedce6048c456205c070024e1716a82e3473c60 Mon Sep 17 00:00:00 2001 From: Henry Wilkinson Date: Thu, 8 May 2025 00:52:17 -0400 Subject: [PATCH 5/5] Change default name to "My archive" --- src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.ts b/src/utils.ts index f45c7c9..74a8710 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -7,7 +7,7 @@ export async function ensureDefaultColl(collLoader) { let colls = await collLoader.listAll(); if (!colls.length) { - const metadata = { title: "My Archiving Session" }; + const metadata = { title: "My Archive" }; const result = await collLoader.initNewColl(metadata); await setLocalOption("defaultCollId", result.name);