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:
Bálint Ujvári
2026-01-26 12:57:14 +01:00
committed by GitHub
parent ecadafd21d
commit 0d5138f5bc
78 changed files with 3961 additions and 1194 deletions
+17 -5
View File
@@ -1,7 +1,19 @@
const plusOne = 1
const plusThree = 3
const plusSix = 6
export const desiredLifetimeOptions = [
{ value: 0, label: '1 week' },
{ value: 1, label: '1 month' },
{ value: 2, label: '3 months' },
{ value: 3, label: '6 months' },
{ value: 4, label: '1 year' },
{ value: 0, label: `${plusOne} week` },
{ value: 1, label: `${plusOne} month` },
{ value: 2, label: `${plusThree} months` },
{ value: 3, label: `${plusSix} months` },
{ value: 4, label: `${plusOne} year` },
]
export const lifetimeAdjustments = new Map<number, (date: Date) => void>([
[0, date => date.setDate(date.getDate() + plusOne * 7)],
[1, date => date.setMonth(date.getMonth() + plusOne)],
[2, date => date.setMonth(date.getMonth() + plusThree)],
[3, date => date.setMonth(date.getMonth() + plusSix)],
[4, date => date.setFullYear(date.getFullYear() + plusOne)],
])