Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Can UtteranceQueue be immutable and made private?

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
typescript
領域
accessibility

調査の方向性

Start by reading the UtteranceQueue API and the referenced Voicing.ts code at lines 463-466 to understand how alerts are currently mutated and queued. Define the intended immutable queue behavior and replacement for constructing public Utterances; done requires an agreed API and corresponding implementation scope.

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

説明

We are finding it difficult to use Utterance. It is confusing that the alert can be mutated, and is often mutated internally like 840669961a5f54e01d209486653ed73/js/accessibility/voicing/Voicing.ts#L463-L466 wich is difficult to work with.

Also, can we get rid of Utterances as a public data structure? It seems like we should not need to construct Utterances to add to the queue. Metadata/options are reasonable but creating a new Utterance adds extra boilerplate.

主要言語
TypeScript
スター
1
フォーク
5
PR マージ指標
30日以内にマージされた PR はありません

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

phetsims/utterance-queue のほかの issue

phetsims/utterance-queue の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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