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

Rename menus citation style in preview style #6899

Merged
merged 8 commits into from
Sep 26, 2020
Merged

Rename menus citation style in preview style #6899

merged 8 commits into from
Sep 26, 2020

Conversation

mlep
Copy link
Contributor

@mlep mlep commented Sep 10, 2020

In JabRef 5.2, an entry preview is displayed in the entry editor.
The preview style can be configured in Options -> Preference -> Entry preview.

The menu to switch between preview styles are View -> Next citation style and View -> Previous citation style.
When a menu is activated, it display an information message mentioning "Preview".

The issue is that the name of these two menus are confusing, because in fact, they are not about citation style but about preview style.

This PR renames the menus by changing the word citation into preview:

  • View -> Next citation style --> View -> Next preview style
  • View -> Previous citation style --> View -> Previous preview style

.

  • Change in CHANGELOG.md described (if applicable)
  • Tests created for changes (if applicable)
  • Manually tested changed features in running JabRef (always required)
  • Screenshots added in PR description (for UI changes)
  • Checked documentation: Is the information available and up to date? If not created an issue at https://github.com/JabRef/user-documentation/issues or, even better, submitted a pull request to the documentation repository.

@mlep mlep changed the title [WIP] Rename menus citation style in preview style Rename menus citation style in preview style Sep 10, 2020
@Siedlerchr
Copy link
Member

We have to differ between our own custom html preview style and the CSL styles. I think wee need to be careful here. I've tagged this for discussion so we developers can talk about that in our next dev call
https://citationstyles.org/

@mlep
Copy link
Contributor Author

mlep commented Sep 10, 2020

Sure!

@koppor
Copy link
Member

koppor commented Sep 15, 2020

DevCall:

  1. Renaming OK
  2. Rename "Preview" to "customized preview style" (not "build-in style" and not "JabRef style", because people can customize it)

grafik

grafik

@tobiasdiez tobiasdiez added the status: changes required Pull requests that are not yet complete label Sep 18, 2020
@mlep
Copy link
Contributor Author

mlep commented Sep 20, 2020

@koppor Sorry, but I do not understand your point 2.

@koppor
Copy link
Member

koppor commented Sep 20, 2020

I rewrote the second point now:

Rename "Preview" to "customized preview style"

Now, the text should also match the screenshots, doesn't it?

@mlep
Copy link
Contributor Author

mlep commented Sep 21, 2020

Got it.
Note: I do not have the skills to do it (I do not know how find the right place in the code).

@calixtus
Copy link
Member

Took the liberty to help you a little bit @mlep with the renaming of the preview style. Hope you don't mind.

@calixtus calixtus added status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers and removed status: changes required Pull requests that are not yet complete labels Sep 25, 2020
@koppor koppor merged commit deb2f20 into JabRef:master Sep 26, 2020
Siedlerchr added a commit that referenced this pull request Sep 26, 2020
* upstream/master: (55 commits)
  Rename menus citation style in preview style (#6899)
  Fix for some Unicode characters in citation keys (#6938)
  Add missing authors
  Fix a fetcher test for the ShortDOIService (#6945)
  Fixes Shared Database: Changes filtering in CoarseChangeFilter to attribute property (#6868)
  Changed default value of "search and store files relative to bibtex file" to true (#6928)
  Replace comment by just a failure (#6943)
  Fix: in entry types editor selected field is not removed after first click  (#6941)
  Fix remove actions for entry types in the editor (#6933)
  Always use Java 15 (#6929)
  Update DevDocs: workaround for issues with local openjfx maven libraries (#6931)
  Fixes bugs in the `regex` cite key pattern modifier (#6893)
  Add missing author
  Readability for citation key patterns (#6706)
  Add new author
  Reset to master and add default case to switch (#6847)
  Bump mockito-core from 3.5.10 to 3.5.11 (#6924)
  Bump byte-buddy-parent from 1.10.14 to 1.10.15 (#6923)
  Bump org.beryx.jlink from 2.21.4 to 2.22.0 (#6925)
  Bump xmpbox from 2.0.20 to 2.0.21 (#6926)
  ...

# Conflicts:
#	src/main/java/org/jabref/logic/util/DelayTaskThrottler.java
@mlep
Copy link
Contributor Author

mlep commented Sep 27, 2020

@calixtus Thank you for finishing the work (I was not able to do it by myself)

@mlep mlep deleted the patch-1 branch September 27, 2020 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants