a2ui-project / a2ui-project/a2ui

Renderer Guide: Consider using `formatNumber` instead of `formatString` for initial basic catalog support

オープン 初心者向け
#1,656 コメント 1 件 リアクション 0 件 担当者 1 名 @josemontespg が担当を希望しています GitHub で見る
component: samples component: specification onboarding P2 type: documentation type: feature/enhancement
主要言語
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。