jabref icon indicating copy to clipboard operation
jabref copied to clipboard

Fix #13269 : support multi-file import across different formats

Open 070jhz opened this issue 6 months ago • 3 comments

Closes #13269

this PR improves the import command to properly handle importing multiple files with different supported formats in a single operation.

ImportCommand::execute now calls dialogService.showFileOpenDialogAndGetMultipleFiles instead of dialogService.showFileOpenDialog and importSingleFile() has been refactored to importMultipleFiles() to handle one or more files

Steps to test

  1. File menu > Import > Import into current/new library
  2. Select one or more files
  3. ???
  4. Profit

Mandatory checks

  • [x] I own the copyright of the code submitted and I license it under the MIT license
  • [/] Change in CHANGELOG.md described in a way that is understandable for the average user (if change is visible to the user)
  • [ ] Tests created for changes (if applicable)
  • [x] Manually tested changed features in running JabRef (always required)
  • [/] Screenshots added in PR description (if change is visible to the user)
  • [x] Checked developer's documentation: Is the information available and up to date? If not, I outlined it in this pull request.
  • [x] Checked documentation: Is the information available and up to date? If not, I created an issue at https://github.com/JabRef/user-documentation/issues or, even better, I submitted a pull request to the documentation repository.

070jhz avatar Jun 07 '25 05:06 070jhz

PLease add a changelog entry, otherwise it's good to go!

Siedlerchr avatar Jun 11 '25 18:06 Siedlerchr

You modified Markdown (*.md) files and did not meet JabRef's rules for consistently formatted Markdown files. To ensure consistent styling, we have markdown-lint in place. Markdown lint's rules help to keep our Markdown files consistent within this repository and consistent with the Markdown files outside here.

You can check the detailed error output by navigating to your pull request, selecting the tab "Checks", section "Tests" (on the left), subsection "Markdown".

jabref-machine avatar Jun 11 '25 22:06 jabref-machine

@trag-bot didn't find any issues in the code! ✅✨

trag-bot[bot] avatar Jun 14 '25 08:06 trag-bot[bot]