Show/Hide comment field for exchanges in the Techno/Biosphere. #708
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes: requests #706, #583, #567 and #303
Adds a new checkbox in the toolbar of an activity tab:
Checking this box shows the
Comment
column after theFormula
line in both theTechnosphere Inputs
and theBiosphere Flows
tables.Comment field shows existing comments and allows user to add their own text to the field. Of course, the
edit activitiy
checkbox should also be checked to edit comments.Comments in the ecoinvent database are also shown. This includes 'weird' comments like
EcoSpold01Location=GLO
.Also works as intended in combination with the
Show Uncertainty
option, though showing both at the same time can become quite wide in the table view.The comments are stored in the Brightway
exchange.comment
field, and thus compatible with database import/export.I'm aware there were more detailed plans to integrate this in a better way, but this took me less than an hour to write and I think this has substantial added value to users.