Add iframe/webview bridge package and runnable Expo demo - #1
Open
sirpy wants to merge 2 commits into
Open
Conversation
Introduce a unified @goodwidget/bridge package with iframe/webview transport, EIP-6963-compatible injection, and host helpers, then wire core provider detection to prefer bridge providers for embedded apps. Upgrade examples and docs to include runnable iframe/webview integration patterns and a live Expo WebView bridge screen.
Include the outstanding README formatting tweaks, detect.ts formatting changes, and Expo local settings update so the branch matches the current working tree.
Contributor
Author
|
@L03TJ3 This is important for our apps directory. can you promote it as a bounty? |
14 tasks
goodbounties-nanoclaw-agent Bot
added a commit
that referenced
this pull request
Aug 31, 2026
…ility + cover scorecard label fixes Fix #4 investigation: the G$ Volume chart's secondaryYAxis mechanism (in LineAreaChart, present since #179) already computes each axis's scale independently from only its own series' values, so a large magnitude gap between one-time deposits and streamed G$ doesn't flatten the streamed line. Confirmed this against a fixture shaped after real production data pulled from the live AntSeed Worker (sparse deposit spikes up to ~40x the streamed band) — both lines render clearly distinguishable on their own axes. No LineAreaChart or dashboard code change was needed; the deliverable is the new "RealisticVolume" QA fixture plus a Playwright assertion so this stays covered going forward instead of relying on the smooth demo/live ramp. Also retrofits the live-state spec with text assertions for fixes #1-#3's renamed scorecard labels and sub-line, which had been verified visually but not covered by the Playwright spec, and refreshes all baseline screenshots to reflect the new label copy. Co-Authored-By: Claude <noreply@anthropic.com> On-Behalf-Of: BountyCoder[onecli] (yaskkeryodtdijpv)
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
@goodwidget/bridgepackage with a unified iframe/webview EIP-1193 transport, provider injection (window.ethereum+window.goodWidget.provider), EIP-6963 announce/discovery, host router helpers, and anEmbeddedWidgetReact wrapper@goodwidget/corehost/provider resolution to auto-attempt embedded bridge handshake, detect bridge providers first, and prefer bridge over explicit provider when both are presentwebview-bridgescreen driven by a new single helpercreateWebViewBridgeConfig({ provider, sendToWebView })Test plan
pnpm install --no-frozen-lockfilepnpm -w run buildreact-native-webview,@goodwidget/bridge) and route wired (/webview-bridge)pnpm run androidinexamples/expoand validate live WebView bridge interactions on device/emulatorMade with Cursor