Better question sequence

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

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

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

評価

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

調査の方向性

microcloud init コマンドと、issue にリンクされている Bubble Tea multiple-text-inputs example から始めます。ストレージとネットワークに関する質問を、提案されているラベル付きサブメニューに割り当て、その後 Deploy MicroCloud が設定エラーを報告してメニューに戻れることを確認します。サブメニューでセットアップを操作でき、概要オプションが表示され、デプロイ前に設定ミスを修正できれば完了です。

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

説明

Feature

I've been thinking of using https://github.com/charmbracelet/bubbletea to revamp the microcloud init command sequence a bit

One possible idea is having submenus rather than a sequence of questions, like this:
https://github.com/charmbracelet/bubbletea/tree/master/examples#multiple-text-inputs

But instead of text inputs, we can put the storage & network questions behind these labelled submenus:

> Setup local storage
> Setup distributed storage
> Setup distributed network
> Print summary (as preseed?)
> Deploy MicroCloud

This would make the setup a bit clearer, and incompatibilities like incorrectly configured network interfaces can be noticed immediately rather than halfway down the question sequence. As well, if something is misconfigured, Deploy MicroCloud can error out and return to the submenu selection page so the user can fix the configuration.

主要言語
Go
スター
552
フォーク
96
平均マージ
4日 10時間
マージ済み PR(30日)
21

環境構築

はじめの一歩

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

canonical/microcloud のほかの issue

canonical/microcloud の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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