Goodbridge page#631
Conversation
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- The new
goodBridgeEnabledfeature flag is configured inuseFeaturesEnabledbut not actually used for the sidebar entry or route visibility, so consider wiring it through (similar tomicroBridgeEnabled) to control when/goodbridgeis shown. - There is an
index.tsx~file added undersrc/pages/gd/GoodBridge/that looks like an editor backup and should probably be removed from the PR. - The
Good Bridgesidebar item currently reuses thebridgeEnabledcondition (!isMinipay || bridgeEnabled), which may be tied to the micro-bridge; consider using a distinct check aligned withgoodBridgeEnabledto avoid coupling the two features.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The new `goodBridgeEnabled` feature flag is configured in `useFeaturesEnabled` but not actually used for the sidebar entry or route visibility, so consider wiring it through (similar to `microBridgeEnabled`) to control when `/goodbridge` is shown.
- There is an `index.tsx~` file added under `src/pages/gd/GoodBridge/` that looks like an editor backup and should probably be removed from the PR.
- The `Good Bridge` sidebar item currently reuses the `bridgeEnabled` condition (`!isMinipay || bridgeEnabled`), which may be tied to the micro-bridge; consider using a distinct check aligned with `goodBridgeEnabled` to avoid coupling the two features.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
|
hi @L03TJ3 here's the new PR also here's my wallet address |
|
@Gutopro Send you some CELO. That should give you enough to bridge from Celo > Fuse or XDC |
|
Hi @L03TJ3 any updates on this? |
|
@L03TJ3 it's been awhile and I haven't gotten any feedback from you |
|
Up for review today, weekend in the middle |
If you have not been able to claim dev G$'s, what would you expect your balance to show/be? |
|
I tried claiming the G$ but the verification keeps failing just like in the screenshot I shared earlier |
|
@Gutopro I just tried and it worked, I don't get the 'information missing' screen. |
|
here's a link to the video on loom. initially the facial verification wouldnt work but on this try it did, then it failed at the location verification as seen in the video, i'm not using any vpn so i wonder why it wouldnt work. |
|
@Gutopro Okay, confirmed the bug on my side too. I have disabled this flow now. if you clear your cache/hard refresh the claim page you should be able to claim |
|
thank you. i was able to get the G$. i made a test video demonstrating my progress with the page so far and this is what i have |
|
Any comments on this? @L03TJ3 |
|
Hi @L03TJ3 I tried reaching you on telegram but I couldnt, it told me I could only text a mutual contact. As seen in the video on the Good bridge page the bridge assets button doesn't work on click. Can you have a look at it? |
|
@Gutopro You can always reach out to me in the public channels by pinging: @demewlingoak Will have a look in a bit |
|
.... right... My bad, apologies. forgot we never released dev contracts for the message-passing-bridge. |
|
Thanks @L03TJ3 however isn't production G$ real G$? I don't have that. |
|
@Gutopro send you some on this address: 0x8798790bd86170C1F5bF9d681E9038Be94C4B71F |
|
Thank you @L03TJ3 I'll keep you updated on my progress |
|
@L03TJ3 can you have a look at this please> https://www.loom.com/share/7cb4dbd6c37243d9963c6211fd69bde0
|
|
@L03TJ3 please any updates on this? |
|
Hi @L03TJ3 it's been a while. I messaged you on telegram but I didn't get a response. Could you please review this and provide feedback? |
L03TJ3
left a comment
There was a problem hiding this comment.
For the rest, looks good
| { | ||
| route: '/goodbridge', | ||
| text: 'Good Bridge', | ||
| show: !isMinipay || goodBridgeEnabled, | ||
| }, |
There was a problem hiding this comment.
Lets make GoodBridge (one word, no space) the first on in the side-bar list.
and rename microbridge to > Fuse/Celo Bridge
to make the distinction between the two a bit more clear.
its fine to only change the UI/display name, does not have to be renamed everywhere
|
Hi @L03TJ3 I've made the changes could you please have a look at it? |
* fix: bump sdk-v2 with reserve fix * Fix: Restore claim disabled message modal overlay (#611) (#626) * fix: replace useModal with absolute overlay for disabled claim state * fix: gate modal display with claimEnabled flag and remove comments * fix: use standard img tag to ensure maintenance asset renders * chore: restore valid developer comments and remove temporary ones * fixes: insufficient gas error message, disconnect after reload, cached approval amount * chore: lingui * include xdc production contracts * fix: also update gd web3-mono dependencies with goodprotocol xdc prod contracts * chore: release qa version 1.119.0 [skip build] * chore: release qa version 1.120.0 [skip build] * chore: release prod version 1.121.0 [skip build] * fix: enforce reconnect for stale web3-onboard connections * fix: remove legacy model open call * fix: add option to exclude rpcs that are not working, configure through env * temp-fix: default to show celo price * chore: lingui * chore: release qa version 1.122.0 [skip build] * chore: release prod version 1.123.0 [skip build] * fix: stop forcing celo gas price (#632) * fix: stop forcing celo gas price * chore: bump gooddollar sdks --------- Co-authored-by: LewisB <lewis@ikigaistudios.eu> * chore: release qa version 1.124.0 [skip build] * chore: release prod version 1.125.0 [skip build] * Goodbridge page (#631) * add GoodBridge page to src/pages/gd * update sideBar.tsx * feat: implement GoodBridge route and update connect wallet copy * Delete src/pages/gd/GoodBridge/index.tsx~ * Add goodBridgeEnabled to payload destructuring * Fix typo in goodBridgeEnabled variable * Update bridge names in SideBar component * dont estimate gas on minipay * remove duplicate key for layerzero bridge feature enabled * chore: lingui * enable lzbridge on dev * bump vercel to fix gh actions deployments * chore: lingui * chore: release qa version 1.126.0 [skip build] * chore: release qa version 1.127.0 [skip build] * chore: release prod version 1.128.0 [skip build] * feat: integrate savings widget and update FAQ section * made corrections * effected necessary changes * Update src/components/SideBar.tsx --------- Co-authored-by: LewisB <lewis@gooddollar.org> Co-authored-by: Victor Edeh <edehvictor715@gmail.com> Co-authored-by: Techadmin <techadmin@gooddollar.org> Co-authored-by: sirpy <hadar@gooddollar.org> Co-authored-by: LewisB <lewis@ikigaistudios.eu> Co-authored-by: Nicholas Igber <111025771+Gutopro@users.noreply.github.com>


Description
This PR integrates the MessagePassingBridge
About #628
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist:
Summary by Sourcery
Add a new Good Bridge page integrating the MessagePassingBridge flow and expose it in navigation with feature flag control across supported networks.
New Features:
Enhancements: