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

Compatibility with other projects #29

Open
Fr-Dae opened this issue Mar 8, 2024 · 7 comments
Open

Compatibility with other projects #29

Fr-Dae opened this issue Mar 8, 2024 · 7 comments
Labels
enhancement New feature or request

Comments

@Fr-Dae
Copy link

Fr-Dae commented Mar 8, 2024

hello, you're probably the most accomplished project around infinit craft.

Could you talk to the people in charge of the other projects and merge them all together?
Why not add a menu option to activate or deactivate some.

@MasonStooksbury
Copy link

I'm down if other parties are

My extension is using ManifestV2 because I'm a noob and didn't realize there was a V3

So if we do this, I'll need to make some edits to mine to make sure it works seamlessly with the existing codebase

@Spatchy
Copy link
Owner

Spatchy commented Mar 9, 2024

@MasonStooksbury I've been talking with Mikarific from the Infinite Craft Helper userscript and we have semi-agreed on a simple way of communicating between projects. I have first-drafted some documentation that hopefully gets across how I envision this system working. Comments, ideas and pull requests to the doc are welcome.

@MasonStooksbury
Copy link

@Spatchy, sounds great! I'll dig more into this later.

If you think my extension would be a good one to add more functionality to IC++, I'd love to tidy mine up and add it in!

@Spatchy
Copy link
Owner

Spatchy commented Mar 9, 2024

@MasonStooksbury If you wanted to merge code from your project into Infinite Craft++ that's a whole different discussion. I'd certainly be open to it, but I have no experience with cross-repo merges like that so I'm not sure how possible it would be to maintain the git history from your repo (which would obviously be ideal), especially if you wanted to continue maintaining Infinite Craft Ingredient Manager separately. Let me know if you know anything about that.

@Spatchy Spatchy changed the title [Question]Merge features Compatibility with other projects Mar 9, 2024
@MasonStooksbury
Copy link

Good point. Cross-repo merges do get weird. If this were going to be a thing, I'd probably just submit a PR to your repo with my code added in and then archive my repo. I'd then add a link bad to yours (since yours is more fleshed out and pretty lol)

I don't care much about the history and stuff for mine, so I'm fine just merging my stuff into yours.

Again, the biggest issue with mine is that it's using Manifest V2 and yours is on V3. There's some significant changes that I'd need to make to mine in order for it to work seamlessly with what you already have, but it is doable

@Spatchy
Copy link
Owner

Spatchy commented Mar 9, 2024

Just skimming your code, I don't think there's too much that would need to change. We would probably want to reduce the scope of the permissions and find alternative ways to do some things without certain permissions if possible. I get the feeling each new permission adds significant time to the Chrome Web Store's review process which can already be frustratingly slow (24 hrs+) compared to Firefox's (5-10 mins).

@MasonStooksbury
Copy link

Yeah I probably could have worked the permissions a little better. The only big ones that I definitely need are the ability to read/write from local storage and trigger downloads. Everything else should be pretty simple if it needs reworking

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