Initial release of @local/dsh-chat-split v1.0.0
This commit is contained in:
commit
1e908ed64e
5 files changed
+1123
No files matched your search
@@ -0,0 +1,20 @@
|
|||||||
|
# @local/dsh-chat-split
|
||||||
|
|
||||||
|
DSH plugin for multi-chat split screen with responsive grid wrapping, per-chat sidebars, and customizable layout rules.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- **Responsive Grid Layout**: Places chats side-by-side; when the container width falls below the readability threshold, chats automatically wrap vertically into a grid of rows.
|
||||||
|
- **Configurable Minimum Height**: Windows enforce a minimum height (default `396px`, configurable in Settings) to guarantee conversation readability.
|
||||||
|
- **Settings with Interactive Preview**: Dedicated Settings section with an interactive resizable preview box and chat-count selector showing real-time reflow behavior.
|
||||||
|
- **Per-Chat Sidebar**: Every split window features its own toggleable mini-sidebar listing sessions, letting you switch individual windows or jump to conversations.
|
||||||
|
- **Active Split Blue Glow Highlight**: When selecting a chat that is already open in another split window while split view is active, that window pulses with a brief blue glow highlight.
|
||||||
|
- **Include / Exclude Controls**: Add or remove any chat directly from the session menu (`...`) in the workspace sidebar.
|
||||||
|
- **Window Top Bar**: Every window includes controls to move position in the grid (`◀` and `▶`) or close (`✕`) the window.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
1. Open **Split view** from the sidebar panellist icon (`⊞`).
|
||||||
|
2. Use "+ Add open chats" or click the `...` menu on any session in the workspace sidebar and choose **Include in split view**.
|
||||||
|
3. In any split window, use `◀ Sidebar` to view available sessions and switch chats.
|
||||||
|
4. Customize minimum height and readability width threshold in **Settings → Chat split**.
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
- insert:
|
||||||
|
- id: dsh-chat-split
|
||||||
|
name: '@local/dsh-chat-split'
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
/** Host half of @local/dsh-chat-split; the Client module owns all behavior. */
|
||||||
|
export function apply() {}
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"name": "@local/dsh-chat-split",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "DSH plugin: Multi-chat split grid view with responsive wrapping, per-window sidebars, interactive preview, and include/exclude controls.",
|
||||||
|
"private": true,
|
||||||
|
"type": "module",
|
||||||
|
"exports": {
|
||||||
|
".": "./index.js",
|
||||||
|
"./client": "./client.js"
|
||||||
|
},
|
||||||
|
"dsh": {
|
||||||
|
"bundle": {
|
||||||
|
"patch": "./cordis.patch.yml"
|
||||||
|
},
|
||||||
|
"client": {
|
||||||
|
"platform": "web",
|
||||||
|
"immediately": true,
|
||||||
|
"inject": [
|
||||||
|
"@deepseek-ai/dsh-client-ui-layout",
|
||||||
|
"@deepseek-ai/dsh-client-ui-sidebar",
|
||||||
|
"@deepseek-ai/dsh-client-ui-workspace",
|
||||||
|
"@deepseek-ai/dsh-client-ui-session",
|
||||||
|
"@deepseek-ai/dsh-client-ui-conversation"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user