Skip to content

feat: LocationPickerModal allow file name suggestions#2829

Open
cheneyveron wants to merge 2 commits into
opencloud-eu:mainfrom
cheneyveron:cheney/feat/location-picker-file-name-suggestion
Open

feat: LocationPickerModal allow file name suggestions#2829
cheneyveron wants to merge 2 commits into
opencloud-eu:mainfrom
cheneyveron:cheney/feat/location-picker-file-name-suggestion

Conversation

@cheneyveron

@cheneyveron cheneyveron commented Jul 7, 2026

Copy link
Copy Markdown

Description

Enhance web extension's ability for LocationPickerModal to allow fileNameSuggestion, for example when archive/unarchive it can suggest a name.

These enhancements were triggered by an archiver operating plugin I'm working on: opencloud-file-archiver, and to better support its frontend. Here're main features:

  • Backend compress: .tar.gz, .zip, AES-256 encrypted .zip
  • Choose between Create and stream Download compressed archives
  • Backend extract: .zip, .7z, .tar, .tar.gz / .tgz, .gz
  • Choose extraction location
  • Preview text/image/PDF, and partial extract
  • Display job status and cancel during runtime

This plugin is mainly for my personal need, if you're interested or have more ideas or concerns, feel free to submit issues and PRs to opencloud-file-archiver!

How Has This Been Tested?

  • test environment:
    • Debian 13 x86_64
    • OpenCloud image: opencloudeu/opencloud:7.2.0-posix-fastpath-20260704, bundled reva
    • Related extension tested with: opencloud-file-archiver@d2d565a
  • Unit tests:
$ pnpm test:unit packages/web-pkg/tests/unit/components/Modals/LocationPickerModal.spec.ts packages/web-app-files/tests/unit/components/EmbedActions/EmbedActions.spec.ts

 Test Files  2 passed (2)
      Tests  24 passed (24)
   Start at  14:36:01
   Duration  2.57s (transform 2.67s, setup 38ms, import 4.11s, tests 76ms, environment 295ms)
  • Type Check & Build
pnpm check:types
Result: passed.

pnpm build
Result: passed.
  • Manual test:
    • LocationPickerModal is showing desired suggested and working correctly.
    • Existing features, such as upload, download, preview, and client sync are working.

Types of changes

  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@cheneyveron cheneyveron changed the title LocationPickerModal allow file name suggestions feat: LocationPickerModal allow file name suggestions Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant