a2ui-project / a2ui-project/a2ui
Renderer Guide: Consider using `formatNumber` instead of `formatString` for initial basic catalog support
- 主要言語
- TypeScript
- スター
- 16.4k
- フォーク
- 1.3k
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 134
説明
As discussed in PR #1497 (https://github.com/a2ui-project/a2ui/pull/1497#discussion_r3416494545), we should consider using `formatNumber` instead of `formatString` in the initial bootstrap steps of the `renderer_guide.md`.
Currently, the guide suggests implementing `formatString`, which requires relatively complex string expression parsing in the core library (e.g., parsing expressions like `Some string then ${myFunction(someNestedFunction(/someDataModelValue))}`). Using `formatNumber` instead would allow implementing the smallest possible subset of the basic catalog for meaningful end-to-end testing.
This change will also require updating the `00_` scaffolding examples to use `formatNumber` instead of `formatString`.
コントリビューションガイド
調査の方向性
Look at the renderer_guide.md file and the 00_ scaffolding examples. Find where formatString is currently used and replace it with formatNumber. Verify the changes by checking if the basic catalog still works for end-to-end testing.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 静か
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 70/100