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

Fix UX Anti Patterns (Improve Duplicate detection and merge dialog) #6334

Closed
2 of 3 tasks
koppor opened this issue Apr 22, 2020 · 25 comments
Closed
2 of 3 tasks

Fix UX Anti Patterns (Improve Duplicate detection and merge dialog) #6334

koppor opened this issue Apr 22, 2020 · 25 comments
Labels
duplicateFinder good first issue An issue intended for project-newcomers. Varies in difficulty. ui

Comments

@koppor
Copy link
Member

koppor commented Apr 22, 2020

As follow up to the work by @MartinKarim. Reported by @s-tikhomirov on twitter at https://twitter.com/serg_tikhomirov/status/1248332994798067714. I copy it here to enable priotisiing it on our roadmap.

Finding duplicates

grafik

  • What icon?
  • What does "continue" mean? --> It means "import both duplicates". Though Jabref has "merge" function. Why isn't is merging them semi-automatically right away??

Blue text color in dark theme

grafik

Now I'm merging the two references and literally can't read the text in blue. The dark scheme has been tested quite well, I guess...

No entries found on Google Scholar should not raise any exception

Searching for the next reference, I get this, and this is not a rare situation.
If the source doesn't have the reference, the usual behavior is to continue showing "Processing ". No such thing as a definitive "not found".

grafik

Search does not produce good results

Searching for Ethereum yellow paper just by the author name yielded unexpected results.

grafik

Not sure what we can do about that? --> We decided that we cannot do anything here.

@koppor koppor added the ui label Apr 22, 2020
@Siedlerchr
Copy link
Member

Dark theme refs #5522
The fetcher results that's anything we can't do about

@s-tikhomirov
Copy link

Thank you for creating the issue!

The last section is an insider joke, really, there is nothing wrong with Jabref in that case.

@stefan-kolb stefan-kolb changed the title Fix UX Anit Patterns Fix UX Anti Patterns Apr 23, 2020
@systemoperator
Copy link
Contributor

Somewhat related (concerning duplicates and merging): #5858

@Siedlerchr Siedlerchr changed the title Fix UX Anti Patterns Fix UX Anti Patterns (Improve Duplicate detection and merge dialog) Apr 25, 2020
@Siedlerchr Siedlerchr added the good first issue An issue intended for project-newcomers. Varies in difficulty. label Apr 25, 2020
@MootezSaaD
Copy link
Contributor

Maybe replacing blue by #4281be could improve visibility a bit more

image

@koppor
Copy link
Member Author

koppor commented Apr 26, 2020

@MootezSaaD Maybe you could file a PR? https://github.com/JabRef/jabref/blob/master/src/main/java/org/jabref/gui/Dark.css is the deep link to the file.

Maybe @martinacat can help - she worked on the merged entries dialog at #5521.

@ageofadz also worked on the dark theme (#5646)

In case you touch it, could you also make the red a bit less bright? :)

@calixtus
Copy link
Member

calixtus commented Dec 9, 2020

Still two easy guickwins open.

@JofielB
Copy link
Contributor

JofielB commented Dec 10, 2020

Hello, I just test the google thing, and it looks like it is still happening
issue google
If no one is working on it I would like to give it a look

@calixtus
Copy link
Member

Should be available. Have fun coding.

@JofielB
Copy link
Contributor

JofielB commented Dec 12, 2020

Hello, while going through the investigation of this issue I found out that when you make a search at; IEEEXplore, JSTOR, MathSciNet, SAO/Nasa ADS, Springer, and zbMATH an exception is raised (similar to Google Scholar one). I was wondering if solving this problem should be part of the google one or should be put in another issue?

@JofielB
Copy link
Contributor

JofielB commented Dec 12, 2020

Another thing I was wonder was about how to handle the issue with Google Scholar because the problem says that there shouldn't be any exception raised when there are no entries found but the error that is throwing is a 429 (too many requests I believe). So I was wonder if the best approach to solve this is that: none exception should be shown when you make research and send the track to the error to the log as the documentations suggest?

@calixtus
Copy link
Member

Fixing the fetchers is a never-ending story. You can, but it's not directly part of this issue. Be aware that some probably just don't work because of call limits, not working api keys or because the server is not accessible again (grobid). Google scholar is down, because the website has changed. There is already a pr open trying to fix it.

@JofielB
Copy link
Contributor

JofielB commented Dec 15, 2020

For the finding duplicate problem I thought of these possible solutions:

  • Firts possible solution: It could be that when you enter that dialog of "duplicates found" an icon appears on the duplicates files and if you decide to continue with the import, merge the files and not create a copy of the file

  • Second possible solution: Don't show the "duplicate found" alert and automatically merge the files

I was wonder if there is another proposal? Or can I tackle this issue with any of the two solutions that came to my mind?

@calixtus
Copy link
Member

I thought a little bit about this.
Clearly, the "marked with an icon" part is an artifact of a long gone feature of JabRef.
Reimplementing this in the table would be a bit more work. An alternative could be to display a list of duplicates and display a merge button, which opens a merge dialog. Again, a bit more work.
The most simple solution would be to just change the info text and to relabel the button to ("Auto merge" or something).
Please also relabel the "disable this dialog" to "Do not ask again". I think this is the most common opt-out checkbox text.
What do the other @JabRef/developers think about this?

@tobiasdiez
Copy link
Member

Where does the duplicate message appears?
In the import dialog, duplicates are indeed marked with an icon (to the right of the entry).

@JofielB
Copy link
Contributor

JofielB commented Dec 16, 2020

@tobiasdiez You are right an icon actually appears
icon issue

And the duplicate message appears when you import something that has that icon
show dialog

@JofielB
Copy link
Contributor

JofielB commented Dec 16, 2020

@calixtus Based on what you propose I manage to create these two different dialogs options

  1. Dialog with just simple modifications in the text
    dialog

  2. Dialog with the text modifications of the 1 dialog and also displays the names of the files that are duplicated
    (tested with one file)
    dialog2 1
    (tested with two files)
    dialog2 2

Which one would be the desired behavior, the first one or the second? To make the pull request

@calixtus
Copy link
Member

calixtus commented Dec 18, 2020

The most sophisticated solution would be to implement a listview in a custom Dialog (already exists) allowing to select the duplicate you want to merge and open the merge entries dialog (already exists), then store the result.
But I believe, if you don't want to put too much time in this, the first solution would be sufficient.

@JofielB
Copy link
Contributor

JofielB commented Dec 18, 2020

Just to be sure, the sophisticated solution flow would be something like this:

  1. Import entries dialog
  2. (if you have duplicates) custom dialog with listview
  3. merge entries dialog
  4. store results and finish process

@calixtus
Copy link
Member

Yes, i think so. You can take a look at the merge dialog of intellij for some inspiration.
image

image

JabRef already provides a merge dialog. Not bad, yet not perfect.

@systemoperator
Copy link
Contributor

systemoperator commented Dec 19, 2020

@JofielB Just to be sure, that you don't miss any detail concerning importing a duplicate reference, see #5858, which outlines what is working and what not.

In my opinion, the existing workflow concerning the duplicates (including the duplicate icon in the import dialog) would be acceptable, if it was working as expected. Fixing these errors would apparently be much less effort.

@tobiasdiez
Copy link
Member

I think also the "do not remember" solution is fine. Merging is a nice feature, but I would put this directly in the import dialog. For example, JabRef could warn you with a message when you select an already-present entry, and offer the option to directly merge.

@JofielB
Copy link
Contributor

JofielB commented Dec 23, 2020

I think I will not be able to continue working on this issue but I already made a pull request with the first accepted changes on the duplicates dialog, so, if some take this issue in the future, can continue from this point.

The above pull request has the following duplicate dialog
Issue test

@calixtus
Copy link
Member

Hey, thanks for the changes already made. They are perfectly fine.
And don't feel sad about not been able to continue here. The changes you made are already good and completely sufficient to fix the originally mentioned part of the issue.
We always tend to dream about possible additional features that could be added. But it always comes down to your freedom to say stop. I think that's what community driven development of free software is about. Do as much you can and like.

@ThiloteE
Copy link
Member

Could somebody summarize what is still lacking here? @HoussemNasri

Can be closed, no?

@HoussemNasri
Copy link
Member

I thought the Google Scholar exception was still not fixed, but I can't reproduce it anymore on the latest development version. However, it constantly displays "Processing..." when no entries are found (for all fetchers). I think we can close this and start a new issue to add a request timeout.

@JabRef JabRef deleted a comment from github-actions bot Oct 10, 2022
@JabRef JabRef deleted a comment from github-actions bot Oct 10, 2022
koppor pushed a commit that referenced this issue Dec 15, 2022
f6c778e Update emerald-harvard.csl (#6335)
d6c6a16 Fix Brazilian quotes on  chicago-author-date.csl (#6317)
a1549b6 Update medizinische-hochschule-hannover.csl (#6330)
da88073 Update journal-of-the-american-college-of-cardiology.csl (#6334)
a520d8e Bump nokogiri from 1.13.9 to 1.13.10 (#6333)
ba54b44 Update royal-society-of-chemistry.csl (#6328)
1378ba7 LUSEM: Remove full stop (#6332)
9e3cf89 Create interpreting.csl (#6254)
bef74ed Create conservation-science-and-practice.csl (#6258)
9fb7eb7 Bug fixes triangle.csl (#6251)
e6112ba Update ucl-university-college-apa.csl (#6250)
6dcba3a Update engineering-technology-and-applied-science-research.csl (#6247)
00fe4a2 Create constructivist-foundations.csl (#6243)
03ad71b Create les-mondes-du-travail.csl (#6234)
a2bce86 Corrections based on author instructions (#6306)

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: f6c778e
koppor pushed a commit that referenced this issue Dec 17, 2022
84dba23 Update international-union-of-crystallography.csl (#6279)
13dd9e8 Update zeitschrift-fur-deutsche-philologie.csl (#6340)
d95b652 Create cahiers-mondes-anciens.csl (#6203)
ded567c Create rassegna-degli-archivi-di-stato-bibliografia-generale.csl (#6275)
124777a Create scientific-online-letters-on-the-atmosphere.csl (#6261)
3c276e7 Create american-medical-association-no-url-alphabetical.csl (#6252)
595ad95 Bump mathieudutour/github-tag-action from 6.0 to 6.1 (#6287)
7008128 Create cambridge-a (#6336)
17e930c Update norsk-apa-manual-note.csl (#6338)
b360859 Update norsk-apa-manual.csl (#6337)
f6c778e Update emerald-harvard.csl (#6335)
d6c6a16 Fix Brazilian quotes on  chicago-author-date.csl (#6317)
a1549b6 Update medizinische-hochschule-hannover.csl (#6330)
da88073 Update journal-of-the-american-college-of-cardiology.csl (#6334)
a520d8e Bump nokogiri from 1.13.9 to 1.13.10 (#6333)
ba54b44 Update royal-society-of-chemistry.csl (#6328)
1378ba7 LUSEM: Remove full stop (#6332)
9e3cf89 Create interpreting.csl (#6254)
bef74ed Create conservation-science-and-practice.csl (#6258)
9fb7eb7 Bug fixes triangle.csl (#6251)
e6112ba Update ucl-university-college-apa.csl (#6250)
6dcba3a Update engineering-technology-and-applied-science-research.csl (#6247)
00fe4a2 Create constructivist-foundations.csl (#6243)
03ad71b Create les-mondes-du-travail.csl (#6234)
a2bce86 Corrections based on author instructions (#6306)

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: 84dba23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicateFinder good first issue An issue intended for project-newcomers. Varies in difficulty. ui
Projects
Archived in project
Development

No branches or pull requests

10 participants