Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Epic] Tx flow redesign #2067

Merged
merged 142 commits into from
Jul 12, 2023
Merged

[Epic] Tx flow redesign #2067

merged 142 commits into from
Jul 12, 2023

Commits on May 23, 2023

  1. Configuration menu
    Copy the full SHA
    00f0e11 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2023

  1. Configuration menu
    Copy the full SHA
    92efde1 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2023

  1. feat: Add StepperFactory and new tx layout (#2040)

    * feat: Add StepperFactory, new tx pages
    
    * wip: context instead of routes
    
    * Add tx flows to new modal context
    
    * fix: Close modal when user navigates
    
    * Export all flows from one file
    
    * refactor: Remove unused code from StepperFactory
    
    * fix: Duplicate ModalDialog to fix failing tests
    usame-algan authored May 30, 2023
    Configuration menu
    Copy the full SHA
    e2c9972 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2023

  1. Refactor: reactive recommended nonce (#2050)

    * Refactor: reactive recommended nonce
    
    Reduce re-renders
    
    Nonce -1
    
    * Use "nonceReadyOnly" instead of -1
    
    * Split sign and execute into two components
    katspaugh authored May 31, 2023
    Configuration menu
    Copy the full SHA
    6387992 View commit details
    Browse the repository at this point in the history
  2. Merge dev

    katspaugh committed May 31, 2023
    Configuration menu
    Copy the full SHA
    a2a2933 View commit details
    Browse the repository at this point in the history
  3. feat: Transaction status widget (#2062)

    * feat: add tx status widget UI
    
    * add logic to paint the stepper
    
    * port the ConfirmProposedTx to the new layout
    
    * pass tx data to the TxStatusWidget to get the tx confirmations
    
    * style: add new lines between adjacent tags
    DiogoSoaress authored May 31, 2023
    Configuration menu
    Copy the full SHA
    50ab68c View commit details
    Browse the repository at this point in the history
  4. Refactor: SafeTxProvider (#2064)

    * Refactor: SafeTxProvider
    
    * Avoid oscillating nonce
    
    * fix reject tx for new provider
    
    ---------
    
    Co-authored-by: Usame Algan <[email protected]>
    katspaugh and usame-algan authored May 31, 2023
    Configuration menu
    Copy the full SHA
    5e8476d View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

  1. Move progress to TxLayout

    katspaugh committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    a4c362c View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2023

  1. Refactor: useRecommendedNonce + useSafeTxGas (#2066)

    * Refactor: useRecommendedNonce + useSafeTxGas
    
    * Fix lint
    
    * Get recommended nonce by "estimating" an empty tx
    katspaugh authored Jun 2, 2023
    Configuration menu
    Copy the full SHA
    1152232 View commit details
    Browse the repository at this point in the history
  2. Merge dev

    katspaugh committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    50f58d7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    72a126d View commit details
    Browse the repository at this point in the history
  4. Refactor: a less verbose ModalProvider (#2068)

    * Refactor: a less verbose ModalProvider
    
    * Fix Cannot redefine property: dispatchTxProposal
    katspaugh authored Jun 2, 2023
    Configuration menu
    Copy the full SHA
    603a6d2 View commit details
    Browse the repository at this point in the history
  5. Refactor the tx flow system (#2071)

    * Refactor the tx flow system
    
    * Array
    katspaugh authored Jun 2, 2023
    Configuration menu
    Copy the full SHA
    0bd24db View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c810ad3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8d74bfc View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2023

  1. Merge dev

    katspaugh committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    61cf1b5 View commit details
    Browse the repository at this point in the history
  2. Editable nonce (#2077)

    * Editable nonce
    
    * Fix tests
    katspaugh authored Jun 12, 2023
    Configuration menu
    Copy the full SHA
    1362202 View commit details
    Browse the repository at this point in the history
  3. refactor: save entire data structure on submission (#2083)

    * fix: Close modal on sign, only render current step
    
    * fix: Close modal on sign, only render current step
    
    * fix: set all data + move back button
    
    ---------
    
    Co-authored-by: Usame Algan <[email protected]>
    iamacook and usame-algan authored Jun 12, 2023
    Configuration menu
    Copy the full SHA
    1b63a8f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6f51b42 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2023

  1. Refactor: single type for tx flows (#2084)

    * Refactor: single type for tx flows
    
    * Omit txNonce
    
    * FormData type
    katspaugh authored Jun 13, 2023
    Configuration menu
    Copy the full SHA
    2e8a049 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b966ab5 View commit details
    Browse the repository at this point in the history
  3. feat: Change threshold flow (#2085)

    * feat: Port change threshold flow
    
    * fix: Only estimate gas when executing
    
    * fix: Remove old component
    usame-algan authored Jun 13, 2023
    Configuration menu
    Copy the full SHA
    eb1731e View commit details
    Browse the repository at this point in the history
  4. feat: remove owner flow

    iamacook committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    3afdea1 View commit details
    Browse the repository at this point in the history
  5. feat: replace owner flow (#2087)

    * feat: add owner flow
    
    * feat: replace owner flow
    
    * feat: replace owner flow
    iamacook authored Jun 13, 2023
    Configuration menu
    Copy the full SHA
    f0c63ef View commit details
    Browse the repository at this point in the history
  6. feat: update flow (#2089)

    iamacook authored Jun 13, 2023
    Configuration menu
    Copy the full SHA
    5b5c261 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f4c6b86 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    53c7df3 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2023

  1. Safe Apps tx flow (#2081)

    * SafeAppsTx flow
    
    * On close
    
    * Handle txFlow close
    katspaugh authored Jun 14, 2023
    Configuration menu
    Copy the full SHA
    60ce628 View commit details
    Browse the repository at this point in the history
  2. feat: new spending limit flow (#2093)

    * feat: new spending limit flow
    
    * fix: preserve token address + reset time values
    iamacook authored Jun 14, 2023
    Configuration menu
    Copy the full SHA
    d69cd67 View commit details
    Browse the repository at this point in the history
  3. Onclose callback (#2094)

    katspaugh authored Jun 14, 2023
    Configuration menu
    Copy the full SHA
    83d5e8f View commit details
    Browse the repository at this point in the history
  4. Send button in Assets (#2097)

    * Send button in Assets
    
    * Supress contentEditable warning
    katspaugh authored Jun 14, 2023
    Configuration menu
    Copy the full SHA
    58b3ab1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ab815e9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    99cdacc View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2023

  1. Configuration menu
    Copy the full SHA
    d73f223 View commit details
    Browse the repository at this point in the history
  2. fix: Move sign msg modal to new flow (#2102)

    * fix: Move sign msg modal to new flow
    
    * Adjust flex property if subtitle exists
    
    * fix: Add flag to hide nonce field in TxLayout
    usame-algan authored Jun 15, 2023
    Configuration menu
    Copy the full SHA
    0d9aedf View commit details
    Browse the repository at this point in the history
  3. TxCard layout (#2105)

    katspaugh authored Jun 15, 2023
    Configuration menu
    Copy the full SHA
    b8ba35a View commit details
    Browse the repository at this point in the history
  4. Modal title and icon (#2107)

    * Modal title and icon
    
    * NFTs
    katspaugh authored Jun 15, 2023
    Configuration menu
    Copy the full SHA
    46d5220 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6d006d2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0e55a9e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1956413 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    fcdaaae View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2023

  1. feat: amount selector (#2111)

    * feat: amount selector
    
    * fix: use CSS variables
    
    * fix: cleanup styles
    iamacook authored Jun 16, 2023
    Configuration menu
    Copy the full SHA
    d4bb5d0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    29bb975 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6beb249 View commit details
    Browse the repository at this point in the history
  4. [Tx flow] feat: address input redesign (#2112)

    * feat: AddressInputReadOnly component
    
    * improve AddressInput
    
    * make component readonly
    
    * enable create AB entry from input component
    
    * show SaveAddressicon if address not in AB
    
    * open the list when clicking the caret
    
    * fix component height
    
    * show caret when there are available options
    
    * rm leftover code
    
    * do not highlight the readonly input on hover/click
    
    * focus the AddressInput on clicking to edit
    
    * change add to AB info text
    
    * do not truncate the address in the readonly component
    
    * show SaveAddressIcon when address is valid
    
    * amount input grows until token name
    DiogoSoaress authored Jun 16, 2023
    Configuration menu
    Copy the full SHA
    6896493 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2023

  1. [TX flow] feat: confirm/execute title component (#2119)

    * feat: confirm/execute titles
    
    * place the component as per design
    
    * remove redundant code
    
    * use willExecute flag to display execution title
    
    * adjust the gap between SignOrExecuteForm elements
    DiogoSoaress authored Jun 19, 2023
    Configuration menu
    Copy the full SHA
    ed25480 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2023

  1. fix: remove error casting (#2127)

    * fix: remove error casting
    
    * refactor: don't call `asError` twice
    iamacook authored Jun 20, 2023
    Configuration menu
    Copy the full SHA
    7b0d350 View commit details
    Browse the repository at this point in the history
  2. fix: execution method style (#2125)

    * fix: execution method style
    
    * fix: change component
    
    * fix: change component
    iamacook authored Jun 20, 2023
    Configuration menu
    Copy the full SHA
    3443bfd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d108272 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d884f74 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b824d12 View commit details
    Browse the repository at this point in the history
  6. [TX flow] Send tokens overview (#2136)

    * fix: Adjust TxLayout header design
    
    * fix: Implement Token Transfer overview design
    
    * Remove loading state
    usame-algan authored Jun 20, 2023
    Configuration menu
    Copy the full SHA
    c270f11 View commit details
    Browse the repository at this point in the history
  7. [TX flow] style: offchain messages info boxes styles (#2134)

    * style: adjust success and info box styles
    
    * adjust msgSigners style
    
    * style margins in the info elements
    
    * clean up redundant variable
    
    * test: update tx builder URL
    DiogoSoaress authored Jun 20, 2023
    Configuration menu
    Copy the full SHA
    23bbb96 View commit details
    Browse the repository at this point in the history
  8. Feat: editable safeTxGas in Advanced details (#2132)

    * Feat: editable safeTxGas in Advanced details
    
    * Prettier
    
    * Make the form a popover
    
    * PR comments
    katspaugh authored Jun 20, 2023
    Configuration menu
    Copy the full SHA
    599b707 View commit details
    Browse the repository at this point in the history
  9. fix: Nonce form (#2120)

    * fix: Update nonce input to show queued txs and reset button
    
    * fix: Extract hook, show input error outline, hide reset button if readonly
    
    * Add isEmpty flag to nonce input
    
    * Fix test
    usame-algan authored Jun 20, 2023
    Configuration menu
    Copy the full SHA
    ae65632 View commit details
    Browse the repository at this point in the history
  10. [TX flow] style: send token flow (#2126)

    * placeholder for AddressInput identicon
    
    * rm Send From
    
    * add the dividers to the layout
    
    * style CardActions
    
    * fix tests
    DiogoSoaress authored Jun 20, 2023
    Configuration menu
    Copy the full SHA
    9ab5212 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2023

  1. [TX flow] styles: fix send token styles (#2138)

    * style: remove unnecessary CSS
    
    * style: consider the input label font-size in spacing
    DiogoSoaress authored Jun 21, 2023
    Configuration menu
    Copy the full SHA
    b11a5d4 View commit details
    Browse the repository at this point in the history
  2. Small UI tweaks

    katspaugh committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    1e2e88c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1b1288f View commit details
    Browse the repository at this point in the history
  4. Fix DecodedTx tests

    katspaugh committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    82d2ee0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9dc087b View commit details
    Browse the repository at this point in the history
  6. [TX flow] feat: add owner modal (#2143)

    * feat: create add owner
    
    * adjust ReviewOwner design
    
    * component to wrap owner address and include subtitle in modal
    
    * prefer RHF for form fields. use sx instead of classes
    
    * use MUI component
    DiogoSoaress authored Jun 21, 2023
    Configuration menu
    Copy the full SHA
    434da9f View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2023

  1. fix: remove owner flow styling (#2150)

    * fix: remove owner flow styling
    
    * fix: add titles
    iamacook authored Jun 22, 2023
    Configuration menu
    Copy the full SHA
    d5e23c1 View commit details
    Browse the repository at this point in the history
  2. feat: add tooltip to advanced details (#2153)

    * feat: add tooltip to advanced details
    
    * fix: alter wording
    iamacook authored Jun 22, 2023
    Configuration menu
    Copy the full SHA
    a378007 View commit details
    Browse the repository at this point in the history
  3. [TX flow] feat: replace owner (#2151)

    * feat: redesign replace owner
    
    * rm unnecessary files. move css to module
    
    * fix: add titles
    
    * Update src/components/tx-flow/flows/AddOwner/ReviewOwner.tsx
    
    Co-authored-by: Aaron Cook <[email protected]>
    
    ---------
    
    Co-authored-by: Aaron Cook <[email protected]>
    DiogoSoaress and iamacook authored Jun 22, 2023
    Configuration menu
    Copy the full SHA
    e1227c9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    af3bf94 View commit details
    Browse the repository at this point in the history
  5. [TX flow] Display Token balance (#2155)

    * Add folder structure for tx flow
    
    * feat: create new-tx route and NewTxMenu component
    
    * feat: Add StepperFactory and new tx layout (#2040)
    
    * feat: Add StepperFactory, new tx pages
    
    * wip: context instead of routes
    
    * Add tx flows to new modal context
    
    * fix: Close modal when user navigates
    
    * Export all flows from one file
    
    * refactor: Remove unused code from StepperFactory
    
    * fix: Duplicate ModalDialog to fix failing tests
    
    * Refactor: reactive recommended nonce (#2050)
    
    * Refactor: reactive recommended nonce
    
    Reduce re-renders
    
    Nonce -1
    
    * Use "nonceReadyOnly" instead of -1
    
    * Split sign and execute into two components
    
    * feat: Transaction status widget (#2062)
    
    * feat: add tx status widget UI
    
    * add logic to paint the stepper
    
    * port the ConfirmProposedTx to the new layout
    
    * pass tx data to the TxStatusWidget to get the tx confirmations
    
    * style: add new lines between adjacent tags
    
    * Refactor: SafeTxProvider (#2064)
    
    * Refactor: SafeTxProvider
    
    * Avoid oscillating nonce
    
    * fix reject tx for new provider
    
    ---------
    
    Co-authored-by: Usame Algan <[email protected]>
    
    * Move progress to TxLayout
    
    * Refactor: useRecommendedNonce + useSafeTxGas (#2066)
    
    * Refactor: useRecommendedNonce + useSafeTxGas
    
    * Fix lint
    
    * Get recommended nonce by "estimating" an empty tx
    
    * Adjust ConfirmTx and ExecuteTxButton
    
    * Refactor: a less verbose ModalProvider (#2068)
    
    * Refactor: a less verbose ModalProvider
    
    * Fix Cannot redefine property: dispatchTxProposal
    
    * Refactor the tx flow system (#2071)
    
    * Refactor the tx flow system
    
    * Array
    
    * Fix: pass nonce correctly (#2072)
    
    * Fix linting errors, add TODOs for failing tx flows (#2070)
    
    * Editable nonce (#2077)
    
    * Editable nonce
    
    * Fix tests
    
    * refactor: save entire data structure on submission (#2083)
    
    * fix: Close modal on sign, only render current step
    
    * fix: Close modal on sign, only render current step
    
    * fix: set all data + move back button
    
    ---------
    
    Co-authored-by: Usame Algan <[email protected]>
    
    * feat: Add SuccessScreen to tx flow (#2080)
    
    * Refactor: single type for tx flows (#2084)
    
    * Refactor: single type for tx flows
    
    * Omit txNonce
    
    * FormData type
    
    * feat: add owner flow (#2086)
    
    * feat: Change threshold flow (#2085)
    
    * feat: Port change threshold flow
    
    * fix: Only estimate gas when executing
    
    * fix: Remove old component
    
    * feat: remove owner flow
    
    * feat: replace owner flow (#2087)
    
    * feat: add owner flow
    
    * feat: replace owner flow
    
    * feat: replace owner flow
    
    * feat: update flow (#2089)
    
    * fix: Remove Module tx flow (#2090)
    
    * Add flow for remove guard (#2091)
    
    * Safe Apps tx flow (#2081)
    
    * SafeAppsTx flow
    
    * On close
    
    * Handle txFlow close
    
    * feat: new spending limit flow (#2093)
    
    * feat: new spending limit flow
    
    * fix: preserve token address + reset time values
    
    * Onclose callback (#2094)
    
    * Send button in Assets (#2097)
    
    * Send button in Assets
    
    * Supress contentEditable warning
    
    * Fix: align Next and Back buttons (#2103)
    
    * feat: remove spending limit flow (#2098)
    
    * Refactor: move AdvancedParams to ExecuteForm (#2104)
    
    * fix: Move sign msg modal to new flow (#2102)
    
    * fix: Move sign msg modal to new flow
    
    * Adjust flex property if subtitle exists
    
    * fix: Add flag to hide nonce field in TxLayout
    
    * TxCard layout (#2105)
    
    * Modal title and icon (#2107)
    
    * Modal title and icon
    
    * NFTs
    
    * feat: spending limit selector (#2106)
    
    * feat: batch execute flow (#2108)
    
    * Move on-chain sign to new flow (#2109)
    
    * feat: amount selector (#2111)
    
    * feat: amount selector
    
    * fix: use CSS variables
    
    * fix: cleanup styles
    
    * feat: execute/sign `RadioGroup` (#2117)
    
    * [Tx flow] feat: address input redesign (#2112)
    
    * feat: AddressInputReadOnly component
    
    * improve AddressInput
    
    * make component readonly
    
    * enable create AB entry from input component
    
    * show SaveAddressicon if address not in AB
    
    * open the list when clicking the caret
    
    * fix component height
    
    * show caret when there are available options
    
    * rm leftover code
    
    * do not highlight the readonly input on hover/click
    
    * focus the AddressInput on clicking to edit
    
    * change add to AB info text
    
    * do not truncate the address in the readonly component
    
    * show SaveAddressIcon when address is valid
    
    * amount input grows until token name
    
    * [TX flow] feat: confirm/execute title component (#2119)
    
    * feat: confirm/execute titles
    
    * place the component as per design
    
    * remove redundant code
    
    * use willExecute flag to display execution title
    
    * adjust the gap between SignOrExecuteForm elements
    
    * fix: remove error casting (#2127)
    
    * fix: remove error casting
    
    * refactor: don't call `asError` twice
    
    * fix: execution method style (#2125)
    
    * fix: execution method style
    
    * fix: change component
    
    * fix: change component
    
    * fix: update amount field style (#2124)
    
    * [TX flow] Send tokens overview (#2136)
    
    * fix: Adjust TxLayout header design
    
    * fix: Implement Token Transfer overview design
    
    * Remove loading state
    
    * [TX flow] style: offchain messages info boxes styles (#2134)
    
    * style: adjust success and info box styles
    
    * adjust msgSigners style
    
    * style margins in the info elements
    
    * clean up redundant variable
    
    * test: update tx builder URL
    
    * Feat: editable safeTxGas in Advanced details (#2132)
    
    * Feat: editable safeTxGas in Advanced details
    
    * Prettier
    
    * Make the form a popover
    
    * PR comments
    
    * fix: Nonce form (#2120)
    
    * fix: Update nonce input to show queued txs and reset button
    
    * fix: Extract hook, show input error outline, hide reset button if readonly
    
    * Add isEmpty flag to nonce input
    
    * Fix test
    
    * [TX flow] style: send token flow (#2126)
    
    * placeholder for AddressInput identicon
    
    * rm Send From
    
    * add the dividers to the layout
    
    * style CardActions
    
    * fix tests
    
    * [TX flow] styles: fix send token styles (#2138)
    
    * style: remove unnecessary CSS
    
    * style: consider the input label font-size in spacing
    
    * Small UI tweaks
    
    * fix: move default value to placeholder (#2139)
    
    * Fix DecodedTx tests
    
    * [TX flow] feat: add owner modal (#2143)
    
    * feat: create add owner
    
    * adjust ReviewOwner design
    
    * component to wrap owner address and include subtitle in modal
    
    * prefer RHF for form fields. use sx instead of classes
    
    * use MUI component
    
    * fix: remove owner flow styling (#2150)
    
    * fix: remove owner flow styling
    
    * fix: add titles
    
    * feat: add tooltip to advanced details (#2153)
    
    * feat: add tooltip to advanced details
    
    * fix: alter wording
    
    * [TX flow] feat: replace owner (#2151)
    
    * feat: redesign replace owner
    
    * rm unnecessary files. move css to module
    
    * fix: add titles
    
    * Update src/components/tx-flow/flows/AddOwner/ReviewOwner.tsx
    
    Co-authored-by: Aaron Cook <[email protected]>
    
    ---------
    
    Co-authored-by: Aaron Cook <[email protected]>
    
    * fix: Display token balance in dropdown
    
    ---------
    
    Co-authored-by: Diogo Soares <[email protected]>
    Co-authored-by: katspaugh <[email protected]>
    Co-authored-by: katspaugh <[email protected]>
    Co-authored-by: Diogo Soares <[email protected]>
    Co-authored-by: Aaron Cook <[email protected]>
    6 people authored Jun 22, 2023
    Configuration menu
    Copy the full SHA
    ccf93fd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c0f5fab View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2023

  1. [TX flow] Mobile optimisation (#2154)

    * Add folder structure for tx flow
    
    * feat: create new-tx route and NewTxMenu component
    
    * feat: Add StepperFactory and new tx layout (#2040)
    
    * feat: Add StepperFactory, new tx pages
    
    * wip: context instead of routes
    
    * Add tx flows to new modal context
    
    * fix: Close modal when user navigates
    
    * Export all flows from one file
    
    * refactor: Remove unused code from StepperFactory
    
    * fix: Duplicate ModalDialog to fix failing tests
    
    * Refactor: reactive recommended nonce (#2050)
    
    * Refactor: reactive recommended nonce
    
    Reduce re-renders
    
    Nonce -1
    
    * Use "nonceReadyOnly" instead of -1
    
    * Split sign and execute into two components
    
    * feat: Transaction status widget (#2062)
    
    * feat: add tx status widget UI
    
    * add logic to paint the stepper
    
    * port the ConfirmProposedTx to the new layout
    
    * pass tx data to the TxStatusWidget to get the tx confirmations
    
    * style: add new lines between adjacent tags
    
    * Refactor: SafeTxProvider (#2064)
    
    * Refactor: SafeTxProvider
    
    * Avoid oscillating nonce
    
    * fix reject tx for new provider
    
    ---------
    
    Co-authored-by: Usame Algan <[email protected]>
    
    * Move progress to TxLayout
    
    * Refactor: useRecommendedNonce + useSafeTxGas (#2066)
    
    * Refactor: useRecommendedNonce + useSafeTxGas
    
    * Fix lint
    
    * Get recommended nonce by "estimating" an empty tx
    
    * Adjust ConfirmTx and ExecuteTxButton
    
    * Refactor: a less verbose ModalProvider (#2068)
    
    * Refactor: a less verbose ModalProvider
    
    * Fix Cannot redefine property: dispatchTxProposal
    
    * Refactor the tx flow system (#2071)
    
    * Refactor the tx flow system
    
    * Array
    
    * Fix: pass nonce correctly (#2072)
    
    * Fix linting errors, add TODOs for failing tx flows (#2070)
    
    * Editable nonce (#2077)
    
    * Editable nonce
    
    * Fix tests
    
    * refactor: save entire data structure on submission (#2083)
    
    * fix: Close modal on sign, only render current step
    
    * fix: Close modal on sign, only render current step
    
    * fix: set all data + move back button
    
    ---------
    
    Co-authored-by: Usame Algan <[email protected]>
    
    * feat: Add SuccessScreen to tx flow (#2080)
    
    * Refactor: single type for tx flows (#2084)
    
    * Refactor: single type for tx flows
    
    * Omit txNonce
    
    * FormData type
    
    * feat: add owner flow (#2086)
    
    * feat: Change threshold flow (#2085)
    
    * feat: Port change threshold flow
    
    * fix: Only estimate gas when executing
    
    * fix: Remove old component
    
    * feat: remove owner flow
    
    * feat: replace owner flow (#2087)
    
    * feat: add owner flow
    
    * feat: replace owner flow
    
    * feat: replace owner flow
    
    * feat: update flow (#2089)
    
    * fix: Remove Module tx flow (#2090)
    
    * Add flow for remove guard (#2091)
    
    * Safe Apps tx flow (#2081)
    
    * SafeAppsTx flow
    
    * On close
    
    * Handle txFlow close
    
    * feat: new spending limit flow (#2093)
    
    * feat: new spending limit flow
    
    * fix: preserve token address + reset time values
    
    * Onclose callback (#2094)
    
    * Send button in Assets (#2097)
    
    * Send button in Assets
    
    * Supress contentEditable warning
    
    * Fix: align Next and Back buttons (#2103)
    
    * feat: remove spending limit flow (#2098)
    
    * Refactor: move AdvancedParams to ExecuteForm (#2104)
    
    * fix: Move sign msg modal to new flow (#2102)
    
    * fix: Move sign msg modal to new flow
    
    * Adjust flex property if subtitle exists
    
    * fix: Add flag to hide nonce field in TxLayout
    
    * TxCard layout (#2105)
    
    * Modal title and icon (#2107)
    
    * Modal title and icon
    
    * NFTs
    
    * feat: spending limit selector (#2106)
    
    * feat: batch execute flow (#2108)
    
    * Move on-chain sign to new flow (#2109)
    
    * feat: amount selector (#2111)
    
    * feat: amount selector
    
    * fix: use CSS variables
    
    * fix: cleanup styles
    
    * feat: execute/sign `RadioGroup` (#2117)
    
    * [Tx flow] feat: address input redesign (#2112)
    
    * feat: AddressInputReadOnly component
    
    * improve AddressInput
    
    * make component readonly
    
    * enable create AB entry from input component
    
    * show SaveAddressicon if address not in AB
    
    * open the list when clicking the caret
    
    * fix component height
    
    * show caret when there are available options
    
    * rm leftover code
    
    * do not highlight the readonly input on hover/click
    
    * focus the AddressInput on clicking to edit
    
    * change add to AB info text
    
    * do not truncate the address in the readonly component
    
    * show SaveAddressIcon when address is valid
    
    * amount input grows until token name
    
    * [TX flow] feat: confirm/execute title component (#2119)
    
    * feat: confirm/execute titles
    
    * place the component as per design
    
    * remove redundant code
    
    * use willExecute flag to display execution title
    
    * adjust the gap between SignOrExecuteForm elements
    
    * fix: remove error casting (#2127)
    
    * fix: remove error casting
    
    * refactor: don't call `asError` twice
    
    * fix: execution method style (#2125)
    
    * fix: execution method style
    
    * fix: change component
    
    * fix: change component
    
    * fix: update amount field style (#2124)
    
    * [TX flow] Send tokens overview (#2136)
    
    * fix: Adjust TxLayout header design
    
    * fix: Implement Token Transfer overview design
    
    * Remove loading state
    
    * [TX flow] style: offchain messages info boxes styles (#2134)
    
    * style: adjust success and info box styles
    
    * adjust msgSigners style
    
    * style margins in the info elements
    
    * clean up redundant variable
    
    * test: update tx builder URL
    
    * Feat: editable safeTxGas in Advanced details (#2132)
    
    * Feat: editable safeTxGas in Advanced details
    
    * Prettier
    
    * Make the form a popover
    
    * PR comments
    
    * fix: Nonce form (#2120)
    
    * fix: Update nonce input to show queued txs and reset button
    
    * fix: Extract hook, show input error outline, hide reset button if readonly
    
    * Add isEmpty flag to nonce input
    
    * Fix test
    
    * [TX flow] style: send token flow (#2126)
    
    * placeholder for AddressInput identicon
    
    * rm Send From
    
    * add the dividers to the layout
    
    * style CardActions
    
    * fix tests
    
    * [TX flow] styles: fix send token styles (#2138)
    
    * style: remove unnecessary CSS
    
    * style: consider the input label font-size in spacing
    
    * Small UI tweaks
    
    * fix: move default value to placeholder (#2139)
    
    * Fix DecodedTx tests
    
    * [TX flow] feat: add owner modal (#2143)
    
    * feat: create add owner
    
    * adjust ReviewOwner design
    
    * component to wrap owner address and include subtitle in modal
    
    * prefer RHF for form fields. use sx instead of classes
    
    * use MUI component
    
    * fix: remove owner flow styling (#2150)
    
    * fix: remove owner flow styling
    
    * fix: add titles
    
    * fix: Optimize new tx flow for mobile screens
    
    * refactor: Adjust all max media queries
    
    ---------
    
    Co-authored-by: Diogo Soares <[email protected]>
    Co-authored-by: katspaugh <[email protected]>
    Co-authored-by: katspaugh <[email protected]>
    Co-authored-by: Diogo Soares <[email protected]>
    Co-authored-by: Aaron Cook <[email protected]>
    6 people authored Jun 23, 2023
    Configuration menu
    Copy the full SHA
    714fc35 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f49c17d View commit details
    Browse the repository at this point in the history
  3. Chore: update MUI

    katspaugh committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    1c5163e View commit details
    Browse the repository at this point in the history
  4. fix: Enable spending limit txs in new flow (#2160)

    * fix: Enable spending limit txs in new flow
    
    * fix: Style review spending limit component
    usame-algan authored Jun 23, 2023
    Configuration menu
    Copy the full SHA
    83d0c35 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d259685 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2023

  1. feat: simulation (#2157)

    * feat: simulation
    
    * Add context, update logos, remove canExecute
    
    * fix: reset on tx change + simplify context
    
    ---------
    
    Co-authored-by: Usame Algan <[email protected]>
    iamacook and usame-algan authored Jun 26, 2023
    Configuration menu
    Copy the full SHA
    4eae3e6 View commit details
    Browse the repository at this point in the history
  2. Fix: hide Edit for safeTxGas when 0 in 1.3.0+ (#2163)

    * Fix: hide Edit for safeTxGas when 0 in 1.3.0+
    
    * Simplify onBlur
    katspaugh authored Jun 26, 2023
    Configuration menu
    Copy the full SHA
    9ffe15b View commit details
    Browse the repository at this point in the history
  3. Fix: TxModalDialog zIndex

    katspaugh committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    fe673a4 View commit details
    Browse the repository at this point in the history
  4. feat: Move Redefine into new Tx Flow (#2166)

    * feat: Move Redefine into new Tx Flow
    
    * fix: cleanup logos + comments
    
    * refactor: Folder structure
    
    ---------
    
    Co-authored-by: iamacook <[email protected]>
    usame-algan and iamacook authored Jun 26, 2023
    Configuration menu
    Copy the full SHA
    2013f5f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2d6cd18 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2023

  1. Configuration menu
    Copy the full SHA
    2cc1c42 View commit details
    Browse the repository at this point in the history
  2. [TX flow] Replace tx (#2173)

    * Move replace tx screen into tx layout
    
    * Add illustration, fix modal zIndex
    usame-algan authored Jun 27, 2023
    Configuration menu
    Copy the full SHA
    367eea6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    df5730d View commit details
    Browse the repository at this point in the history
  4. feat: add confirmation badge to flow (#2183)

    * feat: add confirmation badge to flow
    
    * fix: condition
    
    * fix: dark mode
    iamacook authored Jun 27, 2023
    Configuration menu
    Copy the full SHA
    b0d9964 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c97615f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1da2c1c View commit details
    Browse the repository at this point in the history
  7. fix: make balance change more compact (#2186)

    * fix: make balance change more compact
    
    * fix: increase `gap` between changes
    iamacook authored Jun 27, 2023
    Configuration menu
    Copy the full SHA
    0b21e3f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b553fa8 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2023

  1. Configuration menu
    Copy the full SHA
    1c42b0a View commit details
    Browse the repository at this point in the history
  2. feat: show alert before closing transaction flow (#2187)

    * feat: show alert before closing transaction flow
    
    * fix: dark mode font colour
    
    * fix: handle back button
    
    * fix: change text
    
    * fix: change text
    
    * fix: unmount on final sig + close warning
    iamacook authored Jun 28, 2023
    Configuration menu
    Copy the full SHA
    42bf8b3 View commit details
    Browse the repository at this point in the history
  3. Adjust spending limit ui for new tx flow (#2190)

    * Adjust spending limit ui for new tx flow
    
    * Adjust titles, fix remove owner button regression
    
    * Extract enum and reuse
    
    * Remove reset time switch
    
    * Adjust enum exports
    usame-algan authored Jun 28, 2023
    Configuration menu
    Copy the full SHA
    b83ed3a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ad441c9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4ac4a0d View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2023

  1. Fix: autofocus recipient if not set (#2196)

    * Fix: autofocus recipient if not set
    
    * hideBackdrop
    
    * Fix NFTs tests
    
    * Fix create_tx test
    katspaugh authored Jun 29, 2023
    Configuration menu
    Copy the full SHA
    2fac4ca View commit details
    Browse the repository at this point in the history
  2. fix: style new tx modal (#2193)

    * fix: style new tx modal
    
    * fix: revert wrapper
    
    * fix: type
    
    * fix: animated icon
    
    * fix: e2e
    iamacook authored Jun 29, 2023
    Configuration menu
    Copy the full SHA
    9bfaa87 View commit details
    Browse the repository at this point in the history
  3. [TX flow] Adds nonce validation (#2175)

    * Adds nonce validation
    
    * Adjust nonce validation
    
    * Disable nonce for reject tx, use correct nonce when replacing a tx
    
    * Adjust wording
    
    * fix: migrate input to RHF
    
    * Limit nonce input width
    
    * Fix e2e tests
    
    ---------
    
    Co-authored-by: iamacook <[email protected]>
    usame-algan and iamacook authored Jun 29, 2023
    Configuration menu
    Copy the full SHA
    75f142d View commit details
    Browse the repository at this point in the history
  4. fix: don't warn for send NFTs or tx builder (#2202)

    * fix: don't warn for send NFTs or tx builder
    
    * fix: use `instanceof`
    iamacook authored Jun 29, 2023
    Configuration menu
    Copy the full SHA
    bd9b5fb View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2023

  1. Configuration menu
    Copy the full SHA
    b852cd6 View commit details
    Browse the repository at this point in the history
  2. fix: make tx check widgets sticky (#2203)

    * fix: make tx check widgets `sticky`
    
    * fix: move CSS
    iamacook authored Jun 30, 2023
    Configuration menu
    Copy the full SHA
    e791db6 View commit details
    Browse the repository at this point in the history
  3. Adjust safe apps tx flow ui (#2201)

    * Adjust safe apps tx flow ui
    
    * Fix zIndex issue
    
    * Only show divider if there is an approval, fix e2e test
    
    * Handle undefined tokenInfo
    
    * Fix failing e2e test
    usame-algan authored Jun 30, 2023
    Configuration menu
    Copy the full SHA
    741fe5b View commit details
    Browse the repository at this point in the history
  4. fix: change threshold flow style + titles (#2208)

    * fix: change threshold flow style + titles
    
    * fix: change title + add divider
    iamacook authored Jun 30, 2023
    Configuration menu
    Copy the full SHA
    d60efc9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bf40590 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2023

  1. Configuration menu
    Copy the full SHA
    179af20 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2023

  1. Configuration menu
    Copy the full SHA
    804cdf7 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2023

  1. Configuration menu
    Copy the full SHA
    5a5a733 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fc23c8b View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2023

  1. Fix: show an error if risk isn't acknowledged (#2216)

    * Fix: show an error if risk isn't acknowledged
    
    * Highlight risk checkbox on submit
    
    * Don't reset error
    
    * Rm timeout
    katspaugh authored Jul 4, 2023
    Configuration menu
    Copy the full SHA
    7575033 View commit details
    Browse the repository at this point in the history
  2. fix: Hide reset nonce button (#2223)

    * fix: Hide reset nonce button
    
    * Use ch units instead of em, absolute positioned reset button
    usame-algan authored Jul 4, 2023
    Configuration menu
    Copy the full SHA
    f7d521e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e55c962 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2023

  1. fix: Handle relayed txs and errors in status screen (#2226)

    * fix: Handle relayed txs and errors in status screen
    
    * fix: Status screen dashboard link to include chain prefix
    usame-algan authored Jul 5, 2023
    Configuration menu
    Copy the full SHA
    4ab2902 View commit details
    Browse the repository at this point in the history
  2. fix: TxFlow submit button alignment, error message spacing (#2227)

    * fix: TxFlow submit button alignment, error message spacing
    
    * fix: Pass classname to ErrorMessage
    usame-algan authored Jul 5, 2023
    Configuration menu
    Copy the full SHA
    6b19bac View commit details
    Browse the repository at this point in the history
  3. fix: Apply input styles to all input fields (#2231)

    * fix: Apply input styles to all input fields
    
    * chore: Add TODO
    usame-algan authored Jul 5, 2023
    Configuration menu
    Copy the full SHA
    55cdf74 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4e95926 View commit details
    Browse the repository at this point in the history
  5. feat: show redefine warnings on mobile (#2234)

    - adds RedefineMessage and tenderly result to TxChecks for small screens
    - changes order of Redefine scan results and Tenderly Simulation
    schmanu authored Jul 5, 2023
    Configuration menu
    Copy the full SHA
    c9bff78 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2023

  1. Configuration menu
    Copy the full SHA
    7b4f301 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    58291de View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0e071e6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    47c9858 View commit details
    Browse the repository at this point in the history
  5. fix: reduce space between name and address (#2239)

    * fix: reduce space between name and address
    
    * fix: adjust `line-height`
    
    * fix: import
    iamacook authored Jul 6, 2023
    Configuration menu
    Copy the full SHA
    28bffa5 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2023

  1. Configuration menu
    Copy the full SHA
    20b140e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d2b70b3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9baef84 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    699ce67 View commit details
    Browse the repository at this point in the history
  5. fix: readonly nonce input (#2247)

    - tweaks nonce input design slightly
    - fixes e2e tests
    schmanu authored Jul 7, 2023
    Configuration menu
    Copy the full SHA
    7c5cc5f View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2023

  1. Configuration menu
    Copy the full SHA
    52c7c4d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    890b112 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    92c4e87 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    13ba925 View commit details
    Browse the repository at this point in the history
  5. fix: Show recommended nonce in list (#2260)

    * fix: Show recommended nonce in list
    
    * fix: button ref issue
    usame-algan authored Jul 10, 2023
    Configuration menu
    Copy the full SHA
    878032e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3e56abd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    089e287 View commit details
    Browse the repository at this point in the history
  8. [TX flow] Merge dev (#2265)

    * fix: Check execute checkbox if execution is the only option (#2230)
    
    * v1.14.0
    
    * Chore: escape quotes in release action (#2236)
    
    Use printf
    
    Use a heredoc
    
    Use jq
    
    * fix: only initiate WC v2 module if project id provided (#2228)
    
    * chore: mark `NEXT_PUBLIC_WC_PROJECT_ID` required
    
    * chore: don't prettify
    
    * fix: don't return module
    
    * fix: revert readme
    
    * fix: autoconnect to WC v2 on mobile (#2238)
    
    * fix: update token price tooltip (#2257)
    
    ---------
    
    Co-authored-by: katspaugh <[email protected]>
    Co-authored-by: katspaugh <[email protected]>
    Co-authored-by: Aaron Cook <[email protected]>
    4 people authored Jul 10, 2023
    Configuration menu
    Copy the full SHA
    6149335 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    db76669 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. [TX flow] Batch execute fixes (#2268)

    * fix: Hide status for batch execute
    
    * fix: Close batch execute flow when submitting tx
    
    * fix: Remove hide status flag, add isBatch flag and display different status messages for batch execution
    usame-algan authored Jul 11, 2023
    Configuration menu
    Copy the full SHA
    6d6859e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    21878ba View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    57c053f View commit details
    Browse the repository at this point in the history
  4. fix: Hide approval editor for non-approval transactions (#2262)

    * fix: Hide approval editor for non-approval transactions
    
    * fix: Adjust useApprovalInfos hook for non-approval txs
    usame-algan authored Jul 11, 2023
    Configuration menu
    Copy the full SHA
    9792587 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cbf8119 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    62c740d View commit details
    Browse the repository at this point in the history
  7. fix: increase min-width of nonce field (#2270)

    * fix: increase `min-width` of nonce field
    
    * fix: prevent recommended nonce jump
    iamacook authored Jul 11, 2023
    Configuration menu
    Copy the full SHA
    da39b3d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d2113f3 View commit details
    Browse the repository at this point in the history
  9. fix: Align decoded tx ui for batch execute (#2275)

    * fix: Align decoded tx ui for batch execute
    
    * fix: Don't show confirmation dialog for batch execute, update spending limit components to use SendAmountBlock
    usame-algan authored Jul 11, 2023
    Configuration menu
    Copy the full SHA
    f487649 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. fix: Validation for spending limits (#2277)

    * fix: Validation for spending limits
    
    * fix: Reset amount field to empty string instead of 0 when switching tokens
    
    * fix: Add readonly addressbook input to spending limits
    usame-algan authored Jul 12, 2023
    Configuration menu
    Copy the full SHA
    cbb24e3 View commit details
    Browse the repository at this point in the history
  2. fix: Hide nonce for spending limit txs (#2278)

    * fix: Hide nonce for spending limit txs
    
    * Update src/components/tx-flow/flows/TokenTransfer/ReviewSpendingLimitTx.tsx
    
    Co-authored-by: Aaron Cook <[email protected]>
    
    ---------
    
    Co-authored-by: Aaron Cook <[email protected]>
    usame-algan and iamacook authored Jul 12, 2023
    Configuration menu
    Copy the full SHA
    5ceda2e View commit details
    Browse the repository at this point in the history