Make the timestamp on activity items clickable
Problem to solve
In the activity feed, we show the time of the activity, and small button that links to the transaction on Etherscan.
Proposal
Remove the link icon button, and make the timestamp the link to the transaction on Etherscan.
The timestamp should have the same styling as currently, but underline on hover. Links should be opened in a new window (potentially use ExternalLink component: src/components/shared/ExternalLink.tsx)
@aeolianeth how to assign this issue to me ? I am new here
something confused me. I am on the main branch.
- the link icon already removed.
- on the '0x....' wallet address text already link to the Etherscan after click.
- the '19 hours ago' text has a timestamp tooltip when hover the itself. so should just click the text link to the Etherscan meanwhile remove the tooltip ? @aeolianeth
@ritsuyan the proposal is to "Remove the link icon button, and make the timestamp the link to the transaction on Etherscan."
| current | proposal (hover state) |
|---|---|
![]() |
![]() |
Clicking "9 hours ago" should link to the transaction in Etherscan. The "9 hours ago" should be underlined on-hover.
Let me know if you need further clarification! 🙏
@ritsuyan the proposal is to "Remove the link icon button, and make the timestamp the link to the transaction on Etherscan."
current proposal (hover state)
![]()
Clicking "9 hours ago" should link to the transaction in Etherscan. The "9 hours ago" should be underlined on-hover.
Let me know if you need further clarification! 🙏
but under the timestamp already has a wallet address that can link to to the transaction in Etherscan when hover it.
@ritsuyan
the current functionality
- the wallet address below the timestamp links to the wallet address.
- the link icon links to the transaction.
what we want:
- remove the link icon, which currently links to the transaction.
- make the timestamp ("9 hours ago") link to the transaction instead. It should be underlined on-hover to indicate that it is a link.
- keep the wallet address as-is
https://user-images.githubusercontent.com/35680780/167772265-b7bee7f1-773b-4b1e-8ce4-df83fa35d2cb.mov
Solved in https://github.com/jbx-protocol/juice-interface/pull/980

