# 2025-10-24

## Release Notes - Energy Web Staking Dashboard v2.1.0

### 🚀 New Features

* **Secure Staking Integration**: Added prominent "Stake EWT" button in the header that opens a security modal guiding users to official Energy Web Foundation staking interfaces with proper security warnings
* **Enhanced Staking Status Tracking**: Introduced clear "Pending" and "Ready to Claim" states for delegations, replacing ambiguous "Leaving" terminology to provide better visibility into unstaking processes
* **Improved Delegator Information**: Enhanced collator table with expanded delegator details and new sorting capabilities for better data exploration

### ✨ Enhancements

* **Consistent EWT Display**: Standardized all EWT amount displays to show 2 decimal places for improved precision and readability across all tables
* **Better Stake Calculations**: Improved accuracy of total stake representations by properly accounting for pending and ready-to-claim amounts
* **Enhanced Era Information**: Added more detailed current era display with additional context information
* **Improved Table Layout**: Cleaner table presentation with better organization of stake information

### 🔧 Technical Improvements

* Refactored stake calculation logic across CollatorTable, StakingChart, and useStakingData hook
* Updated staking type definitions to support new pending/ready-to-claim states
* Enhanced data processing and state management for better performance
* Improved component architecture with modular security modal
* Code cleanup and layout optimizations

### 🐛 Bug Fixes

* Fixed table layout issues by removing empty headers and adjusting column spans
* Resolved inconsistent status terminology throughout the interface

***

**Commits included in this release:**

* bd213a9 - Refactor stake calculations in CollatorTable, StakingChart, and useStakingData to account for pending and ready-to-claim amounts, ensuring accurate total stake representation across components.
* f9a43ed - Update EWT formatting in CollatorTable and DelegatorsTable to consistently show two decimal places for precision
* 9735ba8 - Introduce Pending and ready to claim
* 7a0a9f2 - Update CollatorTable to replace 'Leaving' with 'Pending' for clarity in delegation status and improve tooltip descriptions
* ccaaa4a - Update CollatorTable to improve label clarity and reorganize stake information display
* 1d94c49 - Refactor StakingStats component by removing average stake calculations and enhancing current era display with additional era information
* ac06ccb - Remove empty table header and adjust colspan in CollatorTable for improved layout
* 3420eba - Add Stake EWT button and StakeSecurityModal to App; enhance CollatorTable with new sorting options and delegator display
