Fix #13269 : support multi-file import across different formats
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
- File menu > Import > Import into current/new library
- Select one or more files
- ???
- Profit
Mandatory checks
- [x] I own the copyright of the code submitted and I license it under the MIT license
- [/] Change in
CHANGELOG.mddescribed 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.
PLease add a changelog entry, otherwise it's good to go!
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".
@trag-bot didn't find any issues in the code! ✅✨