This repository has been archived by the owner on Nov 10, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Epic: Dashboard * feat: Add Safe route for dashboard (#3759) * feat: Add safe specific dashboard route * fix: Redirect user to Dashboard when adding/loading/removing a safe * fix: Remove old dashboard route * fix: Move Dashboard component inside SafeContainer to access transactions * fix: Remove null fallback for wrapInSuspense, remove unnecessary React reference * Dashboard: create/add safe widgets (#3763) * feat: pending transactions widget (#3757) * feat: pending transactions widget * refactor: split PendingTxs component * fix: code review remarks * fix: change selectedSafe type * fix: rename loading state variable in useOwnerSafes * feat: fetch Redux queued txs in the Dashboard * fix: revert changes in useOwnerSafes * fix: use Skeleton component from MUI * fix: return a spacer component instead of null for some TxInfo * style: tweak the UI of the Skeleton component and PendingTxListItem * fix: fetch store from inside the widget Co-authored-by: Aaron Cook <[email protected]> * fix: move location of PendingTxs files * fix: parametrize MAX_TXS_DISPLAY from the Dashboard component * fix: display one queued transaction per nonce * Refactor how txns are mapped Co-authored-by: Aaron Cook <[email protected]> Co-authored-by: katspaugh <[email protected]> * fix: move PendingTxs components to Dashboard folder * feat: Add Home button to sidebar navigation (#3788) * feat: Dashboard Safe Apps (#3738) * feat: Add Safe route for dashboard (#3759) * feat: Add safe specific dashboard route * fix: Redirect user to Dashboard when adding/loading/removing a safe * fix: Remove old dashboard route * fix: Move Dashboard component inside SafeContainer to access transactions * fix: Remove null fallback for wrapInSuspense, remove unnecessary React reference * feat: add harcoded WC app * Add a redirect for Safe Apps + Bookmark handler * feat: display "official" apps after pinned apps * Add "Explore" Card * refactor: extract official app idss to enum * fix: render after safe apps info response * fix: import explore icon as module * fix: remove duplicated safe apps * fix: memoize safeApps data * fix: change useMemo dependency * fix: move related data inside the same function. Use hook isLoading. * fix: GENERIC_APPS_ROUTE route * feat: track timestamp when opening safeApp * feat: track openingCount when opening safeApp * feat: track txCount when creating a transaction from ReviewConfirm * fix: keep previous data when tracking on opening * fix: Adds ranking function for tracked safe apps * fix: unify rankTrackedSafeApps input types * fix: change localstorage prefered module * feat: display top ranked apps * fix: track opening SafeApp in a separate hook * fix: move app count tracking to a separate module * chore: Add comments to the sorting formula * chore: move app usage related functions to the same file * fix: improve the setItem in the LS logic * feat: add Skeleton Cards * fix: remove breadcrumbs in Dashboard * feat: always display the "Explore" card * rename safe app tracking methods. extract card dimensions to constants * include random apps to fill the gaps in the widget * prop drill the safeApp number id * code comments clean up * fix: make logo height fix to align SafeApp name Co-authored-by: Usame Algan <[email protected]> Co-authored-by: katspaugh <[email protected]> Co-authored-by: Usame Algan <[email protected]> * feat: Add Overview widget for dashboard (#3786) * feat: Add Safe route for dashboard (#3759) * feat: Add safe specific dashboard route * fix: Redirect user to Dashboard when adding/loading/removing a safe * fix: Remove old dashboard route * fix: Move Dashboard component inside SafeContainer to access transactions * fix: Remove null fallback for wrapInSuspense, remove unnecessary React reference * feat: Add Overview widget for dashboard * fix: Remove Load Safe Button * fix: Add loading state for safe record, show skeleton ui for overview widget * fix: Reset safe loading state when switching safes * fix: Reset nft token loaded state when switching safes * fix: await all dispatches in fetchSafe before setting loaded state, add skeletons * fix: Split up loading state and dont reset it for nfts anymore * fix: dispatch array type * fix: Split nft token actions, reset nft loaded state before they are refetched * feat: Featured Apps Widget (#3789) * feat: Add featured apps widget to dashboard * refactor: Extract getSafeAppUrl * fix: Filter apps by tags * fix: Update gateway sdk package and remove old type * fix: Update gateway sdk package and remove old type * refactor: Extract featured apps const * fix: Check for tags if they exist * feat: Dashboard grid layout (#3795) * wip layout * feat: Adjust Dashboard layout * fix: remove leftover prop * fix: NFT route, style container spacings * style: Adjust Overview widget style * style: Remove row, col from featured apps widget, adjust spacings * Add total transactions to sign to the PendingTxs widget title * Add view all Link * tune spacing in TxPendingListItem * fix: Remove hardcoded featured app ids, use lodash sampleSize to get random apps, adjust grid layout * fix: React prop errors * style: Adjust overview skeleton container size * style: Adjust pending txs spacing * tweaks in grid layout * fix: Update comment Co-authored-by: Diogo Soares <[email protected]> * style: Adjust font-size and bookmark icon size for safe apps grid, adjust empty state for pending txs widget * Chore: rm unused dashboard widgets (#3805) * fix: show last queued in grouped transactions * fix: Dashboard styles (#3806) * fix: exclude featured safe apps from top ranked * fix overlap in featured apps * style: Pending txs widget height * style: switch bookmark icons to src * style: vertical scroll in transactions view adjusted for new spacings * fix: Remove pinned apps local state * style: Hide featured apps widget if none exist * fix: Set app fallback image * fix: Adjust widget titles, revert app layout spacing * style: Adjust app frame margin for larger spaces Co-authored-by: Usame Algan <[email protected]> * style: Adjust app frame height for new spacing * style: Adjust layout padding to 24px instead of 40px * fix: lint Co-authored-by: Usame Algan <[email protected]> Co-authored-by: Diogo Soares <[email protected]> Co-authored-by: Aaron Cook <[email protected]> Co-authored-by: Diogo Soares <[email protected]> Co-authored-by: Usame Algan <[email protected]>
- Loading branch information