Magickbase / ckb-explorer-public-issues

CKB Explorer Issues
https://explorer.nervos.org/
3 stars 2 forks source link

Update the Live Cell panel #640

Open Sven-TBD opened 4 months ago

Sven-TBD commented 4 months ago

Some click-logic should be updated here.

Image

Daryl-L commented 3 months ago

https://github.com/Magickbase/ckb-explorer-frontend/pull/303

Keith-CY commented 3 months ago

Magickbase/ckb-explorer-frontend#303

Does this PR only add link to xudt page, and opening cell info will be enabled in another PR?

Daryl-L commented 3 months ago

Magickbase/ckb-explorer-frontend#303

Does this PR only add link to xudt page, and opening cell info will be enabled in another PR?

I made a mistake, I think it is to redirect to the outpoint transaction page, but actually just to open the cell info pop. I will change it.

Daryl-L commented 2 months ago

Magickbase/ckb-explorer-frontend#303

Does this PR only add link to xudt page, and opening cell info will be enabled in another PR?

I made a mistake, I think it is to redirect to the outpoint transaction page, but actually just to open the cell info pop. I will change it.

https://github.com/Magickbase/ckb-explorer-frontend/pull/379

zmcNotafraid commented 1 month ago

PR:https://github.com/nervosnetwork/ckb-explorer/pull/2100


extra_info add

"collection": {
            "type_hash": "0x6c678e25fcdb9625d44ec35e88fb486ad4b26e6164d33c58ff19f7843e645da2"
          }

And for spore_cell and did cell add

"extra_info": {
          "cluster_name": "Unicorn Testnet Boxes",
          "token_id": "37843203013825699336947882299832400049388365185594197189061114499244380584406",
          "collection": {
            "type_hash": "0xa7fa2f0b8cc15e9e28f2649be7000263c6f36724dcfbda5e741e53830a342b01"
          },
          "published": true,
          "type": "dob"
        }

For m_nft_class/nrc_721_factory/spore_cluster, If these extra_info published == true, can jump with type_hash, else can't jump @Daryl-L

zmcNotafraid commented 1 month ago

When cell_type in [m_nft_class,nrc_721_factory,spore_cluster], use extra_info's type_hash to jump to collection page. When cell_type in [m_nft_token, nrc_721_token, spore_cell, did_cell], use extra_info's collection's type_hash to jump to collection page.