[Code health] Eliminate global async states in favor of component @Inputs

オープン
#2,289 コメント 4 件 リアクション 0 件 担当者 1 名 GitHub で見る

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

@rfontanarosa がすでに取り組んでいます。

2026年2月6日 から。

評価

この issue はまだ評価されていません。

説明

type: code health

Nested calls to subscribe() in ngOnInit, mixing signals + observables, and inconsistent and/or duplicate source-of-truth, and loose separation of concerns have made many of the components hard to grok and maintain. For example:

https://github.com/google/ground-platform/blob/a860c366f330afc9967271e889fb3579d13cefdf/web/src/app/pages/create-survey/create-survey.component.ts#L155-L195

Assigning this task to myself to come up with a plan to improve maintainability across the codebase.

Already done: #2301

@rfontanarosa FYI

主要言語
TypeScript
スター
254
フォーク
114
平均マージ
2日 3時間
マージ済み PR(30日)
20

環境構築

はじめの一歩

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

google/ground-platform のほかの issue

google/ground-platform の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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