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

Commit 5ba41be

Browse files
authored
feat: new comms sagas (#261)
* add new comms * switchable realms * new comms saga * merge error * merge error * lint * makefile stopped cooperating * fix build * restore makefile * fix tests * fix tests * voice cleanup * voice * linter * better information flow * linter * chat message in a better place * fix use case * fix realm selection algorithm * fix tests * remove dead code * linter * fix use cases * fix selectors * fix build * fix lint * fix message bus errors * fix PFP * normalize avatars and profiles data flows * fix race conditions * better sagas * show avatar creation * show avatar edition screen on signup * add debug code to view invisible avatars * remove duplicates * reenable bug * cleanup messages * wip * only send avatars with userId to the avatarScene * fixes * final polish * add tests * remove cyclic deps * remove all cyclic dependencies * remove poisonous file dependencies * fix build * fix build * fix build * fix tests * fix unnecesary preview signup * linter * fix compatibility problems * fix reconnection issue * fix login * restore rollouts and remove logs * npm dedup
1 parent f035f09 commit 5ba41be

184 files changed

Lines changed: 5192 additions & 7258 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ coverage/
77
targets/
88
*.js
99
*.d.ts
10-
*.json
10+
*.json

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,5 @@ public/local-ipfs
9292

9393
**/*.js.lib
9494
static/package-lock.json
95+
**/*.dot.pdf
96+
**/*.dot

Makefile

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ COMPILED_SUPPORT_JS_FILES := $(subst .ts,.js,$(SOURCE_SUPPORT_TS_FILES))
1616

1717
SCENE_SYSTEM_SOURCES := $(wildcard static/systems/**/*.ts)
1818
SCENE_SYSTEM := static/systems/scene.system.js
19-
DECENTRALAND_LOADER := static/loader/lifecycle/worker.js
19+
DECENTRALAND_LOADER := static/loader/worker.js
2020
GIF_PROCESSOR := static/gif-processor/worker.js
2121
INTERNAL_SCENES := static/systems/decentraland-ui.scene.js
2222
VOICE_CHAT_CODEC_WORKER := static/voice-chat-codec/worker.js static/voice-chat-codec/audioWorkletProcessors.js
@@ -26,7 +26,7 @@ EMPTY_SCENES := public/empty-scenes/common
2626
scripts/%.js: $(SOURCE_SUPPORT_TS_FILES) scripts/tsconfig.json
2727
@node_modules/.bin/tsc --build scripts/tsconfig.json
2828

29-
static/loader/lifecycle/worker.js: packages/decentraland-loader/**/*.ts
29+
static/loader/worker.js: packages/decentraland-loader/**/*.ts
3030
@$(COMPILER) targets/engine/loader.json
3131

3232
static/gif-processor/worker.js: packages/gif-processor/*.ts
@@ -162,9 +162,21 @@ clean: ## Clean all generated files
162162
update-renderer: ## Update the renderer
163163
npm install @dcl/unity-renderer@latest
164164

165+
madge: scripts/deps.js
166+
@node scripts/deps.js
167+
dot packages/scene-system/cli.scene.system.ts.dot -T pdf -O
168+
dot packages/scene-system/scene.system.ts.dot -T pdf -O
169+
dot packages/scene-system/stateful.scene.system.ts.dot -T pdf -O
170+
dot packages/ui/decentraland-ui.scene.ts.dot -T pdf -O
171+
dot packages/entryPoints/index.ts.dot -T pdf -O
172+
dot packages/decentraland-loader/lifecycle/worker.ts.dot -T pdf -O
173+
dot packages/gif-processor/worker.ts.dot -T pdf -O
174+
dot packages/voice-chat-codec/audioWorkletProcessors.ts.dot -T pdf -O
175+
dot packages/voice-chat-codec/worker.ts.dot -T pdf -O
176+
165177
# Makefile
166178

167-
.PHONY: help docs clean watch watch-builder watch-cli lint lint-fix generate-images test-ci test-docker update build-essentials build-deploy build-release update-renderer
179+
.PHONY: help docs clean watch watch-builder watch-cli lint lint-fix generate-images test-ci test-docker update build-essentials build-deploy build-release update-renderer madge
168180
.DEFAULT_GOAL := help
169181
help:
170182
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'

docs/sagas.excalidraw.svg

Lines changed: 16 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)