Skip to content

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

chore(frontend:sync): refine wizard and report layouts

johaven2ff446f5bcab
diff --git a/frontend/src/app/applications/sync/components/dialogs/sync-path-report.dialog.component.html b/frontend/src/app/applications/sync/components/dialogs/sync-path-report.dialog.component.html
index 5b60a062..c2f7f907 100644
--- a/frontend/src/app/applications/sync/components/dialogs/sync-path-report.dialog.component.html
+++ b/frontend/src/app/applications/sync/components/dialogs/sync-path-report.dialog.component.html
@@ -11,10 +11,8 @@
<div class="card dialog-tab-card sync-report-toolbar">
<div class="sync-report-top-menu">
<button (click)="manageReport(!running)" class="btn btn-default ms-1" type="button">
- <div class="d-flex align-items-center">
- <svg [lucideIcon]="running ? icons.LucideSquareStop : icons.LucideFlaskConical"></svg>
- <span class="ms-1" l10nTranslate>Simulate</span>
- </div>
+ <svg [lucideIcon]="running ? icons.LucideSquare : icons.LucideFlaskConical"></svg>
+ <span l10nTranslate>Simulate</span>
</button>
<div class="sync-report-summary ms-3">
@if (running) {
@@ -111,14 +109,13 @@
class="{{th.value.class}}">
@switch (th.key) {
@case ('action') {
- <span class="d-flex align-items-center" style="font-size: var(--font-size-sm)">
- <span [class]="s.sideIconClass">
- <svg [lucideIcon]="s.sideIcon"></svg>
+ <span class="d-flex align-items-center" [title]="s.actionText | translate:locale.language">
+ <span class="{{s.sideIconClass}} me-1">
+ <svg [lucideIcon]="s.sideIcon" class="fs-lg"></svg>
</span>
<span class="circle-gray-icon-sm">
- <svg [lucideIcon]="s.actionIcon"></svg>
+ <svg [lucideIcon]="s.actionIcon" class="fs-lg"></svg>
</span>
- <span class="fs-sm" l10nTranslate>{{ s.actionText }}</span>
</span>
}
@case ('file') {
@@ -149,7 +146,7 @@
</div>
</div>
<div class="modal-footer justify-content-center align-items-center fs-sm">
- <pagination class="pagination pagination-sm"
+ <pagination class="pagination sync-report-pagination"
style="margin-bottom: -.6rem;"
(pageChanged)="pageChanged()"
[(ngModel)]="currentPage"
diff --git a/frontend/src/app/applications/sync/components/dialogs/sync-path-report.dialog.component.scss b/frontend/src/app/applications/sync/components/dialogs/sync-path-report.dialog.component.scss
index 48098ee4..0620060d 100644
--- a/frontend/src/app/applications/sync/components/dialogs/sync-path-report.dialog.component.scss
+++ b/frontend/src/app/applications/sync/components/dialogs/sync-path-report.dialog.component.scss
@@ -22,6 +22,21 @@
align-items: center;
padding: 6px;
border-radius: 0.55rem;
+
+ .btn {
+ min-height: 31px;
+ min-width: 35px;
+
+ > .lucide {
+ font-size: var(--font-size-xl);
+ }
+
+ span {
+ display: inline-flex;
+ align-items: center;
+ font-size: var(--font-size-xs);
+ }
+ }
}
.sync-report-summary {
@@ -41,3 +56,22 @@
.sync-report-table-scroll {
min-height: 11rem;
}
+
+:host ::ng-deep .sync-report-pagination {
+ .page-link {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ height: 2rem;
+ }
+
+ .pagination-first,
+ .pagination-prev,
+ .pagination-next,
+ .pagination-last {
+ .page-link {
+ font-size: var(--font-size-3xl);
+ line-height: 1;
+ }
+ }
+}
diff --git a/frontend/src/app/applications/sync/components/dialogs/sync-path-report.dialog.component.ts b/frontend/src/app/applications/sync/components/dialogs/sync-path-report.dialog.component.ts
index 2e2e780c..7729d9d7 100644
--- a/frontend/src/app/applications/sync/components/dialogs/sync-path-report.dialog.component.ts
+++ b/frontend/src/app/applications/sync/components/dialogs/sync-path-report.dialog.component.ts
@@ -10,7 +10,7 @@ import {
LucideLoader,
LucideMapPin,
LucideRefreshCw,
- LucideSquareStop
+ LucideSquare
} from '@lucide/angular'
import { L10N_LOCALE, L10nLocale, L10nTranslateDirective, L10nTranslatePipe } from 'angular-l10n'
import { ButtonCheckboxDirective } from 'ngx-bootstrap/buttons'
@@ -68,7 +68,7 @@ export class SyncPathReportDialogComponent implements OnInit, OnDestroy {
protected readonly icons = {
LucideArrowDown,
LucideArrowUp,
- LucideSquareStop,
+ LucideSquare,
LucideFlaskConical,
LucideLoader,
LucideRefreshCw,
@@ -81,7 +81,7 @@ export class SyncPathReportDialogComponent implements OnInit, OnDestroy {
protected tableHeaders: Record<'action' | 'file', TableHeaderConfig> = {
action: {
label: 'Action',
- width: 20,
+ width: 10,
textCenter: false,
class: '',
show: true,
@@ -89,7 +89,7 @@ export class SyncPathReportDialogComponent implements OnInit, OnDestroy {
},
file: {
label: 'File',
- width: 80,
+ width: 90,
textCenter: false,
class: '',
show: true,
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 e3d52c62..990e648a 100644
--- a/frontend/src/app/applications/sync/components/sync-clients.component.html
+++ b/frontend/src/app/applications/sync/components/sync-clients.component.html
@@ -39,7 +39,7 @@
<svg [lucideIcon]="icons.LucideCircle"
[container]="'body'"
[tooltip]="'This client' | translate:locale.language"
- class="text-light-green cursor-pointer ms-2">
+ class="text-light-green cursor-pointer ms-2 sync-client-current-indicator">
</svg>
}
</div>
diff --git a/frontend/src/app/applications/sync/components/sync-clients.component.scss b/frontend/src/app/applications/sync/components/sync-clients.component.scss
index d6f49804..1d37ca67 100644
--- a/frontend/src/app/applications/sync/components/sync-clients.component.scss
+++ b/frontend/src/app/applications/sync/components/sync-clients.component.scss
@@ -84,6 +84,10 @@ $sync-client-card-radius: 0.9rem;
color: var(--sync-client-subtle-color);
}
+ .sync-client-current-indicator {
+ fill: currentColor;
+ }
+
.sync-client-meta-line {
display: flex;
align-items: center;
diff --git a/frontend/src/app/applications/sync/components/sync-paths.component.html b/frontend/src/app/applications/sync/components/sync-paths.component.html
index f93ab88b..4e516b7b 100644
--- a/frontend/src/app/applications/sync/components/sync-paths.component.html
+++ b/frontend/src/app/applications/sync/components/sync-paths.component.html
@@ -8,7 +8,7 @@
[disabled]="!syncPathSelected"
[tooltip]="'Edit' | translate:locale.language"
class="btn btn-default me-1" type="button">
- <svg [lucideIcon]="icons.LucidePencilLine"></svg>
+ <svg [lucideIcon]="icons.LucidePencil"></svg>
</button>
<button (click)="openReportDialog()"
[disabled]="!syncPathSelected || !syncPathSelected.settings.enabled"
@@ -20,8 +20,8 @@
@if (syncPathSelected && syncPathSelected.inSync) {
<button (click)="doSync(false)"
[tooltip]="'Stop synchronization' | translate:locale.language"
- class="btn btn-default me-1" type="button">
- <svg [lucideIcon]="icons.LucideSquareStop"></svg>
+ class="btn btn-warning me-1" type="button">
+ <svg [lucideIcon]="icons.LucideSquare"></svg>
</button>
} @else {
<button (click)="doSync(true)"
@@ -34,8 +34,8 @@
@if (allSyncsRunning) {
<button (click)="doAllSyncs(false)"
[tooltip]="'Stop synchronizations' | translate:locale.language"
- class="btn btn-default me-1" type="button">
- <svg [lucideIcon]="icons.LucideSquareStop"></svg>
+ class="btn btn-warning me-1" type="button">
+ <svg [lucideIcon]="icons.LucideSquare"></svg>
</button>
} @else {
<div [tooltip]="'Synchronize all' | translate:locale.language">
@@ -131,7 +131,9 @@
</div>
<!--Start Filter Button-->
<div class="d-flex align-items-center ms-auto">
- <app-input-filter class="d-none d-sm-block me-1"></app-input-filter>
+ <div class="btn-group me-1">
+ <app-input-filter class="d-none d-sm-block"></app-input-filter>
+ </div>
<button (click)="onRefresh()"
[tooltip]="'Refresh' | translate:locale.language"
class="d-none d-sm-block btn btn-default" type="button">
@@ -235,7 +237,7 @@
<!--Start Context Menu -->
<context-menu #SyncPathContextMenu>
@if (syncPathSelected && syncPathSelected.inSync) {
- <ng-template (execute)="doSync(false)" contextMenuItem><span l10nTranslate><svg [lucideIcon]="icons.LucideSquareStop"></svg>Synchronize</span>
+ <ng-template (execute)="doSync(false)" contextMenuItem><span l10nTranslate><svg [lucideIcon]="icons.LucideSquare"></svg>Synchronize</span>
</ng-template>
} @else {
<ng-template (execute)="doSync(true)" contextMenuItem><span l10nTranslate><svg [lucideIcon]="icons.LucidePlay"></svg>Synchronize</span>
@@ -246,7 +248,7 @@
<ng-template [divider]="true" contextMenuItem></ng-template>
<ng-template [subMenu]="SyncGoToContextMenu" contextMenuItem><span l10nTranslate><svg [lucideIcon]="icons.LucideMapPin"></svg>Go to</span>
</ng-template>
- <ng-template (execute)="openSettingsDialog()" contextMenuItem><span l10nTranslate><svg [lucideIcon]="icons.LucidePencilLine"></svg>Edit</span>
+ <ng-template (execute)="openSettingsDialog()" contextMenuItem><span l10nTranslate><svg [lucideIcon]="icons.LucidePencil"></svg>Edit</span>
</ng-template>
</context-menu>
<context-menu #SyncAllContextMenu>
@@ -273,7 +275,7 @@
</context-menu>
<context-menu #MainContextMenu>
@if (allSyncsRunning) {
- <ng-template (execute)="doAllSyncs(false)" contextMenuItem><span l10nTranslate><svg [lucideIcon]="icons.LucideSquareStop"></svg>Stop synchronizations</span>
+ <ng-template (execute)="doAllSyncs(false)" contextMenuItem><span l10nTranslate><svg [lucideIcon]="icons.LucideSquare"></svg>Stop synchronizations</span>
</ng-template>
} @else if (store.clientSyncPaths().length) {
<ng-template [subMenu]="SyncAllContextMenu" contextMenuItem>
diff --git a/frontend/src/app/applications/sync/components/sync-paths.component.ts b/frontend/src/app/applications/sync/components/sync-paths.component.ts
index 765ef593..13f2ae5c 100644
--- a/frontend/src/app/applications/sync/components/sync-paths.component.ts
+++ b/frontend/src/app/applications/sync/components/sync-paths.component.ts
@@ -11,13 +11,13 @@ import {
LucideFlaskConical,
LucideInfo,
LucideMapPin,
- LucidePencilLine,
+ LucidePencil,
LucidePlay,
LucidePlus,
LucideRepeat2,
LucideRotateCw,
LucideShuffle,
- LucideSquareStop,
+ LucideSquare,
LucideTriangleAlert
} from '@lucide/angular'
import { ContextMenuComponent, ContextMenuModule } from '@perfectmemory/ngx-contextmenu'
@@ -94,8 +94,8 @@ export class SyncPathsComponent implements OnInit, OnDestroy {
LucideArrowUp,
LucideRotateCw,
LucidePlus,
- LucidePencilLine,
- LucideSquareStop,
+ LucidePencil,
+ LucideSquare,
LucidePlay,
LucideFastForward,
LucideRepeat2,
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 3c37a9d6..cfa0e3cb 100644
--- a/frontend/src/app/applications/sync/components/sync-transfers.component.html
+++ b/frontend/src/app/applications/sync/components/sync-transfers.component.html
@@ -1,12 +1,12 @@
<div class="app-top-menu">
- <div class="btn-group">
+ <div class="d-flex gap-2">
<select (ngModelChange)="onSelectPath($event)" [ngModel]="syncPathSelected" class="form-select" style="min-width: 210px">
<option [ngValue]="null" l10nTranslate>All syncs</option>
@for (p of store.clientSyncPaths(); track p.id) {
<option [ngValue]="p">{{ p.settings.name }}</option>
}
</select>
- <select (ngModelChange)="onSelectAction($event)" [ngModel]="action" class="form-select ms-1" style="min-width: 170px">
+ <select (ngModelChange)="onSelectAction($event)" [ngModel]="action" class="form-select" style="min-width: 170px">
<option [ngValue]="null" l10nTranslate>All events</option>
<option l10nTranslate value="NEW|MKFILE|MKDIR">Added</option>
<option l10nTranslate value="DIFF">Modified</option>
@@ -18,14 +18,15 @@
</div>
<div class="d-flex align-items-center ms-auto">
<!--Start Filter Button-->
- <app-input-filter class="d-none d-sm-block me-1"></app-input-filter>
+ <div class="btn-group me-1">
+ <app-input-filter class="d-none d-sm-block"></app-input-filter>
+ </div>
<!--End Filter Button-->
<button (click)="refresh()"
[tooltip]="'Refresh' | translate:locale.language"
-
class="btn btn-default me-1"
type="button">
- <svg [lucideIcon]="icons.LucideRedo2"></svg>
+ <svg [lucideIcon]="icons.LucideRotateCw"></svg>
</button>
<button (click)="openClearDialog()"
[tooltip]="'Clear events' | translate:locale.language"
@@ -71,10 +72,10 @@
@case ('action') {
<span class="d-flex align-items-center" [title]="t.actionText | translate:locale.language">
<span class="{{t.ok ? t.sideIconClass : 'circle-error-icon-sm'}} me-1">
- <svg [lucideIcon]="t.sideIcon"></svg>
+ <svg [lucideIcon]="t.sideIcon" class="fs-lg"></svg>
</span>
- <span [class.text-danger]="!t.ok" class="circle-gray-icon-sm cursor-pointer">
- <svg [lucideIcon]="t.actionIcon"></svg>
+ <span [class.text-danger]="!t.ok" class="circle-gray-icon-sm">
+ <svg [lucideIcon]="t.actionIcon" class="fs-lg"></svg>
</span>
</span>
}
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 29b44ee5..cc792999 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, LucideRedo2, LucideTrash2 } from '@lucide/angular'
+import { LucideArrowDown, LucideArrowUp, LucideDynamicIcon, LucideRotateCw, LucideTrash2 } from '@lucide/angular'
import { L10N_LOCALE, L10nLocale, L10nTranslateDirective, L10nTranslatePipe } from 'angular-l10n'
import { BsModalRef } from 'ngx-bootstrap/modal'
import { TooltipDirective } from 'ngx-bootstrap/tooltip'
@@ -52,7 +52,7 @@ export class SyncTransfersComponent {
protected tableHeaders: Record<'action' | 'sync' | 'file' | 'date', TableHeaderConfig> = {
action: {
label: 'Action',
- width: 11,
+ width: 8,
textCenter: false,
class: '',
show: true,
@@ -84,7 +84,7 @@ export class SyncTransfersComponent {
sortable: true
}
}
- protected readonly icons = { LucideRedo2, LucideTrash2, LucideArrowDown, LucideArrowUp }
+ protected readonly icons = { LucideRotateCw, LucideTrash2, LucideArrowDown, LucideArrowUp }
private readonly router = inject(Router)
private readonly layout = inject(LayoutService)
private readonly syncService = inject(SyncService)
diff --git a/frontend/src/app/applications/sync/components/utils/sync-path-direction-icon.component.ts b/frontend/src/app/applications/sync/components/utils/sync-path-direction-icon.component.ts
index f43f4710..283987ed 100644
--- a/frontend/src/app/applications/sync/components/utils/sync-path-direction-icon.component.ts
+++ b/frontend/src/app/applications/sync/components/utils/sync-path-direction-icon.component.ts
@@ -17,12 +17,12 @@ import { SyncPathModel } from '../../models/sync-path.model'
[class.me-1]="syncPath.settings.mode === SYNC_PATH_MODE.BOTH"
class="{{ small ? '' : SYNC_TRANSFER_SIDE_CLASS[SYNC_TRANSFER_SIDE.REMOTE] }}"
>
- <svg [lucideIcon]="SYNC_TRANSFER_SIDE_ICON[SYNC_TRANSFER_SIDE.REMOTE]"></svg>
+ <svg [class.fs-lg]="!small" [lucideIcon]="SYNC_TRANSFER_SIDE_ICON[SYNC_TRANSFER_SIDE.REMOTE]"></svg>
</span>
}
@if (syncPath.settings.mode === SYNC_PATH_MODE.DOWNLOAD || syncPath.settings.mode === SYNC_PATH_MODE.BOTH) {
<span class="{{ small ? '' : SYNC_TRANSFER_SIDE_CLASS[SYNC_TRANSFER_SIDE.LOCAL] }}">
- <svg [lucideIcon]="SYNC_TRANSFER_SIDE_ICON[SYNC_TRANSFER_SIDE.LOCAL]"></svg>
+ <svg [class.fs-lg]="!small" [lucideIcon]="SYNC_TRANSFER_SIDE_ICON[SYNC_TRANSFER_SIDE.LOCAL]"></svg>
</span>
}
}
diff --git a/frontend/src/app/applications/sync/components/wizard/sync-wizard-client.component.html b/frontend/src/app/applications/sync/components/wizard/sync-wizard-client.component.html
index f73df8d0..c3771938 100644
--- a/frontend/src/app/applications/sync/components/wizard/sync-wizard-client.component.html
+++ b/frontend/src/app/applications/sync/components/wizard/sync-wizard-client.component.html
@@ -27,8 +27,8 @@
</div>
}
</div>
- <div class="d-flex flex-column mt-4">
- <div class="d-flex align-items-start">
+ <div class="d-flex flex-column">
+ <div class="d-flex align-items-start wizard-actions">
<button (click)="onCancel()" class="btn btn-secondary me-auto" type="button" l10nTranslate>
<svg [lucideIcon]="icons.LucideCircleX"></svg>
Cancel
diff --git a/frontend/src/app/applications/sync/components/wizard/sync-wizard-server.component.html b/frontend/src/app/applications/sync/components/wizard/sync-wizard-server.component.html
index 7f581451..3a84d59e 100644
--- a/frontend/src/app/applications/sync/components/wizard/sync-wizard-server.component.html
+++ b/frontend/src/app/applications/sync/components/wizard/sync-wizard-server.component.html
@@ -1,6 +1,6 @@
<div class="wizard">
<div class="my-2">
- <div class="d-flex align-items-center justify-content-center fs-md" style="min-height: 40px">
+ <div class="d-flex {{selectedPath ? 'align-items-center' : 'align-items-start'}} justify-content-center fs-md" style="min-height: 30px">
@if (selectedPath) {
@if (selectedPath.icon) {
<span class="circle-{{selectedPath.iconClass}}-icon fs-md">
@@ -17,32 +17,31 @@
<div class="app-top-menu px-0">
<button (click)="onBack()"
[disabled]="!currentPath"
- class="btn btn-default"
+ class="btn btn-default me-1"
type="button">
<svg [lucideIcon]="icons.LucideCircleArrowLeft"></svg>
</button>
- <div class="text-warning mx-auto fs-sm">
- @if (infoMsg) {
- <span l10nTranslate>{{ infoMsg }}</span>
- }
- </div>
- <form class="row align-items-center">
+ <form class="d-flex align-items-center">
<div class="input-group">
+ <input (keyup.enter)="addDirectory()"
+ [(ngModel)]="newDirectoryName"
+ [disabled]="!canCreateDir"
+ [ngModelOptions]="{standalone: true}"
+ class="form-control"
+ [placeholder]="'New folder' | translate:locale.language" type="text">
<button (click)="addDirectory()"
- [hidden]="!canCreateDir"
- [disabled]="!newDirectoryName"
+ [disabled]="!canCreateDir || !newDirectoryName?.trim()"
class="btn btn-default input-group-text"
type="button">
<svg [lucideIcon]="icons.LucideFolderPlus"></svg>
</button>
- <input (keyup.enter)="addDirectory()"
- [(ngModel)]="newDirectoryName"
- [hidden]="!canCreateDir"
- [ngModelOptions]="{standalone: true}"
- class="form-control me-1"
- [placeholder]="'New folder' | translate:locale.language" type="text">
</div>
</form>
+ <div class="text-warning ms-3 me-auto fs-sm">
+ @if (infoMsg) {
+ <span l10nTranslate>{{ infoMsg }}</span>
+ }
+ </div>
</div>
<table class="app-table wizard-nav-header">
<thead>
@@ -55,7 +54,7 @@
</tr>
</thead>
</table>
- <div [resizeOffset]="250" appAutoResize [useMaxHeight]="false" class="wizard-nav-content">
+ <div [resizeOffset]="210" appAutoResize [useMaxHeight]="false" class="wizard-nav-content">
<table class="app-table">
<tbody tabindex="-1">
@for (p of currentPaths(); track p.id) {
@@ -81,7 +80,7 @@
</div>
</div>
<div class="mt-auto">
- <div class="d-flex align-items-start">
+ <div class="d-flex align-items-start wizard-actions">
<button (click)="onPrevious()" class="btn btn-default me-auto" type="button" l10nTranslate>
<svg [lucideIcon]="icons.LucideCircleArrowLeft"></svg>
Previous
diff --git a/frontend/src/app/applications/sync/components/wizard/sync-wizard-server.component.ts b/frontend/src/app/applications/sync/components/wizard/sync-wizard-server.component.ts
index d0f47173..7e0d6c60 100644
--- a/frontend/src/app/applications/sync/components/wizard/sync-wizard-server.component.ts
+++ b/frontend/src/app/applications/sync/components/wizard/sync-wizard-server.component.ts
@@ -126,9 +126,12 @@ export class SyncWizardServerComponent {
}
addDirectory() {
- this.filesService.make('directory', this.newDirectoryName, this.currentPath, true).subscribe({
+ const directoryName = this.newDirectoryName?.trim()
+ if (!this.canCreateDir || !directoryName) return
+
+ this.filesService.make('directory', directoryName, this.currentPath, true).subscribe({
next: () => {
- this.browse(this.currentPath, this.newDirectoryName)
+ this.browse(this.currentPath, directoryName)
.then(() => (this.newDirectoryName = ''))
.catch(console.error)
},
diff --git a/frontend/src/app/applications/sync/components/wizard/sync-wizard-settings.component.html b/frontend/src/app/applications/sync/components/wizard/sync-wizard-settings.component.html
index 24eace7e..86cd1025 100644
--- a/frontend/src/app/applications/sync/components/wizard/sync-wizard-settings.component.html
+++ b/frontend/src/app/applications/sync/components/wizard/sync-wizard-settings.component.html
@@ -1,5 +1,5 @@
<div class="wizard fs-md">
- <div class="wizard-settings-cards mb-3">
+ <div class="wizard-settings-cards">
<div class="card dialog-tab-card wizard-settings-card">
<div class="card-header wizard-settings-card-header">
<svg [lucideIcon]="icons.CLIENT"></svg>
@@ -60,8 +60,7 @@
<span l10nTranslate>(One-Way)</span>
}
</div>
- <br>
- <div class="text-center">
+ <div class="text-center mt-2">
@if (syncPath.settings.mode === SYNC_PATH_MODE.BOTH) {
<div>
<span l10nTranslate>In case of conflict,</span>
@@ -85,7 +84,7 @@
}
</div>
<div class="mt-auto">
- <div class="d-flex align-items-start">
+ <div class="d-flex align-items-start wizard-actions">
<button (click)="onPrevious()" class="btn btn-default me-auto" translate type="button">
<svg [lucideIcon]="icons.LucideCircleArrowLeft"></svg>
Previous
diff --git a/frontend/src/app/applications/sync/components/wizard/sync-wizard-settings.component.scss b/frontend/src/app/applications/sync/components/wizard/sync-wizard-settings.component.scss
index 80b5c69f..93f6c015 100644
--- a/frontend/src/app/applications/sync/components/wizard/sync-wizard-settings.component.scss
+++ b/frontend/src/app/applications/sync/components/wizard/sync-wizard-settings.component.scss
@@ -10,6 +10,7 @@
margin: 0;
border-radius: 0.8rem;
min-width: 0;
+ box-shadow: 0 3px 8px rgb(0 0 0 / 12%);
}
.wizard-settings-card-header {
diff --git a/frontend/src/app/applications/sync/sync.constants.ts b/frontend/src/app/applications/sync/sync.constants.ts
index ce09dee3..010f35c5 100644
--- a/frontend/src/app/applications/sync/sync.constants.ts
+++ b/frontend/src/app/applications/sync/sync.constants.ts
@@ -5,7 +5,7 @@ import { BehaviorSubject } from 'rxjs'
import { AppMenu } from '../../layout/layout.interfaces'
export const SYNC_TITLE = {
- SYNC: 'Sync',
+ SYNC: 'Synchronization',
SYNCS: 'Synchronizations',
TRANSFERS: 'Transfers',
WIZARD: 'Wizard',
@@ -37,7 +37,6 @@ export const SYNC_MENU: AppMenu = {
title: SYNC_TITLE.SYNC,
link: SYNC_PATH.BASE,
icon: SYNC_ICON.SYNC,
- iconAnimated: false,
checks: [{ prop: 'user', value: 'clientId' }],
count: { value: new BehaviorSubject<number>(0), level: 'warning' },
matchLink: new RegExp(`^${SYNC_PATH.BASE}`),
diff --git a/frontend/src/app/common/components/virtual-scroll.component.ts b/frontend/src/app/common/components/virtual-scroll.component.ts
index 62244e9b..f7116c66 100644
--- a/frontend/src/app/common/components/virtual-scroll.component.ts
+++ b/frontend/src/app/common/components/virtual-scroll.component.ts
@@ -56,7 +56,7 @@ export class VirtualScrollComponent<T> implements OnInit, OnChanges, OnDestroy {
@Input() resizeOffset = 134
@Input() galleryMode = false
@Input() items: T[] = []
- @Input() childHeight = 37
+ @Input() childHeight = 38
@Input() childWidth: number
@Input() bufferAmount = 0
protected viewPortItems: T[] = []
diff --git a/frontend/src/app/electron/electron.service.ts b/frontend/src/app/electron/electron.service.ts
index 939661e6..4794a559 100644
--- a/frontend/src/app/electron/electron.service.ts
+++ b/frontend/src/app/electron/electron.service.ts
@@ -202,20 +202,16 @@ export class Electron {
combineLatest([this.store.clientSyncs, this.store.clientSyncsWithErrors, toObservable(this.store.clientScheduler)]).subscribe(
([syncs, errors, scheduler]) => {
if (syncs.length) {
- SYNC_MENU.iconAnimated = true
SYNC_MENU.count.level = 'purple'
SYNC_MENU.count.value.next(syncs.length)
} else if (errors.find((s: SyncStatus) => s.lastErrors.length || !!s.mainError)) {
SYNC_MENU.count.level = 'danger'
SYNC_MENU.count.value.next('!')
- SYNC_MENU.iconAnimated = false
} else if (scheduler === CLIENT_SCHEDULER_STATE.DISABLED) {
SYNC_MENU.count.level = 'warning'
SYNC_MENU.count.value.next('!')
- SYNC_MENU.iconAnimated = false
} else {
SYNC_MENU.count.value.next(0)
- SYNC_MENU.iconAnimated = false
}
}
)
diff --git a/frontend/src/app/layout/sidebar/sidebar.left.component.html b/frontend/src/app/layout/sidebar/sidebar.left.component.html
index 39b47f9e..b94eb09c 100644
--- a/frontend/src/app/layout/sidebar/sidebar.left.component.html
+++ b/frontend/src/app/layout/sidebar/sidebar.left.component.html
@@ -3,7 +3,7 @@
<div class="menu-title">
<div class="menu-title-content">
<button (click)="toggleSideBar()" class="logo-toggle" type="button">
- <img alt="" class="logo-toggle-spin-in" [src]="logoIconUrl">
+ <img alt="" class="logo-toggle-spin-in" [class.icon-spin]="!!(store.clientSyncs | async)?.length" [src]="logoIconUrl">
</button>
<div class="sidebar-brand">
<span class="sidebar-app-name">{{ appName }}</span>
diff --git a/frontend/src/i18n/de.json b/frontend/src/i18n/de.json
index b090e1d9..9d718b4f 100644
--- a/frontend/src/i18n/de.json
+++ b/frontend/src/i18n/de.json
@@ -333,7 +333,6 @@
"Synchronization": "Synchronisierung",
"Synchronizations": "Synchronisierungen",
"Synchronize": "Synchronisieren",
- "Sync": "Sync",
"Stop synchronization": "Synchronisierung beenden",
"Synchronize all": "Alles synchronisieren",
"Stop synchronizations": "Synchronisierungen beenden",
diff --git a/frontend/src/i18n/es.json b/frontend/src/i18n/es.json
index 89efee94..fe0a9b73 100644
--- a/frontend/src/i18n/es.json
+++ b/frontend/src/i18n/es.json
@@ -333,7 +333,6 @@
"Synchronization": "Sincronización",
"Synchronizations": "Sincronizaciones",
"Synchronize": "Sincronizar",
- "Sync": "Sync",
"Stop synchronization": "Detener la sincronización",
"Synchronize all": "Sincronizar todo",
"Stop synchronizations": "Detener las sincronizaciones",
diff --git a/frontend/src/i18n/fr.json b/frontend/src/i18n/fr.json
index 0226350c..2355a5c2 100644
--- a/frontend/src/i18n/fr.json
+++ b/frontend/src/i18n/fr.json
@@ -333,7 +333,6 @@
"Synchronization": "Synchronisation",
"Synchronizations": "Synchronisations",
"Synchronize": "Synchroniser",
- "Sync": "Sync",
"Stop synchronization": "Arrêter la synchronisation",
"Synchronize all": "Synchroniser tout",
"Stop synchronizations": "Arrêter les synchronisations",
diff --git a/frontend/src/i18n/hi.json b/frontend/src/i18n/hi.json
index 948ba7f7..bc3a5a82 100644
--- a/frontend/src/i18n/hi.json
+++ b/frontend/src/i18n/hi.json
@@ -333,7 +333,6 @@
"Synchronization": "सिंक्रोनाइज़ेशन",
"Synchronizations": "सिंक्रोनाइज़ेशन",
"Synchronize": "सिंक्रोनाइज़ करें",
- "Sync": "Sync",
"Stop synchronization": "सिंक्रोनाइज़ेशन रोकें",
"Synchronize all": "सबको सिंक्रोनाइज़ करें",
"Stop synchronizations": "सभी सिंक्रोनाइज़ेशन रोकें",
diff --git a/frontend/src/i18n/it.json b/frontend/src/i18n/it.json
index edc8834e..ac3047a0 100644
--- a/frontend/src/i18n/it.json
+++ b/frontend/src/i18n/it.json
@@ -333,7 +333,6 @@
"Synchronization": "Sincronizzazione",
"Synchronizations": "Sincronizzazioni",
"Synchronize": "Sincronizza",
- "Sync": "Sync",
"Stop synchronization": "Interrompi sincronizzazione",
"Synchronize all": "Sincronizza tutto",
"Stop synchronizations": "Interrompi sincronizzazioni",
diff --git a/frontend/src/i18n/ja.json b/frontend/src/i18n/ja.json
index 922250e0..7b42a706 100644
--- a/frontend/src/i18n/ja.json
+++ b/frontend/src/i18n/ja.json
@@ -333,7 +333,6 @@
"Synchronization": "同期",
"Synchronizations": "同期",
"Synchronize": "同期",
- "Sync": "同期",
"Stop synchronization": "同期を停止",
"Synchronize all": "すべて同期",
"Stop synchronizations": "同期を停止",
diff --git a/frontend/src/i18n/ko.json b/frontend/src/i18n/ko.json
index 87ec66d9..d32d8d24 100644
--- a/frontend/src/i18n/ko.json
+++ b/frontend/src/i18n/ko.json
@@ -333,7 +333,6 @@
"Synchronization": "동기화",
"Synchronizations": "동기화",
"Synchronize": "동기화",
- "Sync": "동기화",
"Stop synchronization": "동기화 중지",
"Synchronize all": "모두 동기화",
"Stop synchronizations": "동기화 중지",
diff --git a/frontend/src/i18n/nl.json b/frontend/src/i18n/nl.json
index 65bf2db2..4fc29fb2 100644
--- a/frontend/src/i18n/nl.json
+++ b/frontend/src/i18n/nl.json
@@ -333,7 +333,6 @@
"Synchronization": "Synchronisatie",
"Synchronizations": "Synchronisaties",
"Synchronize": "Synchroniseren",
- "Sync": "Sync",
"Stop synchronization": "Synchronisatie stoppen",
"Synchronize all": "Alles synchroniseren",
"Stop synchronizations": "Synchronisaties stoppen",
diff --git a/frontend/src/i18n/pl.json b/frontend/src/i18n/pl.json
index 068688bf..c52f20c6 100644
--- a/frontend/src/i18n/pl.json
+++ b/frontend/src/i18n/pl.json
@@ -333,7 +333,6 @@
"Synchronization": "Synchronizacja",
"Synchronizations": "Synchronizacje",
"Synchronize": "Synchronizuj",
- "Sync": "Sync",
"Stop synchronization": "Zatrzymaj synchronizację",
"Synchronize all": "Synchronizuj wszystko",
"Stop synchronizations": "Zatrzymaj synchronizacje",
diff --git a/frontend/src/i18n/pt-BR.json b/frontend/src/i18n/pt-BR.json
index 1c2f37e7..4cf2d7c9 100644
--- a/frontend/src/i18n/pt-BR.json
+++ b/frontend/src/i18n/pt-BR.json
@@ -333,7 +333,6 @@
"Synchronization": "Sincronização",
"Synchronizations": "Sincronizações",
"Synchronize": "Sincronizar",
- "Sync": "Sync",
"Stop synchronization": "Parar sincronização",
"Synchronize all": "Sincronizar tudo",
"Stop synchronizations": "Parar sincronizações",
diff --git a/frontend/src/i18n/pt.json b/frontend/src/i18n/pt.json
index 41ceb5b4..689f10ab 100644
--- a/frontend/src/i18n/pt.json
+++ b/frontend/src/i18n/pt.json
@@ -333,7 +333,6 @@
"Synchronization": "Sincronização",
"Synchronizations": "Sincronizações",
"Synchronize": "Sincronizar",
- "Sync": "Sync",
"Stop synchronization": "Parar sincronização",
"Synchronize all": "Sincronizar tudo",
"Stop synchronizations": "Parar sincronizações",
diff --git a/frontend/src/i18n/ru.json b/frontend/src/i18n/ru.json
index bd9f6ff3..4694a8f8 100644
--- a/frontend/src/i18n/ru.json
+++ b/frontend/src/i18n/ru.json
@@ -333,7 +333,6 @@
"Synchronization": "Синхронизация",
"Synchronizations": "Синхронизации",
"Synchronize": "Синхронизировать",
- "Sync": "Синхронизация",
"Stop synchronization": "Остановить синхронизацию",
"Synchronize all": "Синхронизировать всё",
"Stop synchronizations": "Остановить все синхронизации",
diff --git a/frontend/src/i18n/tr.json b/frontend/src/i18n/tr.json
index 23756997..51d4b8bf 100644
--- a/frontend/src/i18n/tr.json
+++ b/frontend/src/i18n/tr.json
@@ -333,7 +333,6 @@
"Synchronization": "Eşitleme",
"Synchronizations": "Eşitlemeler",
"Synchronize": "Eşitle",
- "Sync": "Eşitle",
"Stop synchronization": "Eşitlemeyi durdur",
"Synchronize all": "Tümünü eşitle",
"Stop synchronizations": "Eşitlemeleri durdur",
diff --git a/frontend/src/i18n/zh.json b/frontend/src/i18n/zh.json
index 2be7c11b..c2724482 100644
--- a/frontend/src/i18n/zh.json
+++ b/frontend/src/i18n/zh.json
@@ -333,7 +333,6 @@
"Synchronization": "同步",
"Synchronizations": "同步任务",
"Synchronize": "同步",
- "Sync": "Sync",
"Stop synchronization": "停止同步",
"Synchronize all": "全部同步",
"Stop synchronizations": "停止所有同步",
diff --git a/frontend/src/styles/components/_app.scss b/frontend/src/styles/components/_app.scss
index 8564a53e..9a7a750c 100755
--- a/frontend/src/styles/components/_app.scss
+++ b/frontend/src/styles/components/_app.scss
@@ -142,7 +142,7 @@
.app-table {
--app-table-cell-inline-padding: .5rem;
--app-table-leading-icon-gap: .3rem;
- --app-table-row-height: 37px;
+ --app-table-row-height: 38px;
@extend .table;
@include no-select-utility;
diff --git a/frontend/src/styles/components/_mixins.scss b/frontend/src/styles/components/_mixins.scss
index b006c5d9..6aa52bfb 100644
--- a/frontend/src/styles/components/_mixins.scss
+++ b/frontend/src/styles/components/_mixins.scss
@@ -86,7 +86,7 @@
}
@mixin circle-icon-sm-utility {
- min-width: 23px;
- min-height: 23px;
+ min-width: 26px;
+ min-height: 26px;
font-size: $font-size-sm;
}
diff --git a/frontend/src/styles/components/_sidebar_left_collapse.scss b/frontend/src/styles/components/_sidebar_left_collapse.scss
index f123f9fb..b7f837f3 100755
--- a/frontend/src/styles/components/_sidebar_left_collapse.scss
+++ b/frontend/src/styles/components/_sidebar_left_collapse.scss
@@ -32,6 +32,10 @@
> img.logo-toggle-spin-in {
animation: logo-toggle-spin-in .45s $transition-fn both;
transform-origin: 50% 50%;
+
+ &.icon-spin {
+ animation: icon-spin 1s infinite linear reverse;
+ }
}
}
}
diff --git a/frontend/src/styles/components/_sidebar_right.scss b/frontend/src/styles/components/_sidebar_right.scss
index 09a2483c..89c86885 100755
--- a/frontend/src/styles/components/_sidebar_right.scss
+++ b/frontend/src/styles/components/_sidebar_right.scss
@@ -32,7 +32,7 @@
.sidebar-component-title {
.lucide {
- font-size: 1.0625rem;
+ font-size: $font-size-xl;
}
> span {
diff --git a/frontend/src/styles/components/_wizard.scss b/frontend/src/styles/components/_wizard.scss
index 083ecb24..bd0f2b6a 100644
--- a/frontend/src/styles/components/_wizard.scss
+++ b/frontend/src/styles/components/_wizard.scss
@@ -41,6 +41,16 @@
background: transparent !important;
}
+ .wizard-actions .btn {
+ min-height: 35px;
+ padding: .3rem .75rem;
+ font-size: $font-size-base;
+
+ > .lucide {
+ font-size: $font-size-lg;
+ }
+ }
+
.area {
padding: 15px;
height: 100%;
@@ -51,7 +61,7 @@
border: 2px dashed $gray;
border-radius: $border-radius-base;
padding: 80px;
- font-size: 1.875rem;
+ font-size: 1.5rem;
font-weight: 600;
color: $gray;
height: 100%;