@internetarchive/collection-browser 2.22.1-alpha5 → 2.22.1-webdev-7936.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -351,10 +351,6 @@ export declare class CollectionBrowser extends LitElement implements InfiniteScr
351
351
  * sensitive content in result tiles.
352
352
  */
353
353
  private get tileBlurCheckboxTemplate();
354
- /**
355
- * Message to show in the manage view modal, depending on context.
356
- */
357
- private get manageViewModalMsg();
358
354
  /**
359
355
  * Template for the manage bar UI that appears atop the search results when we are
360
356
  * showing the management view. This generally replaces the sort bar when present.
@@ -668,35 +668,20 @@ let CollectionBrowser = class CollectionBrowser extends LitElement {
668
668
  </label>
669
669
  `;
670
670
  }
671
- /**
672
- * Message to show in the manage view modal, depending on context.
673
- */
674
- get manageViewModalMsg() {
675
- const itemLabel = this.dataSource.checkedTileModels.length > 1
676
- ? 'these items'
677
- : 'this item';
678
- let listLabel = null;
679
- if (this.profileElement === 'uploads') {
680
- listLabel = 'uploads';
681
- }
682
- else if (this.profileElement === 'web_archives') {
683
- listLabel = 'web archives';
684
- }
685
- return listLabel
686
- ? `Note: It may take a few minutes for ${itemLabel} to stop appearing in your ${listLabel} list.`
687
- : '';
688
- }
689
671
  /**
690
672
  * Template for the manage bar UI that appears atop the search results when we are
691
673
  * showing the management view. This generally replaces the sort bar when present.
692
674
  */
693
675
  get manageBarTemplate() {
676
+ const manageViewModalMsg = this.profileElement === 'uploads'
677
+ ? 'Note: it may take a few minutes for these items to stop appearing in your uploads list.'
678
+ : nothing;
694
679
  return html `
695
680
  <manage-bar
696
681
  .label=${this.manageViewLabel}
697
682
  .modalManager=${this.modalManager}
698
683
  .selectedItems=${this.dataSource.checkedTileModels}
699
- .manageViewModalMsg=${this.manageViewModalMsg}
684
+ .manageViewModalMsg=${manageViewModalMsg}
700
685
  showSelectAll
701
686
  showUnselectAll
702
687
  ?showItemManageButton=${this.pageContext === 'search'}