Releases: jinhuang712/dsh-survey
Releases · jinhuang712/dsh-survey
Release list
v1.1.2 — drop composer hint; only light dots for non-current sessions
Changed
- 待答提醒不再触碰 composer:v1.1.1 会在打开待答问卷的 session 时,在输入区显示「本会话有问卷待答」提示条(为顶掉原生重复卡片而加的 composer 接管)。这个提示条挡在输入位置、又指向会话流里的卡片,属于多余打扰,已移除。
- 现在只对当前未打开的 session 喂
question/requestedframe:sidebar 里那些 session 的行照常亮原生 amber「等待回答」dot;当前打开的 session 完全不喂(问卷卡片本来就在会话流里,用户看得见) - 打开某个带 dot 的 session 的瞬间,其 frame 会被
question/resolved清除——dot 熄灭时问卷卡片正好在眼前;切走后 dot 重新亮起 - composer chain 不再注册任何 entry,原生
ask_user_question与输入区完全不受影响
- 现在只对当前未打开的 session 喂
v1.1.0 — English interface, rebuilt grid and compare
The survey card now speaks English as well as Chinese — which is what makes
this a minor release rather than a patch. It follows the Web UI's own language
setting, falling back to the browser's, and switches live.
Added
- English interface. Card copy is no longer hardcoded Chinese: titles, type
labels, progress, buttons, placeholders and the recap all resolve through
zh/en dictionaries. Answer values stay language-neutral, so switching the
interface never changes what the model receives. AGENTS.md— an entry point written for models: the tool name, when to
reach for it, the parameter shape, how to pick a mode, and what comes back.
Fixed
{color:…}inside block Markdown was torn apart. The safe renderer only
accepts whole documents, so splitting a string at colour markers left a bare
>to render as an empty blockquote with the text orphaned outside it.- The recap echoed the raw stored label,
(recommended)marker and all, while
the card strips it into a badge. - Error text rendered at 11px beside a 14px progress counter, making a failed
submit quieter than routine status. - The grid skip control was below the minimum touch target at 20×20.
Changed
- Grid rebuilt against the tokens the rest of dsh uses. Cards previously
took--dsw-alias-bg-layer-1, darker than the card behind them, so they read
as holes punched in it. Card text is also flattened to inline-only, so one
fenced code block can no longer inflate every card in a uniform matrix. - Compare blocks given real weight: the unselected side had no surface at
all, leaving one card beside a bare run of text. Both sides now carry a panel,
and selection reads as lifted rather than tinted. - Client split into
src/modules, bundled by esbuild intolib/client.js
plus a source map the host already serves. React and the UI primitives stay
out of the bundle so the plugin shares the host's instance. Verified
behaviour-preserving: rendered HTML is byte-identical across the split. - README previews are real screenshots now, captured from the shipped
bundle, replacing hand-drawn SVGs that got the UI wrong — single-select drawn
as radio circles when it renders numbered chips, a blue submit button when it
is a near-white pill.README.zh.mdgains a preview section it never had.
完整变更(中文,含每一项的成因)见 CHANGELOG.md。
Install
dsh plugin --profile web add "github:jinhuang712/dsh-survey#v1.1.0"