-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Select correct tab for creation of new entry #13087
Copy link
Copy link
Labels
component: uigood first issueAn issue intended for project-newcomers. Varies in difficulty.An issue intended for project-newcomers. Varies in difficulty.📌 Pinned📍 AssignedAssigned by assign-issue-action (or manually assigned)Assigned by assign-issue-action (or manually assigned)
Metadata
Metadata
Assignees
Labels
component: uigood first issueAn issue intended for project-newcomers. Varies in difficulty.An issue intended for project-newcomers. Varies in difficulty.📌 Pinned📍 AssignedAssigned by assign-issue-action (or manually assigned)Assigned by assign-issue-action (or manually assigned)
Type
Fields
Give feedbackNo fields configured for feature.
Projects
StatusShow more project fields
Done
I want to add the article with the DOIish-URL
https://doi.org/10.1007/s11367-023-02261-yto JabRef.When clicking the "Create new entry..." button, the tab "Enter Identifier" should be selected:
The code to investigate is: https://github.com/JabRef/jabref/blob/main/jabgui/src/main/java/org/jabref/gui/newentry/NewEntryView.java#L146-L146
After the approach is
null, the Clipboard should be inspected if it is an identifier. (For this org.jabref.logic.importer.util.IdentifierParser#parse can be used)If yes:
NewEntryDialogTab.ENTER_IDENTIFIERshould be used.idTextto the Clipboard contentsOtherwise, preferences.getLatestApproach().
One needs to move the following code to the right place: