Feat: FileManager (#98) (#703)

* feat: add file manager module

- Complete file manager implementation with UI/UX
- Add drive management functionality
- Add file upload/download with progress tracking
- Add stamp integration and handling
- Add bulk operations and context menus

Co-authored-by: Roland Seres <roland.seres90@gmail.com>
Co-authored-by: nidishk <nidishkrishnan45@gmail.com>
This commit is contained in:
Bálint Ujvári
2025-11-12 11:26:00 +01:00
committed by GitHub
parent 1249c0df71
commit 5bfe2a0331
107 changed files with 21529 additions and 5578 deletions
+9 -1
View File
@@ -10,6 +10,7 @@ import { BEE_DESKTOP_LATEST_RELEASE_PAGE } from '../constants'
import { useBeeDesktop, useNewBeeDesktopVersion } from '../hooks/apiHooks'
import { Context as BeeContext } from '../providers/Bee'
import { Context as SettingsContext } from '../providers/Settings'
import { useLocation } from 'react-router-dom'
const useStyles = makeStyles((theme: Theme) =>
createStyles({
@@ -17,6 +18,10 @@ const useStyles = makeStyles((theme: Theme) =>
backgroundColor: theme.palette.background.default,
minHeight: '100vh',
},
fileManagerOn: {
padding: '0px',
},
}),
)
@@ -26,6 +31,9 @@ interface Props {
}
const Dashboard = (props: Props): ReactElement => {
const location = useLocation()
const isFileManagerOn = location.pathname.startsWith('/filemanager')
const classes = useStyles()
const { isLoading } = useContext(BeeContext)
@@ -84,7 +92,7 @@ const Dashboard = (props: Props): ReactElement => {
return (
<Flex>
<SideBar />
<Container className={classes.content}>
<Container className={`${classes.content} ${isFileManagerOn ? classes.fileManagerOn : ''}`}>
{' '}
<ErrorBoundary errorReporting={props.errorReporting}>{content}</ErrorBoundary>
</Container>