Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

PR review suggestions#334

Merged
leanmendoza merged 3 commits into
feat/implement-@dcl-rpcfrom
chore/pr-review-suggestions
Jun 9, 2022
Merged

PR review suggestions#334
leanmendoza merged 3 commits into
feat/implement-@dcl-rpcfrom
chore/pr-review-suggestions

Conversation

@menduz
Copy link
Copy Markdown
Member

@menduz menduz commented Jun 9, 2022

  • Simplified module loading in Scene runtime
  • Using new RPC in the avatars' scene
  • Use makefile features to auto-detect .proto files
  • .proto files moved to the same folder as the generated files
  • Fixed casing in .proto descriptions

Comment on lines +13 to +25
const messageQueue = new AsyncQueue<SocialEvent>((_, action) => {
if (action == 'close') {
avatarMessageObservable.remove(observer)
}
})
const observer = avatarMessageObservable.add((event) => {
messageQueue.enqueue({
event: event.type,
payload: JSON.stringify(event)
})
})
return messageQueue
}
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 9, 2022

Test this pull request

@leanmendoza leanmendoza marked this pull request as ready for review June 9, 2022 23:18
@leanmendoza leanmendoza requested a review from a team as a code owner June 9, 2022 23:18
@leanmendoza leanmendoza merged commit 63d9baf into feat/implement-@dcl-rpc Jun 9, 2022
@leanmendoza leanmendoza deleted the chore/pr-review-suggestions branch June 9, 2022 23:19
leanmendoza added a commit that referenced this pull request Jun 15, 2022
* wip

* add devtools

* wip

* wip

* mocking decentraland interface

* adding events

* all scenes running with new rpc

* non functional wip

* broken wip

* fix

* fix

* remove empty generic response

* add protocol-buf in the pipelines

* also add in build step

* wip

* wip

* remove debugger

* fix: remove events when sending batch

* add stats

* add fps throttling and add initial rpcContext

* get back the devToolAdapter

* complete remaining apis

* remove old scene runtime with old rpc

* fix comms

* fix module loading

* fix getBootstrapData

* log

* test hack

* fix test

* add worker name to RpcClientPort

* remove old stuffs

* change to a right name

* add esModuleInterop option

* move 'real' to just the method name and clean code

* remove spam log

* rollout to 0 in .org

* adapt the experimental api

* implement SceneStateStorageController

* get back Stateful scenes

* fix no service

* fix builder in world

* clean code: remove didStart from EngineAPI

* fix lint

* merge from main

* PR review suggestions (#334)

* makefile suggestions

* wip

* fix avatars

* clean and kuruk review.

* typed createGenericLogComponent

* FIX ME

* lint fix

* Revert "FIX ME"

This reverts commit eedd2c1.

* Fix me 2.0

* fix lint

* bypass visible avatar test

* batched events approach

* change .ts generation to .gen.ts and clean.
fix hasManyPermissions to get permissions in a unique request

* fix circular dependency

* fix stats

* move new-rpc to runtime
clean code, remove eventChannel

* clean and pretify code

* fix tests

* filter transport closed ack error

* revert visibleAvatars logic

* fix permission loading, ethereumcontroller and parcelidentity apis

* fix build

* fix bad scenes

* remove a level of JSON.parse and JSON.stringify with protocol-buffers

* fix ethereum controller

* fix signed fetch

* fix: avoid starting more than one, and add the event when the cb fails

* optimize: send positionChanged and rotationChagned by protocol-buffer

* fix raycast

* pretify code

Co-authored-by: menduz <github@menduz.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants