bug(Navigation): going directly to 'group0' breaks UI

未关闭 适合新手
#2,350 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
72/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
领域
frontend

调研方向

首先追踪对 group0 的直接导航是如何处理的,并检查发生所报告的 isCompleted 错误的 node-status-icon.component.html。在单元预览中重现导航;当打开 group0 后,用户能够进入该单元的第一步且 UI 不会出现问题时,即为完成。

由索引模型根据 Issue 内容生成。

描述

When you navigate directly to previewing 'group0' for any unit, the VLE UI breaks and throws a js error:

ERROR TypeError: Cannot read properties of undefined (reading 'isCompleted')
    at template (node-status-icon.component.html:1:1)

In this case, we should go to the first step in the unit.

主要语言
TypeScript
星标
4
派生
8
平均合并
2 天 14 小时
30 天内合并 PR
11

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

WISE-Community/WISE-Client 的其他 Issue

查看 WISE-Community/WISE-Client 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。