Comments (7)
Hi, I would like to try to solve this issue, if it's possible :)
from jabref.
The BibTeX source shows relevance = {relevant}
for true
or no data for false
from jabref.
I can reproduce.
The issue is that we treat toggle fields differently than fields with more than one value.
Long ago, we decided that it has to be possible to quickly change the state. We did not want to distinguish between undefined
, true
, and false
. We decided to have following to cases:
relevance = {relevant}
if entry is relevant
@Article{,
priority = {prio1},
readstatus = {read},
relevance = {relevant},
}
and relevance
not existing if not relevant
@Article{,
priority = {prio1},
readstatus = {read},
}
We are aware that this cases huge diffs if changing that state, but we accept it in favor of a smaller BibTeX file.
One sees that we use the same color for "relevant" and for "toggle relevance" (on hover). This is not an issue for the read status, because we use colors if set.
There is not a consistency between the contents for the star-ratings (1 to 5 stars if set - all unset stars are gray) and the hover for the other fields.
We do not want to do a deep change to relevance (e.g., introducing slightly relevant, relevant, highly relevant), but keep as is.
We do following:
- Show relevance star only when relevance = true (already implemented)
- Use a different indicator on hover when relevance = false --> we will use a different color (consistent with the stars)
Fix: Color the icons to the colors of the five gray stars (instead of the black). Hoping that the user can distinguish gray from black.
from jabref.
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.
from jabref.
Thanks, @LenkaBuebnkova
To test your changes, you can go to File > Preferences > Entry table > ...
and add Relevance (Special)
to the table.
from jabref.
Hello, I'd appreciate a more comprehensive explanation. While I grasp the general idea, I'm struggling to pinpoint the specific section of the code responsible for setting the 'RELEVANCE' value. Could you kindly assist me in locating this information?
from jabref.
@LenkaBuebnkova I think, maybe the code is somewhere in org.jabref.gui.maintable.columns.SpecialFieldColum. I currently do not see where the actual data is filled. You need to read the code.
Note that you can search for an arbitrary string in the code using Ctrl+Shift+F. Maybe that helps to locate some code.
from jabref.
Related Issues (20)
- Exception on Linux 5.14-dev (rpm file) HOT 18
- the latest release 5.13 can't running on MacOS Mojave HOT 1
- Shared database groups list get synced only after application reboot HOT 2
- Two-way Compatibility with BibDesk HOT 4
- Recidivating exceptions HOT 2
- Search groups confused by non-breaking spaces?
- Flatpack build issue (appstream-missing-developer-name) HOT 7
- Java Out of Bounds Error HOT 9
- Drag and dropping an entry from one library to another doesn't always work
- java.lang.ArrayIndexOutOfBoundsException thrown while saving library HOT 1
- Keep search string across library shows "No results found" even there are entries in the other library HOT 1
- Selected group loses focus after paste doi HOT 4
- Import of bibtex to sub-group works only on first import, after which would be imported to general library HOT 2
- Position (width) of Preview inside entry editor not remembered
- Extra step in documentation
- Ctrl+Shift+K isn't working for me for the latest portable version on Windows 11. :( HOT 4
- Credential store is not supported
- add disjoint or difference (subtraction) to filter Groups HOT 2
- Default journal abbreviation setting
- Improve arxiv parsing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jabref.