Persist file notifications#15403
Conversation
Review Summary by QodoPersist file notifications in info center
WalkthroughsDescription• Add persistent notifications support to file change notifications • Introduce getPersistentNotifications() method to DialogService interface • Implement persistent notifications list in JabRefDialogService using fileNotifications • Auto-hide info center when no persistent notifications exist Diagramflowchart LR
A["DialogService Interface"] -->|adds method| B["getPersistentNotifications"]
C["JabRefDialogService"] -->|implements| B
C -->|uses EasyBind.concat| D["fileNotifications"]
D -->|populates| E["persistentNotifications List"]
E -->|binds to| F["InfoCenter autoHide"]
F -->|hides when empty| G["Info Center UI"]
File Changes1. jabgui/src/main/java/org/jabref/gui/DialogService.java
|
Code Review by Qodo
1. Export blocks auto-hide
|
✅ All tests passed ✅🏷️ Commit: 6ac10c7 Learn more about TestLens at testlens.app. |
|
is the qodo comment valid? |
|
No. Auto-Hide property is bound to emptiness of list of notifications. An export success notification removes itself from list after a few seconds, so list is empty again. |
koppor
left a comment
There was a problem hiding this comment.
Looks good at first sight. Let's merge and see how it behaves.
I see the QODO comment, but I think, we cannot do anything about it.
|
Mhh, maybe valid after all. Maybe needs another group. Maybe an additional flag in the notification to filter by? |
…o fix-group-icons * 'fix-group-icons' of github.com:geovani-rocha/jabref: (26 commits) chore(deps): update dependency org.apache.logging.log4j:log4j-to-slf4j to v2.25.4 (JabRef#15436) chore(deps): update jackson monorepo to v3.1.1 (JabRef#15435) Fix PushToPreferences reset and import (JabRef#15395) Add fulltext fetcher for Wiley via their TDM API (JabRef#15388) Embed in-text nature in reference marks for CSL citations (JabRef#15381) Chore(deps): Bump com.gradleup.shadow:shadow-gradle-plugin (JabRef#15430) Fix not on fx thread exceptions for cleanup and cite key generator (JabRef#15424) Revert "Update gradle to nightly of 2026-03-23 (JabRef#15372)" feat: add benchmarks for Lucene fulltext search and linked file indexing, including setup and teardown of the index. (JabRef#15385) Chore(deps): Bump org.openrewrite.recipe:rewrite-recipe-bom (JabRef#15418) Add claude gitignore (JabRef#15413) Fix group filter icon in side pane (JabRef#15408) Add new prs_link feature Chore(deps): Bump org.glassfish.hk2:hk2-api in /versions (JabRef#15422) Chore(deps): Bump org.openrewrite.rewrite from 7.28.2 to 7.29.0 (JabRef#15419) Chore(deps): Bump jablib/src/main/resources/csl-styles (JabRef#15417) Fix for inconsistent "hide tab bar" behavior (JabRef#15409) Update dependency org.glassfish.hk2:hk2-utils to v4 (JabRef#15407) Persist file notifications (JabRef#15403) Update dependency org.glassfish.hk2:hk2-locator to v4 (JabRef#15405) ...
Co-authored-by: Carl Christian Snethlage <calixtus@users.noreply.github.com>
Related issues and pull requests
Fixes https://github.com/JabRef/jabref-issue-melting-pot/issues/1269
PR Description
Easily extendeble by adding more to-keep-persistent lists in JabRefDialogService constructor.
Steps to test
Open file in JabRef
Do external changes
See file notification until manually closed or hidden
Checklist
CHANGELOG.mdin a way that can be understood by the average user (if change is visible to the user)