Render the token icon next to token inputs and outputs, including the mint baton. Also render in the token summary table and the eTokens table on the address page.
Note: a blockie is generated server-side for tokens that do not have an icon.
Differential D16611
[explorer] Render token icon next to token inputs, outputs, and in token summary table bytesofman on Aug 9 2024, 00:47. Authored by
Details
Render the token icon next to token inputs and outputs, including the mint baton. Also render in the token summary table and the eTokens table on the address page. Note: a blockie is generated server-side for tokens that do not have an icon. cargo run, check out the genesis tx for some tokens with and without icons.
Diff Detail
Event TimelineComment Actions
Comment Actions Build Bitcoin ABC Diffs / Diff Testing (preview-explorer) passed. Comment Actions Any chance we can have the icon also on transactions page (or is there any reason why you didn't do it) ?
Comment Actions added to the Address page I looked at also adding it to the transactions table -- e.g. on the block page -- this though requires a different implementation. I don't think it would be that complicated, but might need to repeat the url constant as this table is built by a JS file and not the template. I don't think we really need it there though. Comment Actions Build Bitcoin ABC Diffs / Diff Testing (preview-explorer) passed. Comment Actions We can always add it later if we want to, the diff looks good and is already an improvement. |