feat: show only used disk space in server monitoring chart#3949
Open
lasseveenliese wants to merge 1 commit intoDokploy:canaryfrom
Open
feat: show only used disk space in server monitoring chart#3949lasseveenliese wants to merge 1 commit intoDokploy:canaryfrom
lasseveenliese wants to merge 1 commit intoDokploy:canaryfrom
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is this PR about?
This PR updates the Disk Space monitoring chart to show only used storage and aligns its styling with the other gray/black charts.
Issues related
closes #3946
Greptile Summary
This PR simplifies the Docker disk space monitoring chart by displaying only used disk space (removing the "Free GB" area series), and realigns the chart's visual styling — gradient fill, stroke, and grid colors — from purple (
#6C28D9) to the gray/dark palette (#27272A) already used by the other monitoring charts (CPU, memory, network). TheLegendcomponent and thefreeGbdata field are also removed throughout. The tooltip retains the "Total disk" line for reference, keeping enough context for the user.Changes:
Free GB<Area>series and its associatedcolorFreegradient definitioncolorUsedgradient tocolorDiskand updates colours to match the gray/dark themefreeGbfrom the data transform and tooltip payload<Legend />component (import cleaned up accordingly)Confidence Score: 5/5
totalGbvalue is still passed through for the tooltip, and the Y-axis domain ([0, diskTotal]) continues to rely on the prop correctly. No new gradient ID collisions were found —colorDiskis only defined in this single component, which is instantiated once per page. No TypeScript errors are introduced.Last reviewed commit: fc8a515
(2/5) Greptile learns from your feedback when you react with thumbs up/down!