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

Improve Sorting of Bonds by Epoch in Chronological Order #4194

Open
amadison79 opened this issue Dec 17, 2024 · 0 comments
Open

Improve Sorting of Bonds by Epoch in Chronological Order #4194

amadison79 opened this issue Dec 17, 2024 · 0 comments
Labels
cli client enhancement New feature or request UX

Comments

@amadison79
Copy link

When running the command namadac bonds --validator $alias, the list of bonds appears to be displayed in an arbitrary order. It would be more intuitive and user-friendly if the entries were sorted in chronological order, starting from the earliest epoch (epoch 0) to the most recent.

Justification:

  • This improves data readability, especially when there are many bonds.
  • Users can more easily track the evolution of bonds over time.
  • It aligns the presentation with other similar commands that follow a natural order.

For example, instead of:
Remaining active bond from epoch 15: Δ 135.000000
Remaining active bond from epoch 0: Δ 135.000000
Remaining active bond from epoch 17: Δ 100.000000
Remaining active bond from epoch 4: Δ 135.000000

The bonds should be displayed like this:
Remaining active bond from epoch 0: Δ 135.000000
Remaining active bond from epoch 4: Δ 135.000000
Remaining active bond from epoch 15: Δ 135.000000
Remaining active bond from epoch 17: Δ 100.000000

This adjustment would significantly improve readability and usability for users.

Thank you for considering this suggestion!

@amadison79 amadison79 added the enhancement New feature or request label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli client enhancement New feature or request UX
Projects
None yet
Development

No branches or pull requests

2 participants