Mapper: offer Custom Match Algorithm without the OCL Online API
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- javascript, react
- 领域
- frontend
调研方向
从 src/components/map-projects/algorithms.jsx 中的 useAlgos 开始,然后比较 OCL Search 和 OCL Semantic 如何从 locale 字符串获取名称和描述。添加内置算法条目,并检查无论是否有目录,选择器都只显示一次;确认未设置 OCL_ONLINE_API_URL 时 AutoMatch 仍能运行该算法。
由索引模型根据 Issue 内容生成。
描述
The open OCL Mapper has all the code a custom matching algorithm needs: the API URL and token fields in MultiAlgoSelector.jsx, and the batched POST in MapProject.jsx, whose request and response follow $match. But the Mapper only lists Custom Match Algorithm when the algorithm catalog at OCL_ONLINE_API_URL (/match-algorithms/) serves it. A Mapper built without OCL_ONLINE_API_URL offers only OCL Search and OCL Semantic.
Add Custom Match Algorithm to the built-in algorithms (useAlgos in src/components/map-projects/algorithms.jsx), so every build offers it. The catalog can still override it: MapProject.jsx already merges catalog entries over built-in ones by id and type (custom, custom).
Acceptance criteria
- With no
OCL_ONLINE_API_URL, the Matching Algorithm picker lists Custom Match Algorithm, and AutoMatch runs with it. - With the catalog configured, the picker lists it once.
- Its name and description come from locale strings, like OCL Search and OCL Semantic.
Context: the Matching Algorithms page in OCL Docs (OpenConceptLab/ocl_issues#2817, OpenConceptLab/ocl-docs#75) documents Custom Match Algorithm as part of the open Mapper.
- 主要语言
- 没有语言数据
- 星标
- 4
- 派生
- 2
- 平均合并
- 2 小时 12 分钟
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenConceptLab/ocl_issues 的其他 Issue
-
component/fhir type/bug
难度 2/5 1-3 小时 新手友好度 82/100
OpenConceptLab/ocl_issues#3026 ·
-
component/api decision/human-review signal/needs-access signal/quick-win signal/small-scope signal/well-specified stage/triaged type/bug
难度 2/5 1-3 小时 新手友好度 72/100
OpenConceptLab/ocl_issues#3012 · 2 条评论 ·
-
component/design-system decision/ai-ready signal/low-risk signal/quick-win signal/small-scope signal/well-specified stage/triaged type/docs
难度 2/5 半天 新手友好度 70/100
OpenConceptLab/ocl_issues#2983 · 1 条评论 ·
-
component/mapper component/web decision/human-review signal/low-risk signal/needs-human signal/quick-win signal/small-scope signal/well-specified stage/triaged type/bug
难度 2/5 1-3 小时 新手友好度 76/100
OpenConceptLab/ocl_issues#2920 · 1 条评论 ·
-
component/web decision/ai-ready signal/low-risk signal/quick-win signal/small-scope signal/well-specified stage/triaged type/bug
难度 2/5 1-3 小时 新手友好度 78/100
OpenConceptLab/ocl_issues#2919 · 1 条评论 ·
查看 OpenConceptLab/ocl_issues 的全部 Issue
相似的 Issue
-
Selectmenu changes selection after its native select is disabled while open可能已有人在做 @Xapollon430 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
-
feature request good first issue
难度 2/5 1-3 小时 新手友好度 88/100
TabularisDB/tabularis#1513 ·
维护者通常 2 天内回复
-
bug priority: medium
难度 2/5 1-3 小时 新手友好度 62/100
storytold/pdfcraft#7140 · 1 条评论 ·
维护者通常 2 天内回复
-
requests support
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 2 天内回复
-
bug lane: fast
难度 2/5 1-3 小时 新手友好度 82/100
unicef/adt-studio#1107 ·
维护者通常 2 天内回复