Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

explorer: Consistent Display of Relative Time on Home Page for Explorer #1791

Closed
nortonandreev opened this issue May 25, 2024 · 0 comments · Fixed by #1798
Closed

explorer: Consistent Display of Relative Time on Home Page for Explorer #1791

nortonandreev opened this issue May 25, 2024 · 0 comments · Fixed by #1798
Assignees
Labels
fix:bug Something isn't working module:explorer Issues related to explorer module

Comments

@nortonandreev
Copy link
Contributor

Description

On the home page, within the Explorer, we currently display the relative time (e.g., "5 minutes ago") for the latest blocks and transactions. In the detailed views, we display both the full timestamp and the relative time. However, on mobile devices, the transaction and block lists currently show the full timestamp along with the relative time, similar to the detailed views.

To ensure consistency, the home page should display only the relative time for both desktop and mobile views. The "timestamp" entry in the list on mobile should be changed to "relative time."

Proposed Solution

  • Update the mobile view on the home page to display only the relative time for transactions and blocks, matching the desktop view.
  • Ensure that this change does not affect the detailed views, which should continue to display both the full timestamp and the relative time.

Steps to Implement

  • Modify the home page's mobile view to show only the relative time for transactions and blocks.
  • Ensure the detailed views still display both the full timestamp and the relative time.

Additional Information

  • This change aims to enhance the user experience by maintaining consistency in the display of time information across different devices.
  • Care should be taken to avoid unintended changes to the detailed views.

Screenshots

Screenshot 2024-05-25 at 16 34 53 Screenshot 2024-05-25 at 16 34 57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix:bug Something isn't working module:explorer Issues related to explorer module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant