Skip to content

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

feat(frontend:layout): improve right sidebar navigation and selection flow

johaven59c016381e19
diff --git a/frontend/src/app/applications/files/components/sidebar/files-clipboard.component.html b/frontend/src/app/applications/files/components/sidebar/files-clipboard.component.html
index f635fbca..f8221b52 100644
--- a/frontend/src/app/applications/files/components/sidebar/files-clipboard.component.html
+++ b/frontend/src/app/applications/files/components/sidebar/files-clipboard.component.html
@@ -1,14 +1,18 @@
-<div class="sidebar-component-title justify-content-between">
- <fa-icon class="cursor-pointer"
- [icon]="icons.faQuestion"
- [tooltip]="'Actions will be performed in the current folder' | translate:locale.language"
- container="body"
- placement="left">
- </fa-icon>
- <div l10nTranslate>Clipboard</div>
- <button (click)="clearAll()" class="btn btn-sm btn-default">
- <fa-icon [icon]="icons.faTrashCan"></fa-icon>
- </button>
+<div class="sidebar-component-title justify-content-between position-relative">
+ <div class="sidebar-component-title-side">
+ <fa-icon class="cursor-pointer"
+ [icon]="icons.faQuestion"
+ [tooltip]="'Actions will be performed in the current folder' | translate:locale.language"
+ container="body"
+ placement="left">
+ </fa-icon>
+ </div>
+ <div class="sidebar-component-title-label" l10nTranslate>Clipboard</div>
+ <div class="sidebar-component-title-side">
+ <button (click)="clearAll()" class="btn btn-sm btn-default" type="button">
+ <fa-icon [icon]="icons.faTimes"></fa-icon>
+ </button>
+ </div>
</div>
@if (files.length) {
<div class="px-2 pt-2 pb-2 fs-xs">
diff --git a/frontend/src/app/applications/files/components/sidebar/files-clipboard.component.ts b/frontend/src/app/applications/files/components/sidebar/files-clipboard.component.ts
index cb30b1e4..f9bb8b55 100644
--- a/frontend/src/app/applications/files/components/sidebar/files-clipboard.component.ts
+++ b/frontend/src/app/applications/files/components/sidebar/files-clipboard.component.ts
@@ -2,7 +2,7 @@ import { KeyValuePipe } from '@angular/common'
import { Component, inject, OnDestroy } from '@angular/core'
import { FormsModule } from '@angular/forms'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
-import { faArrowsAlt, faClone, faDownload, faQuestion, faTimes, faTrashCan } from '@fortawesome/free-solid-svg-icons'
+import { faArrowsAlt, faClone, faDownload, faQuestion, faTimes } from '@fortawesome/free-solid-svg-icons'
import { TAR_EXTENSION } from '@sync-in-server/backend/src/applications/files/constants/compress'
import { FILE_OPERATION } from '@sync-in-server/backend/src/applications/files/constants/operations'
import type { CompressFileDto } from '@sync-in-server/backend/src/applications/files/dto/file-operations.dto'
@@ -26,7 +26,7 @@ import { FilesCompressionDialogComponent } from '../dialogs/files-compression-di
})
export class FilesClipboardComponent implements OnDestroy {
protected readonly locale = inject<L10nLocale>(L10N_LOCALE)
- protected readonly icons = { faTrashCan, faTimes, faDownload, faArrowsAlt, faClone, faQuestion }
+ protected readonly icons = { faTimes, faDownload, faArrowsAlt, faClone, faQuestion }
protected readonly originalOrderKeyValue = originalOrderKeyValue
protected operations = {
copyPaste: { text: 'Copy-Paste', operation: FILE_OPERATION.COPY },
diff --git a/frontend/src/app/applications/files/components/sidebar/files-selection.component.ts b/frontend/src/app/applications/files/components/sidebar/files-selection.component.ts
index bb192126..f7f51412 100755
--- a/frontend/src/app/applications/files/components/sidebar/files-selection.component.ts
+++ b/frontend/src/app/applications/files/components/sidebar/files-selection.component.ts
@@ -110,6 +110,7 @@ export class FilesSelectionComponent {
addToClipboard() {
this.filesService.addToClipboard(this.files())
+ this.filesService.fileSelectionClear.next()
this.layout.showRSideBarTab(TAB_MENU.CLIPBOARD, true)
}
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 1d5f0626..a9545ef6 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
@@ -24,7 +24,7 @@
</button>
}
<button type="button" (click)="removeTasks()" class="btn btn-sm btn-default">
- <fa-icon [icon]="icons.faTrashAlt"></fa-icon>
+ <fa-icon [icon]="icons.faTimes"></fa-icon>
</button>
</div>
} @else {
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 3504f2c9..4db829ce 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
@@ -14,7 +14,7 @@ import {
faGlobe,
faSpinner,
faStop,
- faTrashAlt
+ faTimes
} from '@fortawesome/free-solid-svg-icons'
import { FILE_OPERATION } from '@sync-in-server/backend/src/applications/files/constants/operations'
import { FileTask, FileTaskStatus } from '@sync-in-server/backend/src/applications/files/models/file-task'
@@ -39,7 +39,7 @@ import { TimeAgoPipe } from '../../../../common/pipes/time-ago.pipe'
})
export class FilesTasksComponent implements OnDestroy {
protected readonly locale = inject<L10nLocale>(L10N_LOCALE)
- protected readonly icons = { faTrashAlt, faFlag, faClock, faFile, faFolderClosed, faStop }
+ protected readonly icons = { faTimes, faFlag, faClock, faFile, faFolderClosed, faStop }
protected readonly iconsStatus: Record<FileTaskStatus, IconDefinition> = {
[FileTaskStatus.PENDING]: faSpinner,
[FileTaskStatus.SUCCESS]: faCheck,
diff --git a/frontend/src/app/applications/files/components/sidebar/files-tree.component.html b/frontend/src/app/applications/files/components/sidebar/files-tree.component.html
index 499c9e88..32fbc994 100644
--- a/frontend/src/app/applications/files/components/sidebar/files-tree.component.html
+++ b/frontend/src/app/applications/files/components/sidebar/files-tree.component.html
@@ -1,15 +1,18 @@
@if (sideBarHeader) {
- <div class="sidebar-component-title justify-content-between">
- <div>
+ <div class="sidebar-component-title justify-content-between position-relative">
+ <div class="sidebar-component-title-side"></div>
+ <div class="sidebar-component-title-label">
@if (errorMsg) {
<span class="text-danger fs-sm p-1" l10nTranslate>{{ errorMsg }}</span>
} @else {
- <span l10nTranslate>Navigation Tree</span>
+ <span l10nTranslate>Navigation</span>
}
</div>
- <button (click)="onRefresh()" class="btn btn-sm btn-default">
- <fa-icon [icon]="icons.faArrowRotateRight"></fa-icon>
- </button>
+ <div class="sidebar-component-title-side">
+ <button (click)="onRefresh()" class="btn btn-sm btn-default" type="button">
+ <fa-icon [icon]="icons.faArrowRotateRight"></fa-icon>
+ </button>
+ </div>
</div>
}
@if (copyMoveOn) {
diff --git a/frontend/src/app/applications/files/services/files.service.ts b/frontend/src/app/applications/files/services/files.service.ts
index c6fbc4cd..f7b88040 100644
--- a/frontend/src/app/applications/files/services/files.service.ts
+++ b/frontend/src/app/applications/files/services/files.service.ts
@@ -66,6 +66,7 @@ export class FilesService {
public readonly treeCopyMoveOn = this.treeCopyMoveRequested.pipe(filter(Boolean))
// Selection section
public readonly fileSelectionRemove = new Subject<FileModel>()
+ public readonly fileSelectionClear = new Subject<void>()
// Clipboard section
public clipboardAction: 'copyPaste' | 'cutPaste' = 'copyPaste'
// Files
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 5ba2d0a5..29bbe119 100644
--- a/frontend/src/app/applications/notifications/components/sidebar/notifications.component.html
+++ b/frontend/src/app/applications/notifications/components/sidebar/notifications.component.html
@@ -1,13 +1,13 @@
<div class="sidebar-component-title justify-content-between position-relative">
- <div class="d-flex align-items-center justify-content-start" style="min-width: 35px">
+ <div class="sidebar-component-title-side">
@if (store.notifications().length) {
<div class="badge bg-warning">{{ store.notifications().length }}</div>
}
</div>
- <div class="position-absolute start-50 translate-middle-x" l10nTranslate>Notifications</div>
- <div class="d-flex align-items-center justify-content-end" style="min-width: 35px">
+ <div class="sidebar-component-title-label" l10nTranslate>Notifications</div>
+ <div class="sidebar-component-title-side">
@if (store.notifications().length) {
- <button (click)="removeAll()" class="btn btn-sm btn-default">
+ <button (click)="removeAll()" class="btn btn-sm btn-default" type="button">
<fa-icon [icon]="icons.faTrashAlt"></fa-icon>
</button>
}
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 c55ed364..be71a3bf 100644
--- a/frontend/src/app/applications/spaces/components/spaces-browser.component.ts
+++ b/frontend/src/app/applications/spaces/components/spaces-browser.component.ts
@@ -290,6 +290,7 @@ export class SpacesBrowserComponent implements OnInit, AfterViewInit, OnDestroy
this.subscriptions.push(
this.filesService.fileSelectionRemove.subscribe((file) => this.setSelection(this.selection.filter((selected) => selected !== file)))
)
+ this.subscriptions.push(this.filesService.fileSelectionClear.subscribe(() => this.resetFilesSelection()))
}
ngAfterViewInit() {
diff --git a/frontend/src/app/applications/spaces/components/spaces-nav.component.ts b/frontend/src/app/applications/spaces/components/spaces-nav.component.ts
index 2d53d7b2..d7db061e 100644
--- a/frontend/src/app/applications/spaces/components/spaces-nav.component.ts
+++ b/frontend/src/app/applications/spaces/components/spaces-nav.component.ts
@@ -1,8 +1,8 @@
import { Component, computed, inject, OnDestroy } from '@angular/core'
import { toObservable } from '@angular/core/rxjs-interop'
import { RouterOutlet } from '@angular/router'
-import { faCommentDots } from '@fortawesome/free-regular-svg-icons'
-import { faClipboardList, faFolderTree, faInfo } from '@fortawesome/free-solid-svg-icons'
+import { faCommentDots, faRectangleList, faSquareCheck } from '@fortawesome/free-regular-svg-icons'
+import { faFolderTree } from '@fortawesome/free-solid-svg-icons'
import { map } from 'rxjs/operators'
import { TAB_GROUP, TAB_MENU, TabMenu } from '../../../layout/layout.interfaces'
import { LayoutService } from '../../../layout/layout.service'
@@ -22,11 +22,12 @@ export class SpacesNavComponent implements OnDestroy {
private readonly layout = inject(LayoutService)
private readonly store = inject(StoreService)
private tabs: TabMenu[] = [
+ { label: TAB_MENU.TREE, components: [FilesTreeComponent], loadComponent: true, icon: faFolderTree, title: null, active: false },
{
label: TAB_MENU.SELECTION,
components: [SelectionComponent],
loadComponent: false,
- icon: faInfo,
+ icon: faSquareCheck,
count: {
value: toObservable(
computed(() =>
@@ -35,21 +36,20 @@ export class SpacesNavComponent implements OnDestroy {
),
level: 'primary'
},
- title: 'Info',
+ title: null,
active: false
},
- { label: TAB_MENU.TREE, components: [FilesTreeComponent], loadComponent: true, icon: faFolderTree, title: null, active: false },
- { label: TAB_MENU.COMMENTS, components: [CommentsSelectionComponent], loadComponent: false, icon: faCommentDots, title: null, active: false },
{
label: TAB_MENU.CLIPBOARD,
components: [FilesClipboardComponent],
loadComponent: false,
- icon: faClipboardList,
+ icon: faRectangleList,
count: { value: this.store.filesClipboard.pipe(map((files: FileModel[]) => files.length)), level: 'maroon' },
showOnCount: true,
title: null,
active: false
- }
+ },
+ { label: TAB_MENU.COMMENTS, components: [CommentsSelectionComponent], loadComponent: false, icon: faCommentDots, title: null, active: false }
]
constructor() {
diff --git a/frontend/src/app/layout/sidebar/components/selection.component.html b/frontend/src/app/layout/sidebar/components/selection.component.html
index f7262435..e802c07d 100644
--- a/frontend/src/app/layout/sidebar/components/selection.component.html
+++ b/frontend/src/app/layout/sidebar/components/selection.component.html
@@ -1,3 +1,17 @@
+<div class="sidebar-component-title justify-content-between position-relative">
+ <div class="sidebar-component-title-side"></div>
+ <div class="sidebar-component-title-label" l10nTranslate>Selection</div>
+ <div class="sidebar-component-title-side">
+ @if (selectionType() === SPACES_PATH.FILES && store.filesSelection().length > 1) {
+ <button (click)="clearSelection()"
+ class="btn btn-sm btn-default"
+ type="button"
+ aria-label="Clear selection">
+ <fa-icon [icon]="faTimes"></fa-icon>
+ </button>
+ }
+ </div>
+</div>
@switch (selectionType()) {
@case (SPACES_PATH.FILES) {
<app-files-selection [files]="store.filesSelection()"></app-files-selection>
diff --git a/frontend/src/app/layout/sidebar/components/selection.component.ts b/frontend/src/app/layout/sidebar/components/selection.component.ts
index 5b054353..b8ab664a 100644
--- a/frontend/src/app/layout/sidebar/components/selection.component.ts
+++ b/frontend/src/app/layout/sidebar/components/selection.component.ts
@@ -1,22 +1,40 @@
import { ChangeDetectionStrategy, Component, computed, inject, Signal } from '@angular/core'
+import { FaIconComponent } from '@fortawesome/angular-fontawesome'
+import { faTimes } from '@fortawesome/free-solid-svg-icons'
+import { L10nTranslateDirective } from 'angular-l10n'
import { FilesSelectionComponent } from '../../../applications/files/components/sidebar/files-selection.component'
+import { FilesService } from '../../../applications/files/services/files.service'
import { LinkSelectionComponent } from '../../../applications/links/components/sidebar/link-selection.component'
import { ShareSelectionComponent } from '../../../applications/shares/components/sidebar/share-selection.component'
import { SpaceSelectionComponent } from '../../../applications/spaces/components/sidebar/space-selection.component'
import { TrashSelectionComponent } from '../../../applications/spaces/components/sidebar/trash-selection.component'
import { SPACES_PATH } from '../../../applications/spaces/spaces.constants'
+import { LayoutService } from '../../layout.service'
import { StoreService } from '../../../store/store.service'
@Component({
selector: 'app-selection',
changeDetection: ChangeDetectionStrategy.OnPush,
- imports: [FilesSelectionComponent, ShareSelectionComponent, SpaceSelectionComponent, TrashSelectionComponent, LinkSelectionComponent],
+ imports: [
+ FilesSelectionComponent,
+ ShareSelectionComponent,
+ SpaceSelectionComponent,
+ TrashSelectionComponent,
+ LinkSelectionComponent,
+ FaIconComponent,
+ L10nTranslateDirective
+ ],
templateUrl: 'selection.component.html'
})
export class SelectionComponent {
protected readonly store = inject(StoreService)
- protected SPACES_PATH = SPACES_PATH
- protected selectionType: Signal<(typeof SPACES_PATH)[keyof typeof SPACES_PATH]> = computed(() => this.setRepository(this.store.repository()))
+ private readonly filesService = inject(FilesService)
+ private readonly layout = inject(LayoutService)
+ protected readonly faTimes = faTimes
+ protected readonly SPACES_PATH = SPACES_PATH
+ protected readonly selectionType: Signal<(typeof SPACES_PATH)[keyof typeof SPACES_PATH]> = computed(() =>
+ this.setRepository(this.store.repository())
+ )
private setRepository(repository: string) {
if ([SPACES_PATH.SPACES, SPACES_PATH.SHARED, SPACES_PATH.LINKS, SPACES_PATH.TRASHES].indexOf(repository) > -1) {
@@ -24,4 +42,9 @@ export class SelectionComponent {
}
return SPACES_PATH.FILES
}
+
+ protected clearSelection() {
+ this.layout.toggleRSideBar(false)
+ this.filesService.fileSelectionClear.next()
+ }
}
diff --git a/frontend/src/app/layout/sidebar/components/windows.component.html b/frontend/src/app/layout/sidebar/components/windows.component.html
index fd49ae3c..74ea5e9c 100755
--- a/frontend/src/app/layout/sidebar/components/windows.component.html
+++ b/frontend/src/app/layout/sidebar/components/windows.component.html
@@ -1,10 +1,13 @@
-<div class="sidebar-component-title">
- @if (windows.length) {
- <button (click)="onCloseAll()" class="btn btn-default">
- <fa-icon [icon]="icons.faXmark"></fa-icon>
- </button>
- }
- <span l10nTranslate>Windows Manager</span>
+<div class="sidebar-component-title justify-content-between position-relative">
+ <div class="sidebar-component-title-side"></div>
+ <div class="sidebar-component-title-label" l10nTranslate>Windows Manager</div>
+ <div class="sidebar-component-title-side">
+ @if (windows.length) {
+ <button (click)="onCloseAll()" class="btn btn-sm btn-default" type="button" aria-label="Close all windows">
+ <fa-icon [icon]="icons.faTimes"></fa-icon>
+ </button>
+ }
+ </div>
</div>
<div class="sidebar-item" appAutoResize>
@for (modal of windows; track modal.id) {
diff --git a/frontend/src/app/layout/sidebar/components/windows.component.ts b/frontend/src/app/layout/sidebar/components/windows.component.ts
index 632cf39b..f719b7c2 100755
--- a/frontend/src/app/layout/sidebar/components/windows.component.ts
+++ b/frontend/src/app/layout/sidebar/components/windows.component.ts
@@ -1,7 +1,7 @@
import { NgOptimizedImage } from '@angular/common'
import { Component, inject, OnDestroy } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
-import { faTimes, faXmark } from '@fortawesome/free-solid-svg-icons'
+import { faTimes } from '@fortawesome/free-solid-svg-icons'
import { L10nTranslateDirective } from 'angular-l10n'
import { Subscription } from 'rxjs'
import { AutoResizeDirective } from '../../../common/directives/auto-resize.directive'
@@ -14,7 +14,7 @@ import { LayoutService } from '../../layout.service'
templateUrl: 'windows.component.html'
})
export class WindowsComponent implements OnDestroy {
- protected readonly icons = { faXmark, faTimes }
+ protected readonly icons = { faTimes }
protected windows: AppWindow[] = []
private readonly layout = inject(LayoutService)
private readonly subscription: Subscription = null
diff --git a/frontend/src/i18n/de.json b/frontend/src/i18n/de.json
index 0db960db..c97b474a 100644
--- a/frontend/src/i18n/de.json
+++ b/frontend/src/i18n/de.json
@@ -344,6 +344,7 @@
"Save in the current directory": "Im aktuellen Verzeichnis speichern",
"This name is already used": "Dieser Name wird bereits verwendet",
"Info": "Info",
+ "Selection": "Auswahl",
"Size": "Größe",
"Modified": "Geändert",
"modified": "geändert",
@@ -378,7 +379,7 @@
"This item is already selected": "Dieses Element ist bereits ausgewählt",
"Parent item is already selected": "Übergeordnetes Element ist bereits ausgewählt",
"This file contains binary data that can not be read": "Diese Datei enthält Binärdaten, die nicht gelesen werden können",
- "Navigation Tree": "Navigationsstruktur",
+ "Navigation": "Navigation",
"item": "element",
"items": "elemente",
"create": "erstellen",
diff --git a/frontend/src/i18n/es.json b/frontend/src/i18n/es.json
index 660a4494..3716d0fd 100644
--- a/frontend/src/i18n/es.json
+++ b/frontend/src/i18n/es.json
@@ -344,6 +344,7 @@
"Save in the current directory": "Guardar en el directorio actual",
"This name is already used": "Este nombre ya está utilizado",
"Info": "Info",
+ "Selection": "Selección",
"Size": "Tamaño",
"Modified": "Modificado",
"modified": "modificado",
@@ -378,7 +379,7 @@
"This item is already selected": "Este elemento ya está seleccionado",
"Parent item is already selected": "El elemento padre ya está seleccionado",
"This file contains binary data that can not be read": "Este archivo contiene datos binarios que no se pueden leer",
- "Navigation Tree": "Árbol de navegación",
+ "Navigation": "Navegación",
"item": "elemento",
"items": "elementos",
"create": "crear",
diff --git a/frontend/src/i18n/fr.json b/frontend/src/i18n/fr.json
index 58f0e108..8a014084 100644
--- a/frontend/src/i18n/fr.json
+++ b/frontend/src/i18n/fr.json
@@ -344,6 +344,7 @@
"Save in the current directory": "Enregistrer dans le répertoire actuel",
"This name is already used": "Ce nom est déjà utilisé",
"Info": "Info",
+ "Selection": "Sélection",
"Size": "Taille",
"Modified": "Modifié",
"modified": "modifié",
@@ -378,7 +379,7 @@
"This item is already selected": "Ce fichier est déjà sélectionné",
"Parent item is already selected": "L'élément parent est déjà sélectionné",
"This file contains binary data that can not be read": "Ce fichier contient des données binaires qu'il n'est pas possible de lire",
- "Navigation Tree": "Arborescence de navigation",
+ "Navigation": "Navigation",
"item": "élément",
"items": "éléments",
"create": "créer",
diff --git a/frontend/src/i18n/hi.json b/frontend/src/i18n/hi.json
index 936e1c9b..3b464fc2 100644
--- a/frontend/src/i18n/hi.json
+++ b/frontend/src/i18n/hi.json
@@ -344,6 +344,7 @@
"Save in the current directory": "वर्तमान निर्देशिका में सहेजें",
"This name is already used": "यह नाम पहले से उपयोग में है",
"Info": "जानकारी",
+ "Selection": "चयन",
"Size": "आकार",
"Modified": "संशोधित",
"modified": "संशोधित",
@@ -378,7 +379,7 @@
"This item is already selected": "यह तत्व पहले से चयनित है",
"Parent item is already selected": "अभिभावक तत्व पहले से चयनित है",
"This file contains binary data that can not be read": "इस फ़ाइल में ऐसा बाइनरी डेटा है जिसे पढ़ा नहीं जा सकता",
- "Navigation Tree": "नेविगेशन ट्री",
+ "Navigation": "नेविगेशन",
"item": "तत्व",
"items": "तत्व",
"create": "बनाएँ",
diff --git a/frontend/src/i18n/it.json b/frontend/src/i18n/it.json
index 50a5b2e7..c7eafbb8 100644
--- a/frontend/src/i18n/it.json
+++ b/frontend/src/i18n/it.json
@@ -344,6 +344,7 @@
"Save in the current directory": "Salva nella directory corrente",
"This name is already used": "Questo nome è già utilizzato",
"Info": "Info",
+ "Selection": "Selezione",
"Size": "Dimensione",
"Modified": "Modificato",
"modified": "modificato",
@@ -378,7 +379,7 @@
"This item is already selected": "Questo elemento è già selezionato",
"Parent item is already selected": "L’elemento padre è già selezionato",
"This file contains binary data that can not be read": "Questo file contiene dati binari che non possono essere letti",
- "Navigation Tree": "Albero di navigazione",
+ "Navigation": "Navigazione",
"item": "elemento",
"items": "elementi",
"create": "creare",
diff --git a/frontend/src/i18n/ja.json b/frontend/src/i18n/ja.json
index e10ec704..5bd58945 100644
--- a/frontend/src/i18n/ja.json
+++ b/frontend/src/i18n/ja.json
@@ -344,6 +344,7 @@
"Save in the current directory": "現在のディレクトリに保存",
"This name is already used": "この名前は既に使用されています",
"Info": "情報",
+ "Selection": "選択",
"Size": "サイズ",
"Modified": "変更日時",
"modified": "変更済み",
@@ -378,7 +379,7 @@
"This item is already selected": "この項目は既に選択されています",
"Parent item is already selected": "親項目は既に選択されています",
"This file contains binary data that can not be read": "このファイルには読み取れないバイナリデータが含まれています",
- "Navigation Tree": "ナビゲーションツリー",
+ "Navigation": "ナビゲーション",
"item": "項目",
"items": "項目",
"create": "作成",
diff --git a/frontend/src/i18n/ko.json b/frontend/src/i18n/ko.json
index c565ad49..a89efc4b 100644
--- a/frontend/src/i18n/ko.json
+++ b/frontend/src/i18n/ko.json
@@ -344,6 +344,7 @@
"Save in the current directory": "현재 디렉터리에 저장",
"This name is already used": "이 이름은 이미 사용 중입니다",
"Info": "정보",
+ "Selection": "선택",
"Size": "크기",
"Modified": "수정됨",
"modified": "수정됨",
@@ -378,7 +379,7 @@
"This item is already selected": "이 항목은 이미 선택되었습니다",
"Parent item is already selected": "상위 항목이 이미 선택되었습니다",
"This file contains binary data that can not be read": "이 파일에는 읽을 수 없는 바이너리 데이터가 포함되어 있습니다",
- "Navigation Tree": "탐색 트리",
+ "Navigation": "탐색",
"item": "항목",
"items": "항목",
"create": "생성",
diff --git a/frontend/src/i18n/nl.json b/frontend/src/i18n/nl.json
index 347f6c4c..6a1564e0 100644
--- a/frontend/src/i18n/nl.json
+++ b/frontend/src/i18n/nl.json
@@ -344,6 +344,7 @@
"Save in the current directory": "Opslaan in de huidige map",
"This name is already used": "Deze naam is al in gebruik",
"Info": "Info",
+ "Selection": "Selectie",
"Size": "Grootte",
"Modified": "Gewijzigd",
"modified": "gewijzigd",
@@ -378,7 +379,7 @@
"This item is already selected": "Dit item is al geselecteerd",
"Parent item is already selected": "Bovenliggende item is al geselecteerd",
"This file contains binary data that can not be read": "Dit bestand bevat onleesbare binaire gegevens",
- "Navigation Tree": "Navigatiestructuur",
+ "Navigation": "Navigatie",
"item": "item",
"items": "items",
"create": "aanmaken",
diff --git a/frontend/src/i18n/pl.json b/frontend/src/i18n/pl.json
index e741c414..fb15ea6a 100644
--- a/frontend/src/i18n/pl.json
+++ b/frontend/src/i18n/pl.json
@@ -344,6 +344,7 @@
"Save in the current directory": "Zapisz w bieżącym katalogu",
"This name is already used": "Ta nazwa jest już używana",
"Info": "Info",
+ "Selection": "Zaznaczenie",
"Size": "Rozmiar",
"Modified": "Zmodyfikowano",
"modified": "zmodyfikowano",
@@ -378,7 +379,7 @@
"This item is already selected": "Ten element jest już zaznaczony",
"Parent item is already selected": "Element nadrzędny jest już zaznaczony",
"This file contains binary data that can not be read": "Ten plik zawiera dane binarne, których nie można odczytać",
- "Navigation Tree": "Drzewo nawigacji",
+ "Navigation": "Nawigacja",
"item": "element",
"items": "elementy",
"create": "utwórz",
diff --git a/frontend/src/i18n/pt-BR.json b/frontend/src/i18n/pt-BR.json
index 05d4f2ec..c230cde0 100644
--- a/frontend/src/i18n/pt-BR.json
+++ b/frontend/src/i18n/pt-BR.json
@@ -344,6 +344,7 @@
"Save in the current directory": "Salvar no diretório atual",
"This name is already used": "Este nome já está em uso",
"Info": "Info",
+ "Selection": "Seleção",
"Size": "Tamanho",
"Modified": "Modificado",
"modified": "modificado",
@@ -378,7 +379,7 @@
"This item is already selected": "Este item já está selecionado",
"Parent item is already selected": "O item pai já está selecionado",
"This file contains binary data that can not be read": "Este arquivo contém dados binários que não podem ser lidos",
- "Navigation Tree": "Árvore de navegação",
+ "Navigation": "Navegação",
"item": "item",
"items": "itens",
"create": "criar",
diff --git a/frontend/src/i18n/pt.json b/frontend/src/i18n/pt.json
index a08fceca..f27a8882 100644
--- a/frontend/src/i18n/pt.json
+++ b/frontend/src/i18n/pt.json
@@ -344,6 +344,7 @@
"Save in the current directory": "Salvar no diretório atual",
"This name is already used": "Este nome já está em uso",
"Info": "Info",
+ "Selection": "Seleção",
"Size": "Tamanho",
"Modified": "Modificado",
"modified": "modificado",
@@ -378,7 +379,7 @@
"This item is already selected": "Este item já está selecionado",
"Parent item is already selected": "O item pai já está selecionado",
"This file contains binary data that can not be read": "Este arquivo contém dados binários que não podem ser lidos",
- "Navigation Tree": "Árvore de navegação",
+ "Navigation": "Navegação",
"item": "item",
"items": "itens",
"create": "criar",
diff --git a/frontend/src/i18n/ru.json b/frontend/src/i18n/ru.json
index 41fe3461..ab9d3124 100644
--- a/frontend/src/i18n/ru.json
+++ b/frontend/src/i18n/ru.json
@@ -344,6 +344,7 @@
"Save in the current directory": "Сохранить в текущую папку",
"This name is already used": "Это имя уже используется",
"Info": "Инфо",
+ "Selection": "Выбор",
"Size": "Размер",
"Modified": "Изменено",
"modified": "изменено",
@@ -378,7 +379,7 @@
"This item is already selected": "Этот элемент уже выбран",
"Parent item is already selected": "Родительский элемент уже выбран",
"This file contains binary data that can not be read": "Файл содержит бинарные данные, которые невозможно прочитать",
- "Navigation Tree": "Дерево навигации",
+ "Navigation": "Навигация",
"item": "элемент",
"items": "элементы",
"create": "создать",
diff --git a/frontend/src/i18n/tr.json b/frontend/src/i18n/tr.json
index 41ce442e..695f38f2 100644
--- a/frontend/src/i18n/tr.json
+++ b/frontend/src/i18n/tr.json
@@ -344,6 +344,7 @@
"Save in the current directory": "Mevcut dizine kaydet",
"This name is already used": "Bu ad zaten kullanılıyor",
"Info": "Bilgi",
+ "Selection": "Seçim",
"Size": "Boyut",
"Modified": "Değiştirildi",
"modified": "değiştirildi",
@@ -378,7 +379,7 @@
"This item is already selected": "Bu öğe zaten seçili",
"Parent item is already selected": "Üst öğe zaten seçili",
"This file contains binary data that can not be read": "Bu dosya okunamayan ikili veri içeriyor",
- "Navigation Tree": "Gezinme Ağacı",
+ "Navigation": "Gezinme",
"item": "öğe",
"items": "öğe",
"create": "oluştur",
diff --git a/frontend/src/i18n/zh.json b/frontend/src/i18n/zh.json
index 7b3e629d..46386159 100644
--- a/frontend/src/i18n/zh.json
+++ b/frontend/src/i18n/zh.json
@@ -344,6 +344,7 @@
"Save in the current directory": "保存到当前目录",
"This name is already used": "该名称已被使用",
"Info": "信息",
+ "Selection": "选择",
"Size": "大小",
"Modified": "修改时间",
"modified": "已修改",
@@ -378,7 +379,7 @@
"This item is already selected": "该项目已被选择",
"Parent item is already selected": "父项目已被选择",
"This file contains binary data that can not be read": "该文件包含无法读取的二进制数据",
- "Navigation Tree": "导航树",
+ "Navigation": "导航",
"item": "项目",
"items": "项目",
"create": "创建",
diff --git a/frontend/src/styles/components/_sidebar_right.scss b/frontend/src/styles/components/_sidebar_right.scss
index 2c45c88e..f29c6d25 100755
--- a/frontend/src/styles/components/_sidebar_right.scss
+++ b/frontend/src/styles/components/_sidebar_right.scss
@@ -35,6 +35,26 @@
margin-right: auto;
margin-left: auto;
}
+
+ > .sidebar-component-title-label {
+ position: absolute;
+ left: 50%;
+ max-width: calc(100% - 90px);
+ overflow: hidden;
+ text-overflow: ellipsis;
+ transform: translateX(-50%);
+ white-space: nowrap;
+ }
+
+ > .sidebar-component-title-side {
+ display: flex;
+ align-items: center;
+ min-width: 35px;
+
+ &:last-child {
+ justify-content: flex-end;
+ }
+ }
}
.sidebar-item {