Progress indication for schematics

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
angular, typescript
領域
cli, tooling

調査の方向性

まず、ng update 中に使用される TSLintFixTask を追跡し、schematics が現在どのようにアクティビティを報告しているかを確認します。設定可能な進捗インジケーターの範囲と、issue で説明されているより広範な schematics のステータス報告の範囲を定義します。実装後は、時間のかかる修正が実行中であることを視覚的に示し、可能な場合は実行中の schematic を特定できるようにします。

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

説明

area: @angular-devkit/schematics area: @angular/cli feature feature: votes required ng update DX

Since the TSLintFixTask can take a lot of time (e.g. if used to apply source code transformations for ng-update), it would be nice to have a progress indicator that shows that "something" actually runs.

For example: if someone runs ng update @angular/material@next, it's not clear for a period of time that the fix task actually "runs". See: https://github.com/angular/material2/issues/12774.

An option that can be specified when configuring the TSlintFixTask would be nice to have. The option would then show a simple progress indicator while TSLint runs.


Ideally there would be a way for a schematic to:

  • Have an progress-spinner with a name of the schematic currently running
  • Report a status (similar to how Bazel repository_ctx can report statuses)

Nowadays a lot of schematics need to run as part of an ng update and it would be helpful to know what schematic currently runs / what it currently does (if known)

cc. @jelbourn

主要言語
TypeScript
スター
27k
フォーク
11.8k
平均マージ
16時間 35分
マージ済み PR(30日)
176

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

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

はじめの一歩

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

angular/angular-cli のほかの issue

angular/angular-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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