Redmine Auto Save Drafts is a plugin for Redmine that automatically saves your input in tickets and comments, ensuring that your work is never lost due to accidental browser closures or navigation. It restores drafts seamlessly without requiring user intervention.
- Automatically saves ticket descriptions, subjects, and comments locally in the browser.
- Restores drafts automatically without user confirmation.
- Displays "Saved (n seconds ago)" messages dynamically to keep users informed.
- Uses Web Storage (localStorage) for privacy and efficiency.
- Removes saved drafts upon successful form submission.
-
Navigate to your Redmine plugins directory:
cd /path/to/redmine/plugins
-
Clone the repository:
git clone https://github.com/INSANEWORKS/redmine_auto_save_drafts.git redmine_auto_save_drafts
-
Restart your Redmine application:
- Navigate to any ticket creation, editing, or commenting page in Redmine.
- Begin typing in the subject, description, or comment fields.
- Your input will be automatically saved locally every time you make changes.
- If you navigate away from the page and return, your unsaved draft will be automatically restored.
Language | Message Example |
---|---|
English | Comment Saved (5 seconds ago) |
Japanese | コメント 保存済み (5秒前) |
French | Commentaire Enregistré (il y a 5 secondes) |
To add new languages:
- Modify the
messages
object inredmine_auto_save_drafts.js
. - Add the appropriate translations for
saved
,secondsAgo
, andcomment
.
Example:
messages.de = {
saved: "Gespeichert",
secondsAgo: "vor Sekunden",
comment: "Kommentar",
};
- Tested with Redmine 6.x
- Older versions might not be fully supported.
This plugin is licensed under the MIT License. See LICENSE for details.