Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.0] - 2026-02-17

### Added
- Operations Dashboard with comprehensive charts for monitoring mining operations
- Operations Efficiency reporting with three views: site, miner type, and miner unit
- Reporting Tool layout and navigation structure
- Balance Report with interactive charts and data tables
- Storybook stories for multiple components (Card, DoughnutChart, Farm, LineChart, Logs, Miners, Sidebar)
- Multi-site charts: Average Fees, BTC Network Hashprice, Hashprice, Network Hashrate, Power, Production Cost Price, Revenue, Site Energy vs Cost, Site Hash Revenue, Subsidy Fees, Threshold Bar Chart
- Report Time Frame Selector component for flexible date range selection

### Fixed
- Alerts: Critical load enhancement based on query parameters (#24)
- Paginated hooks: Ensure query changes trigger data re-fetch (#23)
- Operations energy report: Correct miner type and unit chart calculations (#21)
- Infinite loops in various components preventing proper rendering (#20, #14)
- Page reload: Prevent premature redirects during permission loading (#18)
- Power mode calculations: Correct miner type and mining unit power summary in operations reports (#13)
- Comment modal: Fix button wrapping issue when clicked (#11)

### Improved
- Timezone handling across the entire application for consistent time display (#12)
- Header stats: Now displays total miners amount for better visibility (#17)
- Test coverage: Added comprehensive test suites for multiple components and utilities
- Type safety: Enhanced TypeScript definitions across the codebase

### Changed
- Updated React to v19.0.0 for improved performance
- Upgraded Vite to v7.3.1 for faster build times
- Updated multiple dependencies for security and performance improvements
32 changes: 29 additions & 3 deletions eslint.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ module.exports = defineConfig([
'**/vitest.config.js',
'**/prettier.config.cjs',
'**/eslint.config.js.backup',
'**/.storybook/',
'**/stories/',
'**/mockdata.ts',
'**/*.d.ts',
]),
{
files: ['src/**/*.js', 'src/**/*.jsx'],
Expand Down Expand Up @@ -161,6 +160,7 @@ module.exports = defineConfig([
parserOptions: {
ecmaVersion: 2022,
sourceType: 'module',
project: './tsconfig.json',
ecmaFeatures: {
jsx: true,
},
Expand Down Expand Up @@ -294,7 +294,33 @@ module.exports = defineConfig([
},
},
{
files: ['**/*.test.js', '**/*.spec.js', '**/*.test.ts', '**/*.spec.ts', '**/*.test.tsx', '**/*.spec.tsx'],
files: ['**/*.test.js', '**/*.spec.js'],
rules: {
'react/display-name': 'off',
'react-hooks/exhaustive-deps': 'off',
'no-case-declarations': 'off',
'react/prop-types': 'off',
'no-undef': 'off',
},
},
{
files: ['**/*.test.ts', '**/*.spec.ts', '**/*.test.tsx', '**/*.spec.tsx'],
languageOptions: {
parser: typescriptParser,
parserOptions: {
ecmaVersion: 2022,
sourceType: 'module',
project: './tsconfig.json',
ecmaFeatures: {
jsx: true,
},
},
globals: {
...globals.browser,
...globals.node,
VoidFunction: 'readonly',
},
},
rules: {
'react/display-name': 'off',
'react-hooks/exhaustive-deps': 'off',
Expand Down
Loading
Loading