dsh-conversation-float 0.3.2 → 0.3.3
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 +8 -6
- package/client.js +421 -133
- package/docs/README.de.md +8 -6
- package/docs/README.es.md +8 -6
- package/docs/README.fr.md +8 -6
- package/docs/README.ja.md +8 -6
- package/docs/README.pt.md +8 -6
- package/docs/README.ru.md +8 -6
- package/docs/README.zh.md +8 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -24,9 +24,9 @@ The same button cycles through three states:
|
|
|
24
24
|
2. hide the DSH interface and leave only the float;
|
|
25
25
|
3. show the DSH interface again.
|
|
26
26
|
|
|
27
|
-
Closing the float
|
|
27
|
+
Closing the float or minimising it into the left sidebar leaves the sidebars where they are. They stay exactly as you left them, and changes you make while the float is open carry over to the layout after it closes: the plugin keeps no sidebar snapshot to restore. Docking is different — the conversation becomes a page of DSH's own right sidebar, and DSH owns that bar from then on.
|
|
28
28
|
|
|
29
|
-
The window's **—** button minimises it: the window disappears, but its left-sidebar taskbar row stays. Click that row to bring it back. The **✕** button closes it for good: the window and its row go away, and the conversation returns to the middle column.
|
|
29
|
+
The window's **—** button minimises it: the window disappears, but its left-sidebar taskbar row stays. Click that row to bring it back. When the float was the only thing on screen, **—** also brings the DSH interface back and puts both sidebars away, so minimising never leaves a blank page behind. The **✕** button closes it for good: the window and its row go away, and the conversation returns to the middle column.
|
|
30
30
|
|
|
31
31
|
While DSH is hidden, **Escape** brings the interface back.
|
|
32
32
|
|
|
@@ -65,6 +65,8 @@ Each Session can have one float. Every float gets a row in the left sidebar, ord
|
|
|
65
65
|
|
|
66
66
|
The right sidebar guide's own **Move the conversation here** row hands the tab to DSH's right sidebar; a drag never docks, because the right column is drawn only while the Conversation fills the main column. The tab type is registered with `keepMounted`, so switching to another right-sidebar tab leaves the conversation in its own tab body. The column follows whichever retained body is on screen while its Session is live; for any other Session the middle column is the seat again.
|
|
67
67
|
|
|
68
|
+
Collapsing the right sidebar while the conversation is docked there gives that Session a row in the **left** sidebar: the page, its tab strip and the conversation all went inside the bar that collapsed. The row stays while you work in another Session — each Session keeps its own right bar. Clicking the row selects the docked Session and **expands** its right sidebar. It never toggles — a bar that is already open stays open.
|
|
69
|
+
|
|
68
70
|
## Draft and composer
|
|
69
71
|
|
|
70
72
|
A Session has one input shell and one editor, and the editor can only ride one DOM root at a time. When the conversation moves between the middle column, a window and a right-sidebar page, the plugin re-attaches the editor to the composer on screen and restores the draft writer into an empty slot. The draft you see is the draft that gets sent.
|
|
@@ -82,7 +84,7 @@ Each animation frame does at most one layout measurement. The three drop bands a
|
|
|
82
84
|
- A window whose Session is not live shows a **read-only transcript**: no View tabs, no composer. Switch it to the live Session to type.
|
|
83
85
|
- The live float keeps a full local conversation while a non-conversation page is open, but that page is **behind the window**. The float does not shrink to a sidebar or dock itself automatically.
|
|
84
86
|
- The float belongs to the Session that opened it. Switching Sessions hands the conversation to the new Session's middle column or its own float; switching back brings the old float back.
|
|
85
|
-
- Restarting DSH clears
|
|
87
|
+
- Restarting DSH clears every float effect: windows, taskbar rows, window positions, minimised state and right-sidebar docks. The conversation returns to the middle column, and selecting the Session later does not bring the last arrangement back.
|
|
86
88
|
- The composer repair uses a few DSH-internal shapes (the editor behind the composer box, the conversation input shell, and its draft slot). A future DSH release that renames them degrades to the old behaviour rather than crashing.
|
|
87
89
|
|
|
88
90
|
## Install
|
|
@@ -91,18 +93,18 @@ Requires DSH **>= 0.2.2-rc.1**.
|
|
|
91
93
|
|
|
92
94
|
### From npm
|
|
93
95
|
|
|
94
|
-
npm i dsh-conversation-float@0.3.
|
|
96
|
+
npm i dsh-conversation-float@0.3.3
|
|
95
97
|
|
|
96
98
|
Then register it in the **profile's `package.json`** — both steps are required:
|
|
97
99
|
|
|
98
|
-
1. add `"dsh-conversation-float": "^0.3.
|
|
100
|
+
1. add `"dsh-conversation-float": "^0.3.3"` to `dependencies`;
|
|
99
101
|
2. add `"dsh-conversation-float"` to the profile's `dsh.profile.bundles` list.
|
|
100
102
|
|
|
101
103
|
Only a registered bundle shows up in the plugin list and can be toggled.
|
|
102
104
|
|
|
103
105
|
### From a tarball
|
|
104
106
|
|
|
105
|
-
dsh plugin add <path-to>/dsh-conversation-float-0.3.
|
|
107
|
+
dsh plugin add <path-to>/dsh-conversation-float-0.3.3.tgz
|
|
106
108
|
|
|
107
109
|
Or put the tarball in the profile and use a `file:` dependency, then add the name to the bundle list.
|
|
108
110
|
|