MapColonies / MapColonies/geocoding
Add new `SUB_TYPE` field to `type: ITEM` (MAPCO-5084)
未关闭
enhancement
- 主要语言
- TypeScript
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
For ITEMS, we have added new SUB_TYPE property in order to distinguish between different types of control_points.
possible values are now:
- CONTROL_CROSS
- CONTROL_INFRASTRUCTURE
- CONTROL_POINT
We need to add it to our mock data, to generateDisplayName control response function, and to the config's application.controlObjectDisplayNamePrefixes
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位 mock 数据、generateDisplayName control response 函数以及配置项 application.controlObjectDisplayNamePrefixes。在每个位置为列出的三个 SUB_TYPE 值添加支持,然后验证生成的 control display name 和配置行为是否反映了新字段。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- backend
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100