[MNT-24575] Added dialog to display folder information (#4282)

* [MNT-24575] Created folder information dialog

* [MNT-24575] Added unit tests

* [MNT-24575] Integrated API calls into folder information

* [MNT-24575] Added models

* [MNT-24575] Added delay to API retry call. Added unit test for API retry functionality

* [MNT-24575] Folder information is no longer shown in trashcan

* [MNT-24575] Folder information is no longer shown in trashcan

* [MNT-24575] Added return type to function. Consolidated different properties into a single type

* [MNT-24575] Addressed Code review comments

* [MNT-24575] Addressed code review findings. Added error handling and unit tests

* [MNT-24575] Updated template to use adf-icons

* [MNT-24575] Using variables in SCSS
This commit is contained in:
swapnil-verma-gl
2025-01-17 15:52:18 +05:30
committed by GitHub
parent 72e740502e
commit d30c933259
11 changed files with 504 additions and 6 deletions

View File

@@ -299,7 +299,8 @@
"EDIT_OFFLINE": "Edit Offline",
"EDIT_OFFLINE_CANCEL": "Cancel Editing",
"CHANGE_ASPECT": "Edit Aspects",
"ADD_ASPECTS": "Add Aspects"
"ADD_ASPECTS": "Add Aspects",
"FOLDER_INFO": "Folder Information"
},
"DIALOGS": {
"CONFIRM_PURGE": {
@@ -451,7 +452,20 @@
"OPTIONS_SETTINGS": "Options and settings",
"MY_PROFILE": "My profile",
"EXPAND_NAVIGATION": "Expand navigation menu"
}
},
"FOLDER_INFO": {
"ICON": "Folder Icon",
"TITLE": "Folder Information",
"SIZE" : "Size",
"CALCULATING": "Calculating...",
"CALCULATED_SIZE_LARGE": "{{sizeInBytes}} bytes ({{sizeInLargeUnit}} {{unit}} on disk) for {{count}} files",
"CALCULATED_SIZE_NORMAL": "{{sizeInBytes}} bytes for {{count}} files",
"LOCATION": "Location",
"CREATED": "Created",
"MODIFIED": "Modified",
"DONE": "Done",
"ERROR": "Something went wrong, please close this dialog and try again"
}
},
"NODE_SELECTOR": {
"COPY_ITEM": "Copy '{{ name }}' to...",