[PR #427] feat: support importing multiple files at once #349

Open
opened 2026-03-22 21:18:52 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/427
Author: @komen205
Created: 3/13/2026
Status: 🔄 Open

Base: mainHead: feat/multi-file-import


📝 Commits (1)

  • 6f8d894 feat: support importing multiple files at once

📊 Changes

2 files changed (+58 additions, -32 deletions)

View changed files

📝 src-web/components/ImportDataDialog.tsx (+19 -11)
📝 src-web/lib/importData.tsx (+39 -21)

📄 Description

Summary

  • Replaces the single-file picker in the import dialog with a multi-file picker (multiple: true)
  • Files are imported sequentially to avoid database conflicts
  • All results are aggregated into a single combined summary dialog
  • Removes the useLocalStorage dependency for the file path (no longer needed)

Motivation

When importing a Postman data export (which produces a folder of individual collection JSON files), users had to go through the import dialog once per file. This change allows selecting all files at once.

Test plan

  • Open Import dialog — button should read "Select File(s)"
  • Select a single file — imports and shows summary as before
  • Select multiple files — all are imported, summary shows combined totals (e.g. "3 Workspaces, 45 HTTP Requests")
  • Cancel file picker — nothing happens

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mountain-loop/yaak/pull/427 **Author:** [@komen205](https://github.com/komen205) **Created:** 3/13/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/multi-file-import` --- ### 📝 Commits (1) - [`6f8d894`](https://github.com/mountain-loop/yaak/commit/6f8d894f69fac8a89a41140c9d06c97308ce6f71) feat: support importing multiple files at once ### 📊 Changes **2 files changed** (+58 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `src-web/components/ImportDataDialog.tsx` (+19 -11) 📝 `src-web/lib/importData.tsx` (+39 -21) </details> ### 📄 Description ## Summary - Replaces the single-file picker in the import dialog with a multi-file picker (`multiple: true`) - Files are imported sequentially to avoid database conflicts - All results are aggregated into a single combined summary dialog - Removes the `useLocalStorage` dependency for the file path (no longer needed) ## Motivation When importing a Postman data export (which produces a folder of individual collection JSON files), users had to go through the import dialog once per file. This change allows selecting all files at once. ## Test plan - [ ] Open Import dialog — button should read "Select File(s)" - [ ] Select a single file — imports and shows summary as before - [ ] Select multiple files — all are imported, summary shows combined totals (e.g. "3 Workspaces, 45 HTTP Requests") - [ ] Cancel file picker — nothing happens 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-22 21:18:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/yaak#349