feat(dashboard): add fwiz dashboard command with live MF runtime graph#17
Open
fotopixel wants to merge 1 commit into
Open
feat(dashboard): add fwiz dashboard command with live MF runtime graph#17fotopixel wants to merge 1 commit into
fotopixel wants to merge 1 commit into
Conversation
Introduce a react-flow federation dashboard on port 5000, MF 2.0 runtime inspector plugin, and CLI command to launch the dev server from fwiz.config.yaml. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fwiz dashboardCLI command that loadsfwiz.config.yamland starts the Vite + React dashboard on port 5000@federation-wizards/mf-pluginsruntime inspector plugin that introspects__FEDERATION__and streams live share-scope/remote data to the dashboard APICloses #7
Test plan
pnpm nx test @federation-wizards/mf-pluginspnpm nx test @federation-wizards/dashboardpnpm nx test @federation-wizards/fwizpnpm nx build @federation-wizards/dashboardpnpm nx build @federation-wizards/fwizfwiz initin a sample repo, thenfwiz dashboard --opencreateRuntimeInspectorPlugin()in a host MF 2.0 config and verify live runtime panel updatesRuntime limitations
createRuntimeInspectorPlugin()and setFWIZ_DASHBOARD_URL; the dashboard cannot read cross-origin browser runtime state directlyglobalThis.__FEDERATION__.__INSTANCES__; webpack MF 1.x or apps without the plugin show static graph onlyfwiz dashboardcurrently resolves the dashboard app from the fwiz monorepo install path (not yet bundled into the published CLI tarball)Made with Cursor