feat: add an Application view with resource counts

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
69/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
aws, rust
領域
cli, cloud

調査の方向性

Start after #162 is merged, then read docs/recipes/README.md and inspect src/app/services.rs plus src/ui/views/account_overview.rs for how summary views are registered and rendered. Implement the grouping function in src/app/applications.rs and test tagged and untagged resources with hand-built models. Done means the apps view shows application rows and counts, the documentation and changeset are updated, and the listed Cargo checks pass.

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

説明

size: M

Why

The first slice of #90: one row per Application tag value, with how many resources of each service carry it.

Steps

  1. Write a pure function in a new src/app/applications.rs that takes the loaded service lists and returns, per tag value, a resource count per service. Resources without the tag go under (untagged).
  2. Add an Applications view and palette entry apps that renders one row per value: name, total resources, and the three services with the most resources.
  3. Register it as a Summary view in src/app/services.rs (it has no single resource to describe).
  4. Unit test the grouping function with a few hand-built models. This is where most of the logic is.

Where to look

  • #90
  • src/app/services.rs (ViewRows::Summary)
  • src/ui/views/account_overview.rs (a summary view to copy)

Done when

  • View lists applications with counts
  • Grouping function tested, including untagged
  • README, docs/architecture.md, changeset
  • cargo fmt --all, cargo clippy --all-targets -- -D warnings, and cargo test --all pass, with output pasted in the PR

Check against AWS

Open the view. You should see grand-cross, roxtarget, and the seamless components.

Blocked by

#162. Start this after that is merged.

Size: M. Read docs/recipes/README.md before starting.

主要言語
Rust
スター
2
フォーク
0
平均マージ
4時間 8分
マージ済み PR(30日)
8

環境構築

はじめの一歩

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

fells-code/seamless-glance のほかの issue

fells-code/seamless-glance の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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