Skip to content

Commit 91acf3e

Browse files
committed
Replaces Web Captures with Archived Items
- Replaces relevant other terms with "Archiving Session"
1 parent ec31164 commit 91acf3e

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

src/popup.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ class RecPopup extends LitElement
381381
if (!this.canRecord) {
382382
if (this.pageUrl && this.pageUrl.startsWith(this.extRoot)) {
383383
return html`
384-
<p class="is-size-7">This page is part of the extension. You can view existing web captures from here.
384+
<p class="is-size-7">This page is part of the extension. You can view existing archived items from here.
385385
To start a new archiving session, click the
386386
<wr-icon .src="${wrRec}"></wr-icon> Start Archiving button and enter a new URL.
387387
</p>
@@ -418,7 +418,7 @@ class RecPopup extends LitElement
418418
<a @click="${() => this.collDrop = "create"}" class="dropdown-item">
419419
<span class="icon is-small">
420420
<wr-icon .src="${fasPlus}"></wr-icon>
421-
</span>New Web Capture
421+
</span>New Archiving Session
422422
</a>
423423
<hr class="dropdown-divider">` : ""}
424424
${this.collections.map((coll) => html`
@@ -455,9 +455,9 @@ class RecPopup extends LitElement
455455
<div class="view-row is-marginless" style="background-color: #ddddff">
456456
<form @submit="${this.onNewColl}">
457457
<div class="flex-form">
458-
<label for="new-name" class="is-size-7 is-italic">Create New Web Capture:</label>
458+
<label for="new-name" class="is-size-7 is-italic">New Archiving Session:</label>
459459
<div class="control">
460-
<input class="input is-small" id="new-name" type="text" required placeholder="Enter Web Capture Name">
460+
<input class="input is-small" id="new-name" type="text" required placeholder="Enter Archiving Session Name">
461461
</div>
462462
<button class="button is-small is-outlined" type="submit">
463463
<wr-icon .src=${fasCheck}></wr-icon>
@@ -508,7 +508,7 @@ class RecPopup extends LitElement
508508
<div class="view-row is-marginless">
509509
<div>
510510
${this.canRecord ? html`
511-
<p><a target="_blank" href="${this.getCollPage()}" class="is-size-6">Browse Web Capture</a></p>` : ""}
511+
<p><a target="_blank" href="${this.getCollPage()}" class="is-size-6">View Archived Pages</a></p>` : ""}
512512
</div>
513513
${this.renderStartOpt()}
514514
</div>
@@ -527,7 +527,7 @@ class RecPopup extends LitElement
527527
<div class="view-row underline">
528528
<div class="session-head">Archived in this tab</div>
529529
${this.replayUrl ?
530-
html`<a target="_blank" class="is-size-6" href="${this.replayUrl}">View Archived Page</a>` : ""}
530+
html`<a target="_blank" class="is-size-6" href="${this.replayUrl}">Replay Current Page</a>` : ""}
531531
</div>
532532
<div class="view-row">
533533
<table class="status">

src/ui/app.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -317,11 +317,11 @@ class ArchiveWebApp extends ReplayWebApp
317317
<div class="message is-small">
318318
<div class="message-body">
319319
<div class="buttons">
320-
<button class="button is-small no-pad-mobile" title="New Web Capture" @click="${() => this.showNew = "show"}">
320+
<button class="button is-small no-pad-mobile" title="New Archiving Session" @click="${() => this.showNew = "show"}">
321321
<span class="icon">
322322
<fa-icon .svg=${fasPlus}></fa-icon>
323323
</span>
324-
<span class="is-hidden-mobile">New Web Capture</span>
324+
<span class="is-hidden-mobile">New Archiving Session</span>
325325
</button>
326326
<button class="button is-small no-pad-mobile" title="Import File" @click="${() => this.showImport = true}">
327327
<span class="icon">
@@ -348,7 +348,7 @@ class ArchiveWebApp extends ReplayWebApp
348348
349349
<wr-rec-coll-index
350350
dateName="Date Created"
351-
headerName="Current Web Captures"
351+
headerName="Archived Items"
352352
.shareOpts=${{ipfsOpts: this.ipfsOpts, btrixOpts: this.btrixOpts}}
353353
@show-start=${this.onShowStart}
354354
@show-import=${this.onShowImport}
@@ -450,11 +450,11 @@ class ArchiveWebApp extends ReplayWebApp
450450

451451
renderNewCollModal() {
452452
return html`
453-
<wr-modal @modal-closed="${() => this.showNew = null}" title="New Web Capture">
453+
<wr-modal @modal-closed="${() => this.showNew = null}" title="New Archiving Session">
454454
<form @submit="${this.onNewColl}" class="create-new">
455455
<div class="field has-addons">
456456
<p class="control is-expanded">
457-
<input type="text" id="new-title" name="new-title" class="input" required placeholder="Give this web capture a name">
457+
<input type="text" id="new-title" name="new-title" class="input" required placeholder="Give this archiving session a name">
458458
</p>
459459
<div class="control">
460460
<button type="submit" class="button is-hidden-mobile is-primary ${this.showNew === "loading" ? "is-loading " : ""}" ?disabled="${this.showNew === "loading"}">Create</button>
@@ -477,7 +477,7 @@ class ArchiveWebApp extends ReplayWebApp
477477
<div class="control">
478478
<label class="checkbox">
479479
<input type="checkbox" name="add-existing" .checked="${this.isImportExisting}" @change="${(e) => this.isImportExisting = e.currentTarget.checked}">
480-
Add to an existing web capture${this.isImportExisting ? ":" : ""}
480+
Add to an existing item${this.isImportExisting ? ":" : ""}
481481
</label>
482482
</div>
483483
${this.isImportExisting ? this.renderCollList() : ""}
@@ -617,7 +617,7 @@ class ArchiveWebApp extends ReplayWebApp
617617
618618
<p class="is-size-7">ArchiveWeb.page includes an experimental sharing option for each archive collection. Users can choose to share select archives on a peer-to-peer network (IPFS) via a unique id.
619619
Once shared on this network, the data may become accessible to others.
620-
All web captures are private and not shared by default, unless explicitly opted-in by the user. (A warning is displayed when sharing via IPFS.)</p>
620+
All archived items are private and not shared by default, unless explicitly opted-in by the user. (A warning is displayed when sharing via IPFS.)</p>
621621
622622
<h4>Disclaimer of Warranties</h4>
623623
<p class="is-size-7">The application is provided "as is" without any guarantees.</p>
@@ -656,7 +656,7 @@ class ArchiveWebApp extends ReplayWebApp
656656
<form class="is-flex is-flex-direction-column is-size-7" @submit="${this.onSaveSettings}">
657657
658658
${this.settingsTab === "ipfs" ? html`
659-
<p class="is-size-6 mb-3">Configure IPFS settings for sharing archives to IPFS.</p>
659+
<p class="is-size-6 mb-3">Configure settings for sharing archived items to IPFS.</p>
660660
<fieldset>
661661
<div class="field">
662662
<input name="ipfsAutoDetect" id="ipfsAutoDetect" class="checkbox is-small" type="checkbox" ?checked="${this.ipfsOpts.autoDetect}"><span class="ml-1">Auto-Detect IPFS</span>
@@ -680,7 +680,7 @@ class ArchiveWebApp extends ReplayWebApp
680680
</fieldset>` : ""}
681681
682682
${this.settingsTab === "browsertrix" ? html`
683-
<p class="is-size-6 mb-3">Configure your credentials to upload archives to Browsertrix Cloud.</p>
683+
<p class="is-size-6 mb-3">Configure your credentials to upload archived items to Browsertrix Cloud.</p>
684684
<fieldset>
685685
<div class="field has-addons">
686686
<p class="is-expanded">

src/ui/coll-index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class WrRecCollIndex extends CollIndex
131131
}
132132

133133
renderEmpty() {
134-
return html`No web captures. Click "Create Web Capture" above to begin archiving pages!`;
134+
return html`No archived items. Click "New Archiving Session" above to begin archiving pages!`;
135135
}
136136
}
137137

src/ui/coll-info.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,14 +311,14 @@ class WrRecCollInfo extends CollInfo
311311
<wr-modal bgClass="has-background-warning" @modal-closed="${() => this.shareWarn = false}" title="Start Sharing?">
312312
<div class="content is-size-7">
313313
<p>
314-
Do you want to share the all the pages in the archive "<i>${this.coll.title}</i>" via IPFS, a peer-to-peer
314+
Do you want to share the all the content in "<i>${this.coll.title}</i>" via IPFS, a peer-to-peer
315315
distributed storage network?
316316
</p>
317-
<p>Your archive will have a unique link which can be shared with others to load your archive
317+
<p>Your archiving session will have a unique link which can be shared with others to load it
318318
via ReplayWeb.page. All archived data is loaded on-demand when replayed. This feature is experimental and likely works best with smaller archives.</p>
319319
<p>You can cancel sharing at anytime.
320320
</p>
321-
<p><b>Once shared, this data leaves your computer and could be read by others.</b></p>
321+
<p><b>Once shared, this data leaves your computer and can be read by others.</b></p>
322322
<p>If you do not wish to share this data, click Cancel.</p>
323323
</div>
324324
<div class="content">

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export async function ensureDefaultColl(collLoader)
88
let colls = await collLoader.listAll();
99

1010
if (!colls.length) {
11-
const metadata = {"title": "My Web Capture"};
11+
const metadata = {"title": "My Archiving Session"};
1212
const result = await collLoader.initNewColl(metadata);
1313

1414
await setLocalOption("defaultCollId", result.name);

0 commit comments

Comments
 (0)