Open
Conversation
Signed-off-by: Jetshree <jetshreesharma@gmail.com>
✅ Deploy Preview for opencost-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Signed-off-by: Jetshree <jetshreesharma@gmail.com>
Signed-off-by: jetshree_sharma <jetshreesharma@gmail.com>
Signed-off-by: Jetshree <jetshreesharma@gmail.com>
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 does this PR change?
This PR implements a complete Assets page for the OpenCost UI with comprehensive cost visualization and analysis capabilities.
TypeScript-Driven Architecture
tsconfig.jsonwith strict mode scoped to new.ts/.tsxfiles for safe incremental migration.global.scsswith variables mixins and nested structures to integrate cleanly with Carbon while avoiding hard overrides.Design System & UI Alignment
@carbon/reactcomponents.Dashboard Capabilities
Data & Tooling Enhancements
src/services/assets.tsthat wraps four backend endpoints with integrated mock data fallback.src/pages/Assets.tsxusing parallelPromise.allcalls with isolated refetch logic for granular chart updates.tsc --noEmitpasses with zero errors.How will this PR impact users?
Users will get a clean and simple interface that shows them the main analysis at a glance. They won't get overwhelmed by a complex UI, but they can still use filters to find the specific data they need. I designed the interface to follow a simple Detect → Analyze → Act workflow:
action.
Does this PR address any GitHub or Zendesk issues?
How was this PR tested?
Does this PR require changes to documentation?
Have you labeled this PR and its corresponding Issue as "next release" if it should be part of the next OpenCost release? If not, why not?
Demo video
ui_demo.mp4