a2ui-project / a2ui-project/a2ui

[FEATURE]: Rename ClientFunction to AsynchronousClientFunction in Flutter renderer

オープン 初心者向け
#2,066 コメント 1 件 リアクション 0 件 担当者 1 名 @gspencergoog が担当を希望しています GitHub で見る
component: genui P2
主要言語
TypeScript
スター
16.4k
フォーク
1.3k
平均マージ
2日 13時間
マージ済み PR(30日)
134

説明

- [X] I have searched the existing issues to make sure this feature has not already been requested.

## Is your feature request related to a problem? Please describe.

In the Flutter rendered, client-side functions come in two varieties, synchronous and asynchronous. Because of the way they were implemented, the names ended up as `SynchronousClientFunction` and `ClientFunction`.

## Describe the Proposed Solution

While they're perfectly usable this way, I believe it would be easier for new devs to adopt the API if they were renamed to `SynchronousClientFunction` and `AsynchronousClientFunction` (or `Sync-` and `Async-`).

## Describe Alternatives Considered

The main alternative would be to leave them as is, though I think devs are used to seeing Sync/Async naming conventions.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Find the Flutter renderer code where ClientFunction and SynchronousClientFunction are defined. Look for their usage across the codebase to understand the scope of the rename. After renaming, ensure all references are updated and run any existing tests for the Flutter renderer to verify the changes.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
flutter, typescript
領域
frontend, mobile
issue の種類
リファクタリング
難易度
2/5
見積もり時間
1〜3時間
活発さ
静か
明瞭さ
明確に書かれている
初心者へのやさしさ
65/100

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

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