Improve integration with cascade studio #19

Closed
opened 2020-10-20 10:44:30 +02:00 by Irev-Dev · 0 comments
Irev-Dev commented 2020-10-20 10:44:30 +02:00 (Migrated from github.com)

Currently, CadHub has a very incomplete integration with a fork of CascadeStudio.
Original: https://github.com/zalo/CascadeStudio
My fork: https://github.com/Irev-Dev/CascadeStudio

The integration is working locally, but is buggy and tends to stop working after opening a second project/part, and it doesn't work at all on the live website, So debugging this might involve a bunch of deploys to see if it's working live.
Netlify is setup to rebuild on PR, so label your PR as WIP if you are just trying to test instead of a final PR.

I'll consider this issue completed if parts successfuly load on the live website, and changing to a different part works.

The solution might be simple but will probably need someone with a reasonable amount of web-dev experience. Bonus points if you're able to get CascadeStudio related code to lazy load as at the moment I think it's slowing down initial page paint.

Because the integration is done by git submodules, pull requests will be needed for both this PR and the CascadeStudio fork, but I've labelled that with hacktoberfest as well.
It might be useful to look at the PR diff in my fork to see what I've changed to get it what's working so far.
https://github.com/Irev-Dev/cadhub
Plus one of my earlier PRs in this repo when I wan setting up cascadeStudio
https://github.com/Irev-Dev/cadhub/pull/1/files
There's a lot of unrelated stuff in the PR, though Part.js might be of use.
As well as the code I pasted from the original project directily into index.html
Some relevante stuff in HomePage.js though it has since been moved out.

Of course happy to help out as much as I can too, if I can answer any questions on the work I've done so far.

Currently, CadHub has a very incomplete integration with a fork of CascadeStudio. Original: https://github.com/zalo/CascadeStudio My fork: https://github.com/Irev-Dev/CascadeStudio The integration is working locally, but is buggy and tends to stop working after opening a second project/part, and it doesn't work at all on the live website, So debugging this might involve a bunch of deploys to see if it's working live. Netlify is setup to rebuild on PR, so label your PR as WIP if you are just trying to test instead of a final PR. #### I'll consider this issue completed if parts successfuly load on the live website, and changing to a different part works. The solution might be simple but will probably need someone with a reasonable amount of web-dev experience. Bonus points if you're able to get CascadeStudio related code to lazy load as at the moment I think it's slowing down initial page paint. Because the integration is done by git submodules, pull requests will be needed for both this PR and the CascadeStudio fork, but I've labelled that with `hacktoberfest` as well. It might be useful to look at the PR diff in my fork to see what I've changed to get it what's working so far. https://github.com/Irev-Dev/cadhub Plus one of my earlier PRs in this repo when I wan setting up cascadeStudio https://github.com/Irev-Dev/cadhub/pull/1/files There's a lot of unrelated stuff in the PR, though [Part.js](https://github.com/Irev-Dev/cadhub/pull/1/files#diff-09679a477547709ffff293e40dc98f36b26474414454d3f872b3d9d5458a552b) might be of use. As well as the code I pasted from the original project directily into [index.html](https://github.com/Irev-Dev/cadhub/pull/1/files#diff-3b7e3221a5931926de0612b87207d428307a4532bcb9cb5ca574aae00f758515) Some relevante stuff in [HomePage.js](https://github.com/Irev-Dev/cadhub/pull/1/files#diff-b0f7abecdc667c4df40cdab79a7d358235177ee03e33ab2b7b6dedbda256f35c) though it has since been moved out. Of course happy to help out as much as I can too, if I can answer any questions on the work I've done so far.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: h3n3/cadhub#19