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 Add To Group action to context menu of entries #12368

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Siedlerchr
Copy link
Member

@Siedlerchr Siedlerchr commented Jan 8, 2025

Workaround for forum issue
https://discourse.jabref.org/t/jabref-6-0-drop-down-menu-in-groups-doesnt-close-line-item-doesnt-stay-highlighted/5336/14?u=siedlerchr

grafik

Mandatory checks

  • I own the copyright of the code submitted and I licence it under the MIT license
  • Change in CHANGELOG.md described in a way that is understandable for the average user (if change is visible to the user)
  • 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.

* upstream/main:
  Update abbrv.jabref.org (#12365)
  Bump buildres/abbrv.jabref.org from `78e1b08` to `c202741` (#12363)
  Bump org.beryx.jlink from 3.1.0-rc-1 to 3.1.1 (#12362)
  Bump tech.units:indriya from 2.2.1 to 2.2.2 (#12361)
  Bump com.dlsc.gemsfx:gemsfx from 2.80.0 to 2.81.0 (#12360)
  Bump org.mariadb.jdbc:mariadb-java-client from 2.7.9 to 2.7.12 (#12359)
  Bump org.mockito:mockito-core from 5.14.2 to 5.15.2 (#12358)
  Fix content not correctly parsed at pdf content importer (#12338)
  Bump de.undercouch:citeproc-java from 3.1.0 to 3.2.0 (#12347)
  Bump org.openrewrite.rewrite from 6.29.0 to 6.29.2 (#12345)
  Improve utf8 detection  (#12342)
  Bump org.fxmisc.richtext:richtextfx from 0.11.3 to 0.11.4 (#12346)
  Bump ai.djl:bom from 0.30.0 to 0.31.1 (#12344)
  Bump com.puppycrawl.tools:checkstyle from 10.21.0 to 10.21.1 (#12343)
Copy link
Contributor

github-actions bot commented Jan 8, 2025

The build of this PR is available at https://builds.jabref.org/pull/12368/merge.

this.stateManager = stateManager;
this.dialogService = dialogService;

this.executable.bind(ActionHelper.needsEntriesSelected(stateManager));
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this action be disabled if entries cannot be added to the selected groups (All entries group/Search group)?
org.jabref.gui.groups.GroupNodeViewModel#canAddEntriesIn

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, this is what I thought as well. Needs some more adjustments. Was just a first quick hack yesterday evening so that the user can test

Copy link
Collaborator

@LoayGhreeb LoayGhreeb left a comment

Choose a reason for hiding this comment

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

  • What about the "Remove entries from this group" option? I see in the video, It is also not accessible.
  • The string "Add selected entries to this group" can be changed to "Add selected entries to the selected group(s)" since multiple groups can be selected and entries can be added to them.

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.

2 participants