Carbon-Farm-Network / app-carbon-farm-network

GNU Affero General Public License v3.0
1 stars 0 forks source link

Add transfer to planning page #126

Open fosterlynn opened 2 months ago

fosterlynn commented 2 months ago

This allows bringing in resources that come into the CFN scope mid-sequence. Creates a transfer commitment that "floats" outside the production series.

See https://github.com/Carbon-Farm-Network/Requirements-Doc/blob/main/updates-july-1.md

LeosPrograms commented 1 month ago

So, commitments don't include stage as a create param. I'll have to add it.

fosterlynn commented 1 month ago

So, commitments don't include stage as a create param. I'll have to add it.

I looked in the vf-graphql spec, and that was in the "bridging" section. But it is also likely that it was added to the spec after hREA was basically done.

fosterlynn commented 1 month ago

To do or fix, after testing release 0.4.2 (thanks for that work, most of it is looking good!):

[ ] Add stage to the resource report (so we can see what is happening) use resource.stage.name

[ ] Not able to "finish" the floating commitment, on add event or update commitment. See comment below for details....

[ ] On the floating commitment, the cost checkbox doesn't cause cost to calc (or at least doesn't cause it to display). Remove cost box. IIRC it is there on add, not there on update, see below.

[ ] Plan with production data saves but doesn't load, gets timeout, both when loading after save, and when loading from menu. It seems that it has saved correctly. See comment below for details....

fosterlynn commented 1 month ago

Details for Plan with production data doesn't load:

Load on save:

Screenshot from 2024-07-24 10-53-16

Load from plan list:

Screenshot from 2024-07-24 11-03-42

Load of smaller plan right after the above (seems it was still in memory, was quick):

Screenshot from 2024-07-24 11-06-01

fosterlynn commented 1 month ago

Add floating commitment cost checkbox, to be removed. Screenshot from 2024-07-24 10-24-07

fosterlynn commented 1 month ago

Not able to "finish" the floating commitment, on add event or update commitment. Screenshot from 2024-07-24 08-54-06