[Feature]: 悬浮助手入口(Hello / Hi)常驻且无法隐藏,希望提供关闭或收起选项
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
Research direction
Start by tracing the application-shell rendering described in the report and inspect dist/assets/FloatingMiniChat-*.js and *.css. Check how the Settings → Voice preference is persisted and how the command palette or sidebar exposes the floating session and real-time voice features. Done means the launcher visibility preference survives restart, restores correctly, and does not disable the voice functionality.
Written by the indexing model from the issue text.
Description
Problem / opportunity
主窗口右下角常驻一个悬浮入口:折叠态显示 Hi,完整标签是 Hello,点击后打开悬浮迷你聊天 / 实时语音助手面板。
问题在于:这个入口是常驻且无法关闭的。
- 主窗口所有场景都能看到它(欢迎页、会话场景都一样)。
- 设置 → 语音 里只有「启用客户端语音助手」一个开关。实测把它关掉之后实时语音功能停了,但入口按钮依然常驻。
- 入口固定在窗口右下角、聊天输入框下方那一层,窗口尺寸小的时候会贴住底部控件。
对不用实时语音的人,这是一个长期存在、无法移除的干扰项:
- 占用右下角本就紧张的空间,窗口小的时候会压住底部一栏。
- 录屏、演示、截图时无法把它从画面里去掉。
- 用户能关掉语音功能,却关不掉功能入口,交互上是不自洽的。
Proposed behavior
给用户一个可选的隐藏方式,默认行为不变(默认仍常驻):
- 最小改动:在 设置 → 语音(或 设置 → 外观)里增加一个「显示悬浮助手入口」开关。关闭后右下角不再渲染该入口。
- 进阶:入口支持拖拽/停靠,拖到侧边自动收起为细条,鼠标悬停再浮现。
- 状态可选:常驻 / 仅悬停区域时浮现 / 完全隐藏 三档。
- 兜底入口:关闭悬浮入口后,把「悬浮会话」「实时语音」保留在命令面板(Ctrl K)或侧边栏菜单里,避免关掉之后没有入口可开。
建议至少实现方案 1 + 方案 4。
Product surface
Desktop app
Details, examples, or constraints
环境
- OpenBitFun 桌面端 1.0.1(commit 32e18ac),Windows
- 界面语言:zh-CN,主题:跟随系统
- 入口位于屏幕 (1979, 1295),尺寸约 90×45;窗口内距右边缘约 10px、下边缘约 6px
复现步骤
- 打开 OpenBitFun 主窗口。
- 观察右下角,可见折叠态入口
Hi(无障碍名称「OpenBitFun 助手」)。 - 进入 设置 → 语音 → 实时语音通话,关闭「启用客户端语音助手」。
- 重启应用。
- 右下角入口依然存在,可正常点开悬浮面板。
前端线索(来自发布产物,供定位参考)
dist/assets/FloatingMiniChat-*.js/*.css- 容器:
.openbitfun-fmc { position: fixed; right: 0; bottom: 0; } - 按钮:
.openbitfun-fmc__button,aria-label 取自 i18ndock.open(中文「OpenBitFun 助手」) - 折叠态可见文字取自 i18n
voiceCall.call.launcherCompactLabel,值为Hi;完整标签voiceCall.call.launcherLabel为Hello - 该组件在应用外壳里无条件渲染,仅当面板展开时通过 CSS 把自身设为
opacity: 0; visibility: hidden
验收标准
- 关闭「显示悬浮助手入口」后,右下角不再出现该入口。
- 应用重启后该偏好保持。
- 重新打开开关后入口恢复,实时语音功能不受影响。
- 关闭入口后,仍能通过命令面板或侧边栏打开悬浮会话 / 实时语音。
- Dominant language
- Rust
- Stars
- 2.3k
- Forks
- 236
- Avg merge
- 2h 55m
- Merged PRs (30d)
- 611
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GCWing/OpenBitFun
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
GCWing/OpenBitFun#2363 ·
-
question
Difficulty 1/5 Under an hour Newbie friendliness 78/100
GCWing/OpenBitFun#2340 ·
-
GCWing/OpenBitFun#3195 · 2 comments · 1 assignee ·
-
GCWing/OpenBitFun#3193 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
GCWing/OpenBitFun#3190 ·
All issues in GCWing/OpenBitFun
Similar issues
-
Browser (wasm) relay client cannot connect to relays whose URL has a trailing-dot FQDN hostname Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
n0-computer/iroh#4550 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
paritytech/zombienet-sdk#591 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
farion1231/cc-switch#7638 · 1 comment ·
-
onnx-ir re-exports ModelProto and GraphProto but not NodeProto, AttributeProto and AttributeType Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100