-
Notifications
You must be signed in to change notification settings - Fork 362
Conversation
CLA Assistant Lite All Contributors have signed the CLA. |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
290f8de
to
8dd80ee
Compare
8dd80ee
to
2e08cd6
Compare
ESLint Summary View Full Report
Report generated by eslint-plus-action |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
* 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: 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]>
e66fbf4
to
a4dfa0f
Compare
* 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 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: 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
* 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]>
…just empty state for pending txs widget
Looks really good. The only thing I found is that the "pin" icon is always the "unpinned" one, even if the app is pinned in the Apps section, so basically you can only pin apps from the dashboard. If this intended let me know Question: I that there is no GTM track at all here. Is that out of the scope of this ticket I assume. Is there another ticket for that? or we are releasing it without any tracking at first? |
Let me know if the "pin" icons of my last comment is something that should be fixed. If not, I'd agree to pass this ticket to DONE and check it in the release branch |
Definitely need to fix them. |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
* 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]>
Good idea! Added the same fallback image that we use in the safe list view.
The state of pinned apps should be displayed correctly now . |
@francovenica it's based on the latest design, the Apps will have this button soon as well. |
What it solves
Resolves #3693
Figma: https://www.figma.com/file/Y9HUUDQzrbOtMpC3Nye3lt/Safe-Dashboard?node-id=2%3A26
Adds a dashboard view for safes that includes a number of widgets:
How to test
Screenshots