Skip to content

Commit 6e5c9ac

Browse files
Merge pull request #3313 from OneCommunityGlobal/sundar_grouped_bar_chart_for_the_quantity_of_materials
Sundar - Phase 2 Summary Dashboard: Create a grouped-bar chart named Quantity of Materials Used in Projects frontend
2 parents 57ee7db + bdc6de8 commit 6e5c9ac

11 files changed

Lines changed: 1688 additions & 153 deletions

File tree

package-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"joi": "^14.0.6",
3232
"jwt-decode": "^2.2.0",
3333
"lodash": "^4.17.21",
34+
"lucide-react": "^0.484.0",
3435
"lz-string": "^1.5.0",
3536
"moment": "^2.29.2",
3637
"moment-timezone": "^0.5.33",
@@ -43,7 +44,7 @@
4344
"react-chartjs-2": "^5.2.0",
4445
"react-circular-progressbar": "^2.1.0",
4546
"react-collapsible": "^2.10.0",
46-
"react-datepicker": "^3.7.0",
47+
"react-datepicker": "^3.8.0",
4748
"react-day-picker": "^7.4.8",
4849
"react-dom": "^16.13.1",
4950
"react-html-parser": "^2.0.2",
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import {
2+
SET_PROJECT_FILTER,
3+
SET_DATE_RANGE_FILTER,
4+
SET_COMPARISON_PERIOD_FILTER,
5+
} from '../../constants/bmdashboard/weeklyProjectSummaryConstants';
6+
7+
export const setProjectFilter = project => ({
8+
type: SET_PROJECT_FILTER,
9+
payload: project,
10+
});
11+
12+
export const setDateRangeFilter = dateRange => ({
13+
type: SET_DATE_RANGE_FILTER,
14+
payload: dateRange,
15+
});
16+
17+
export const setComparisonPeriodFilter = comparisonPeriod => ({
18+
type: SET_COMPARISON_PERIOD_FILTER,
19+
payload: comparisonPeriod,
20+
});

0 commit comments

Comments
 (0)