Skip to content

Web import: New entry should be added to group "Imported entries" #12548

@koppor

Description

@koppor

As user, I want to know which entries I did import the last times. It is possible to check for the last added entry (https://docs.jabref.org/advanced/entryeditor/timestamp).

After an import, the last imported entry is highlighted. If I import multiple entries, only the last one is highlighted. If I repeatedly import entries.

As user, I have two phases: Searching and importing entries; and clean up of entries. For cleanup, I need to know which entries need clean up. I mix between web search and PDF import.

After an import, some tweaks in the bibliographic entries need to be done: Fix of authors, fix of titles. E.g., by applying Integrity Checks. Not all of them are "right" and need to be manually checked.

Another use case for marking imported entries is that they are kind of papers one wants to read.

Therefore, JabRef should automatically add entries to a group "Imported entries".

Desired feature

  • After web search, new entries should be added to the group "Imported entries". The group name can be changed in the preferences:
  • After a PDF is imported, it should also be added to this group
  • After importing from DOI or other web fetchers, it should also be added to this group
  • The feature should only be enabled if enabled in the preferences
  • The name of the group should be (globally) configurable

Details

Enable configuring the group to add to:

Image

Code hints

  • org.jabref.gui.externalfiles.ImportHandler#importEntryWithDuplicateCheck(org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry, org.jabref.gui.duplicationFinder.DuplicateResolverDialog.DuplicateResolverResult)
  • Store % Imported entries in the preferences.
    • In the preference defaults, store "% " + Localization.lang("Imported entries")
    • When getting the preference, check whether the string begins with %. If yes. Remove % and the space after and lookup using Localization.lang.

References

Metadata

Metadata

Assignees

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions