Skip to content
Open
Show file tree
Hide file tree
Changes from 37 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
33f6418
route fixes and new Node version
ReinaT5678 Aug 16, 2025
cb4f4a9
yarn changes
ReinaT5678 Aug 16, 2025
ea78e38
commented out test failing
ReinaT5678 Aug 16, 2025
1f3749b
expenditure files
ReinaT5678 Aug 16, 2025
b16aafb
Merge branch 'development' into reina-create-line-graph-for-cost-brea…
ReinaT5678 Aug 17, 2025
cb9b4a3
Merge branch 'development' into reina-create-line-graph-for-cost-brea…
ReinaT5678 Aug 22, 2025
db4f3ae
feat: Add Cost Breakdown Chart component with line graph for expendit…
vamsidharpanithi Aug 28, 2025
9c0e2a4
merge: resolve conflicts with development branch for frontend
vamsidharpanithi Aug 28, 2025
954b513
fix: add missing @fortawesome/free-brands-svg-icons dependency
vamsidharpanithi Aug 28, 2025
d3a38fa
fix: fixed failing tests
vamsidharpanithi Aug 28, 2025
74442f5
feat: switch from yarn to npm package management
vamsidharpanithi Aug 29, 2025
69ad3df
fix: update CI workflows to use npm instead of yarn
vamsidharpanithi Aug 29, 2025
0fd05d8
fix: change npm ci to npm install to resolve rollup dependency issue
vamsidharpanithi Aug 29, 2025
f317260
fix: update deploy.yml workflow to use npm instead of yarn
vamsidharpanithi Aug 29, 2025
0f1fa6a
fix: change npm ci to npm install in deploy.yml to resolve rollup dep…
vamsidharpanithi Aug 29, 2025
cd40b3b
ci: switch tests to npm ci; verify Linux optional deps
vamsidharpanithi Aug 29, 2025
ffd4a31
ci: install @rollup/rollup-linux-x64-gnu in GA before tests to fix op…
vamsidharpanithi Aug 29, 2025
ff36d8c
fixed merge conflicts
Jun 13, 2026
7329646
Fix duplicate imports in routes.jsx from merge conflict
Jun 13, 2026
7f01444
Fix duplicate imports in routes.jsx from merge conflict
Jun 13, 2026
969a20f
Fix SonarCloud issues: duplicate imports, contrast, PropTypes, option…
Jun 13, 2026
246fb87
Fix remaining SonarCloud issues: contrast, optional chain, unused imp…
Jun 14, 2026
02d3c1f
Fix contrast and optional chain issues
Jun 14, 2026
4f91a1c
Resolve merge conflicts and fix remaining SonarCloud issues
Jun 14, 2026
b99729b
Merge branch 'development' of https://github.com/OneCommunityGlobal/H…
shreevathsrao Jul 28, 2026
6e9c587
Resolve merge conflict files
shreevathsrao Jul 28, 2026
385972f
Fix the line chart
shreevathsrao Jul 28, 2026
472441a
fix test case
shreevathsrao Jul 28, 2026
132f934
fix: Merge branch 'development' of into reina-create-line-graph-for-c…
shreevathsrao Aug 29, 2026
3a2304e
Merge branch 'development' of https://github.com/OneCommunityGlobal/H…
shreevathsrao Aug 31, 2026
f5b29a1
Merge branch 'development' of https://github.com/OneCommunityGlobal/H…
shreevathsrao Sep 1, 2026
3163602
fix the redundancy code
shreevathsrao Sep 1, 2026
46d6735
fix: sonarCube issues
shreevathsrao Sep 1, 2026
06d046a
Merge branch 'development' of https://github.com/OneCommunityGlobal/H…
shreevathsrao Sep 4, 2026
05f6be1
fix: css issues for mobile
shreevathsrao Sep 4, 2026
4a8a56a
fix: BE integrations
shreevathsrao Sep 10, 2026
d6474e8
Merge branch 'development' of https://github.com/OneCommunityGlobal/H…
shreevathsrao Sep 19, 2026
83d54d8
Merge branch 'development' of https://github.com/OneCommunityGlobal/H…
shreevathsrao Oct 8, 2026
1461943
fix: fixed css and api issues
shreevathsrao Oct 8, 2026
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
441 changes: 441 additions & 0 deletions src/components/BMDashboard/ExpenditureGraph/ExpenditureLineGraph.jsx

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
/* Global dark mode styles */

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please ensure we are using module.css files

body.dark-mode {
background-color: #1b2a41;
color: #fff;
transition: background-color 0.3s ease;
}

/* Main container styles */
.expenditure-chart-container {
padding: 20px;
background-color: #f9f9f9;
border-radius: 8px;
box-shadow: 0 2px 4px rgb(0 0 0 / 10%);
transition: all 0.3s ease;
min-height: 100vh;
width: 100%;
box-sizing: border-box;
}

/* Dark mode container */
.expenditure-chart-container.dark-mode {
background-color: transparent;
color: #fff;
box-shadow: none;
border-radius: 0;
}

/* Inner chart container */
.chart-inner-container {
background-color: #fff;
border-radius: 12px;
border: 1px solid rgb(0 0 0 / 8%);
box-shadow: none;
padding: 20px;
max-width: 800px;
width: 100%;
height: 400px;
position: relative;
margin: 0 auto;
transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.expenditure-chart-container.dark-mode .chart-inner-container {
background-color: #16213e;
border: 1px solid #233554;
}

/* Chart canvas */
.expenditure-chart-container.dark-mode canvas {
background-color: #16213e;
color: #fff;
border-radius: 8px;
}

/* Error styling */
.error {
color: #7f0000;
background-color: #fff;
padding: 10px;
border-radius: 4px;
border: 1px solid #d32f2f;
text-align: center;
max-width: 800px;
margin: 0 auto 20px;
}

.expenditure-chart-container.dark-mode .error {
background-color: #2a3a5a;
color: #ffb3b3;
border: 1px solid #ffb3b3;
}

/* Heading styles */
.expenditure-chart-container h1 {
font-size: 1.5rem;
margin-bottom: 20px;
font-weight: 600;
text-align: center;
}

/* Filter controls */
.filter-controls {
display: flex;
justify-content: flex-end;
width: 100%;
padding: 0 20px;
margin-bottom: 20px;
}

.filter-group {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 10px;
}

.project-filter {
display: flex;
align-items: center;
gap: 10px;
}

.date-filters {
display: flex;
align-items: center;
gap: 10px;
}

/* Form elements */
label {
color: inherit;
}

select,
input[type="date"] {
padding: 6px 10px;
border-radius: 4px;
border: 1px solid #ddd;
background-color: #fff;
color: #333;
font-size: 14px;
}

.expenditure-chart-container.dark-mode select,
.expenditure-chart-container.dark-mode input[type="date"] {
background-color: #253342;
color: #fff;
border: 1px solid rgb(255 255 255 / 20%);
}

/* Loading message */
.loading-message {
text-align: center;
color: inherit;
margin: 20px 0;
}
Loading
Loading