-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
removing a one or more now updates commodities lists #104
Conversation
I set up a simulation with two sources, one for commodity c and one for d, with a sink that takes both, and have tried the following:
I suppose I don't understand what is the PR supposed to do? |
can you show me the behavior. This PR lets you remove a onOrMore field with a commodity somewhere inside it and the Pane should reflect the removal of the commodity. |
Hi Radio, I think this is really close to solving the problem. I see that now removal happens if I explicitly click the "remove" button. Removal does not happen if I "remove" the commodity by changing the drop box. I think the best way to try this is the following pseudo code:
|
It's more complex than that, but I see the problem. |
Need a set of eyes on this, it's been updated to fix the bug matt encountered. |
If I remove commodities from the list on the left, they still stay on the agents. |
Oh sorry, I meant a different bug. This PR was not meant for the list on the left. But I'll just put that code into this PR instead of making a new one. |
ok. while this would be a nice fix to have I'm not sure how much work it will take and where it ranks on our triage list. perhaps @gonuke can offer an opinion. |
Oh, so I have the underlying code working. I just need to get it to redraw the formBuidlers, which I'm working on now. Currently if you close the form and reopen it the change is reflected, but now live. |
er not live* |
Does this last commit make this ready for review? |
This looks like it does what we need for now. Removing the commodity from open comboBoxes will require more effort that we currently have time for. |
Unfortunately I agree with that. If I get a chance I will take a stab today but no promises. |
No - I don't think we should be taking stabs at anything now. There is too much chance that other new things emerge and we need to keep the docket clear fr that. I'll merge this and we can just make an issue for later. |
removing a one or more now updates commodities lists
Aye aye |
No description provided.