Add context menu entry to sort tabs alphabetically#15425
Conversation
|
Hey @DarkMysterio! 👋 Thank you for contributing to JabRef! We have automated checks in place, based on which you will soon get feedback if any of them are failing. We also use Qodo for review assistance. It will update your pull request description with a review help and offer suggestions to improve the pull request. After all automated checks pass, a maintainer will also review your contribution. Once that happens, you can go through their comments in the "Files changed" tab and act on them, or reply to the conversation if you have further inputs. You can read about the whole pull request process in our contribution guide. Please ensure that your pull request is in line with our AI Usage Policy and make necessary disclosures. |
Review Summary by QodoAdd context menu entry to sort tabs alphabetically
WalkthroughsDescription• Adds context menu entry to sort library tabs alphabetically • Implements tab sorting functionality in JabRefFrame • Updates localization and changelog documentation Diagramflowchart LR
A["StandardActions enum"] -- "adds SORT_TABS_ALPHABETICALLY action" --> B["JabRefFrame context menu"]
B -- "executes sort command" --> C["Sorted library tabs"]
D["Localization properties"] -- "provides UI text" --> B
E["CHANGELOG.md"] -- "documents feature" --> F["Release notes"]
File Changes1. jabgui/src/main/java/org/jabref/gui/actions/StandardActions.java
|
Code Review by Qodo
1.
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Updated the changelog to include new features and changes.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ All tests passed ✅🏷️ Commit: c029ac3 Learn more about TestLens at testlens.app. |
|
Hello i think my PR is ready for review |
fixes #15423
Related issues and pull requests
Closes #15423
PR Description
This PR introduces a "Sort tabs alphabetically" option to the context menu of the library tabs, positioned directly below "Open terminal here". The intent is to help users who manage multiple open libraries easily organize and navigate their workspace. The tabs are sorted case-insensitively, keeping the UI clean and improving overall usability when dealing with cluttered tab bars.
Steps to test
File -> New library) and save them with names that are not in alphabetical order (for example:Zebra.bib,Apple.bib,Monkey.bib).Apple.bib,Monkey.bib,Zebra.bib), ignoring case sensitivity.Checklist
CHANGELOG.mdin a way that can be understood by the average user (if change is visible to the user)