feat(frontend): ローディング表示の基盤コンポーネントを追加 (#548) - #593
Open
YosukeMiyata wants to merge 1 commit into
Open
YosukeMiyata wants to merge 1 commit into
YosukeMiyata wants to merge 1 commit into
Conversation
長時間かかるオンチェーン書き込みの進行中表示を一箇所にまとめるための基盤。 実際の一括置換は後続 PR で行う。 - `Button` に `loading` / `loadingText` を追加。`disabled` のみだと「操作不可」 にしか見えず「処理中」が伝わらないため、スピナーを出しつつ variant 本来の 配色を保つ(`data-[loading]` で disabled 用の減色を打ち消す)。 - `composite/transaction-progress-panel` を新設し、`$treeId_.thankstoken.send` の `SendingStep` と `AssistCreditSendSheet` の `SendingPanel` を置き換え。 アイコンの周囲でスピナーリングを回す。元の実装は `animate-pulse` だったが、 このアプリで `animate-pulse` はスケルトンの記法(`ui/skeleton`、メンバー 一覧のプレースホルダ)であり「中身がまだ来ていない」に読めてしまうため。 アイコン自体は残し、「何を待っているか」は伝わるようにしている。 - 2ファイルに重複定義されていた `CenteredPanel` を `composite/centered-panel` に集約(`fill="screen" | "panel"`)。 シート内のタイトルのみ `Typography body/bold` から `Heading h5` に変わる (15px → 17px)。見出しは Heading に寄せる設計方針に合わせた意図的な変更。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
長時間かかるオンチェーン書き込みの進行中表示を一箇所にまとめるための基盤。
実際の一括置換は後続 PR で行います。
Buttonにloading/loadingTextを追加。disabledのみだと「操作不可」 にしか見えず「処理中」が伝わらないため、スピナーを出しつつ variant 本来の 配色を保ちます(data-[loading]で disabled 用の減色を打ち消す)。composite/transaction-progress-panelを新設し、$treeId_.thankstoken.sendのSendingStepとAssistCreditSendSheetのSendingPanelを置き換え。 アイコンの周囲でスピナーリングを回す。元の実装はanimate-pulseでしたが、 このアプリでanimate-pulseはスケルトンの記法(ui/skeleton、メンバー 一覧のプレースホルダ)であり「中身がまだ来ていない」に読めてしまうため。 アイコン自体は残し、「何を待っているか」は伝わるようにしております。CenteredPanelをcomposite/centered-panelに集約(fill="screen" | "panel")。シート内のタイトルのみ
Typography body/boldからHeading h5に変わる (15px → 17px)。見出しは Heading に寄せる設計方針に合わせた意図的な変更。