Skip to content

Adding Metaplex Core support#431

Closed
blockiosaurus wants to merge 14 commits intosolana-foundation:masterfrom
metaplex-foundation:feat/mpl-core
Closed

Adding Metaplex Core support#431
blockiosaurus wants to merge 14 commits intosolana-foundation:masterfrom
metaplex-foundation:feat/mpl-core

Conversation

@blockiosaurus
Copy link
Copy Markdown

No description provided.

@vercel
Copy link
Copy Markdown

vercel bot commented Dec 27, 2024

@blockiosaurus is attempting to deploy a commit to the Solana Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@ngundotra
Copy link
Copy Markdown
Contributor

Thanks for all the hardwork here Keith! Can you provide some sample accounts & screenshots for me to validate?

There's some stuff to nit over, but want to get the big stuff done first.

@blockiosaurus
Copy link
Copy Markdown
Author

Sure! Here's a Core collection
https://core.metaplex.com/explorer/collection/FfQheiGhS1UcW1JrCFoMcFjWbPt8FqCSyEtFDPTyakNw
And Asset
https://core.metaplex.com/explorer/BhqSq2c9RfqABndNSwk69dqEpWNpXxeporjUP4C221so

The Core UI should have the details you need to confirm but let me know if you need anything else!

@ngundotra
Copy link
Copy Markdown
Contributor

Okay the Asset renders great, but the Core collection's address causes the page to crash.

Screenshot 2025-01-03 at 9 48 17 AM

Can you help me fix this?

I want to write tests for this PR like the ones I added here https://github.com/solana-labs/explorer/blob/master/app/components/instruction/lighthouse/__tests__/LighthouseDetailsCard.test.tsx

In order to do this, I need some pages that render correctly. Then I can add tests, make sure things work the way we expect, and then provide feedback on code style etc.

FWIW on Asset, I think it would be better to render the Core /metadata section as an actual table instead of a JSON view. It's nicer to be able to hyperlink to owner/delegate etc. Wdyt?

Screenshot 2025-01-03 at 9 53 23 AM

@blockiosaurus
Copy link
Copy Markdown
Author

OK, pushed a fix for parsing collections.

@blockiosaurus
Copy link
Copy Markdown
Author

Tests added. Wen merge

@blockiosaurus blockiosaurus marked this pull request as ready for review February 11, 2025 17:17
Copy link
Copy Markdown
Contributor

@ngundotra ngundotra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this looks great, very clean change. Thanks for the reminder ping on this.

Can you provide a few urls for me to test locally?

@vercel
Copy link
Copy Markdown

vercel bot commented Feb 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 11, 2025 7:06pm

@ngundotra
Copy link
Copy Markdown
Contributor

ngundotra commented Feb 11, 2025

@blockiosaurus Also example tests for integration look like this (lighthouse).

The goal is to automatically check expected layout of data so I don't have to remember what each card is supposed to look like

@ngundotra
Copy link
Copy Markdown
Contributor

For the collections - wouldn't it be better to just fix the incorrect compressed NFT tagging here?
Screenshot 2025-02-12 at 9 18 47 AM

I think those overview fields are more useful than what is shown here, which looks like default card:
Screenshot 2025-02-12 at 9 19 20 AM

Normal assets look great.

@ngundotra
Copy link
Copy Markdown
Contributor

Hey @blockiosaurus I'm happy to review this, but you haven't addressed my last comment, nor have you added test, nor have you updated lint to pass CI.

Can you please address these items before requesting a review from me?

@blockiosaurus
Copy link
Copy Markdown
Author

Do you mean additional tests beyond the ones I've already added? It's hard to tell what you mean when no other plugin seems to have tests either 😅.

@blockiosaurus
Copy link
Copy Markdown
Author

Closing this PR until the Explorer team creates actual contribution guidelines and is ready to accept external contributions without constantly moving goalposts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants