Skip to content

UNI-2123 Trigger wallet on mobile - #383

Merged
0xbarbs merged 2 commits into
base-mainnetfrom
feature/uni-2123-sending-a-tx-or-permit-doesnt-automatically-trigger-the
Nov 4, 2024
Merged

0xbarbs merged 2 commits into
base-mainnetfrom
feature/uni-2123-sending-a-tx-or-permit-doesnt-automatically-trigger-the

Conversation

@0xbarbs

@0xbarbs 0xbarbs commented Nov 4, 2024

Copy link
Copy Markdown
Contributor

No description provided.

@linear

linear Bot commented Nov 4, 2024

Copy link
Copy Markdown

@vercel

vercel Bot commented Nov 4, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
union-interface ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 4, 2024 8:52pm

@0xbarbs
0xbarbs merged commit de56523 into base-mainnet Nov 4, 2024
@0xbarbs
0xbarbs deleted the feature/uni-2123-sending-a-tx-or-permit-doesnt-automatically-trigger-the branch November 4, 2024 20:53
0xbarbs added a commit that referenced this pull request Nov 6, 2024
* feat: spruce

* fixed issues after master merge

* fix: protocol data contract version issue

* remove debug log

* fix: factor in repay block number diff for versioned block number

* UNI-1045 Approval permit functionality (NEW) (#105)

* Barbs/spruce goose/UI v2 integration (#90)

* Union V2 Goerli Merge (#91)

* stage

* feat: very much broken

* feat: working-ish

* feat: add segment

* feat: ens icon missing

* fix: network switch

* fix: profile errors

* fix: missing icon

* fixed v2 merge issues

* fix: removed duplicate constants import

---------

Co-authored-by: Gerald <gm@gerald.host>

* fix: borrow

* Second UI review changes/tweaks (#98)

* misc changes

* push mobile view changes

* feat: moved claim tokens button to first stage of get started page

* proj: bump ui lib version

* fix: connect button border radius

* feat: added working permit logic

* feat: store users gasless approval preference in local storage

* fix: removed duplicate function

* fix: added optimism permit methods

* feat: improved gasless approvals and tested various networks/methods

---------

Co-authored-by: Gerald Host <gm@gerald.host>

* fix: rework owed balance margin calculation to prevent dust issues

* feat: locked stakers now link to contacts table with borrowing filter selected

* feat: display contact modal on contacts page if clicked in active borrowers table

* fix: responsive style issues

* fix: repayment issues

* fixed more review tweaks/changes

* bump @unioncredit/ui version

* bump: @unioncredit/ui version

* UNI-1250 Add tooltip content #114

* UNI-1388 Cancel vouch functionality (#113)

* feat: added cancel vouch functionality

* fix: ensure cancel vouch button is disabled in the correct conditions

* UNI-1380 Get started page fixes (#115)

* fix: added active styles to the ProgressBar when the percentage is > 0 but rounding down to 0

* feat: hide claim tokens button until 1 union has been earned

* fix: only mark the stake step as completed if the user has earned 1 UNION

* UNI-1409 Added navigation controls to contacts modal (#116)

* feat: added contact navigation controls to manage contact modal

* misc: remove unused console.log() calls

* proj: bump @unioncredit/ui version

* Updated "Unavailable" credit tooltip copy

Updated copy in the tooltip for the "Unavailable" credit in the credit card

* UNI-1435 Claim tokens button doesnt work on get started #117

* UNI-1434 Rework estimated reward calculations (#118)

* fix: divide by 0 error if total vouch is 0

* feat: reworked how rewards are calculated to remove "calculateRewardsByBlock" dependency

* UNI-1411 Segmented control animation (#119)

* feat: reworked credit pages so that segmented control animates on change

* feat: reworked DAO pages so that segmented control animates on change

* fix: set initialActive for credit pages seg control

* misc: remove redundant prop

* UNI-1404 Tweaked segmented control transitions #120

* UNI-1358 Increased precision of max borrow calculation #122

* UNI-908 Add transitions to modals (#123)

* feat: increased precision of max borrow calculation

* feat: added modal reveal animations (bump ui version)

* UNI-1430 Update button text when revoking vouch (#126)

* feat: increased precision of max borrow calculation

* feat: change "Update trust" button text if the vouch is being revoked

* UNI-1423 Update button text to specify it is cancelling the received vouch (#127)

* feat: increased precision of max borrow calculation

* misc: updated cancel vouch text to specify it is the received vouch only

* UNI-1373 Add eslint to interface (#124)

* feat: increased precision of max borrow calculation

* feat: added eslint and fixed lint issues

* fix: eslint warning about react version

* proj: added jsx files to lint config and fixed issues

* commit latest lock

* fix: disable eslint during build

* added missing prop

* feat: added back buffer window var

* proj: only eslint the src directory

* UNI-1448 Interest rates not calculating correctly #128

* UNI-626 Improve display of proposal action items (#145)

* refactor: moved function calls above description

* feat: display action items in a numbered list

* feat: show mainnet leaderboard contacts for all networks (#146)

* feat: added truncating of ens names (#144)

* fix: added hover style to wallet/profile header buttons (#143)

* fix: display network name in wallet balance text (#142)

* feat: fetch time to default and time to write-off values from the contracts (#141)

* fix: bottom corners were overflowing parent container (#140)

* feat: updated tooltip icon to correct version (#139)

* UNI-1424 Contact table top bar tweaks and adjustments (#138)

* feat: adjusted box-shadow of contacts table type toggle

* fix: adjusted table header color

* feat: style adjustments and tweaks to the contacts table header component

* feat: tweaked contact numerical row font inline with design (#134)

* feat: added build info and links to the repository (#133)

* fix: remove hardcoding of app deployment (#130)

* fix: active borrowers table overflows on smaller screens (#129)

* feat: default v2 (#147)

* feat: loading screen when switching versions (#148)

* fix: event listeners (#149)

* UNI-1427 Fixed loan status sort (#131)

* fix: only show contact as overdue if they are overdue to the connected user

* fix: only color stake locked column red if the user is overdue to the connected user

* UNI-1421 Add edit alias functionality to contact modal (#132)

* fix: hide close button for contact modal

* feat: added functionality to edit the users alias

* UNI-1416 Only show staked funds warning on V2 networks (#135)

* fix: only show staked funds warning on V2 networks

* fix: hide time to write-off line on V1 networks

* UNI-1414 Incorrect spacing on modal input and input title #136

* UNI-1451 Added get started mobile progress list #137

* UNI-1452 Network switcher improvements #150

* UNI-1429 Styling issues with wallet activity modal #151

* UNI-1428 Added minimum width to loan status column #152

* UNI-1418 Made ENS label blue #153

* UNI-1425 Color issues on spruce #155

* Arrow Glyph

Added a css font feature in the component to enable the arrow glyph

* UNI-1469 Fixed last payment calculation on contacts table #160

* UNI-1450 Prevent contact navigation from overflowing the window #158

* UNI-1438 Reworked governance balances #157

* UNI-1408 Correctly display dust and reduce minimum payment to 0.01 (#156)

* feat: added formatting of dust values to "<0.01"

* feat: reduced minimum min payment to 0.01 (from 0.1)

* UNI-1262 Check there is enough uDAI balance when borrowing #161

* UNI-1449 Fixed contact table crashing #162

* fix: borrowable sort

* UNI-1480 Fix get started page and network select options #163

* UNI-1481 Correct contact not showing using URL param filter #164

* UNI-1485 Updated max overdue days calculation #165

* UNI-1477 Added etherscan link to view bytecode button #166

* UNI-1441 Added optimism v2 banner #167

* UNI-1475 Added 404 page (#168)

* fix: added link to view bytecode button

* feat: added 404 page

* UNI-1419 Hide vouchee details if vouch is <= 0 #169

* UNI-1483 Providing and receving toggle style changes (#170)

* feat: tweaked segmented control styles

* misc: removed redundant px

* Revert "UNI-1419 Hide vouchee details if vouch is <= 0 #169" (#172)

This reverts commit 99788b4.

* fix: adjust info banner styles

* chg: add base sepolia support

* chg: add 84532 network

* chg: add base sepolia support

* chg: update lens address and add error handling

* chg: add usdc

* chg: update erc20 token component

* chg: update ui

* chg: token number of digits

* chg: update token unit

* chg: token number of digits

* fix: unit error

* chg: update address

* fix: unit error

* chg: add default useToken

* chg: update address and @unioncredit/ui

* fix: format use error token

* chg: update contract address

* fix: @unioncredit/ui lib url

* chg: update registerHelper and referral

* feat: bump ui lib vers

* chg: add base network address and config

* chg: update address

* fix: error base rpc and add chainUseTokens config

* fix: minMargin calc error

* fix: register fee show error

* UNI-2106 Show correct token when selecting a network #379

* fix: use 18 decimals when calculating origination fee percentage

* UNI-2107 Use base icon and colors for base network #380

* UNI-2108 Profiles crashing on all networks #381

* UNI-2112 Network selector overflows vouch link modal #382

* UNI-2123 Trigger wallet on mobile (#383)

* fix: wallet tx prompt

* fix: multicall address

* UNI-2122 Use correct token in tx toasts #384

* feat: output projectId

* UNI-2110 Create useToken to determine which symbol/units/wad to display (#385)

* fix: use correct token symbol when creating toast messages

* feat: determine token symbol, units and wad using new useToken() hook

* UNI-2134 Use token symbol in place of generic token string #386

* UNI-2138 Token null when not connected to a network #387

* UNI-2129 Profile network selector not loading base data #389

* UNI-2132 Wrong payment due date on borrow modal #390

* fix: remove duplicate import

---------

Co-authored-by: Gerald Host <gm@gerald.host>
Co-authored-by: 0xbarbs <0xbarbs@proton.me>
Co-authored-by: barbs <115395121+0xbarbs@users.noreply.github.com>
Co-authored-by: Murf <71691718+0xmurf@users.noreply.github.com>
Co-authored-by: twygod <twygod@gmail.com>
0xbarbs added a commit that referenced this pull request Nov 7, 2024
* feat: spruce

* fixed issues after master merge

* fix: protocol data contract version issue

* remove debug log

* fix: factor in repay block number diff for versioned block number

* UNI-1045 Approval permit functionality (NEW) (#105)

* Barbs/spruce goose/UI v2 integration (#90)

* Union V2 Goerli Merge (#91)

* stage

* feat: very much broken

* feat: working-ish

* feat: add segment

* feat: ens icon missing

* fix: network switch

* fix: profile errors

* fix: missing icon

* fixed v2 merge issues

* fix: removed duplicate constants import

---------

Co-authored-by: Gerald <gm@gerald.host>

* fix: borrow

* Second UI review changes/tweaks (#98)

* misc changes

* push mobile view changes

* feat: moved claim tokens button to first stage of get started page

* proj: bump ui lib version

* fix: connect button border radius

* feat: added working permit logic

* feat: store users gasless approval preference in local storage

* fix: removed duplicate function

* fix: added optimism permit methods

* feat: improved gasless approvals and tested various networks/methods

---------

Co-authored-by: Gerald Host <gm@gerald.host>

* fix: rework owed balance margin calculation to prevent dust issues

* feat: locked stakers now link to contacts table with borrowing filter selected

* feat: display contact modal on contacts page if clicked in active borrowers table

* fix: responsive style issues

* fix: repayment issues

* fixed more review tweaks/changes

* bump @unioncredit/ui version

* bump: @unioncredit/ui version

* UNI-1250 Add tooltip content #114

* UNI-1388 Cancel vouch functionality (#113)

* feat: added cancel vouch functionality

* fix: ensure cancel vouch button is disabled in the correct conditions

* UNI-1380 Get started page fixes (#115)

* fix: added active styles to the ProgressBar when the percentage is > 0 but rounding down to 0

* feat: hide claim tokens button until 1 union has been earned

* fix: only mark the stake step as completed if the user has earned 1 UNION

* UNI-1409 Added navigation controls to contacts modal (#116)

* feat: added contact navigation controls to manage contact modal

* misc: remove unused console.log() calls

* proj: bump @unioncredit/ui version

* Updated "Unavailable" credit tooltip copy

Updated copy in the tooltip for the "Unavailable" credit in the credit card

* UNI-1435 Claim tokens button doesnt work on get started #117

* UNI-1434 Rework estimated reward calculations (#118)

* fix: divide by 0 error if total vouch is 0

* feat: reworked how rewards are calculated to remove "calculateRewardsByBlock" dependency

* UNI-1411 Segmented control animation (#119)

* feat: reworked credit pages so that segmented control animates on change

* feat: reworked DAO pages so that segmented control animates on change

* fix: set initialActive for credit pages seg control

* misc: remove redundant prop

* UNI-1404 Tweaked segmented control transitions #120

* UNI-1358 Increased precision of max borrow calculation #122

* UNI-908 Add transitions to modals (#123)

* feat: increased precision of max borrow calculation

* feat: added modal reveal animations (bump ui version)

* UNI-1430 Update button text when revoking vouch (#126)

* feat: increased precision of max borrow calculation

* feat: change "Update trust" button text if the vouch is being revoked

* UNI-1423 Update button text to specify it is cancelling the received vouch (#127)

* feat: increased precision of max borrow calculation

* misc: updated cancel vouch text to specify it is the received vouch only

* UNI-1373 Add eslint to interface (#124)

* feat: increased precision of max borrow calculation

* feat: added eslint and fixed lint issues

* fix: eslint warning about react version

* proj: added jsx files to lint config and fixed issues

* commit latest lock

* fix: disable eslint during build

* added missing prop

* feat: added back buffer window var

* proj: only eslint the src directory

* UNI-1448 Interest rates not calculating correctly #128

* UNI-626 Improve display of proposal action items (#145)

* refactor: moved function calls above description

* feat: display action items in a numbered list

* feat: show mainnet leaderboard contacts for all networks (#146)

* feat: added truncating of ens names (#144)

* fix: added hover style to wallet/profile header buttons (#143)

* fix: display network name in wallet balance text (#142)

* feat: fetch time to default and time to write-off values from the contracts (#141)

* fix: bottom corners were overflowing parent container (#140)

* feat: updated tooltip icon to correct version (#139)

* UNI-1424 Contact table top bar tweaks and adjustments (#138)

* feat: adjusted box-shadow of contacts table type toggle

* fix: adjusted table header color

* feat: style adjustments and tweaks to the contacts table header component

* feat: tweaked contact numerical row font inline with design (#134)

* feat: added build info and links to the repository (#133)

* fix: remove hardcoding of app deployment (#130)

* fix: active borrowers table overflows on smaller screens (#129)

* feat: default v2 (#147)

* feat: loading screen when switching versions (#148)

* fix: event listeners (#149)

* UNI-1427 Fixed loan status sort (#131)

* fix: only show contact as overdue if they are overdue to the connected user

* fix: only color stake locked column red if the user is overdue to the connected user

* UNI-1421 Add edit alias functionality to contact modal (#132)

* fix: hide close button for contact modal

* feat: added functionality to edit the users alias

* UNI-1416 Only show staked funds warning on V2 networks (#135)

* fix: only show staked funds warning on V2 networks

* fix: hide time to write-off line on V1 networks

* UNI-1414 Incorrect spacing on modal input and input title #136

* UNI-1451 Added get started mobile progress list #137

* UNI-1452 Network switcher improvements #150

* UNI-1429 Styling issues with wallet activity modal #151

* UNI-1428 Added minimum width to loan status column #152

* UNI-1418 Made ENS label blue #153

* UNI-1425 Color issues on spruce #155

* Arrow Glyph

Added a css font feature in the component to enable the arrow glyph

* UNI-1469 Fixed last payment calculation on contacts table #160

* UNI-1450 Prevent contact navigation from overflowing the window #158

* UNI-1438 Reworked governance balances #157

* UNI-1408 Correctly display dust and reduce minimum payment to 0.01 (#156)

* feat: added formatting of dust values to "<0.01"

* feat: reduced minimum min payment to 0.01 (from 0.1)

* UNI-1262 Check there is enough uDAI balance when borrowing #161

* UNI-1449 Fixed contact table crashing #162

* fix: borrowable sort

* UNI-1480 Fix get started page and network select options #163

* UNI-1481 Correct contact not showing using URL param filter #164

* UNI-1485 Updated max overdue days calculation #165

* UNI-1477 Added etherscan link to view bytecode button #166

* UNI-1441 Added optimism v2 banner #167

* UNI-1475 Added 404 page (#168)

* fix: added link to view bytecode button

* feat: added 404 page

* UNI-1419 Hide vouchee details if vouch is <= 0 #169

* UNI-1483 Providing and receving toggle style changes (#170)

* feat: tweaked segmented control styles

* misc: removed redundant px

* Revert "UNI-1419 Hide vouchee details if vouch is <= 0 #169" (#172)

This reverts commit 99788b4.

* fix: adjust info banner styles

* chg: add base sepolia support

* chg: add 84532 network

* chg: add base sepolia support

* chg: update lens address and add error handling

* chg: add usdc

* chg: update erc20 token component

* chg: update ui

* chg: token number of digits

* chg: update token unit

* chg: token number of digits

* fix: unit error

* chg: update address

* fix: unit error

* chg: add default useToken

* chg: update address and @unioncredit/ui

* fix: format use error token

* chg: update contract address

* fix: @unioncredit/ui lib url

* chg: update registerHelper and referral

* feat: bump ui lib vers

* chg: add base network address and config

* chg: update address

* fix: error base rpc and add chainUseTokens config

* fix: minMargin calc error

* fix: register fee show error

* UNI-2106 Show correct token when selecting a network #379

* fix: use 18 decimals when calculating origination fee percentage

* UNI-2107 Use base icon and colors for base network #380

* UNI-2108 Profiles crashing on all networks #381

* UNI-2112 Network selector overflows vouch link modal #382

* UNI-2123 Trigger wallet on mobile (#383)

* fix: wallet tx prompt

* fix: multicall address

* UNI-2122 Use correct token in tx toasts #384

* feat: output projectId

* UNI-2110 Create useToken to determine which symbol/units/wad to display (#385)

* fix: use correct token symbol when creating toast messages

* feat: determine token symbol, units and wad using new useToken() hook

* UNI-2134 Use token symbol in place of generic token string #386

* UNI-2138 Token null when not connected to a network #387

* UNI-2129 Profile network selector not loading base data #389

* UNI-2132 Wrong payment due date on borrow modal #390

* fix: remove duplicate import

* UNI-2124 Added base data to leaderboard #395

* UNI-2142 Borrow modal incorrect payment due calculation #396

* UNI-2117 Show baseUNION balance on voting page #397

---------

Co-authored-by: Gerald Host <gm@gerald.host>
Co-authored-by: Murf <71691718+0xmurf@users.noreply.github.com>
Co-authored-by: Max Weng <max.m.weng@gmail.com>
Co-authored-by: twygod <twygod@gmail.com>

This branch was successfully deployed

1 active deployment
Preview — d412302e Deployed Nov 4, 2024 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant