[PR #4457] [MERGED] Browser-based drawing backup storage system #6357

Closed
opened 2026-02-05 10:30:13 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/4457
Author: @ssddanbrown
Created: 8/22/2023
Status: Merged
Merged: 8/23/2023
Merged by: @ssddanbrown

Base: developmentHead: drawing_backup_store


📝 Commits (4)

  • a4fbde9 Drawio: Started browser drawing backup store system
  • dd71658 Drawio: Added unsaved restore prompt and logic
  • 3917e50 Drawio: Tweaked fail backup handling during testing
  • 69ac425 Updated readme attribution and fixed eslint issues

📊 Changes

11 files changed (+106 additions, -34 deletions)

View changed files

📝 lang/en/entities.php (+2 -0)
📝 package-lock.json (+6 -1)
📝 package.json (+1 -0)
📝 readme.md (+3 -0)
📝 resources/js/markdown/actions.js (+12 -8)
📝 resources/js/services/drawio.js (+38 -6)
resources/js/services/store.js (+1 -0)
📝 resources/js/services/util.js (+14 -3)
📝 resources/js/wysiwyg/plugin-drawio.js (+20 -15)
📝 resources/views/common/confirm-dialog.blade.php (+2 -1)
📝 resources/views/pages/parts/form.blade.php (+7 -0)

📄 Description

For #4421.

Todo

  • Add image storage on save.
  • Add prompt and restore when drawing already exists in store on edit/create drawing.
  • Update readme attribute with added deps.
  • Test thoroughly across browsers and drawing uses & editors.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BookStackApp/BookStack/pull/4457 **Author:** [@ssddanbrown](https://github.com/ssddanbrown) **Created:** 8/22/2023 **Status:** ✅ Merged **Merged:** 8/23/2023 **Merged by:** [@ssddanbrown](https://github.com/ssddanbrown) **Base:** `development` ← **Head:** `drawing_backup_store` --- ### 📝 Commits (4) - [`a4fbde9`](https://github.com/BookStackApp/BookStack/commit/a4fbde9185bf03db0b0d6e0ca278b235987c2035) Drawio: Started browser drawing backup store system - [`dd71658`](https://github.com/BookStackApp/BookStack/commit/dd71658d7072d76501d882ffe4c349f3b55e5b33) Drawio: Added unsaved restore prompt and logic - [`3917e50`](https://github.com/BookStackApp/BookStack/commit/3917e50c903af674d08d8865d55342e10fc56238) Drawio: Tweaked fail backup handling during testing - [`69ac425`](https://github.com/BookStackApp/BookStack/commit/69ac425903d2a6ebf67762e43450817b846a45db) Updated readme attribution and fixed eslint issues ### 📊 Changes **11 files changed** (+106 additions, -34 deletions) <details> <summary>View changed files</summary> 📝 `lang/en/entities.php` (+2 -0) 📝 `package-lock.json` (+6 -1) 📝 `package.json` (+1 -0) 📝 `readme.md` (+3 -0) 📝 `resources/js/markdown/actions.js` (+12 -8) 📝 `resources/js/services/drawio.js` (+38 -6) ➕ `resources/js/services/store.js` (+1 -0) 📝 `resources/js/services/util.js` (+14 -3) 📝 `resources/js/wysiwyg/plugin-drawio.js` (+20 -15) 📝 `resources/views/common/confirm-dialog.blade.php` (+2 -1) 📝 `resources/views/pages/parts/form.blade.php` (+7 -0) </details> ### 📄 Description For #4421. ### Todo - [x] Add image storage on save. - [x] Add prompt and restore when drawing already exists in store on edit/create drawing. - [x] Update readme attribute with added deps. - [x] Test thoroughly across browsers and drawing uses & editors. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:30:13 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6357