Prevent bulk imports from adding entries to navigation history#14550
Prevent bulk imports from adding entries to navigation history#14550shubhamk0205 wants to merge 53 commits into
Conversation
* Add JDK24 for gradle * Run JBang tests on JDK25 * Update build-support JBang scripts to require JDK25+ * Remove JDK24 installation * Weaken requirement for .jbang files * Add JDK24 * Relax JDK requirement (and sort deps alphabetically)
* Add fallback * Fix writing * Add link * Fix CHANGELOG.md --------- Co-authored-by: Christoph <siedlerkiller@gmail.com>
* Implement reset for MainTablePreferences Signed-off-by: Annabel Wang <annabelwyn11@gmail.com> * Added comments Signed-off-by: Annabel Wang <annabelwyn11@gmail.com> * Use List.of() instead of Collections.emptyList(). Signed-off-by: Annabel Wang <annabelwyn11@gmail.com> * rewriteRun + checkstyle set up Signed-off-by: Annabel Wang <annabelwyn11@gmail.com> * Revert "rewriteRun + checkstyle set up" This reverts commit 148ce13. --------- Signed-off-by: Annabel Wang <annabelwyn11@gmail.com>
| /** | ||
| * Marks the start of a bulk import operation. | ||
| * During bulk import, selection changes will not be added to navigation history. | ||
| */ | ||
| public void startBulkImport() { | ||
| bulkImportInProgress = true; | ||
| } | ||
|
|
||
| /** | ||
| * Marks the end of a bulk import operation. | ||
| * Normal navigation history tracking resumes after this call. | ||
| */ | ||
| public void endBulkImport() { | ||
| bulkImportInProgress = false; | ||
| } | ||
|
|
…cted' (JabRef#14561) * change: Rename 'Search pre-configured' to 'Search pre-selected' and 'Web search fetchers' to 'Pre-selected fetchers' * fix: Update localization keys and unit tests * docs: Update CHANGELOG for UI label renames
* Refactor PagesChecker: Extract duplicate regex constants Fixes JabRef#14562 * fix comments dont align on indentation * Restore regex comments * Revert "Merge branch 'refactor-pages-clean' of https://github.com/Zeglow/jabref into clean-fix" This reverts commit 788979c, reversing changes made to a4a0236. * Revert "Restore regex comments" This reverts commit a4a0236. * restore MainTablePreferences.java, JabRefGuiPreferences.java and PagesChecker.java * fix comment formatting issue
* Implement reset for MainTablePreferences Signed-off-by: Annabel Wang <annabelwyn11@gmail.com> * Added comments Signed-off-by: Annabel Wang <annabelwyn11@gmail.com> * Use List.of() instead of Collections.emptyList(). Signed-off-by: Annabel Wang <annabelwyn11@gmail.com> * rewriteRun + checkstyle set up Signed-off-by: Annabel Wang <annabelwyn11@gmail.com> * Revert "rewriteRun + checkstyle set up" This reverts commit 148ce13. --------- Signed-off-by: Annabel Wang <annabelwyn11@gmail.com>
…cted' (JabRef#14561) * change: Rename 'Search pre-configured' to 'Search pre-selected' and 'Web search fetchers' to 'Pre-selected fetchers' * fix: Update localization keys and unit tests * docs: Update CHANGELOG for UI label renames
* Refactor PagesChecker: Extract duplicate regex constants Fixes JabRef#14562 * fix comments dont align on indentation * Restore regex comments * Revert "Merge branch 'refactor-pages-clean' of https://github.com/Zeglow/jabref into clean-fix" This reverts commit 788979c, reversing changes made to a4a0236. * Revert "Restore regex comments" This reverts commit a4a0236. * restore MainTablePreferences.java, JabRefGuiPreferences.java and PagesChecker.java * fix comment formatting issue
* Parameterize tests (issue JabRef#676) * Address code review feedback * Fix code style * Remove spaces before delimiter in CSV test data * Restore trailing comma in test cases * Add missing test case * Adress review comments --------- Co-authored-by: Oliver Kopp <kopp.dev@gmail.com>
* New translations jabref_en.properties (French) * New translations jabref_en.properties (Spanish) * New translations jabref_en.properties (Italian) * New translations jabref_en.properties (Portuguese, Brazilian)
…Ref#14534) * Add 15 non-standard BibLaTeX entry types with .withType() method * updated ChangeLog.md * fixed formatting issue * fixed Formatting * fixed Checkstyle's DeclarationOrder * fix checkstyle errors * fixed Key Collision error * New Crowdin updates (JabRef#14535) * New translations jabref_en.properties (French) * New translations jabref_en.properties (Spanish) * New translations jabref_en.properties (Danish) * New translations jabref_en.properties (German) * New translations jabref_en.properties (Greek) * New translations jabref_en.properties (Italian) * New translations jabref_en.properties (Japanese) * New translations jabref_en.properties (Korean) * New translations jabref_en.properties (Dutch) * New translations jabref_en.properties (Norwegian) * New translations jabref_en.properties (Polish) * New translations jabref_en.properties (Portuguese) * New translations jabref_en.properties (Russian) * New translations jabref_en.properties (Swedish) * New translations jabref_en.properties (Turkish) * New translations jabref_en.properties (Chinese Simplified) * New translations jabref_en.properties (Vietnamese) * New translations jabref_en.properties (Portuguese, Brazilian) * New translations jabref_en.properties (Indonesian) * New translations jabref_en.properties (Tagalog) * Revise JavaDoc links in README.md (JabRef#14533) * applied given changes * fixed formatting * fixed formatting * Update jabgui/src/main/java/org/jabref/gui/menus/ChangeEntryTypeMenu.java Co-authored-by: Oliver Kopp <kopp.dev@gmail.com> * fixed alphabatical ordering * Fix link * Proxy Preference reset (JabRef#14554) * Fix typos (JabRef#14552) * Add LlmPlainCitationParserTest (JabRef#14553) * Junie try 1 * Refine test * Fix casing * updated ChangeLog.md * moved the non-standard types to their own own enum class and updated the connected files * eevert "Proxy Preference reset (JabRef#14554)" This reverts commit 430b6b9. Clean PR * Fix CHANGELOG.md --------- Co-authored-by: Christoph <siedlerkiller@gmail.com> Co-authored-by: Oliver Kopp <kopp.dev@gmail.com> Co-authored-by: Lalit Kumar Verma <lalit2506verma@gmail.com>
…/jabref into fix-for-issue-13878
|
Closing this PR and replacing it with #14575 which has a cleaner commit history. The changes are identical. |
|
Dont close prs and reopen. GitHub will automatically update your pr if you push to. In rare cases, if you totally mess up your commit history, you may force push. Our comments will be lost. |
i will surely keep this in mind @calixtus , i thought i had no option because i thought that the CI reject changes with force push as i once tried earlier |
|
Ci will complain, yes, but not reject. As I said, in rare cases only. But the tradeoff is less heavy as creating a new pr with a new branch in my eyes |
from next time i will keep this in mind , Thanks for guiding : ) |
Closes #13878
Prevent bulk import operations from polluting the navigation history. When multiple entries are imported at once, automatic selection changes are now suppressed from being recorded in the navigation history. This ensures that only user-driven navigation actions are tracked, keeping the Back/Forward buttons functional and predictable.
Steps to test
Expected behavior: Bulk imports should not enable Back/Forward navigation or add entries to navigation history. Only manual entry selections should affect navigation history.
Mandatory checks