Why does XBlock define a `name` field?
还没有人认领这个 Issue。
评估
调研方向
从 xblock/core.py 第 683 行附近开始,跟踪对 name 和 display_name 字段的引用,包括 issue 中提到的 edx-platform 预期。在 repository 中搜索这两个字段,并检查任何兼容性影响。完成的标准是记录它们的用法,并确定移除或提升它们是否可以在不破坏现有 XBlocks 的情况下进行。
由索引模型根据 Issue 内容生成。
描述
Ever since the early days, the XBlock base class has defined a name field:
https://github.com/openedx/XBlock/blob/9d9c1c953b5fca658b806c058bbfaa88b72b9e8a/xblock/core.py#L683
This is different than the display_name field which edx-platform expects.
Is this used anywhere? Can we delete it?
Related... can we elevate display_name up to the XBlock base class without breaking backwards compatibility?
- 主要语言
- Python
- 星标
- 470
- 派生
- 231
- 平均合并
- 2 天 14 小时
- 30 天内合并 PR
- 7
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
openedx/XBlock 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 72/100
-
performance
难度 5/5 一周以上 新手友好度 35/100
-
难度 2/5 1-3 小时 新手友好度 45/100
-
[DEPR]: Support for XBlock Runtimes with raw string scope IDs可能已有人在做 @salman2013 于 212 天前认领。 未关闭depr
-
难度 5/5 一周以上 新手友好度 25/100
相似的 Issue
-
Performance: deprecated DeviceEntry.config_entries access blocks the event loop for tens of seconds未关闭
难度 2/5 1-3 小时 新手友好度 75/100
tuya/tuya_cloud_ha_bridge#14 ·
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
semantica-agi/semantica#1968 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
agent: ready area: submission priority: high type: docs
难度 2/5 1-3 小时 新手友好度 62/100
dkritarth/scopewatch#213 ·
维护者通常 1 天内回复
-
Broken link in RELEASE.md可能已有人在做 @Jah-yee 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
sphinx-contrib/httpdomain#143 ·
维护者通常 1 天内回复