rita-workspace 0.5.48 → 0.5.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
# Rita Workspace
|
|
1
|
+
# Excalidraw/Rita Workspace
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/rita-workspace)
|
|
4
|
+
[](https://www.npmjs.com/package/rita-workspace)
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
npm install rita-workspace
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
Multi-drawing workspace feature for Excalidraw/Rita (Excalidraw fork based on B310-digital/excalidraw).
|
|
11
|
+
|
|
12
|
+
<img width="504" height="574" alt="image" src="https://github.com/user-attachments/assets/ada58a93-a664-4ab2-80e2-55354ae3a544" />
|
|
4
13
|
|
|
5
14
|
## Features
|
|
6
15
|
|
|
@@ -10,7 +19,7 @@ Multi-drawing workspace feature for Rita (Excalidraw fork based on B310-digital/
|
|
|
10
19
|
- **Multi-tab conflict detection** - Prevents data loss when same drawing is open in multiple tabs
|
|
11
20
|
- **F5 preserves write ownership** - TAB_ID and openedAt persist in sessionStorage across page refresh
|
|
12
21
|
- **Cross-tab refresh** - Creating/renaming/deleting drawings in one tab auto-refreshes other tabs via BroadcastChannel
|
|
13
|
-
- **Workspace toggle** -
|
|
22
|
+
- **Workspace toggle** - Can be enabled/disabled per browser tab
|
|
14
23
|
- **Export/Import** - Export workspace as JSON, export all drawings as individual .excalidraw files, import .excalidraw files
|
|
15
24
|
- **i18n support** - Swedish and English with automatic Excalidraw language sync
|
|
16
25
|
- **Optimized loading** - DB pre-warming and parallel initialization
|
|
@@ -111,7 +120,7 @@ if (isDrawingOpenedEarlierInOtherTab(drawingId)) {
|
|
|
111
120
|
- **localStorage** (`rita-workspace-tabs`) — persistent tab registry, backup for BroadcastChannel
|
|
112
121
|
- **Stale tab cleanup** — on mount, pings other tabs via BroadcastChannel and removes entries that don't respond
|
|
113
122
|
|
|
114
|
-
## Workspace Toggle
|
|
123
|
+
## Workspace Toggle
|
|
115
124
|
|
|
116
125
|
The workspace can be enabled/disabled per browser tab using `sessionStorage`:
|
|
117
126
|
|