Skip to content

feat: add artblocks plugin - #5502

Merged
guanbinrui merged 26 commits into
DimensionDev:developfrom
SebastianLF:feature/artblocks-plugin
Feb 20, 2022
Merged

feat: add artblocks plugin#5502
guanbinrui merged 26 commits into
DimensionDev:developfrom
SebastianLF:feature/artblocks-plugin

Conversation

@SebastianLF

@SebastianLF SebastianLF commented Jan 20, 2022

Copy link
Copy Markdown
Contributor

Description

Integrate Art Blocks plugin into Mask. This plugin fetch and show any ArtBlocks project's data and allow user to purchase new token from this project.

Closes #4300

Previews

Screenshot from 2022-01-20 17-40-24
Screenshot from 2022-01-20 17-41-20

Resources

Mainnet:

subgraph: https://thegraph.com/hosted-service/subgraph/artblocks/art-blocks
frontend: https://www.artblocks.io/

Ropsten:

subgraph: https://thegraph.com/hosted-service/subgraph/artblocks/art-blocks-staging
frontend: https://artist-staging.artblocks.io/

@@ -0,0 +1,3 @@
export default function ArtBlocksIcon() {
return <img src="https://www.artblocks.io/_next/image?url=%2Fsquig.png&w=48&q=75" alt="artblocks logo" />

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What if Content Security Policy

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done.

Comment thread packages/mask/src/plugins/ArtBlocks/SNSAdaptor/Collectible.tsx Outdated
Comment thread packages/mask/src/plugins/ArtBlocks/SNSAdaptor/CollectionView.tsx Outdated
Comment thread packages/mask/src/plugins/ArtBlocks/SNSAdaptor/DetailsView.tsx Outdated
Comment thread packages/mask/src/plugins/ArtBlocks/SNSAdaptor/DetailsView.tsx Outdated
Comment thread packages/mask/src/plugins/ArtBlocks/SNSAdaptor/PurchaseDialog.tsx Outdated
Comment thread packages/mask/src/plugins/ArtBlocks/hooks/useArtBlocksContract.ts Outdated
Comment thread packages/mask/src/plugins/ArtBlocks/hooks/useProject.ts Outdated
Comment thread packages/mask/src/plugins/ArtBlocks/hooks/useToken.ts Outdated
Comment thread packages/mask/src/plugins/Collectible/SNSAdaptor/MakeOfferDialog.tsx Outdated
@SebastianLF
SebastianLF dismissed a stale review via fe92642 January 24, 2022 22:44
Comment thread packages/mask/src/plugins/ArtBlocks/SNSAdaptor/CollectionView.tsx Outdated
guanbinrui
guanbinrui previously approved these changes Jan 25, 2022
Comment thread packages/mask/src/plugins/ArtBlocks/SNSAdaptor/ArtBlocksIcon.tsx Outdated
@SebastianLF

Copy link
Copy Markdown
Contributor Author

I made changes requested.

@LindaMask

Copy link
Copy Markdown

@SebastianLF can you reach out to me on telegram please my id is lin_dao

@SebastianLF

Copy link
Copy Markdown
Contributor Author

@SebastianLF can you reach out to me on telegram please my id is lin_dao

Contacted you :)

Comment thread packages/mask/src/plugins/ArtBlocks/SNSAdaptor/CollectionView.tsx Outdated
Co-authored-by: guanbinrui <52657989+guanbinrui@users.noreply.github.com>
Jack-Works
Jack-Works previously approved these changes Feb 7, 2022
Comment thread packages/mask/src/plugins/ArtBlocks/base.tsx Outdated
@AinuX

AinuX commented Feb 8, 2022

Copy link
Copy Markdown
Collaborator

@SebastianLF

iShot2022-02-08.15.26.26.mp4
  1. Please add a "Purchasing" state while processing mint operation.
  2. Miss the share to "XXX" function after mint operation.

image
3. Miss switch setting for artblocks plugin in D.Market page.

image
4. Please format text.

image
5. Please adapt dark mode.

Jack-Works
Jack-Works previously approved these changes Feb 9, 2022
@SebastianLF

SebastianLF commented Feb 11, 2022

Copy link
Copy Markdown
Contributor Author

@AinuX thanks for your feedbacks. Made the changes, let me know if everything is ok now.

@AinuX

AinuX commented Feb 11, 2022

Copy link
Copy Markdown
Collaborator

@SebastianLF
https://user-images.githubusercontent.com/2582974/153588422-bcd36d44-fccb-46b0-95ba-7c14581ee44b.mp4

  1. Tx is ongoing, but the button is not in "Purchasing" state
  2. Switch function is not work in D.Market
  3. It's better to view the entire NFT image without scrolling

@SebastianLF

SebastianLF commented Feb 13, 2022

Copy link
Copy Markdown
Contributor Author

@SebastianLF https://user-images.githubusercontent.com/2582974/153588422-bcd36d44-fccb-46b0-95ba-7c14581ee44b.mp4

  1. Tx is ongoing, but the button is not in "Purchasing" state
  2. Switch function is not work in D.Market
  3. It's better to view the entire NFT image without scrolling
  1. I think there is no reason to block user from clicking and therefore mint again, is not like usual nft buy/sell nfts where concurrency is crucial. On the contrary, I think it would be better to let user be able to mint again while any other transaction is processing, it could saves time. Artblocks users often mint multiple times in a row.
    Notifications and sidebar's loader are enough to notify current transactions state, I think:

    image

    Let me know what you think.

  2. The plugin switch has an uncomprehending behavior (check video below). Sometimes it works, sometimes not... and I don't find the source problem. Any suggestions where to look at ? @guanbinrui @Jack-Works

2022-02-13-06-45-19.mp4
  1. Modified accordingly.

@Jack-Works

Copy link
Copy Markdown
Member

The plugin switch has an uncomprehending behavior (check video below). Sometimes it works, sometimes not... and I don't find the source problem. Any suggestions where to look at ? @guanbinrui @Jack-Works

cc @yanzhihong23

@SebastianLF

Copy link
Copy Markdown
Contributor Author

@AinuX
2. This issue is now fixed thanks to #5660

@AinuX

AinuX commented Feb 16, 2022

Copy link
Copy Markdown
Collaborator

@SebastianLF

image

It's better to include original post content in shared tweets, like this
image

@SebastianLF

SebastianLF commented Feb 16, 2022

Copy link
Copy Markdown
Contributor Author

It's better to include original post content in shared tweets, like this...

@AinuX Do you mean following the same message structure ?

@AinuX

AinuX commented Feb 16, 2022

Copy link
Copy Markdown
Collaborator

It's better to include original post content in shared tweets, like this...

@AinuX Do you mean setting custom text like: "mint your unique collectible with #mask_io @RealMaskNetwork" ?

I mean just like a quote tweet. @SebastianLF

@SebastianLF

Copy link
Copy Markdown
Contributor Author

It's better to include original post content in shared tweets, like this...

@AinuX Do you mean setting custom text like: "mint your unique collectible with #mask_io @RealMaskNetwork" ?

I mean just like a quote tweet. @SebastianLF

I don't understand what you mean. Can you give an example ?

@AinuX

AinuX commented Feb 17, 2022

Copy link
Copy Markdown
Collaborator

It's better to include original post content in shared tweets, like this...

@AinuX Do you mean setting custom text like: "mint your unique collectible with #mask_io @RealMaskNetwork" ?

I mean just like a quote tweet. @SebastianLF

I don't understand what you mean. Can you give an example ?
@SebastianLF
This my original post about luckydrop,
https://twitter.com/AinuxA/status/1487423520280039428
and this is a shared tweet after I claimed the luckydrop,
https://twitter.com/AinuxA/status/1487423720071524358

@SebastianLF

SebastianLF commented Feb 18, 2022

Copy link
Copy Markdown
Contributor Author

It's better to include original post content in shared tweets, like this...

@AinuX Do you mean setting custom text like: "mint your unique collectible with #mask_io @RealMaskNetwork" ?

I mean just like a quote tweet. @SebastianLF

I don't understand what you mean. Can you give an example ?
@SebastianLF
This my original post about luckydrop,
https://twitter.com/AinuxA/status/1487423520280039428
and this is a shared tweet after I claimed the luckydrop,
https://twitter.com/AinuxA/status/1487423720071524358

@AinuX Let's talk on telegram to clarify what you are asking me to do.

@SebastianLF

Copy link
Copy Markdown
Contributor Author

@AinuX Finally! Everything should work now.

image

Comment thread packages/mask/src/plugins/ArtBlocks/base.tsx Outdated
guanbinrui
guanbinrui previously approved these changes Feb 20, 2022
Comment thread packages/mask/src/plugins/ArtBlocks/base.tsx Outdated
@guanbinrui
guanbinrui merged commit 287c323 into DimensionDev:develop Feb 20, 2022
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.

[Bounty] Integrate Art Blocks, an NFT issuance platform, into Mask Network

5 participants