2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 10:17:17 +08:00
Files
panel/internal
Copilot 401b85b87e feat: add on-demand folder size calculation in file manager (#1201)
* Initial plan

* feat: add folder size calculation feature with "Calculate" link

- Backend: Add Size API to calculate directory size
- Backend: Modify formatDir to return empty size for directories
- Frontend: Show "Calculate" link for directories instead of size
- Frontend: Add loading spinner during calculation
- Frontend: Cache calculated sizes until path changes
- Add translations for Calculate and Failed to calculate size

Co-authored-by: devhaozi <115467771+devhaozi@users.noreply.github.com>

* fix: lint

* fix: 优化

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: devhaozi <115467771+devhaozi@users.noreply.github.com>
Co-authored-by: 耗子 <haozi@loli.email>
2026-01-09 06:43:26 +08:00
..
2026-01-04 04:47:56 +08:00
2026-01-09 01:42:53 +08:00
2026-01-08 23:04:37 +08:00
2026-01-08 04:20:44 +08:00
2026-01-08 22:09:08 +08:00
2025-10-02 15:30:48 +08:00