explorer icon indicating copy to clipboard operation
explorer copied to clipboard

feat: Add validators fee voting tab & reorganize Network tab

Open pdp2121 opened this issue 1 year ago • 0 comments

High Level Overview of Change

This PR is trying to achieve the following:

  • Add voting (for fee voting) and uptime (similar to the existing page) for validators page.
  • Remove "validators", "nodes", and "upgrade status" tabs for Network. Each now would be a separate page under Network in top nav bar.
  • Refactor ValidatorsTable.jsx into TypeScript hooks.

Resolve: https://github.com/ripple/explorer/issues/1058

Type of Change

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [x] Refactor (non-breaking change that only restructures code)
  • [ ] Tests (You added tests for code that already exists, or your new feature included in this PR)
  • [ ] Documentation Updates
  • [ ] Translation Updates
  • [ ] Release

TypeScript/Hooks Update

  • [x] Updated files to React Hooks
  • [x] Updated files to TypeScript

Before / After

Validators page (Uptime): Screenshot 2024-12-11 at 11 54 28 AM

Validators page (Voting): Screenshot 2024-12-11 at 1 39 56 PM

Voting Mobile View:

Screenshot 2024-12-11 at 1 40 39 PM

Upgrade Status: Screenshot 2024-12-11 at 1 41 16 PM

pdp2121 avatar Dec 11 '24 21:12 pdp2121