forked from LCA-ActivityBrowser/activity-browser
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Feature request
The current way we create processes in the GUI needs to be tweaked. Instead of this:
We need to make the following changes:
- Change the label of
New activity->New process. - Change the label of
Duplicate activitytoDuplicate node - Change the label of
Delete activitytoDelete node
- The GUI panel for
New processshould be changed- The layout should be changed to a grid of labels / text input boxes
- The title of this panel should be changed to
New process - The fields should be "Process name", "Reference product name", "Unit" (default="kilogram", node data attribute "unit"), "Location" (default="GLO", node data attribute "location"), and these should be applied to the newly created "process" node.
- Creating a new process should also create a separate node of type
productwith the name of the "reference product" from the creation panel- The new product
Nodeshould take the "Reference product name" as "name", as well as "unit" and "location" attributes.
- The new product
- Creating a new process should create a new
exchangeon the new process:
new_process_node.new_edge(
input=new_product_node,
type=bw2data.labels.production_edge_default,
amount=1,
)- A new action,
New product, should be added to the contextual menu. This should pop up a menu
Users don't need to think about the Database type - this should be a reflection of the data in the database.
- If we have the same product referenced as both an input and an output, it can only be
functionalin one place, not both places - The right
inputspanel should have the column "functional" - If a process is edited so that it has two
functionaledges (looking across both the inputs and outputs), then its type needs to change tomultifunctional, and the database backend needs to change tomultifunctional. - If the database changes to "multifunctional", we need to pop up the default allocation box and make the user choose something (even if it has errors at first).
- If the database backend changes to
multifunctional, the left panel listing the nodes needs to be refreshed. - If a process is edited so that it has only one
functionaledge (looking across both the inputs and outputs), then its type needs to change toprocess.
Metadata
Metadata
Assignees
Labels
No labels