PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Managing Passive Trees Quality of Life

Đang mở
#5,900 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

enhancement
Ngôn ngữ chính
Lua
Star
5.4k
Fork
2.4k
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
26

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách đọc OpenSpecManagePopup trong TreeTab.lua và phần xử lý lựa chọn cây trong PassiveSpecListControl.lua. Xem lại cách tên của các cây passive được truyền vào popup và cách các thao tác sao chép/xóa hiện đang hoạt động. Hoàn thành khi popup quản lý được điều chỉnh kích thước theo tên cây dài nhất và hỗ trợ chọn nhiều mục, cũng như xóa hàng loạt, sao chép và cập nhật lên phiên bản cây mới nhất.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
lua
Lĩnh vực
desktop
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
38/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.