Skip to content

[Refactor] Generalize Optimization Options Button/Menu Items #998

@derfloh205

Description

@derfloh205

Multiple Modules and Places offer a little cogwheel button that makes it possible to toggle different optimization possibilities like gear, reagents, concentration and more
Places that use that are for example

  • craftqueue
    • edit frame
    • work order queing
    • favorites queueing
    • add to craftqueue button on crafting page
  • recipe scan
  • reagent optimization module window
  • and maybe more?

Generalize those options as CraftSim.Widget and replace them

Keep in mind:

  • Recipe scan options button currently offers both filters and optimization options
    • might need to split that into two different buttons
  • OptionsDB
    • There might be a need of a new "optimization options" map structure within the options db that generalizes the save and retrieval of such options for different modules/places
    • previous user options should not get lost, so a optionsDB migration should be added that moves the old saved variables to the new structures and then cleans up any unused tables

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions