v0.2.1
Pre-releaseVOFA-NEXT Release Notes
v0.2.1
This is a palette & trigger patch release: the widget palette is rebuilt as a compact, searchable, virtualized list with a quick-jump bar; a new Trigger widget matches command strings against a rule table (exact / prefix / contains / regex / range / glob) and outputs numbers or text, paired with a new Text Display widget; the 3D display gains a combined trajectory + attitude mode with rotation ports. On the fix side, update checks no longer break on GitHub API rate limits (static release manifests instead), and light-theme backgrounds now actually follow the color tokens.
✨ New Features
1. Trigger Widget: Command Matching Rule Table
- A new Trigger control widget maps command strings to outputs via an ordered rule table — first hit wins, with configurable default miss value/text.
- Six match types per rule: Exact, Prefix, Contains, Regex (with flags), Range (
min..max,Infinitysupported), and Glob (*/?/[abc]/{a,b,c}); each rule outputs either a number or a string. - Manual mode fires the typed command with
Ctrl/Cmd + Enter; Auto mode triggers on upstream input. The backend matcher node mirrors the frontend rule config and caches compiled regex/glob patterns per rule.
2. Text Display Widget
- New Text Display widget renders string values in the data tab — the natural sink for the Trigger widget's string output.
3. Widget Palette Redesign
- Category tabs are replaced by a single scrollable list of collapsible sections (input / transport / protocol / display / math / filter / fft / custom) with compact single-line rows, plus a search box with match highlighting.
- A quick-jump icon bar pinned at the panel top scrolls the inner list to each section and highlights the active one; the jump/highlight logic is a deterministic state machine — no timers, no flicker mid-scroll.
- The list is virtualized (
@tanstack/react-virtual) over a flat header/row model, so scrolling re-renders only visible rows; the model is pure functions with unit tests. - The drag ghost is now centered on the cursor with a scale-up fade on drop, disabled under
prefers-reduced-motion; the sidebar height chain is fixed so panels scroll internally.
4. 3D Display: Trajectory + Attitude Mode
- New combined trajectory-attitude mode renders the trail and the rotating model together; input ports grow to x / y / z (position) plus roll / pitch / yaw (rotation, missing channels default to 0).
- The custom GLB/GLTF model import entry was pulled from this release — the built-in cube remains the only model source for now.
🐛 Fixes
- Update check no longer hits GitHub API 403 rate limits: unauthenticated
api.github.comrequests are capped at 60/hour per egress IP (easily exceeded on shared NAT/VPN egress). Both channels now resolve a static manifest served by the release asset service — stable viareleases/latest/download/latest.json, beta via a rollingbetatag refreshed by the release workflow. Release notes and date come from the manifest itself; the frontend contract is unchanged. - Light theme backgrounds follow tokens: the window base layer uses the
bg-windowtoken, the light theme'sbgActivityis now an actual light color, and activity bar icons stay readable on both light and dark bar backgrounds — locked in by a luminance regression test.
📦 Installers
- macOS:
.dmg— universal - Linux:
.deb/.AppImage - Windows:
.msi/.exe(NSIS)
VOFA-NEXT 发布说明
v0.2.1
本次为 控件面板与触发器 补丁版本:控件面板重构为紧凑、可搜索、虚拟化的折叠列表并配备快捷跳转栏;新增 触发器(Trigger)控件,按规则表匹配命令字符串(精确 / 前缀 / 包含 / 正则 / 区间 / Glob)并输出数值或文本,配套新增 文本显示 控件;3D 显示新增 轨迹+姿态 组合模式与旋转端口。修复方面:更新检查改为静态发布清单,不再受 GitHub API 限流影响;浅色主题背景现在正确遵循颜色令牌。
✨ 新特性
1. 触发器控件:命令匹配规则表
- 新增 触发器 控件,通过有序规则表将命令字符串映射为输出——首个命中规则生效,未命中可配置默认值/默认文本。
- 每条规则支持六种匹配类型:精确、前缀、包含、正则(支持 flags)、区间(
min..max,支持Infinity)、Glob(*/?/[abc]/{a,b,c});输出可选 数值 或 字符串。 - 手动 模式下输入命令后按
Ctrl/Cmd + Enter触发;自动 模式跟随上游输入触发。后端匹配节点镜像前端规则配置,正则/glob 按规则缓存编译结果。
2. 文本显示控件
- 新增 文本显示 控件,在数据页渲染字符串值——触发器控件字符串输出的天然下游。
3. 控件面板重构
- 分类标签页替换为 单滚动折叠分区列表(输入 / 传输 / 协议 / 显示 / 数学 / 滤波 / FFT / 自定义),紧凑单行布局,新增 搜索框。
- 面板顶部固定 快捷跳转图标栏,点击滚动到对应分区并高亮当前分区;跳转/高亮为确定性状态机——无定时器,滚动路径上不高亮闪烁。
- 列表基于
@tanstack/react-virtual虚拟化(扁平 header/row 模型),滚动仅重渲染可见行;模型为纯函数并附单元测试。 - 拖拽幽灵居中于光标,落下时缩放淡入动画(
prefers-reduced-motion下禁用);修复侧栏高度链,面板内部滚动而非外层容器滚动。
4. 3D 显示:轨迹+姿态模式
- 新增 轨迹+姿态 组合模式,拖尾轨迹与旋转模型同屏显示;输入端口扩展为 x / y / z(位置)+ roll / pitch / yaw(旋转,缺失通道补 0)。
- 自定义 GLB/GLTF 模型导入入口本版本撤回——目前模型来源仅保留内置立方体。
🐛 修复
- 更新检查不再触发 GitHub API 403 限流:未认证的
api.github.com请求每出口 IP 限 60 次/小时(共享 NAT/VPN 出口极易超限)。两个通道改为解析 静态清单——stable 走releases/latest/download/latest.json,beta 走发布工作流持续刷新的滚动beta标签。发布说明与日期取自清单本身,前端契约不变。 - 浅色主题背景遵循令牌:窗口基础层改用
bg-window令牌,浅色主题的bgActivity改为真正的浅色,活动栏图标在深浅背景上均可读——并有亮度回归测试锁定。
📦 安装包
- macOS:
.dmg— universal - Linux:
.deb/.AppImage - Windows:
.msi/.exe(NSIS)