-
-
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
When changing a group color, no dialog should appear #8189
Comments
I looked a bit into it, the dialog is called here: A solution would be to check if there have been changes to the group type or group keywords etc and only display that dialog in this cases. jabref/src/main/java/org/jabref/gui/groups/GroupTreeViewModel.java Lines 183 to 199 in 9d1c448
|
Hello there. In which cases is a warning useless except from when changing the color? For example, I'm thinking that when changing the icon of the group, no warning should be shown either. Do we need a warning only for the "Hierarchical context" and "Collect by" options? |
…n method editGroup. fixes JabRef#8189
Hello? |
Sorry, missed your question. |
Hi, we are a group of students studying Master of Computer Science in University of Adelaide and we wanted to check if this issue is available for us to work on for our assignment. And if it is available, we would like to get some valuable inputs based on the previous contributions to this issue. |
Signed-off-by: yukioz <[email protected]>
Signed-off-by: yukioz <[email protected]>
You are right. Please make a list of all possible cases, where a) no dialog should be opened and b) where a dialog should be opened
I am not sure. It should be properly documented and JUnit tests should exist. |
@Surabhiramesh The issue is available. Please go ahead. Please also see my last comment. |
Welcome and thank you for your engagement. Guidelines for contributing can be found here: https://github.com/JabRef/jabref/blob/main/CONTRIBUTING.md. See here for a rough outline of this process. In general, it is advised to open a (draft) pull request early on so that reviewers have time to comment and the general direction of the request becomes clear. This will allow you to receive valuable feedback! If you have any questions, feel free to ask! Either here at GitHub, or you also can join our gitter chat. |
* Fix #8189 by checking group type * Update different solution that is capable to prevent warning dialog without resetting to ExplitGroup * Split groupType checking and groupFields checking into 2 different functions * add check before dialog * write groups always * refersh * store group changes * rfactor code * refactor with intanceof * refactor * fix stupid instanceof error^^ * checkstyle * use getclass everywhere add comment * Change or to and, only return true if no changes add tests * fuu checkstyle * javadoc checkstyle * TODO: clarifiy behavior when changing the groups name not really sure what happns when you have more than 2 groups * automatically assign when more than one group * use new name * todo * we need to check old group name rename methods * checkstyle * Only check for minor mods if group types are equal Co-authored-by: Siedlerchr <[email protected]>
JabRef version
Latest development branch build (please note build date below)
Operating system
Windows
Details on version and operating system
Windows 10
Checked with the latest development build
Steps to reproduce the behaviour
Expected behavior: No dialog appears, just the group color should change
Refs #7325
Appendix
No response
The text was updated successfully, but these errors were encountered: