Skip to content

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

fix(frontend): replace deprecated trash icon and expand recents layout

johaven84ac4ed5e126
diff --git a/frontend/src/app/applications/admin/components/admin-groups.component.html b/frontend/src/app/applications/admin/components/admin-groups.component.html
index 1c6ca1f0..4fbaa238 100644
--- a/frontend/src/app/applications/admin/components/admin-groups.component.html
+++ b/frontend/src/app/applications/admin/components/admin-groups.component.html
@@ -38,7 +38,7 @@
class="d-none d-sm-block btn btn-default app-top-menu-tool-bar__action--quiet"
[disabled]="!selected"
type="button">
- <svg [lucideIcon]="selected?.isUser ? icons.LucideUserMinus : icons.LucideTrash2"></svg>
+ <svg [lucideIcon]="selected?.isUser ? icons.LucideUserMinus : icons.LucideTrash"></svg>
<span class="app-top-menu-tool-bar__label" l10nTranslate>Delete</span>
</button>
<button (click)="refresh()"
@@ -195,7 +195,7 @@
</ng-template>
@if (selected.isGroup) {
<ng-template (execute)="openDialog(false, true)" contextMenuItem>
- <span l10nTranslate><svg [lucideIcon]="icons.LucideTrash2"></svg>Delete group</span>
+ <span l10nTranslate><svg [lucideIcon]="icons.LucideTrash"></svg>Delete group</span>
</ng-template>
} @else {
<ng-template (execute)="openDialog(false, true)" contextMenuItem>
diff --git a/frontend/src/app/applications/admin/components/admin-groups.component.ts b/frontend/src/app/applications/admin/components/admin-groups.component.ts
index fadfa724..6976d26c 100644
--- a/frontend/src/app/applications/admin/components/admin-groups.component.ts
+++ b/frontend/src/app/applications/admin/components/admin-groups.component.ts
@@ -10,7 +10,7 @@ import {
LucidePencil,
LucidePlus,
LucideRotateCw,
- LucideTrash2,
+ LucideTrash,
LucideUserMinus,
LucideUserRoundPlus
} from '@lucide/angular'
@@ -80,7 +80,7 @@ export class AdminGroupsComponent {
GROUPS: USER_ICON.GROUPS,
LucideRotateCw,
LucidePlus,
- LucideTrash2,
+ LucideTrash,
LucidePencil,
LucideArrowDown,
LucideArrowUp,
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 e3ebc659..ec4b32c2 100644
--- a/frontend/src/app/applications/admin/components/admin-tools.component.html
+++ b/frontend/src/app/applications/admin/components/admin-tools.component.html
@@ -97,7 +97,7 @@
type="button"
[disabled]="(indexingStatus.state !== IndexingState.IDLE && indexingStatus.state !== IndexingState.DISABLED) ||
indexingStatus.indexesCount === 0">
- <svg [lucideIcon]="icons.LucideTrash2"></svg>
+ <svg [lucideIcon]="icons.LucideTrash"></svg>
<span class="ms-1" l10nTranslate>Remove</span>
</button>
</div>
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 02edd958..bbefa9bc 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, LucideSquare, LucideTrash2 } from '@lucide/angular'
+import { LucideDynamicIcon, LucidePlay, LucideSquare, LucideTrash } 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, LucideSquare }
+ protected readonly icons = { LucideTrash, 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/admin/components/dialogs/admin-group-delete-dialog.component.html b/frontend/src/app/applications/admin/components/dialogs/admin-group-delete-dialog.component.html
index 8fcbf454..4b7d1565 100644
--- a/frontend/src/app/applications/admin/components/dialogs/admin-group-delete-dialog.component.html
+++ b/frontend/src/app/applications/admin/components/dialogs/admin-group-delete-dialog.component.html
@@ -1,6 +1,6 @@
<div class="modal-header">
<h4 class="modal-title">
- <svg [lucideIcon]="member.isUser ? icons.LucideUserMinus : icons.LucideTrash2"></svg>
+ <svg [lucideIcon]="member.isUser ? icons.LucideUserMinus : icons.LucideTrash"></svg>
<span>{{ member.name }}</span>
</h4>
<h4 class="modal-title ms-auto">
diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-group-delete-dialog.component.ts b/frontend/src/app/applications/admin/components/dialogs/admin-group-delete-dialog.component.ts
index 26405b50..58c03cad 100644
--- a/frontend/src/app/applications/admin/components/dialogs/admin-group-delete-dialog.component.ts
+++ b/frontend/src/app/applications/admin/components/dialogs/admin-group-delete-dialog.component.ts
@@ -1,6 +1,6 @@
import { HttpErrorResponse } from '@angular/common/http'
import { Component, EventEmitter, inject, Input, Output } from '@angular/core'
-import { LucideDynamicIcon, LucideTrash2, LucideUserMinus } from '@lucide/angular'
+import { LucideDynamicIcon, LucideTrash, LucideUserMinus } from '@lucide/angular'
import { L10nTranslateDirective } from 'angular-l10n'
import { CapitalizePipe } from '../../../../common/pipes/capitalize.pipe'
import { LayoutService } from '../../../../layout/layout.service'
@@ -19,7 +19,7 @@ export class AdminGroupDeleteDialogComponent {
@Input({ required: true }) member: MemberModel
@Output() wasDeleted = new EventEmitter<boolean>()
protected submitted = false
- protected readonly icons = { GROUPS: USER_ICON.GROUPS, LucideTrash2, LucideUserMinus }
+ protected readonly icons = { GROUPS: USER_ICON.GROUPS, LucideTrash, LucideUserMinus }
private readonly layout = inject(LayoutService)
private readonly adminService = inject(AdminService)
diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.html b/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.html
index 741ab4a2..3a4338ce 100644
--- a/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.html
+++ b/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.html
@@ -105,7 +105,7 @@
</span>
@if (user.twoFaEnabled) {
<span (click)="reset2Fa()" class="link-danger" role="button">
- <svg [lucideIcon]="icons.LucideTrash2"></svg>
+ <svg [lucideIcon]="icons.LucideTrash"></svg>
<span class="ms-1" l10nTranslate>Reset</span>
</span>
}
diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.ts b/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.ts
index 10812bee..5084cde6 100644
--- a/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.ts
+++ b/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.ts
@@ -8,7 +8,7 @@ import {
LucideLock,
LucideLockOpen,
LucideShieldCheck,
- LucideTrash2,
+ LucideTrash,
LucideUserRoundCog,
LucideUserRoundPen,
LucideUserRoundPlus,
@@ -88,7 +88,7 @@ export class AdminUserDialogComponent implements OnInit {
LucideUserRoundCog,
LucideUsersRound,
LucideShieldCheck,
- LucideTrash2,
+ LucideTrash,
LucideLock,
LucideLockOpen
}
diff --git a/frontend/src/app/applications/files/components/dialogs/files-trash-dialog.component.html b/frontend/src/app/applications/files/components/dialogs/files-trash-dialog.component.html
index 2e7de108..d5922d02 100755
--- a/frontend/src/app/applications/files/components/dialogs/files-trash-dialog.component.html
+++ b/frontend/src/app/applications/files/components/dialogs/files-trash-dialog.component.html
@@ -1,6 +1,6 @@
<div class="modal-header">
<h4 class="modal-title">
- <svg [lucideIcon]="icons.LucideTrash2"></svg>
+ <svg [lucideIcon]="icons.LucideTrash"></svg>
<span l10nTranslate>Remove</span>
@if (submitted) {
<svg [lucideIcon]="icons.LucideLoader" class="ms-2 icon-spin"></svg>
diff --git a/frontend/src/app/applications/files/components/dialogs/files-trash-dialog.component.ts b/frontend/src/app/applications/files/components/dialogs/files-trash-dialog.component.ts
index 7a181f6d..a20c4903 100644
--- a/frontend/src/app/applications/files/components/dialogs/files-trash-dialog.component.ts
+++ b/frontend/src/app/applications/files/components/dialogs/files-trash-dialog.component.ts
@@ -1,5 +1,5 @@
import { ChangeDetectionStrategy, Component, EventEmitter, HostListener, inject, Input, Output } from '@angular/core'
-import { LucideDynamicIcon, LucideLoader, LucideTrash2 } from '@lucide/angular'
+import { LucideDynamicIcon, LucideLoader, LucideTrash } from '@lucide/angular'
import { L10N_LOCALE, L10nLocale, L10nTranslateDirective, L10nTranslatePipe } from 'angular-l10n'
import { LayoutService } from '../../../../layout/layout.service'
import { FileModel } from '../../models/file.model'
@@ -16,7 +16,7 @@ export class FilesTrashDialogComponent {
@Output() removeFiles = new EventEmitter<void>()
protected readonly locale = inject<L10nLocale>(L10N_LOCALE)
protected layout = inject(LayoutService)
- protected readonly icons = { LucideTrash2, LucideLoader }
+ protected readonly icons = { LucideTrash, LucideLoader }
protected submitted = false
@HostListener('document:keyup.enter')
diff --git a/frontend/src/app/applications/files/components/dialogs/files-trash-empty-dialog.component.html b/frontend/src/app/applications/files/components/dialogs/files-trash-empty-dialog.component.html
index 732a534c..76cd6f6e 100755
--- a/frontend/src/app/applications/files/components/dialogs/files-trash-empty-dialog.component.html
+++ b/frontend/src/app/applications/files/components/dialogs/files-trash-empty-dialog.component.html
@@ -1,6 +1,6 @@
<div class="modal-header">
<h4 class="modal-title">
- <svg [lucideIcon]="icons.LucideTrash2"></svg>
+ <svg [lucideIcon]="icons.LucideTrash"></svg>
<span>{{ trashName }}</span>
@if (submitted) {
<svg [lucideIcon]="icons.LucideLoader" class="ms-2 icon-spin"></svg>
diff --git a/frontend/src/app/applications/files/components/dialogs/files-trash-empty-dialog.component.ts b/frontend/src/app/applications/files/components/dialogs/files-trash-empty-dialog.component.ts
index b8c4ad66..f4b6fff8 100644
--- a/frontend/src/app/applications/files/components/dialogs/files-trash-empty-dialog.component.ts
+++ b/frontend/src/app/applications/files/components/dialogs/files-trash-empty-dialog.component.ts
@@ -1,6 +1,6 @@
import { HttpErrorResponse } from '@angular/common/http'
import { Component, HostListener, inject, Input } from '@angular/core'
-import { LucideDynamicIcon, LucideLoader, LucideTrash2 } from '@lucide/angular'
+import { LucideDynamicIcon, LucideLoader, LucideTrash } from '@lucide/angular'
import { L10nTranslateDirective } from 'angular-l10n'
import { LayoutService } from '../../../../layout/layout.service'
import { FilesService } from '../../services/files.service'
@@ -14,7 +14,7 @@ export class FilesTrashEmptyDialogComponent {
@Input() trashAlias = ''
@Input() trashName = ''
protected layout = inject(LayoutService)
- protected readonly icons = { LucideTrash2, LucideLoader }
+ protected readonly icons = { LucideTrash, LucideLoader }
protected submitted = false
private filesService = inject(FilesService)
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 8f119db7..b9489ec2 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
@@ -17,7 +17,7 @@ import {
LucideLoader,
LucideMove,
LucideOctagonX,
- LucideTrash2,
+ LucideTrash,
LucideX
} from '@lucide/angular'
import { FILE_OPERATION } from '@sync-in-server/backend/src/applications/files/constants/operations'
@@ -52,7 +52,7 @@ export class FilesTasksComponent implements OnDestroy {
[FileTaskStatus.QUEUED]: LucideClock
}
protected readonly iconsOperation: Partial<Record<FILE_OPERATION, LucideIcon>> = {
- [FILE_OPERATION.DELETE]: LucideTrash2,
+ [FILE_OPERATION.DELETE]: LucideTrash,
[FILE_OPERATION.MOVE]: LucideMove,
[FILE_OPERATION.COPY]: LucideCopy,
[FILE_OPERATION.DOWNLOAD]: LucideGlobe,
diff --git a/frontend/src/app/applications/files/components/utils/file-location.component.ts b/frontend/src/app/applications/files/components/utils/file-location.component.ts
index 3c4b73b8..d46922cf 100644
--- a/frontend/src/app/applications/files/components/utils/file-location.component.ts
+++ b/frontend/src/app/applications/files/components/utils/file-location.component.ts
@@ -1,6 +1,6 @@
import { Component, inject, Input } from '@angular/core'
import type { LucideIcon } from '@lucide/angular'
-import { LucideDynamicIcon, LucideTrash2 } from '@lucide/angular'
+import { LucideDynamicIcon, LucideTrash } from '@lucide/angular'
import { L10N_LOCALE, L10nLocale, L10nTranslatePipe } from 'angular-l10n'
export interface FileLocationDisplay {
@@ -32,7 +32,7 @@ export interface FileLocationDisplay {
}
} @else {
@if (location.inTrash) {
- <svg [lucideIcon]="LucideTrash2" class="file-location__icon"></svg>
+ <svg [lucideIcon]="LucideTrash" class="file-location__icon"></svg>
}
@if (location.icon) {
<svg [lucideIcon]="location.icon" class="file-location__icon"></svg>
@@ -88,10 +88,10 @@ export class FileLocationComponent {
@Input({ required: true }) location: FileLocationDisplay
@Input() displayAsRepository = false
protected readonly locale = inject<L10nLocale>(L10N_LOCALE)
- protected readonly LucideTrash2 = LucideTrash2
+ protected readonly LucideTrash = LucideTrash
protected get displayedIcon(): LucideIcon | undefined {
- return this.location?.inTrash ? this.LucideTrash2 : this.location?.icon
+ return this.location?.inTrash ? this.LucideTrash : this.location?.icon
}
protected get displayedIconClass(): string {
diff --git a/frontend/src/app/applications/files/components/viewers/files-viewer-markdown.component.html b/frontend/src/app/applications/files/components/viewers/files-viewer-markdown.component.html
index 00c26020..9c29f9a5 100644
--- a/frontend/src/app/applications/files/components/viewers/files-viewer-markdown.component.html
+++ b/frontend/src/app/applications/files/components/viewers/files-viewer-markdown.component.html
@@ -243,7 +243,7 @@
</li>
<li role="menuitem">
<a (click)="deleteTable()" [class.disabled]="!canEditTable()" class="dropdown-item">
- <span><svg [lucideIcon]="icons.LucideTrash2"></svg><span l10nTranslate>Delete table</span></span>
+ <span><svg [lucideIcon]="icons.LucideTrash"></svg><span l10nTranslate>Delete table</span></span>
</a>
</li>
<li class="dropdown-divider"></li>
diff --git a/frontend/src/app/applications/files/components/viewers/files-viewer-markdown.component.ts b/frontend/src/app/applications/files/components/viewers/files-viewer-markdown.component.ts
index eba52001..ca6eb9af 100644
--- a/frontend/src/app/applications/files/components/viewers/files-viewer-markdown.component.ts
+++ b/frontend/src/app/applications/files/components/viewers/files-viewer-markdown.component.ts
@@ -30,7 +30,7 @@ import {
LucideStrikethrough,
LucideTable,
LucideTextWrap,
- LucideTrash2,
+ LucideTrash,
LucideUnderline,
LucideUndo
} from '@lucide/angular'
@@ -151,7 +151,7 @@ export class FilesViewerMarkdownComponent extends FilesViewerEditableBase implem
LucideLoader,
LucideStrikethrough,
LucideTable,
- LucideTrash2,
+ LucideTrash,
LucideUnderline,
LucideSquareMinus,
LucideSquarePlus
diff --git a/frontend/src/app/applications/notifications/components/sidebar/notifications.component.html b/frontend/src/app/applications/notifications/components/sidebar/notifications.component.html
index baa792a5..961621b7 100644
--- a/frontend/src/app/applications/notifications/components/sidebar/notifications.component.html
+++ b/frontend/src/app/applications/notifications/components/sidebar/notifications.component.html
@@ -10,7 +10,7 @@
<button (click)="removeAll()"
class="btn btn-default"
type="button">
- <svg [lucideIcon]="icons.LucideTrash2"></svg>
+ <svg [lucideIcon]="icons.LucideTrash"></svg>
</button>
}
</div>
diff --git a/frontend/src/app/applications/notifications/components/sidebar/notifications.component.ts b/frontend/src/app/applications/notifications/components/sidebar/notifications.component.ts
index 64e34143..d44e0929 100644
--- a/frontend/src/app/applications/notifications/components/sidebar/notifications.component.ts
+++ b/frontend/src/app/applications/notifications/components/sidebar/notifications.component.ts
@@ -1,7 +1,7 @@
import { HttpErrorResponse } from '@angular/common/http'
import { AfterViewInit, Component, effect, ElementRef, inject, QueryList, ViewChildren } from '@angular/core'
import { Router } from '@angular/router'
-import { LucideCheck, LucideDynamicIcon, LucideInfo, LucideSearch, LucideTrash2, LucideX } from '@lucide/angular'
+import { LucideCheck, LucideDynamicIcon, LucideInfo, LucideSearch, LucideTrash, LucideX } from '@lucide/angular'
import { NOTIFICATION_APP } from '@sync-in-server/backend/src/applications/notifications/constants/notifications'
import { L10nTranslateDirective } from 'angular-l10n'
import { AutoResizeDirective } from '../../../../common/directives/auto-resize.directive'
@@ -21,7 +21,7 @@ import { NotificationsService } from '../../notifications.service'
export class NotificationsComponent implements AfterViewInit {
@ViewChildren('notificationsHtml') notificationsHtml!: QueryList<ElementRef>
protected readonly store = inject(StoreService)
- protected readonly icons = { LucideCheck, LucideX, LucideSearch, LucideTrash2, LucideInfo }
+ protected readonly icons = { LucideCheck, LucideX, LucideSearch, LucideTrash, LucideInfo }
private readonly router = inject(Router)
private readonly layout = inject(LayoutService)
private readonly notificationsService = inject(NotificationsService)
diff --git a/frontend/src/app/applications/spaces/components/spaces-browser.component.html b/frontend/src/app/applications/spaces/components/spaces-browser.component.html
index 04387957..8f9fcf38 100644
--- a/frontend/src/app/applications/spaces/components/spaces-browser.component.html
+++ b/frontend/src/app/applications/spaces/components/spaces-browser.component.html
@@ -116,7 +116,7 @@
[disabled]="!hasSelection"
class="btn btn-default app-top-menu-tool-bar__action--quiet"
type="button">
- <svg [lucideIcon]="icons.LucideTrash2"></svg>
+ <svg [lucideIcon]="icons.LucideTrash"></svg>
<span class="app-top-menu-tool-bar__label" l10nTranslate>Delete permanently</span>
</button>
}
@@ -232,7 +232,7 @@
<li role="menuitem">
@if (isTrashRepo) {
<a (click)="openTrashDialog(true)" class="dropdown-item">
- <span l10nTranslate><svg [lucideIcon]="icons.LucideTrash2" class="text-danger"></svg>Delete permanently</span>
+ <span l10nTranslate><svg [lucideIcon]="icons.LucideTrash" class="text-danger"></svg>Delete permanently</span>
</a>
} @else {
<a (click)="openTrashDialog()" class="dropdown-item">
@@ -702,7 +702,7 @@
<ng-template [divider]="true" contextMenuItem></ng-template>
<ng-template (execute)="openTrashDialog(isTrashRepo)" contextMenuItem>
@if (isTrashRepo) {
- <span l10nTranslate><svg [lucideIcon]="icons.LucideTrash2" class="text-danger"></svg>Delete permanently</span>
+ <span l10nTranslate><svg [lucideIcon]="icons.LucideTrash" class="text-danger"></svg>Delete permanently</span>
} @else {
<span l10nTranslate><svg [lucideIcon]="icons.TRASH" class="text-danger"></svg>Remove</span>
}
diff --git a/frontend/src/app/applications/spaces/components/spaces-browser.component.ts b/frontend/src/app/applications/spaces/components/spaces-browser.component.ts
index 46d03e0a..5acee41b 100644
--- a/frontend/src/app/applications/spaces/components/spaces-browser.component.ts
+++ b/frontend/src/app/applications/spaces/components/spaces-browser.component.ts
@@ -30,7 +30,7 @@ import {
LucidePlus,
LucideRotateCw,
LucideSpellCheck,
- LucideTrash2
+ LucideTrash
} from '@lucide/angular'
import { ContextMenuComponent, ContextMenuModule } from '@perfectmemory/ngx-contextmenu'
import { TAR_EXTENSION } from '@sync-in-server/backend/src/applications/files/constants/compress'
@@ -162,7 +162,7 @@ export class SpacesBrowserComponent implements OnInit, AfterViewInit, OnDestroy
LucideFileArchive,
LucideSpellCheck,
LucideMove,
- LucideTrash2,
+ LucideTrash,
LucideCheck,
LucideArrowUp,
LucideArrowDown,
diff --git a/frontend/src/app/applications/spaces/spaces.constants.ts b/frontend/src/app/applications/spaces/spaces.constants.ts
index 949cdcdf..4cbfc6e5 100644
--- a/frontend/src/app/applications/spaces/spaces.constants.ts
+++ b/frontend/src/app/applications/spaces/spaces.constants.ts
@@ -11,7 +11,7 @@ import {
LucideRedo,
LucideShare2,
LucideSquareCheckBig,
- LucideTrash2
+ LucideTrash
} from '@lucide/angular'
import { SPACES_BASE_ROUTE } from '@sync-in-server/backend/src/applications/spaces/constants/routes'
import {
@@ -55,7 +55,7 @@ export const SPACES_ICON = {
ANCHORED: LucideAnchor,
LINKS: LucideLink,
SELECTION: LucideSquareCheckBig,
- TRASH: LucideTrash2,
+ TRASH: LucideTrash,
EXTERNAL: LucideFileInput
} as const
diff --git a/frontend/src/app/applications/sync/components/dialogs/sync-client-delete.dialog.component.html b/frontend/src/app/applications/sync/components/dialogs/sync-client-delete.dialog.component.html
index d065b903..c7cefc6b 100755
--- a/frontend/src/app/applications/sync/components/dialogs/sync-client-delete.dialog.component.html
+++ b/frontend/src/app/applications/sync/components/dialogs/sync-client-delete.dialog.component.html
@@ -1,6 +1,6 @@
<div class="modal-header">
<h4 class="modal-title" translate>
- <svg [lucideIcon]="icons.LucideTrash2"></svg>
+ <svg [lucideIcon]="icons.LucideTrash"></svg>
<span l10nTranslate>Client</span>
@if (submitted) {
<svg [lucideIcon]="icons.LucideLoader" class="ms-2 icon-spin"></svg>
diff --git a/frontend/src/app/applications/sync/components/dialogs/sync-client-delete.dialog.component.ts b/frontend/src/app/applications/sync/components/dialogs/sync-client-delete.dialog.component.ts
index d0453c0c..703569c8 100755
--- a/frontend/src/app/applications/sync/components/dialogs/sync-client-delete.dialog.component.ts
+++ b/frontend/src/app/applications/sync/components/dialogs/sync-client-delete.dialog.component.ts
@@ -1,6 +1,6 @@
import { HttpErrorResponse } from '@angular/common/http'
import { ChangeDetectionStrategy, Component, EventEmitter, HostListener, inject, Input, Output } from '@angular/core'
-import { LucideDynamicIcon, LucideLoader, LucideTrash2 } from '@lucide/angular'
+import { LucideDynamicIcon, LucideLoader, LucideTrash } from '@lucide/angular'
import { L10nTranslateDirective } from 'angular-l10n'
import { PlatformIconComponent } from '../../../../common/components/platform-icon.component'
import { LayoutService } from '../../../../layout/layout.service'
@@ -17,7 +17,7 @@ export class SyncClientDeleteDialogComponent {
@Input() client: SyncClientModel
@Output() wasDeleted = new EventEmitter()
protected readonly layout = inject(LayoutService)
- protected readonly icons = { LucideLoader, LucideTrash2 }
+ protected readonly icons = { LucideLoader, LucideTrash }
protected submitted = false
private readonly syncService = inject(SyncService)
diff --git a/frontend/src/app/applications/sync/components/dialogs/sync-transfers-delete.dialog.component.html b/frontend/src/app/applications/sync/components/dialogs/sync-transfers-delete.dialog.component.html
index a70af4d3..6935f38c 100644
--- a/frontend/src/app/applications/sync/components/dialogs/sync-transfers-delete.dialog.component.html
+++ b/frontend/src/app/applications/sync/components/dialogs/sync-transfers-delete.dialog.component.html
@@ -1,6 +1,6 @@
<div class="modal-header">
<h4 class="modal-title">
- <svg [lucideIcon]="icons.LucideTrash2"></svg>
+ <svg [lucideIcon]="icons.LucideTrash"></svg>
<span l10nTranslate>Clear events</span>
</h4>
<button (click)="layout.closeDialog()" aria-label="Close" class="btn-close btn-close-white" type="button"></button>
@@ -18,4 +18,3 @@
<button (click)="layout.closeDialog()" class="btn btn-secondary" data-dismiss="modal" type="button" l10nTranslate>Cancel</button>
<button (click)="doClear()" class="btn btn-danger" type="submit" l10nTranslate>Confirm</button>
</div>
-
diff --git a/frontend/src/app/applications/sync/components/dialogs/sync-transfers-delete.dialog.component.ts b/frontend/src/app/applications/sync/components/dialogs/sync-transfers-delete.dialog.component.ts
index 1dddea3c..3a293d7b 100644
--- a/frontend/src/app/applications/sync/components/dialogs/sync-transfers-delete.dialog.component.ts
+++ b/frontend/src/app/applications/sync/components/dialogs/sync-transfers-delete.dialog.component.ts
@@ -1,5 +1,5 @@
import { Component, EventEmitter, inject, Input, Output } from '@angular/core'
-import { LucideDynamicIcon, LucideTrash2 } from '@lucide/angular'
+import { LucideDynamicIcon, LucideTrash } from '@lucide/angular'
import { L10nTranslateDirective } from 'angular-l10n'
import { LayoutService } from '../../../../layout/layout.service'
import { SyncPathModel } from '../../models/sync-path.model'
@@ -14,7 +14,7 @@ export class SyncTransfersDeleteDialogComponent {
@Input() syncPath: SyncPathModel = null
@Output() wasDeleted = new EventEmitter<void>()
protected readonly layout = inject(LayoutService)
- protected readonly icons = { LucideTrash2 }
+ protected readonly icons = { LucideTrash }
private readonly syncService = inject(SyncService)
doClear() {
diff --git a/frontend/src/app/applications/sync/components/sync-clients.component.html b/frontend/src/app/applications/sync/components/sync-clients.component.html
index 58fa546a..b31d16f0 100644
--- a/frontend/src/app/applications/sync/components/sync-clients.component.html
+++ b/frontend/src/app/applications/sync/components/sync-clients.component.html
@@ -13,7 +13,7 @@
[disabled]="!selected"
class="btn btn-default app-top-menu-tool-bar__action--quiet ms-auto"
type="button">
- <svg [lucideIcon]="icons.LucideTrash2"></svg>
+ <svg [lucideIcon]="icons.LucideTrash"></svg>
<span class="app-top-menu-tool-bar__label" l10nTranslate>Delete</span>
</button>
</div>
diff --git a/frontend/src/app/applications/sync/components/sync-clients.component.ts b/frontend/src/app/applications/sync/components/sync-clients.component.ts
index 777ae519..2801851a 100644
--- a/frontend/src/app/applications/sync/components/sync-clients.component.ts
+++ b/frontend/src/app/applications/sync/components/sync-clients.component.ts
@@ -14,7 +14,7 @@ import {
LucidePencil,
LucideRefreshCw,
LucideRotateCw,
- LucideTrash2
+ LucideTrash
} from '@lucide/angular'
import { L10N_LOCALE, L10nLocale, L10nTranslateDirective, L10nTranslatePipe } from 'angular-l10n'
import { BsModalRef } from 'ngx-bootstrap/modal'
@@ -53,7 +53,7 @@ export class SyncClientsComponent {
protected readonly locale = inject<L10nLocale>(L10N_LOCALE)
protected readonly icons = {
LucideRefreshCw,
- LucideTrash2,
+ LucideTrash,
CLIENT: SYNC_ICON.CLIENT,
LucideCircle,
LucideCircleUserRound,
diff --git a/frontend/src/app/applications/sync/components/sync-transfers.component.html b/frontend/src/app/applications/sync/components/sync-transfers.component.html
index 06aeaefc..4d6faab7 100644
--- a/frontend/src/app/applications/sync/components/sync-transfers.component.html
+++ b/frontend/src/app/applications/sync/components/sync-transfers.component.html
@@ -32,7 +32,7 @@
placement="bottom"
class="btn btn-default app-top-menu-tool-bar__action--quiet"
type="button">
- <svg [lucideIcon]="icons.LucideTrash2"></svg>
+ <svg [lucideIcon]="icons.LucideTrash"></svg>
<span class="app-top-menu-tool-bar__label" l10nTranslate>Clear</span>
</button>
</div>
diff --git a/frontend/src/app/applications/sync/components/sync-transfers.component.ts b/frontend/src/app/applications/sync/components/sync-transfers.component.ts
index e4144ba7..44c596cb 100644
--- a/frontend/src/app/applications/sync/components/sync-transfers.component.ts
+++ b/frontend/src/app/applications/sync/components/sync-transfers.component.ts
@@ -2,7 +2,7 @@ import { KeyValuePipe } from '@angular/common'
import { Component, effect, ElementRef, inject, ViewChild } from '@angular/core'
import { FormsModule } from '@angular/forms'
import { Router } from '@angular/router'
-import { LucideArrowDown, LucideArrowUp, LucideDynamicIcon, LucideRotateCw, LucideTrash2 } from '@lucide/angular'
+import { LucideArrowDown, LucideArrowUp, LucideDynamicIcon, LucideRotateCw, LucideTrash } from '@lucide/angular'
import { L10N_LOCALE, L10nLocale, L10nTranslateDirective, L10nTranslatePipe } from 'angular-l10n'
import { BsModalRef } from 'ngx-bootstrap/modal'
import { TooltipDirective } from 'ngx-bootstrap/tooltip'
@@ -75,7 +75,7 @@ export class SyncTransfersComponent {
sortable: true
}
}
- protected readonly icons = { LucideRotateCw, LucideTrash2, LucideArrowDown, LucideArrowUp }
+ protected readonly icons = { LucideRotateCw, LucideTrash, LucideArrowDown, LucideArrowUp }
private readonly router = inject(Router)
private readonly layout = inject(LayoutService)
private readonly syncService = inject(SyncService)
diff --git a/frontend/src/app/applications/users/components/dialogs/user-group-delete-dialog.component.html b/frontend/src/app/applications/users/components/dialogs/user-group-delete-dialog.component.html
index 6aff07d0..746eabcf 100644
--- a/frontend/src/app/applications/users/components/dialogs/user-group-delete-dialog.component.html
+++ b/frontend/src/app/applications/users/components/dialogs/user-group-delete-dialog.component.html
@@ -1,6 +1,6 @@
<div class="modal-header">
<h4 class="modal-title">
- <svg [lucideIcon]="member.isUser ? icons.LucideUserMinus : icons.LucideTrash2"></svg>
+ <svg [lucideIcon]="member.isUser ? icons.LucideUserMinus : icons.LucideTrash"></svg>
<span>{{ member.name }}</span>
</h4>
<h4 class="modal-title ms-auto">
diff --git a/frontend/src/app/applications/users/components/dialogs/user-group-delete-dialog.component.ts b/frontend/src/app/applications/users/components/dialogs/user-group-delete-dialog.component.ts
index 0bb69d2f..3ac6c705 100644
--- a/frontend/src/app/applications/users/components/dialogs/user-group-delete-dialog.component.ts
+++ b/frontend/src/app/applications/users/components/dialogs/user-group-delete-dialog.component.ts
@@ -1,6 +1,6 @@
import { HttpErrorResponse } from '@angular/common/http'
import { Component, EventEmitter, inject, Input, Output } from '@angular/core'
-import { LucideDynamicIcon, LucideTrash2, LucideUserMinus } from '@lucide/angular'
+import { LucideDynamicIcon, LucideTrash, LucideUserMinus } from '@lucide/angular'
import { L10nTranslateDirective } from 'angular-l10n'
import { CapitalizePipe } from '../../../../common/pipes/capitalize.pipe'
import { LayoutService } from '../../../../layout/layout.service'
@@ -19,7 +19,7 @@ export class UserGroupDeleteDialogComponent {
@Input({ required: true }) member: MemberModel
@Output() wasDeleted = new EventEmitter<boolean>()
protected submitted = false
- protected readonly icons = { GROUPS: USER_ICON.GROUPS, LucideTrash2, LucideUserMinus }
+ protected readonly icons = { GROUPS: USER_ICON.GROUPS, LucideTrash, LucideUserMinus }
private readonly layout = inject(LayoutService)
private readonly userService = inject(UserService)
diff --git a/frontend/src/app/applications/users/components/user-groups.component.html b/frontend/src/app/applications/users/components/user-groups.component.html
index 00584c52..e39b351f 100644
--- a/frontend/src/app/applications/users/components/user-groups.component.html
+++ b/frontend/src/app/applications/users/components/user-groups.component.html
@@ -26,7 +26,7 @@
[disabled]="!allowedAction.removeGroup && !allowedAction.removeUser"
[tooltip]="(allowedAction.removeGroup ? 'Delete group' : 'Remove from group') | translate:locale.language"
type="button">
- <svg [lucideIcon]="allowedAction.removeUser ? icons.LucideUserMinus : icons.LucideTrash2"></svg>
+ <svg [lucideIcon]="allowedAction.removeUser ? icons.LucideUserMinus : icons.LucideTrash"></svg>
<span class="app-top-menu-tool-bar__label" l10nTranslate>Delete</span>
</button>
@if (!currentGroup) {
@@ -206,7 +206,7 @@
}
@if (allowedAction.removeGroup || allowedAction.removeUser) {
<ng-template (execute)="openDialog(false, true)" contextMenuItem>
- <span l10nTranslate><svg [lucideIcon]="allowedAction.removeUser ? icons.LucideUserMinus : icons.LucideTrash2"></svg>
+ <span l10nTranslate><svg [lucideIcon]="allowedAction.removeUser ? icons.LucideUserMinus : icons.LucideTrash"></svg>
{{ allowedAction.removeGroup ? 'Delete group' : 'Remove from group' }}</span>
</ng-template>
}
diff --git a/frontend/src/app/applications/users/components/user-groups.component.ts b/frontend/src/app/applications/users/components/user-groups.component.ts
index 93702a67..d3c4ac85 100644
--- a/frontend/src/app/applications/users/components/user-groups.component.ts
+++ b/frontend/src/app/applications/users/components/user-groups.component.ts
@@ -12,7 +12,7 @@ import {
LucidePencil,
LucidePlus,
LucideRotateCw,
- LucideTrash2,
+ LucideTrash,
LucideUserMinus,
LucideUsersRound
} from '@lucide/angular'
@@ -80,7 +80,7 @@ export class UserGroupsComponent {
GROUPS: USER_ICON.GROUPS,
LucideRotateCw,
LucidePlus,
- LucideTrash2,
+ LucideTrash,
LucideUserMinus,
LucidePencil,
LucideArrowDown,
diff --git a/frontend/src/styles/components/_recents.scss b/frontend/src/styles/components/_recents.scss
index 22a133d2..bbd50308 100644
--- a/frontend/src/styles/components/_recents.scss
+++ b/frontend/src/styles/components/_recents.scss
@@ -50,8 +50,8 @@ app-recents {
display: block;
.recents-timeline {
- width: min(100%, 76rem);
- margin: 0 auto;
+ width: 100%;
+ margin: 0;
padding: 0.55rem 0.7rem 1.25rem;
}
@@ -136,10 +136,10 @@ app-recents {
.recent-card__top {
min-width: 0;
- padding-right: 2.1rem;
+ padding-right: 2rem;
display: flex;
align-items: center;
- gap: 0.7rem;
+ gap: 0.5rem;
}
.recent-card__media {