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

Implement "cart" module storage, #2381 #2439

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

KefronG
Copy link

@KefronG KefronG commented May 7, 2022

issue #2381 Cart system to store modules ... etc. GUI portion is set up and shares the same functions as cargo. remaining issues; Cut calc code from cart to avoid interfering with cargo calculations and then create a static fit that runs in the background simulating an empty cargo then link this fit ID to cartView.py. Getting no attribute error when loading in a fit due to no link from Fit.py(the fit import from API) which is another reason a static fit is needed.

@blitzmann
Copy link
Collaborator

I always envisioned something like this as a Favorites section in the market, much like the "recently used modules", where you an right click modules and add to favorites. This also has the advantage of having all the market code associated with it for adding it to the fit (with modifiers, etc)

I'm not sure how I feel about this being one of the tabs at the bottom - those are designed to be specific to the fit, not global.

@blitzmann blitzmann mentioned this pull request May 9, 2022
@blitzmann blitzmann changed the title Kg sd issue#2381 Implement "cart" module storage, #2381 May 9, 2022
@blitzmann
Copy link
Collaborator

@KefronG Now that I'm able to sit down and absorb this PR, first off, welcome to the repo! Thanks for opening a pull request and trying to tackle a feature, I always like to encourage this stuff :D

That being said, lets have a discussion about this before we go further. Ideally we some discussion would have taken place to flesh out the details of how we might implement such a feature. I've thought about this a bit more today, and I have some concerns with the current direction.

then create a static fit that runs in the background simulating an empty cargo then link this fit ID to cartView.py

Can you elaborate here? Are you envisioning a dummy fit that is initialized that is used as the carrier of the cart modules? If that's the case, it seems like a pretty heavy handed approach.

As I mentioned in my previous post, I would think this would be the perfect opportunity to implement a "Favorites" section, under "Recently Used Modules"

image

We could right click and set any module / item in the market to "Favorite", and it would show up there. This is something that has been requested by multiple folks over the years, and we've just never got around to it. I think this would implement much better than a tab at the bottom of the fit (which is supposed to be fit-specific)

Thoughts?

@KefronG
Copy link
Author

KefronG commented May 9, 2022 via email

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

Successfully merging this pull request may close these issues.

3 participants