Skip to content

feat: replace desktop QA popup with egui - #997

Draft
aeoform wants to merge 5 commits into
Open-Less:betafrom
aeoform:feat/linux-egui-popups
Draft

feat: replace desktop QA popup with egui#997
aeoform wants to merge 5 commits into
Open-Less:betafrom
aeoform:feat/linux-egui-popups

Conversation

@aeoform

@aeoform aeoform commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace the desktop selection QA WebView popup with a native egui popup on Linux, Windows, and macOS
  • keep the egui selection-polish preview Linux-only while Windows and macOS retain the existing WebView path
  • embed popup mode in the main executable and communicate through JSON lines over stdin/stdout
  • restore the original QA layout behavior, selected-text envelope presentation, right-aligned user messages, Markdown rendering, wrapping, rounded corners, dragging, and Escape dismissal
  • keep the recording composer and selection context inside fixed window bounds

Validation

  • cargo check --bin openless --bin egui_popup
  • cargo build --release --bin openless
  • manually tested the Linux QA and selection-polish popup flows

Platform note

The current development environment only has the Linux Rust target installed. Linux was compiled and manually exercised; Windows and macOS routing is implemented but was not cross-compiled locally.

@H-Chris233
H-Chris233 marked this pull request as draft August 26, 2026 07:49
appergb pushed a commit that referenced this pull request Sep 10, 2026
- design_tokens.rs:tokens.css 的 Rust 对照表(浅/深双主题、圆角阶梯、
  侧栏/弹窗尺寸),跨平台单测锁定与 CSS 字面值一致
- ui/ 模块(仅 Linux 编译):theme.rs(egui Style/Visuals + CJK 字体探测
  安装,移植 #997 并修正多候选覆盖)、widgets.rs(卡片/状态胶囊/按钮/
  分段/开关/键值行/页头)、prefs.rs(深浅主题持久化,不进 Core 合同)
- main.rs 外壳对齐 FloatingShell:226px 侧栏(版本行 + BETA 徽章 + 扁平
  导航 + 工具分组 + 底部设置),<760px 横向胶囊导航
- 设置弹窗对齐 SettingsModal:环境与设置/AI 服务/本地模型/手机输入四分
  区收纳进居中 960x680 弹窗(遮罩 + rail),不再占主导航
- 十页全部 2.0 化:概览状态卡、听写状态胶囊、QA 双气泡(#997 布局)、
  选区预览卡、Agent 审批卡 + 跨页横幅、历史卡片、模型目录元数据卡
- ci.yml 新增 linux-egui 任务(ubuntu:cargo test + check --all-targets),
  UI 改动从此有 Linux 编译门禁
- 交接文档:04 页面现状、02 L09、README 起点同步
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant