feat: add ui for assets page#216
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>
|
Thank you for your application to our Term 1 Mentorship! We had so many amazing submissions that met and exceeded all our application criteria; this was the hardest mentee selection process we have had to go through. This means that there were many excellent applicants who did great work and correctly implemented the programming challenge, but we could only ultimately select one applicant. Unfortunately, were were unable to move forward with your application. We hope you will consider applying to one of our future mentorship terms! in the meantime, we are always grateful for any contributions you want to make to OpenCost!. Thanks again, |
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