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
VYZN: Matrix Messaging Integration #455
Conversation
✅ Deploy Preview for bldrs-share ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
The title of this PR should be changed to reflect the contents, which if I'm guessing correctly is: Matrix Messaging Integration? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added some comments regarding what's present so far.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, nice start!
Let's leave this in draft until we get tests and styles. Left you some initial commements. I'll help with the global init when we can chat.
Here's our style guide: https://github.com/bldrs-ai/Share/wiki/Dev:-Style Please use our eslint config or run |
Per discussion, I'd try useMemo or useCallback for the init logic. Assuming that works, the right place is probably in src/Share.jsx. |
…tour in the store, add event emitter
aa020f2
to
301b66c
Compare
Hey Christian, how's this going? |
@pablo-mayrgundter i still need to write tests. Could you do another review now before is start with that? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basically looking good.
Would you please update the description of the PR to summarize the changes and a link to the staging instance you're testing with.
VYZN-806: Tests for Bldrs integration
Hmm, I'm not seeing the netlify dialog change. can you try updating smth like that yarn.lock and see if that triggers it? |
OK, i did update yarn.lock. But does not seem like it triggered the deployment. We really need to have the current version of this code deployed since the viewer in our production is loaded from this preview-instance. |
I manually flushed the build cache and retried the build which appeared to have deployed successfully. Does the deploy preview reflect your changes? |
yes, thank you |
Porting bldrs-ai#455 changes, and Fixes for issues bldrs-ai#515,bldrs-ai#516,bldrs-ai#517
Hey Adrian, I'm reluctant to abandon this PR.. we had a bunch of comments in flight. Can we continue here? |
Per discussion with Adrian yesterday, Christian, please do finish this out. I think we're good to go but pending a successful merge and final review (hopefully a no-op). |
Fixing Failing tests, linting and merging with Share/main head
@pablo-mayrgundter Hi Pablo, @aozien has rebased and fixed my changes. I think we're ready for your final review now :) |
@pablo-mayrgundter It turns out the problem was caused by the (yarn.lock) file re-generated in commit (a8ed57d), since that did some minor-version updates to some packages, which caused some functionality to break. |
Works for me now, thanks. Found another issue.. permalinks for camera and cutplane are broken :( When I follow this link, everything after the index.ifc is removed after load. Same on a loaded model. Please fix that and add an integration test for it. Thank you! |
@pablo-mayrgundter this should be fixed now as well :) |
Signed-off-by: Pablo Mayrgundter <pablo.mayrgundter@gmail.com>
Finally! Congrats guys! |
This pull request implements the lib "matrix-widget-api" which allows us to send control-messages to an embedded (iframe) bldrs instance.
Messages bldrs can receive:
Messages bldrs will emit: