-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upcoming: [M3-7300] - Replace Linode details Analytics tab with Recha…
…rts (#10037) ## Description 📝 Replace Linode details Analytics charts with Recharts - CPU % chart - Disk I/O chart - Network Transfer charts (IPv4 & IPv6) ## Changes 🔄 List any change relevant to the reviewer. - Updated UI charts for the Linode details Analytics tab - Added custom legend logic to AreaChart - Migrate MetricDisplay styles to styled components ## How to test 🧪 ### Prerequisites (How to setup test environment) - Have a Linode that's been running for a while ### Verification steps (How to verify changes) - Go to a Linode's details page. On the Analytics tab, verify the updated UI and that there are no regressions in the graph, units, functionality, etc. - Note: X and Y axis labels will not match exactly but the graph data is still the same
- Loading branch information
1 parent
9774383
commit 395b91d
Showing
19 changed files
with
748 additions
and
271 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
packages/manager/.changeset/pr-10037-upcoming-features-1704490133740.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@linode/manager": Upcoming Features | ||
--- | ||
|
||
Replace Linode details Analytics tab with Recharts ([#10037](https://github.com/linode/manager/pull/10037)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
interface TimeData { | ||
timestamp: number; | ||
} | ||
|
||
export interface CPUTimeData extends TimeData { | ||
'CPU %': number; | ||
} | ||
|
||
export interface DiskIOTimeData extends TimeData { | ||
'I/O Rate': number; | ||
'Swap Rate': number; | ||
} | ||
|
||
export interface NetworkTimeData extends TimeData { | ||
'Private In': number; | ||
'Private Out': number; | ||
'Public In': number; | ||
'Public Out': number; | ||
} | ||
|
||
export interface LinodeNetworkTimeData extends TimeData { | ||
'Public Outbound Traffic': number; | ||
} | ||
|
||
export interface NodeBalancerConnectionsTimeData extends TimeData { | ||
Connections: number; | ||
} | ||
|
||
export type Point = [number, number]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.