platform icon indicating copy to clipboard operation
platform copied to clipboard

Feature request: UI-based CSV/JSON bulk import for workspace admins

Open varaprasadreddy9676 opened this issue 8 months ago • 2 comments

Description of the issue

Feature request: add a UI-based bulk import flow (CSV/JSON) for workspace admins in Huly.

Today, import is available via CLI/Docker tooling (dev/import-tool) and requires technical setup + admin credentials. There is no equivalent end-user import UI in the app (while export has UI support via export-resources).

This makes onboarding harder for non-technical teams, especially on Huly Cloud.

Your environment

  • Version of Huly: Cloud (huly.app)
  • Browser (and version): Chrome (latest)
  • Your operating system (and version): macOS (latest)

Steps to reproduce

  1. Open Huly Cloud and try to import workspace data from CSV/JSON in Settings or project/workspace UI.
  2. Observe that export actions are available in UI, but import actions for workspace data are not.
  3. Current documented path requires CLI/Docker import tooling.

Expected behaviour

A built-in import UI for authorized users (workspace admins / users with import permission), including:

  • Select source type (CSV/JSON, and optionally predefined mappers)
  • Upload file(s)
  • Validate + preview mapped fields before applying
  • Run import asynchronously with progress and result summary
  • Downloadable error report for failed rows

Actual behaviour

No UI-based bulk import flow is available for general workspace data. Imports are effectively one-time CLI-driven operations.

Possible solutions

Suggested incremental approach:

  1. MVP: UI upload + validation/dry-run preview (no writes)
  2. Async import job endpoint + progress status + notifications
  3. Final apply with permission checks, row-level error reporting, and audit logs

Security/operational considerations:

  • Permission-gated (import permission)
  • File size/type limits
  • Rate limiting + quota controls
  • Idempotency / duplicate handling options
  • PII-safe error reporting

varaprasadreddy9676 avatar Mar 10 '26 13:03 varaprasadreddy9676

Connected to Huly®: UBERF-15846

huly-github-staging avatar Mar 10 '26 13:03 huly-github-staging

Hi! I filed this and have been exploring the codebase to see how feasible a community contribution would be.

The existing infrastructure is actually quite close — packages/importer already has HulyFormatImporter/ClickupImporter business logic, WorkspaceAccountPermission.ImportDocument already exists in core, and plugins/export-resources provides a good UI pattern to mirror for import.

A realistic MVP could be:

  • A new /import endpoint in the export service (analogous to /exportAsync)
  • A simple ImportSettings.svelte in plugins/export-resources with a ZIP/CSV file picker
  • Hook into the existing settings page where ImportDocument permission is already managed

Before investing in a PR: is this already in progress internally (I see UBERF-15846 is linked)? And if a community PR is welcome, is there a preferred format scope for the MVP (Huly native ZIP, CSV only, or both)?

varaprasadreddy9676 avatar Mar 12 '26 06:03 varaprasadreddy9676