LCA-ActivityBrowser / activity-browser

GUI for brightway2
GNU Lesser General Public License v3.0
134 stars 50 forks source link

Moving GUI out of the controllers #1241

Closed mrvisscher closed 3 months ago

mrvisscher commented 4 months ago

Big refactor that moves GUI interaction out of the controllers and into specialized ABAction's. This introduces a new design philosophy in which widgets are only responsible for their own state, controllers are only responsible for Brightway's state, and actions are responsible for the logic for moving between states. This:

ABAction flowchart

ABAction flowchart

Checklist