-
-
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
Issue 10431 relevance star #10620
Issue 10431 relevance star #10620
Conversation
To ease organizational workflows I have linked the pull-request to the issue with syntax as described in https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue
Example:
|
The proposed solution would change what is currently a simple toggle into a two-click operation, making this convenient feature harder to use. The main issue is that the star appears on row selection, even when the entry is not relevant. This creates an opportunity for confusion before I hover or click on the star. Confusion related to hovering or clicking (on the star) occurs mainly because of the row selection and not because of the hover or click. |
I have also solution for the hovering, I will upload my solution without menu part. |
Solution of issue with icon showing while hovering is fixed and uploaded changes in one file are pushed. |
I didn't see any new code? Did you push your changes because now the diff shows no changes |
Hi, changes were done in the firsts commits, changed file is in tab Files changed - https://github.com/JabRef/jabref/pull/10620/files , more specifically, I have changed file MainTable.css where I deleted rows that created the issue. |
Ah okay I see! I will test it later |
We had a longer discussion and refined the intended solution for the issue #10431 (comment) Unfortunately, this is different from yours. Thus, we close this PR. The fix was to add the "right" CSS class. + -fx-icon-color: -jr-gray-2; I found it while browsing through /src/main/java/org/jabref/gui/icon/InternalMaterialDesignIcon.java#L42 ( |
A relevance field was modified so it can no longer be visible upon hovering as it was causing confusion regarding the actual value of selected entry. It has been modified so a new menu appears upon clicking on the "Relevance" field of a selected entry with a selection of 2 options to set it to - Set as Relevant / Set as Irrelevant. Upon choosing one of the mentioned options, the selected entry will be then marked / unmarked with the star icon based by the chosen option. Adding a menu option for "Relevance" was to maintain visual consistency with the existing menu options for special fields such as "Read" and "Priority." Basic tests were also created for this.
Resolves #10431
Mandatory checks
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)