-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Merge entry interface: view options are not saved #9091
Comments
For implementation: GUIPreferences already contains DiffMode as an enum |
Hello, I'd like to make my first contribution, could you please assign it to me ? :D |
As a general advice for newcomers: check out Contributing for a start. Also, guidelines for setting up a local workspace is worth having a look at. Feel free to ask here at GitHub, if you have any issue related questions. If you have questions about how to setup your workspace use JabRef's Gitter chat. Try to open a (draft) pull-request early on, so that people can see you are working on the issue and so that they can see the direction the pull request is heading towards. This way, you will likely receive valuable feedback. |
Hi, so what I need to implement is saving merge preferences when I push"Merges entries" button (in merge entries window), and also pre-select these preferences when I open the "Merge entries" menu ? |
I wouldn't use the DiffMode enum in GuiPreferences, as the new three-way merge dialog uses a different approach for differences highlighting. Also, once all dialogs are converted to use the three-way merge UI e.g. the pdf metadata merge dialog, the diff mode enum would be obsolete. You can create a new class/record for storing the configuration. Load the configuration from GuiPreferences in the three-way merge UI constructor and save it back to preferences once the user is done with the UI. There is one complexity, however. The three-way merge UI is being used in multiple dialogs, so it's not obvious when the user is done with the UI and thus when to save the configuration. The saved configuration will be used in the three-way merge toolbar, for initializing its UI components state, see below. jabref/src/main/java/org/jabref/gui/mergeentries/newmergedialog/toolbar/ThreeWayMergeToolbar.java Line 25 in a90b868
|
Hi, I would like to work on this issue. Could I be assigned? |
JabRef version
Latest development branch build (please note build date below)
Operating system
Other (please describe below)
Details on version and operating system
No response
Checked with the latest development build
Steps to reproduce the behaviour
In the merge window,
Plain Text
seems to be the default mode. It can be changed toShow Diff
(with 2 sub-options). But then, these changes are not remembered: back toPlain text
when the window is re-opened. Selected display mode should be rememberedAppendix
...
Log File
The text was updated successfully, but these errors were encountered: