MetaMask / MetaMask/metamask-extension

UI <=> Background - Initialize UI without waiting for background connection

Open
#18,105 0 comments 0 reactions 0 assignees View on GitHub
team-extension-platform
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

**Epic: Allow the UI to read state from the storage system**
https://github.com/MetaMask/metamask-extension/issues/18054

We will need to boot the UI application without waiting for the service worker, which can be handled in the app/scripts/ui.js file.
You can refer to this [POC](https://github.com/MetaMask/metamask-extension/pull/17635/files) for implementation.

**Tasks**:
-`updateUiStreams` without waiting for `isUIInitialised`

Contributor guide

Open the contributing guide

Research direction

Start in app/scripts/ui.js and compare the implementation with the linked POC in pull request 17635. Trace updateUiStreams and its dependency on isUIInitialised, then verify that the UI boots without waiting for the service worker connection while still updating its streams.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.