Commit 4537dae
fix: pass control center help fallback candidates
1. Collect the active control center navigation object chain when opening help
2. Reuse the NavigationModel-style filter so only menu objects with display names are used as help candidates
3. Pass the ordered candidates to deepin-manual so child pages without sections can fall back to a parent topic
Influence:
1. Test help on input method add-ons to fall back to the input method topic
2. Verify shortcut and network child pages still open mapped manual sections
3. Verify the final debug-machine package contains no unrelated desktop file changes
fix: 控制中心帮助跳转传递父级候选链
1. 打开帮助时收集当前控制中心导航对象链
2. 复用 NavigationModel 风格过滤,只使用带显示名称的菜单对象作为帮助候选项
3. 传递有序候选列表,使没有手册章节的子页面可以回退到父级主题
Influence:
1. 测试输入法附加组件帮助可回退到输入法主题
2. 验证快捷键和网络子页面仍可打开对应手册章节
3. 验证最终调试机包不包含无关 desktop 文件改动
PMS: BUG-3688051 parent a756767 commit 4537dae
1 file changed
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
327 | 335 | | |
328 | 336 | | |
329 | 337 | | |
| |||
0 commit comments