Close #11 Build the View Unlisted Asset UI#31
Close #11 Build the View Unlisted Asset UI#31DiegoFloresWenHao wants to merge 3 commits intoTrajectfi:mainfrom
Conversation
Created an initial generic <ViewAsset> dialog component (later superseded by the more specific dialog below). • dapp/src/components/ViewUnlistedAssetDialog.tsx Added a brand-new, multi-step Radix-Dialog component implementing the “View Unlisted Asset → List as Collateral → Review → Success” flow in TailwindCSS. • dapp/src/components/connectwallet.tsx Fixed two SVG props: renamed fill-rule→fillRule and clip-rule→clipRule so React JSX parses them correctly. • dapp/src/components/myassets/NFTGrid.tsx Imported ViewUnlistedAssetDialog and wrapped every “Unlisted” card in its trigger—so clicking those opens the listing dialog in sequence; all other statuses still link to the escrow page. • dapp/package.json + package-lock.json Installed the @radix-ui/react-dialog dependency in the dapp sub-project to power the new dialog component.
|
I'm seeing over 660 files changed why are u pushing node module files? @DiegoFloresWenHao ? |
|
My apologies, I forgot to ignore the node module files when committing. Just fixed it |
|
Can u share screenshots I see u created the whole page has a component instead of a folder, where are u currently mounting this on? |
|
All of the new work lives entirely inside the existing “My Assets” route—there is no new top‐level page or folder for the dialog. Here’s how it hangs together: How it appears in the DOM? When you navigate to /my_assets, Next renders page.tsx → MyAssets → NFTGrid. In short: • I did not create a new route or top-level folder—this is all grafted into your existing My Assets page under src/app/my_assets/page.tsx. How to run: Please execute 'cd dapp && npm run dev' on the terminal to run. |
|
Oh i see the problem |
|
Also now that I'm really checking the codes & your provided screenshoots |
|
I am trying to replicate the exact design and animations that you provided in this link for the View: Unlisted_Asset. |





• dapp/src/components/viewasset.tsx
– Created an initial generic dialog component (later superseded by the more specific dialog below).
• dapp/src/components/ViewUnlistedAssetDialog.tsx
– Added a brand-new, multi-step Radix-Dialog component implementing the “View Unlisted Asset → List as Collateral → Review → Success” flow in TailwindCSS.
• dapp/src/components/connectwallet.tsx
– Fixed two SVG props: renamed fill-rule→fillRule and clip-rule→clipRule so React JSX parses them correctly.
• dapp/src/components/myassets/NFTGrid.tsx
– Imported ViewUnlistedAssetDialog and wrapped every “Unlisted” card in its trigger—so clicking those opens the listing dialog in sequence; all other statuses still link to the escrow page.
• dapp/package.json + package-lock.json
– Installed the @radix-ui/react-dialog dependency in the dapp sub-project to power the new dialog component.