Skip to content

Commit

Permalink
Unify initial view naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Shrinks99 committed Feb 5, 2025
1 parent 83a179f commit f5a4828
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/src/features/collections/collection-replay-dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class CollectionStartPageDialog extends BtrixElement {
this.homeView === HomeView.URL && !this.selectedSnapshot;
return html`
<btrix-dialog
.label=${msg("Configure Replay View")}
.label=${msg("Set Initial View")}
.open=${this.open}
class="[--width:60rem]"
@sl-show=${() => (this.showContent = true)}
Expand Down Expand Up @@ -198,7 +198,7 @@ export class CollectionStartPageDialog extends BtrixElement {
<form @submit=${this.onSubmit}>
<sl-select
name="homeView"
label=${msg("Select Initial View")}
label=${msg("Initial View")}
value=${this.homeView}
hoist
?disabled=${!this.replayLoaded}
Expand Down
7 changes: 5 additions & 2 deletions frontend/src/pages/org/collection-detail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,11 @@ export class CollectionDetail extends BtrixElement {
${!this.collection ||
Boolean(this.collection.crawlCount && !this.isRwpLoaded)
? html`<sl-spinner slot="prefix"></sl-spinner>`
: html`<sl-icon name="gear" slot="prefix"></sl-icon>`}
${msg("Configure View")}
: html`<sl-icon
name="house-fill"
slot="prefix"
></sl-icon>`}
${msg("Set Initial View")}
</sl-button>
</sl-tooltip>
`,
Expand Down

0 comments on commit f5a4828

Please sign in to comment.