Skip to content
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

[Discussion] Unlink an item if the only recipe that produced it was deleted #230

Open
shpaass opened this issue Aug 9, 2024 · 3 comments

Comments

@shpaass
Copy link
Owner

shpaass commented Aug 9, 2024

I often delete a part of the sheet because I've built that part and will not touch it until the next tech.
The problem is that deleting requires two steps: deleting the row with the recipe, and then unlinking the item, so it stops being red.

My idea is to automatically unlink the item in a row if it was not linked to anything else.

For more clarity, here's an example from pY:
I build the production of Automation Science. I'm done with the stone, so I delete the part that produces stone. However, the stone icon is still red because the stone is now linked but the demand is not satisfied. Therefore, I have to unlink it. (I want to get rid of the part written in italic)

What do you guys think? Maybe I'm wrong, and the still-linked behavior is preferable later?

@Dorus
Copy link
Collaborator

Dorus commented Aug 25, 2024

I'm mixed here. More often than not, the missing link warning shows me i removed the wrong recipe. But then there's also that case where i did remove the right recipe and want to link to go with it.

@Dorus
Copy link
Collaborator

Dorus commented Sep 6, 2024

What about making this a new setting?

@shpaass
Copy link
Owner Author

shpaass commented Sep 6, 2024

I'm not against it. It's just that it's more work. If someone is willing to do it as a setting, then sure, go ahead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants