PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Managing Passive Trees Quality of Life

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

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

enhancement
主要言語
Lua
スター
5.4k
フォーク
2.4k
平均マージ
1日 12時間
マージ済み PR(30日)
26

説明

Check for duplicates
  • I've checked for duplicate issues by using the search function of the issue tracker
Is your feature request related to a problem?

Most of the time builds use the latest version of the passive tree, but in the cases where they do not, some quality of life improvements to the Manage Trees popup would be helpful:

  • Allow multiple trees to be selected to be deleted at once
  • Mass-update all trees with one button to the latest version
  • Auto-resize the list of passive trees to match the tree names (currently is a set size, unable to be resized)
Describe the solution you'd like

In TreeTab.lua, update the function OpenSpecManagePopup to resize the window based on the longest tree name in the list. Would need to pass the list of passive tree names over to this function and calculate the max length from that.

Add functionality in PassiveSpecListControl.lua to select multiple trees to copy/delete at once (for those builds that have multiple trees for stages of levelling/budget/etc). The mass-update functionality would probably also be added here.

I have some basic Lua knowledge, so I will try to work on this myself, but if I missed a file that would need changes or if these suggestions were already considered and not wanted, please let me know.

Describe alternatives you've considered

No response

Additional context

Example image for current tree window:
image

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

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

はじめの一歩

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

調査の方向性

まず、TreeTab.lua の OpenSpecManagePopup と PassiveSpecListControl.lua のツリー選択処理を読みます。パッシブツリーの名前がどのようにポップアップへ渡されるか、またコピー/削除アクションが現在どのように動作するかを確認します。完了条件は、管理ポップアップが最も長いツリー名に合わせてサイズ調整され、複数選択と、一括削除、コピー、最新のツリーバージョンへの更新をサポートすることです。

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

評価

技術スタック
lua
領域
desktop
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

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

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