cleanup: remove the dead optimistic-overlay action path once chain transport is retired

オープン
#445 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
静か
技術スタック
typescript
領域
frontend

調査の方向性

After chain transport is retired, read GameStateContext.tsx, useOptimisticAction.ts, and PokerActionPanel.tsx to trace the legacy pending path. Remove the listed sendAction, pending-event, pendingAction, and isPending pieces while preserving the actionCount/index/handNumber spinner-clear behavior from #438; done means the dead chain-only path is gone.

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

説明

tech debt UI

The gateway is now the default transport (#442). In gateway mode the legacy optimistic-broadcast machinery is bypassed — sendAction / event:"pending" / pendingAction only serve the VITE_GAME_TRANSPORT=chain opt-out path.

Once chain transport is retired (gateway proven in prod), delete the dead path:

  • sendAction and the event:"pending" handling in GameStateContext.tsx
  • pendingAction state + the isPending plumbing in useOptimisticAction.ts / PokerActionPanel.tsx (keep the actionCount/index/handNumber spinner-clear from #438, which is transport-agnostic)

Captures the cleanup deferred when closing the Option A/B RFCs (#432, #433).

Refs #432 #433 #442

主要言語
TypeScript
スター
2
フォーク
5
平均マージ
22時間 35分
マージ済み PR(30日)
91

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

block52/ui のほかの issue

block52/ui の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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