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

Add tooltip for bib entries in Main Table #10997

Closed
wants to merge 15 commits into from

Conversation

tywe00
Copy link

@tywe00 tywe00 commented Mar 8, 2024

Added Tooltip on maintable cell which shows full table cell content. A checkbox in PreviewTab is added to toggle on/off this functionality.

Mandatory checks

  • Change in CHANGELOG.md described in a way that is understandable for the average user (if applicable)
  • Tests created for changes (if applicable)
  • Manually tested changed features in running JabRef (always required)
  • Screenshots added in PR description (for UI changes)
  • Checked developer's documentation: Is the information available and up to date? If not, I outlined it in this pull request.
  • Checked documentation: Is the information available and up to date? If not, I created an issue at https://github.com/JabRef/user-documentation/issues or, even better, I submitted a pull request to the documentation repository.

Alva Sundströme and others added 15 commits February 29, 2024 14:35
- Add tooltip that shows on all rows in maintable
- Add function that creates bibPreview information (only author and year so far)
- The tablerows are now receiving data models to display tooltip
- Not connected to actual tooltip yet

Closes #4
- Should verify the behaviour of the checkboxes in the preferences menu
- Tests are not currently working for unknown reason
- tooltip can be controlled by the checkbox in preference settings
- Static BooleanProperty should be defined first in the
  BibEntryTableViewModel class
- Add tests that check functionality of methods that work with datamodel for tooltip
Co-Authored-By: AlexWidman <[email protected]>
Co-Authored-By: kihlert <[email protected]>
this.bibPreview = createBibPreviewTooltip(entry);
}

private String createBibPreviewTooltip(BibEntry entry) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the wrong appraoch. As stated in the issuse you should use the existing methods for generating previews
See how it's done in the PrevieViewer

@Siedlerchr
Copy link
Member

Closing this PR due to inactivity 💤

@Siedlerchr Siedlerchr closed this Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tooltip on main table cell should show full table cell content
4 participants