Convert the "Custom API key" list to a table [#10926]#10936
Conversation
|
Hi, thanks for your interest in JabRef and OpenSource. I like the change to the ui, yet i have a comment about your implementation. I recommend the book Effective Java by Josh Bloch. Here is a summary that I like to use myself: https://github.com/HugoMatilla/Effective-JAVA-Summary |
|
@calixtus Hi, thanks for the feedback. I will check the resources you provided and modify the code. |
|
You could disable the field if it's not selected (e.g binding) |
|
Shouldn't the keys be hidden behind asterisks |
|
Yeah, maybe some kind of PasswordField or something similar can be used |
|
Yeah, the opposite is great. The checkmark should automatically be set then. Maybe no disablement of the checkbox. There seem to be two kinds of user flows 🤣🤣 On dialog close, the key should only be enabled if non empty. |
|
@koppor Just to make sure I understood right.
Also, can the user change the checkbox manually? |
You came up with an even better solution! Go for it! |
|
Until now it was also possible to store custom keys, even if they are not used. Would be a regression if we automatically use the key if stored or remove it, when unchecked... |
|
@calixtus Sorry, I saw your comment after I commited. |
|
There are use cases one would want to keep the custom API stored without using it, maybe just to test something maybe. |
|
I think the code is ready for review now. |


Fixes #10926
demo.mov
The only difference from the previous implementation that the user can edit the "key" even if the "use custom key" is not checked. I still didn't find an efficient way to solve it so I will wait for your feedback.Mandatory checks
CHANGELOG.mddescribed in a way that is understandable for the average user (if applicable)