Magickbase / ckb-explorer-public-issues

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

Optimize the alert information on the page after opening the node. #782

Open FrederLu opened 2 weeks ago

FrederLu commented 2 weeks ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior: 1、After turning on Node mode, visit the home/transaction/block/address page; 2、Enter cmd + shift + P in the browser console, enter Show Network request blocking, and enter the window for blocking the network; 3、Click Add Pattern, enter https://mainnet-api.explorer.nervos.org/ to intercept the server interface; 4、Open or refresh the Home/Block/Transaction/Address page to see the warning message;

Expected behavior Shield the background service interface. After turning on the node mode, you can hide the alert prompt information on the home page/block/transaction/address page.

Screenshots https://ckb-explorer-frontend-in-magickbase-repo-1iszib3m1-magickbase.vercel.app/

image

https://ckb-explorer-frontend-in-magickbase-repo-1iszib3m1-magickbase.vercel.app/block/14443936

image

https://ckb-explorer-frontend-in-magickbase-repo-1iszib3m1-magickbase.vercel.app/address/ckt1qqexmutxu0c2jq9q4msy8cc6fh4q7q02xvr7dc347zw3ks3qka0m6qg9qgygrcl4k7pjuafdzmlzwy8ws4dxja7uq5pq3q0r7kmcxtn495t0ufcsa6z456thmsgdxklk

image

After disabling the server interface and opening Node: The data can be seen on the homepage/block/address, but there will be network anomalies when opening or refreshing the page.

Sven-TBD commented 2 weeks ago

Marked as a low priority, you can fix this bug when you are free @PainterPuppets