Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

chore(frontend:icons): replace SquareStop with Square in components

johaven8b80a5213340
diff --git a/frontend/src/app/applications/admin/components/admin-tools.component.html b/frontend/src/app/applications/admin/components/admin-tools.component.html
index a5cc334a..5bde7339 100644
--- a/frontend/src/app/applications/admin/components/admin-tools.component.html
+++ b/frontend/src/app/applications/admin/components/admin-tools.component.html
@@ -64,7 +64,7 @@
(click)="stopIndexing()"
class="btn btn-sm btn-warning btn-sm text-nowrap"
type="button">
- <svg [lucideIcon]="icons.LucideSquareStop"></svg>
+ <svg [lucideIcon]="icons.LucideSquare"></svg>
<span class="ms-1" l10nTranslate>Stop</span>
</button>
} @else {
diff --git a/frontend/src/app/applications/admin/components/admin-tools.component.ts b/frontend/src/app/applications/admin/components/admin-tools.component.ts
index d3be04a1..02edd958 100644
--- a/frontend/src/app/applications/admin/components/admin-tools.component.ts
+++ b/frontend/src/app/applications/admin/components/admin-tools.component.ts
@@ -1,6 +1,6 @@
import { Component, DestroyRef, inject } from '@angular/core'
import { takeUntilDestroyed } from '@angular/core/rxjs-interop'
-import { LucideDynamicIcon, LucidePlay, LucideSquareStop, LucideTrash2 } from '@lucide/angular'
+import { LucideDynamicIcon, LucidePlay, LucideSquare, LucideTrash2 } from '@lucide/angular'
import { L10nTranslateDirective } from 'angular-l10n'
import { AutoResizeDirective } from '../../../common/directives/auto-resize.directive'
import { ADMIN_ICON, ADMIN_PATH, ADMIN_TITLE } from '../admin.constants'
@@ -16,7 +16,7 @@ import { TimeDateFormatPipe } from '../../../common/pipes/time-date-format.pipe'
templateUrl: 'admin-tools.component.html'
})
export class AdminToolsComponent {
- protected readonly icons = { LucideTrash2, LucidePlay, LucideSquareStop }
+ protected readonly icons = { LucideTrash2, LucidePlay, LucideSquare }
protected readonly IndexingState = IndexingState
protected confirmResetIndexing = false
protected indexingStatus: IndexingStatus = { indexesCount: 0, state: this.IndexingState.IDLE, lastFullRunAt: null, lastPartialRunAt: null }
diff --git a/frontend/src/app/applications/files/components/sidebar/files-tasks.component.html b/frontend/src/app/applications/files/components/sidebar/files-tasks.component.html
index bce68d61..4289b903 100644
--- a/frontend/src/app/applications/files/components/sidebar/files-tasks.component.html
+++ b/frontend/src/app/applications/files/components/sidebar/files-tasks.component.html
@@ -20,7 +20,7 @@
<div class="d-flex gap-1">
@if (hasCancellableTasks) {
<button type="button" (click)="cancelTasks()" [tooltip]="'Stop' | translate:locale.language" class="btn btn-default" placement="top">
- <svg [lucideIcon]="icons.LucideSquareStop"></svg>
+ <svg [lucideIcon]="icons.LucideSquare"></svg>
</button>
}
<button type="button" (click)="removeTasks()" class="btn btn-default">
@@ -104,7 +104,7 @@
[tooltip]="'Stop' | translate:locale.language"
class="btn btn-sm btn-default task-list__cancel"
placement="top">
- <svg [lucideIcon]="icons.LucideSquareStop"></svg>
+ <svg [lucideIcon]="icons.LucideSquare"></svg>
</button>
}
</div>
diff --git a/frontend/src/app/applications/files/components/sidebar/files-tasks.component.ts b/frontend/src/app/applications/files/components/sidebar/files-tasks.component.ts
index 3339eaa9..c8b33002 100644
--- a/frontend/src/app/applications/files/components/sidebar/files-tasks.component.ts
+++ b/frontend/src/app/applications/files/components/sidebar/files-tasks.component.ts
@@ -16,7 +16,7 @@ import {
LucideGlobe,
LucideLoader,
LucideMove,
- LucideSquareStop,
+ LucideSquare,
LucideTrash2,
LucideX
} from '@lucide/angular'
@@ -43,7 +43,7 @@ import { TimeAgoPipe } from '../../../../common/pipes/time-ago.pipe'
})
export class FilesTasksComponent implements OnDestroy {
protected readonly locale = inject<L10nLocale>(L10N_LOCALE)
- protected readonly icons = { LucideX, LucideFlag, LucideClock, LucideFile, LucideFolderClosed, LucideSquareStop }
+ protected readonly icons = { LucideX, LucideFlag, LucideClock, LucideFile, LucideFolderClosed, LucideSquare }
protected readonly iconsStatus: Record<FileTaskStatus, LucideIcon> = {
[FileTaskStatus.PENDING]: LucideLoader,
[FileTaskStatus.SUCCESS]: LucideCheck,
diff --git a/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.html b/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.html
index 987a6ab0..ac1a18c3 100644
--- a/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.html
+++ b/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.html
@@ -29,7 +29,7 @@
[tooltip]="'Stop slideshow' | translate:locale.language"
class="btn btn-custom me-1"
type="button">
- <svg [lucideIcon]="icons.LucideSquareStop"></svg>
+ <svg [lucideIcon]="icons.LucideSquare"></svg>
</button>
}
<button
diff --git a/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.ts b/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.ts
index b0ff78e3..11d74229 100755
--- a/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.ts
+++ b/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.ts
@@ -1,7 +1,7 @@
import { ChangeDetectionStrategy, Component, computed, DestroyRef, ElementRef, inject, input, model, signal, viewChild } from '@angular/core'
import { takeUntilDestroyed } from '@angular/core/rxjs-interop'
import { FormsModule } from '@angular/forms'
-import { LucideChevronLeft, LucideChevronRight, LucideDynamicIcon, LucideExpand, LucideInfo, LucidePlay, LucideSquareStop } from '@lucide/angular'
+import { LucideChevronLeft, LucideChevronRight, LucideDynamicIcon, LucideExpand, LucideInfo, LucidePlay, LucideSquare } from '@lucide/angular'
import { L10N_LOCALE, L10nLocale, L10nTranslateDirective, L10nTranslatePipe } from 'angular-l10n'
import { ButtonCheckboxDirective } from 'ngx-bootstrap/buttons'
import { TooltipModule } from 'ngx-bootstrap/tooltip'
@@ -24,7 +24,7 @@ export class FilesViewerImageComponent {
protected imageCount = computed(() => this.directoryImages().length)
protected imageIndex = computed(() => this.directoryImages().indexOf(this.file()))
protected imageResolution = signal<string>('')
- protected readonly icons = { LucideChevronLeft, LucideChevronRight, LucideExpand, LucideInfo, LucidePlay, LucideSquareStop }
+ protected readonly icons = { LucideChevronLeft, LucideChevronRight, LucideExpand, LucideInfo, LucidePlay, LucideSquare }
protected readonly locale = inject<L10nLocale>(L10N_LOCALE)
private readonly slideDelay = 5000
private destroyRef = inject(DestroyRef)