PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Managing Passive Trees Quality of Life

Aperta
#5,900 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

enhancement
Lingua principale
Lua
Stelle
5.4k
Fork
2.4k
Merge medio
1g 12h
PR unite (30g)
26

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia leggendo OpenSpecManagePopup in TreeTab.lua e la gestione della selezione dell’albero in PassiveSpecListControl.lua. Esamina come i nomi degli alberi passivi vengono passati al popup e come funzionano attualmente le azioni di copia/eliminazione. Il lavoro è completato quando il popup di gestione si dimensiona in base al nome dell’albero più lungo e supporta la selezione multipla, nonché l’eliminazione in massa, la copia e l’aggiornamento all’ultima versione dell’albero.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
lua
Ambito
desktop
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
38/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.