Fix: file-manager and swarm-desktop bugs (#714)
- drive capacity display with stamp polling - download/upload progress handling - overlay and tooltip issues - FileMaganger readme - ultra-light mode handling - account feed view page - download media files - remove not found syncing link - fix ultra light node wallet page - tooltip issues --------- Co-authored-by: Andrei Mitrea <andrei.mitrea.hq@gmail.com> Co-authored-by: nidishk <nidishkrishnan45@gmail.com> Co-authored-by: Ferenc Sárai <sarai.ferenc@gmail.com> Co-authored-by: Nándor Komlódi <nandor.komlodi@gmail.com> Co-authored-by: rolandlor <33499567+rolandlor@users.noreply.github.com>
This commit is contained in:
@@ -7,6 +7,8 @@ import EditIcon from 'remixicon-react/EditLineIcon'
|
||||
import { createPortal } from 'react-dom'
|
||||
import { safeSetState } from '../../utils/common'
|
||||
|
||||
const maxFileNameLength = 60
|
||||
|
||||
interface RenameFileModalProps {
|
||||
currentName: string
|
||||
takenNames?: Set<string> | string[]
|
||||
@@ -115,6 +117,7 @@ export function RenameFileModal({
|
||||
onBlur={() => setTouched(true)}
|
||||
onKeyDown={onKeyDown}
|
||||
placeholder="Enter a new file name"
|
||||
maxLength={maxFileNameLength}
|
||||
/>
|
||||
{error && (
|
||||
<div className="fm-error-text" style={{ marginTop: 8 }}>
|
||||
|
||||
Reference in New Issue
Block a user