+ Creating a drive requires running a light node. Please{' '}
+
+ upgrade
+ {' '}
+ to continue.
+
+ )}
+
diff --git a/src/modules/filemanager/components/DeleteFileModal/DeleteFileModal.tsx b/src/modules/filemanager/components/DeleteFileModal/DeleteFileModal.tsx
index a4e234d..3327666 100644
--- a/src/modules/filemanager/components/DeleteFileModal/DeleteFileModal.tsx
+++ b/src/modules/filemanager/components/DeleteFileModal/DeleteFileModal.tsx
@@ -42,79 +42,82 @@ export function DeleteFileModal({
{headerText}
+
+
+ {isBulk && (
+
+ {names.map(n => (
+
+ {n}
+
+ ))}
+
+ )}
+
+
+
+ setValue(FileAction.Trash)} />}
+ label={
+
+
+ Move to Trash
+
+
+
e.preventDefault()}>
+ Moves {subjectNoun} to the trash. It will still take up space on{' '}
+ {currentDriveName ?? 'this drive'} and expire along with it. You can restore it later.
+
+
+ }
+ />
+
-
- {isBulk && (
-
- {names.map(n => (
-
- {n}
-
- ))}
-
- )}
-
-
-
- setValue(FileAction.Trash)} />}
- label={
-
-
- Move to Trash
-
+
+ setValue(FileAction.Forget)} />
+ }
+ label={
+
+
+ Forget
+
+
+
e.preventDefault()}>
+ Removes {subjectNoun} from your view. The data will remain on Swarm until{' '}
+ {currentDriveName ?? 'the drive'} expires. This action cannot be easily undone.
+
-
e.preventDefault()}>
- Moves {subjectNoun} to the trash. It will still take up space on{' '}
- {currentDriveName ?? 'this drive'} and expire along with it. You can restore it later.
-
e.preventDefault()}>
+
+ Warning: This will make all files on this drive inaccessible. This action is irreversible.
+
-
e.preventDefault()}>
- Removes {subjectNoun} from your view. The data will remain on Swarm until{' '}
- {currentDriveName ?? 'the drive'} expires. This action cannot be easily undone.
-
All files stored only on this drive will become inaccessible.
-
- While the data may still temporarily persist on Swarm, it will be permanently removed once the storage
- expires and the data is garbage collected by the network. The File Manager will no longer recognise or
- recover these files.
-
-
Confirmation:
-
Requires typing a fixed expression to prevent accidental deletion. This action cannot be undone.
-
- Type: {destroyDriveText}
-
-
- setDriveNameInput(e.target.value)}
- />
+
+
+
+
Destroy Drive? This Action Is Permanent
+
All files stored only on this drive will become inaccessible.
+
+ While the data may still temporarily persist on Swarm, it will be permanently removed once the storage
+ expires and the data is garbage collected by the network. The File Manager will no longer recognise or
+ recover these files.
+
+
Confirmation:
+
+ Requires typing a fixed expression to prevent accidental deletion. This action cannot be undone.
+
+
+ Type: {destroyDriveText}
+
+
+ setDriveNameInput(e.target.value)}
+ />
+
diff --git a/src/modules/filemanager/components/ExpiringNotificationModal/ExpiringNotificationModal.tsx b/src/modules/filemanager/components/ExpiringNotificationModal/ExpiringNotificationModal.tsx
index 34e2d5e..6915325 100644
--- a/src/modules/filemanager/components/ExpiringNotificationModal/ExpiringNotificationModal.tsx
+++ b/src/modules/filemanager/components/ExpiringNotificationModal/ExpiringNotificationModal.tsx
@@ -1,17 +1,15 @@
import { PostageBatch } from '@ethersphere/bee-js'
-import { Warning } from '@mui/icons-material'
import { DriveInfo, FileInfo } from '@solarpunkltd/file-manager-lib'
import { ReactElement, useEffect, useMemo, useState } from 'react'
import { createPortal } from 'react-dom'
import AlertIcon from 'remixicon-react/AlertLineIcon'
-import CalendarIcon from 'remixicon-react/CalendarLineIcon'
-import DriveIcon from 'remixicon-react/HardDrive2LineIcon'
-import { calculateStampCapacityMetrics } from '../../utils/bee'
import { getDaysLeft } from '../../utils/common'
import { Button } from '../Button/Button'
import { UpgradeDriveModal } from '../UpgradeDriveModal/UpgradeDriveModal'
+import { ExpiringNotificationModalItem } from './ExpiringNotificationModalItem/ExpiringNotificationModalItem'
+
import './ExpiringNotificationModal.scss'
import '../../styles/global.scss'
@@ -67,62 +65,24 @@ export function ExpiringNotificationModal({
Drives Expiring soon
The following drives will expire soon. Extend them to keep your data accessible.