Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some more fields in random order #7716

Closed
1 task done
mlep opened this issue May 8, 2021 · 7 comments · Fixed by #7717
Closed
1 task done

Some more fields in random order #7716

mlep opened this issue May 8, 2021 · 7 comments · Fixed by #7717

Comments

@mlep
Copy link
Contributor

mlep commented May 8, 2021

JabRef 5.3--2021-05-08--4f398d8
Linux 4.19.0-16-amd64 amd64
Java 16.0.1
JavaFX 16+8

I have found some other drop down menus where fields are not sorted (like in issue #7710):

  • List of fields (i.e. exact same list as issue Cleanup action: some fields in random order #7710):

    • Menu Library -> Library properties, in section Save sort order: Primary, secondary and tertiary sort criteria.
    • Menu Options -> Preferences, in tab File, section Export sort order: Primary, secondary and tertiary sort criteria.
    • Menu Options -> Preferences, in tab XMP metadata: drop-down list of the column Field name.
  • List of actions:

    • Menu Library -> Library properties, in section Save actions, drop-down list of the column Formatter name.
    • Menu Quality -> Cleanup actions, in section Enable field formatters, drop-down list of the column Formatter name.
  • Menu Library -> New entry..., drop-down list of ID type.

  • Menu Options -> Preferences, in tab General, drop-down list of Language.

@mlep
Copy link
Contributor Author

mlep commented May 8, 2021

Ping @dateri, maybe?

@dateri
Copy link
Contributor

dateri commented May 8, 2021

Yeah, I think they need be also sorted. I'll fix them soon.

@Siedlerchr
Copy link
Member

I think for new entry the ID list should be ordered by things that are used the most first. Doi should be on top.

Same applies to formatter.

@dateri
Copy link
Contributor

dateri commented May 8, 2021

@Siedlerchr maybe sort them by displayName is enough cause the number of types of formatter and ID list are not so large as the number of fields?And i have no idea about how to store the number of times they use (add a database?).

@Siedlerchr
Copy link
Member

I took a look and actually the ID Fetcher list is already sorted by their localized Name
public static SortedSet getIdBasedFetchers(ImportFormatPreferences importFormatPreferences) {

@mlep
Copy link
Contributor Author

mlep commented May 17, 2021

@Siedlerchr ID fetchers were mostly sorted (mEDRA is not)

@mlep
Copy link
Contributor Author

mlep commented May 17, 2021

@dateri Thank you for tackling this issue. I wish you will find some other interesting issues to solve in JabRef!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants