docmirror / docmirror/dev-sidecar
增强模式开关有bug
Open
Nobody has claimed this yet.
Bug
known issues
- Dominant language
- JavaScript
- Stars
- 24.1k
- Forks
- 3k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 1
Description
- 你是否在现有 Issue列表 中搜索过相同问题,但未找到?
Ⅰ. 请说明操作系统及DS的版本号:
- 操作系统:windows 11
- DS版本号:2.2.0
Ⅱ. 问题描述:
增强模式和增强功能的启用开关不同步。开启增强模式后,增强功能开关没有启用。启用增强功能开关后,首页没有切换到增强模式(但实际上已经增强了)。即首页的增强模式和增强功能的开关没关系了
Ⅲ. 期望的结果:
首页“增强模式”和“增强功能”的开关绑定
Ⅳ. 如何复现问题?
- 在首页,点击增强模式,系统代理会闪一下
- 查看增强功能中,发现开关未启用
- 测试并没有增强
- 在首页,切换到默认模式
- 在增强功能中,启用开关,并点击应用
- 切换回首页,可以看到当前仍然为默认模式
- 重新测试,发现已经被增强
Ⅴ. 请提供相关的错误日志,尽可能的详细:(日志文件在 ${user.home}/.dev-sidecar/logs/ 目录下)
可直接复现,无报错,自2.1.0版本就开始了
Ⅵ. 有必要时,请提供 ${user.home}/.dev-sidecar/running.json 文件内容:
无需提供
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Reproduce the issue on Windows 11 with DS 2.2.0, then trace the homepage “enhanced mode” and settings “enhanced features” switches. Check how each switch reads and updates the other, and verify that enabling either produces the same mode and synchronized switch state without the proxy flicker described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, javascript
- Domain
- desktop, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100