Skip to content

Comments

fix README#17

Open
alitrack wants to merge 4 commits intoyeahhe365:mainfrom
alitrack:main
Open

fix README#17
alitrack wants to merge 4 commits intoyeahhe365:mainfrom
alitrack:main

Conversation

@alitrack
Copy link
Contributor

No description provided.

lihongyan and others added 4 commits December 29, 2025 15:01
新增功能:
- 实现系统级 PIP 浮窗,可置顶于任何应用
- 支持全局快捷键 Alt+G 唤起/最小化
- 修复 PIP 窗口主题传递问题,通过 URL 参数传递系统主题
- 优化主题初始化逻辑,明确处理 light/dark/system 主题
- 修复 PIP 窗口状态管理,避免 user activation 错误

技术改进:
- 新增 content/pip.js 实现 Document PiP API
- 优化 frame.js 和 theme_init.js 的主题处理逻辑
- 完善构建脚本,自动复制 theme_init.js 到 dist 目录

文档更新:
- 清理临时调试文档
- 更新 README.md,添加 PIP 功能说明

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- 支持从侧边栏历史列表导出单个对话(⬇ 按钮)
- 支持从聊天界面顶部工具栏导出当前对话
- 导出为 Markdown 格式,包含对话内容、思考过程和图片标注
- 文件命名:gemini-nexus-YYYY-MM-DD-标题.md
- 新增中英文翻译支持
- 更新 README 文档说明

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
New Features:
- Add edit button for user messages with cancellation support
- Add delete button for user and AI messages
- Add regenerate button for AI messages to retry responses
- Show status prompts when editing/regenerating (with deletion warnings)

Implementation Details:
- Add messageIndex tracking throughout message rendering pipeline
- Fix regenerate button visibility by passing messageIndex to streaming bubbles
- Delete subsequent messages when editing/regenerating middle conversations
- Position action buttons: user (left), AI (below content)
- Document Open WebUI feature references in OPEN-WEBUI-FEATURES.md

Files Modified:
- sandbox/render/message.js: Add action buttons, fix messageIndex handling
- sandbox/controllers/session_flow.js: Handle edit/delete/regenerate logic
- sandbox/controllers/message_handler.js: Pass messageIndex in all flows
- sandbox/controllers/prompt.js: Support edit mode and regeneration
- css/chat.css: Style action buttons and positioning
- sandbox/core/session_manager.js: Add deleteMessage method
- sandbox/boot/events.js: Wire up event listeners

Notes:
- Uses Open WebUI as UX reference for consistent user experience
- Maintains conversation context consistency when editing middle messages
- Action buttons show on hover to reduce visual clutter

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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