Repository navigation
Show a toast after a manual save - #119
Conversation
With autosave off, nothing told the user whether clicking Save or pressing Ctrl+S did anything. A short toast now confirms a successful save; with autosave on, saves are silent as before. Fixes #38 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
PR Summary by QodoConfirm successful saves when autosave is off
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
Code Review by Qodo
1.
|
| - We added "Show in JabRef" (<kbd>Ctrl</kbd> + <kbd>J</kbd>) to select a BibTeX node's entry in JabRef. [#46](https://github.com/JabRef/jabmap/issues/46) | ||
| - We added this changelog. It is checked by [heylogs](https://github.com/nbbrd/heylogs) in CI. [#103](https://github.com/JabRef/jabmap/pull/103) | ||
| - We added autosave: after a mind map was opened, every change, undo and redo is saved to JabRef immediately. The "Autosave" toggle in the toolbar switches it off. A failed save turns the "Save" button red. [#36](https://github.com/JabRef/jabmap/issues/36) | ||
| - We added a toast confirming a successful save when autosave is off. [#38](https://github.com/JabRef/jabmap/issues/38) |
There was a problem hiding this comment.
2. Changelog uses a bare issue reference 📘 Rule violation ⚙ Maintainability
The new changelog entry ends with [#38] instead of a full issue URL. Anyone following the reference must rely on the bare number rather than an unambiguous link, which makes the new comment inconsistent with the checklist's documentation requirement.
Agent Prompt
## Issue description
The new changelog entry uses the bare issue reference `[#38]`, while new issue and PR references must use full URLs.
## Fix Focus Areas
- CHANGELOG.md[17-17]
## Recommended Fix
Replace `[#38]` with a Markdown link to `https://github.com/JabRef/jabmap/issues/38`, matching the full-URL style required for new references.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
Toggling autosave while a save was in flight could show or hide the toast for the wrong save. Also reuse the toast that landed on main. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
With autosave off, nothing told the user whether clicking Save or pressing Ctrl+S did anything. A short toast now confirms a successful save. With autosave on, saves stay silent, since one would otherwise pop up after every change.
Fixes #38
How to test (JabRef with HTTP server enabled, or
jabsrv):Tested the first two steps in the Electron build against a stub of the HTTP server; the failed-save path is unchanged.
🤖 Generated with Claude Code