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

[Feature request] Factory overview page #123

Open
Septiple opened this issue Jun 22, 2021 · 5 comments
Open

[Feature request] Factory overview page #123

Septiple opened this issue Jun 22, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@Septiple
Copy link

This may be too big of a feature, but it would be immensely useful for how I use YAFC. I'm currently doing a Pyanodon run, and I'm designing parts of my factory in separate production sheets. For example, there's one for iron production, one for copper, etc. What I find hard to do in YAFC right now is that I manually have to go through the iron requirements for each tab, add them together and then set that as a target in my iron production sheet.

What I think would help me is a 'factory overview page'. It would simply be a list of all the production sheets, showing the inputs and outputs, just like the recipes in the normal sheets. At the top, you could make a netted sum of all inputs and outputs of the factory, so it would add all the iron production together and subtract all the iron usages, and then either list it as an output if the sum is positive or as an input if the sum is negative.

This page wouldn't need any of the fancy linking, optimizing or nesting present in the production sheets, just a (readonly) list of the recipes and the grand total would be fine. The only thing that would be cool is if you could change just the quantities of the targets of a production sheet without going to that production sheet, so I can increase or decrease the iron production as I see fit on the overview page without having to go to the iron production sheet (and that it would re-optimize my iron production sheet, so I see how the inputs change on the overview page). It may also be nice if you could 'disable/hide' production sheets for just the factory overview page, so you can have experimental/unfinished tabs without them affecting the grand total overview of your factory.

Thanks again for making this program!

@Septiple Septiple added the enhancement New feature or request label Jun 22, 2021
@ShadowTheAge
Copy link
Owner

This is actually in the plans, codename "meta production sheet", but the development is now very slow unfortunately.

@Septiple
Copy link
Author

Ah, like that, no worries. Do you have an overview of your plans somewhere, or shall I leave this issue open as a record of the idea?

@ShadowTheAge
Copy link
Owner

Let the issue be open, this way I'll notify when something is done

@veger
Copy link
Contributor

veger commented Nov 4, 2021

I would really appreciate this feature as well 👍

I tried putting all recipes (nested) in a single sheet, so they can be linked, but it is not really my style of working.
An overview page where it is possible to edit the outputs of the sheets (sub factories), would be perfect!

@veger
Copy link
Contributor

veger commented Jan 2, 2022

Looked like I really needed this feature... 😛

I made a Release in my fork, i ncase anyone else really requires this feature 😉
(note that I will remove these releases when the PR is merged and released in the official repo/here)

shpaass added a commit to shpaass/yafc-ce that referenced this issue Feb 29, 2024
I tried to reuse the existing UI of YAFC, so I based the whole thing on
a `ProjectPageContents` and a `ProjectPageView`, so it would be
recognized and fit into the `MainScreen` (tabs) and serialization.

The UI of the new 'Summary' tab is ugly, I tried making it nicer, but I
found it hard to understand the `ImGui` and its features and how to use
them... So I propose this could be further improved om in separate PRs
to get the basic functionality/feature into YAFC already and make it
available for everyone (I used it a lot and cannot live without this
anymore).

I also fixed some issues I found while implementing the Summary tab,
moved to #31 and #34, except for:
* calculating `DatGrid` width when header is not used (I found the
header useless here)

The original idea is from
ShadowTheAge#123
DaleStan referenced this issue in DaleStan/yafc May 11, 2024
Removes the unused custom SortedList. 

Fixes shpaass#123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants