Skip to content

Commit

Permalink
Added Event Attendance Feature in Admin and User Portal (#2388)
Browse files Browse the repository at this point in the history
* major changes event attendence stastics

* add bar chart adn recurring event count

* major chart and ui fixes

* modal sizing and filtering

* “event”

* charts and recurring bugs

* member details ui revamped

* tested member details functionalities

* added eventsattended in user portal

* added test files

* added tests for eventstatics,eventdashboard and related components

* added tests for Attendance and Statistics

* suggestion added in files

* Update src/components/EventRegistrantsModal/EventRegistrantsModal.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* error handling and short lines of code

* changes added

* added null checks

* refactored code

* refactoring

* improved refactoring statistics

* minor

* some iterations

* package changes

* minor changes

* minor

* added translations and refactoring

* added translations and refactoring.

* Added tsdoc comments

* Added more docs

* Added missed translations

* ..

* Revert ".."

This reverts commit ed410c7.

* ..

* minor files

* minor

* added testing and schema

* minor

* Added changes

* type fixes

* added test for eventstats and eventattendance

* minor formatting

* add test cases

* added registrants test cases

* added orgs testcases

* fixed orgdash change

* increased code coverage

* increased dateformatter files  coverage

* minor change

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
duplixx and coderabbitai[bot] authored Nov 10, 2024
1 parent 9dd5d7f commit e8b49a4
Show file tree
Hide file tree
Showing 94 changed files with 5,760 additions and 1,026 deletions.
Binary file added dump.rdb
Binary file not shown.
5 changes: 4 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ export default {
],
testEnvironment: 'jsdom',
transform: {
'^.+\\.(js|jsx|ts|tsx)$': ['babel-jest', { configFile: "./config/babel.config.cjs" }], // Use babel-jest for JavaScript and TypeScript files
'^.+\\.(js|jsx|ts|tsx)$': [
'babel-jest',
{ configFile: './config/babel.config.cjs' },
], // Use babel-jest for JavaScript and TypeScript files
'^.+\\.(css|scss|sass|less)$': 'jest-preview/transforms/css', // CSS transformations
'^(?!.*\\.(js|jsx|ts|tsx|css|json)$)': 'jest-preview/transforms/file', // File transformations
},
Expand Down
83 changes: 62 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"@mui/x-charts": "^7.22.1",
"@mui/x-data-grid": "^7.22.1",
"@mui/x-date-pickers": "^7.22.1",
"@pdfme/schemas": "^5.1.6",
"chart.js": "^4.4.6",
"@pdfme/generator": "^5.0.0",
"@reduxjs/toolkit": "^2.3.0",
"@vitejs/plugin-react": "^4.3.2",
Expand All @@ -40,9 +42,11 @@
"js-cookie": "^3.0.1",
"markdown-toc": "^1.2.0",
"prettier": "^3.3.3",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-beautiful-dnd": "^13.1.1",
"react-bootstrap": "^2.10.5",
"react-chartjs-2": "^5.2.0",
"react-datepicker": "^7.5.0",
"react-dom": "^18.3.1",
"react-google-recaptcha": "^3.1.0",
Expand Down Expand Up @@ -117,6 +121,7 @@
"@types/node-fetch": "^2.6.10",
"@types/react": "^18.3.3",
"@types/react-beautiful-dnd": "^13.1.8",
"@types/react-chartjs-2": "^2.5.7",
"@types/react-bootstrap": "^0.32.37",
"@types/react-datepicker": "^7.0.0",
"@types/react-dom": "^18.3.0",
Expand Down
10 changes: 10 additions & 0 deletions public/images/svg/arrow-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions public/images/svg/arrow-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/images/svg/attendees.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/images/svg/feedback.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e8b49a4

Please sign in to comment.