* fix currency middleware, actinos, cleanup & bugfix
* mergeDeep in reducer
* dont modify state in add_safe if same already exists
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
* Fix load current session
* Fixs useMemo usage in filteredData
* Type fetchTokens
* Type useFetchTokens
* Type setCurrencyBalances
* Fixs ADD_SAFE reducer for existing safe, uses mergeDeep instead of merge, now the active tokens for the safe are not overwritten
* Fix save selected currency
* Adds excludeSpamTokens param in fetchTokenCurrenciesBalances
* Adds onlyTrustedTokens param in fetchTokenCurrenciesBalances
* Merge with development
* Remove onlyTrustedTokens param
* Fix unnecesary changes
* Replace Dispatch with ThunkDispatch
* Fix import consistency
* Type containsMethodByHash
* Fix blacklisted addresses calculation
* Adds types on updateActiveTokens
Adds types on updateBlacklistedTokens
* Refactor Tokens to TokenList, makes it functional component
also fix blacklisted addresses calculation
* Refactor Tokens to TokenList, makes it functional component
also fix blacklisted addresses calculation
* Refactor AddCustomToken, add types
Removes actions from Tokens
* Fix warning on useEffect
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
* dep bump, enable strictNullChecks ts compiler option
* remove unused imports
* nullchecks errors wip
* fix clipboard func type errors
* fix send funds validation
* Update style load in ThresholdSettings
* Fix isValidAddress default state for SendCollectible
* fix OwnersColumn return type
* fix extractUsefulMethods typing
* Bug: incoming transactions do not load if it fails to fetch gas for a transaction (#1321)
* check if gas returned values are valid when loading token info for incoming tx
* Fix generateBatchRequests
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
(cherry picked from commit 372d27f5a6)
* Revert "Revert "Tech debt 1265: Enable strictNullChecks TS compiler option (#1301)" (#1335)"
This reverts commit 43bc4984b8.
* Fix safe clean load
Fix transaction nonce get
* Fix issue adding owners again after reloading the page
* Add viewedSafes correctly to current session
* Add typing and reduce dependency with immutable
* Rename SerializedSessionState to CurrentSessionState
* Remove immutable from currentSession
* Use Dispatch type defined using ThunkDispatch
* Remove if as parameter should always be defined
* Fix test typo issues
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
* Set desktop app build on workflow_dispatch
* Update workflow_dispatch
* Add yarn cache to build desktop app
Upgrade electron to latest compatible version
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
* fix: prevent runtime error when prev is `undefined`
* fix: prevent runtime error when prev is `undefined`
* fix: prevent runtime error when 'safes' is `undefined`
* fix: add `dataDecoded` to the mocked tx so information is properly displayed for known methods
* fix: set 'pending' status for tx being processed
- given that the confirmations key is no longer an empty array, tx status must be explicitly set this way
* fix: properly update mockedTx
* fix: hide buttons when tx is pending
* fix: type error
* Rollback patches trying to fix bug
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
* fix Sidebar position
* fix padding
* fix padding and margin Help Center and Not connected Icon
* add scroll to Sidebar List menu
Co-authored-by: nicolas <nicosampler@users.noreply.github.com>
* Add tooltip info
* Update icon and types
* Hide tooltip when value and balance are equal to 0
* Remove onClick + Improve perfomance issues
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
* Add outgoing transaction fees in transaction details
* Convert fee from wei only when showing extended transaction
* Fix incoming transactions fee value to display correct value
* Add ETH symbol to fee on details
* check if gas returned values are valid when loading token info for incoming tx
* Fix generateBatchRequests
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
* Bump new onboard.js version
* bump new version
* Clean unnecessary dependencies from yarn.lock file
* Bump dependencies without breaking changes
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
* Adding storybook
* new layout components
* add preview body
* add styles
* extract walletInfo to a separated component
* remove unused component
* New Layout componentes refactor
* Return type in Root
* change story name
* adding back OpenHoc
* sort import
* fix margins
* split layout
* Move Layout related components to /components/SidebarLayout
* Adding new layout for real
* Some changes and refactor
* Move Modals from safe to sidebar
* move safeAddress logic from safe to sidebar
* move safe container from components
* List refactor
* sidebar navigation
* selected item
* list selected example
* add styles
* add text component to new tx button
* Sidebar without walletInfo
* fix footer and body margins
* add logo Safe Multisig
* update safe-react-components
* List colors and List Icon
* fix subItem
* update safe-react-components
* fix logo margin, add notConnected icon and badge Read Only
* fix merge problems
* add sidebar styles and icon notConnected
* fix readOnly
* fix QR tooltip info
* add Help Center link and fix margins
* Remove 'No safe loaded' text
* review changes
* fix import
* fix Help center margin
* add styles to address
* replace empty div with FlexSpacer component
* rename Sidebar by SafeListSidebar
* fix load and create safe position (top-left)
* Add comment to FlexSpacer
* fix Title margin Safe Creation Progress
* fix Read Only line-height
* review fixes
* review fixes
* rename component
* fix Help Center styles
* return type in DefaultBadge
* Fix types for list component (still wip)
* move sidebarList to a hook
* fix safe route container
* fix src version
* fix list typescript issue
* rename sidebarlayout to applayout
* sidebar fixes wip
* sidebar fixes wip
* remove unused function
* lift sidebar items state up
* fix broken imports
* remove unused files
Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>