Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
1a9c85b
Added function call to update the progress bar of a task on adding a …
AnthonyWeathers Aug 4, 2025
1031c79
Merge branch 'development' of https://github.com/OneCommunityGlobal/H…
AnthonyWeathers Aug 4, 2025
c463211
committing updated package-lock and yarn.lock changes from development
AnthonyWeathers Aug 4, 2025
2e2bb27
Fix timer bug: prevent resubmission of time entries
kanishkagarwal6101 Aug 28, 2025
3bde1d8
Enhanced timer bug fix with robust features: session tracking, submis…
kanishkagarwal6101 Aug 29, 2025
75327b8
feat(job-analytics):Most Competitive Roles Graph
Neeraj-Kondaveeti Sep 3, 2025
528071e
feat(job-analytics):Most Competitive Roles Graph
Neeraj-Kondaveeti Sep 3, 2025
e05487e
chore:reinstated yarn file
Neeraj-Kondaveeti Sep 3, 2025
f0d8cc3
Enhance Competitive Roles chart: bold axis ticks and add axis titles
Neeraj-Kondaveeti Sep 17, 2025
2d56876
Fix: Generated Student Evaluation Results
boppanapraveen Sep 27, 2025
1d424fa
Fix: Student Evaluation results-1
boppanapraveen Oct 26, 2025
648d8a3
Fix: Student Evaluation results-3
boppanapraveen Oct 29, 2025
ace6bd8
fix:Submit button now works
Neeraj-Kondaveeti Oct 30, 2025
6b077c4
feat: persist registration updates
kanishkagarwal6101 Nov 7, 2025
b265b81
Added the active inactive in team page
naiduajaykumar Nov 8, 2025
d99872b
Added the active inactive in team page
naiduajaykumar Nov 8, 2025
fe4e7db
Added the active inactive in team page
naiduajaykumar Nov 8, 2025
d90c304
Added the active inactive in team page
naiduajaykumar Nov 8, 2025
474d95a
Merge branch 'development' into Ajay-Implemented-the-Active-In-Active…
naiduajaykumar Nov 8, 2025
7569639
Fixed the failed refactor issue
naiduajaykumar Nov 8, 2025
59ab240
Merge branch 'Ajay-Implemented-the-Active-In-Active-team-members-in-t…
naiduajaykumar Nov 8, 2025
aa748f2
Fixed the sonar issues2
naiduajaykumar Nov 8, 2025
caa018d
Fixed the failed refactor issue
naiduajaykumar Nov 8, 2025
281fc6a
Added the active inactive in team page
naiduajaykumar Nov 8, 2025
c19ae13
Added the active inactive in team page
naiduajaykumar Nov 8, 2025
5902d52
Add validation alerts for user selection
naiduajaykumar Nov 8, 2025
ebaa9e7
Refactor setState to use functional updates
naiduajaykumar Nov 8, 2025
c85c8be
Refactor setState calls for teams and sorting
naiduajaykumar Nov 8, 2025
d073155
Added the active inactive in team page
naiduajaykumar Nov 8, 2025
5b4fef8
Fixed the failed refactor issue new
naiduajaykumar Nov 8, 2025
cf3b010
Fix: Implemented Feedback and Mobile responsiveness
boppanapraveen Nov 15, 2025
8cedb12
fix: add webpack dependency to resolve ESLint error in config-overrid…
boppanapraveen Nov 15, 2025
7b1d2e4
Fix: Implemented Feedback and Mobile responsiveness-2
boppanapraveen Nov 15, 2025
ce55be2
Fix: Added unsaved changes for refresh and navigation events
Neeraj-Kondaveeti Nov 18, 2025
f5bb9c9
Fix: Implemented Feedback and Mobile responsiveness-3
boppanapraveen Nov 22, 2025
39fc6d4
feat: implement Event Database Design page with filtering and navigation
kanishkagarwal6101 Nov 24, 2025
7b27020
Add unsaved changes warning logic to JobFormbuilder and QuestionSetMa…
Neeraj-Kondaveeti Nov 25, 2025
490e197
Fix: SonarQube warnings for JobFormBuilder and QuestionSetManager
Neeraj-Kondaveeti Nov 25, 2025
844e268
Fix: SonarQube warnings for JobFormBuilder and QuestionSetManager
Neeraj-Kondaveeti Nov 25, 2025
1a3f11b
Fix multi-category filter UI/UX and update Header.jsx to resolve runt…
Neeraj-Kondaveeti Nov 28, 2025
fdb38de
Fix sonarqube flagged issues
Neeraj-Kondaveeti Nov 29, 2025
ce65d84
Fix sonarqube flagged duplication issue
Neeraj-Kondaveeti Nov 29, 2025
6332383
Refactor Collaboration components
Neeraj-Kondaveeti Nov 29, 2025
05b9286
Improve multi category filtering and UI layout
Neeraj-Kondaveeti Dec 2, 2025
866527c
Added Dropdowns and fixed conditions to fitler table
ChiragBellara Dec 4, 2025
db4d098
feature: Adjusted permission list, modified permission required to ad…
AnthonyWeathers Dec 4, 2025
84b0a2e
chore: merged development
AnthonyWeathers Dec 5, 2025
c278f7e
refactor: removed comments, changed up how blue square email permissi…
AnthonyWeathers Dec 5, 2025
3e274d0
fix: Suggestions through
boppanapraveen Dec 5, 2025
65c2145
Merge branch 'development' into DurgaVenkataPraveen-StudentEvaluation…
boppanapraveen Dec 5, 2025
fc162e0
Fixed the filtering logic and display conditions
ChiragBellara Dec 6, 2025
116cb61
Fixed table sorting for Condition and Tool Status columns
ChiragBellara Dec 6, 2025
b5fa6e0
chore: merged development into branch
AnthonyWeathers Dec 7, 2025
e47ec53
Addressed issues detected by the sonar bot
AnthonyWeathers Dec 7, 2025
8581b5b
Added state persistence and fixed the under mantainance condition
ChiragBellara Dec 9, 2025
77ae5ea
chore: merged development
AnthonyWeathers Dec 9, 2025
27ce76b
refactor: Moved permission list to json file to try fixing duplicatio…
AnthonyWeathers Dec 9, 2025
2698285
chore: Deleted an unneeded commented code and a leftover console log
AnthonyWeathers Dec 9, 2025
114b06b
Changed state persistence to logic session based.
ChiragBellara Dec 9, 2025
47fcb8e
Merge branch 'development' into kanishk_fix_for_time_resubmission
kanishkagarwal6101 Dec 11, 2025
96a2c38
fix: prettier formatting in Timer.jsx
kanishkagarwal6101 Dec 11, 2025
5b828fb
fix: resolve SonarQube code quality issues
kanishkagarwal6101 Dec 11, 2025
d107940
fix: replace Math.random() with crypto.getRandomValues() for secure s…
kanishkagarwal6101 Dec 11, 2025
a174415
Merge development and resolve package-lock.json conflict
Neeraj-Kondaveeti Dec 12, 2025
8dabc92
Merge development and resolve yarn.lock conflict
Neeraj-Kondaveeti Dec 12, 2025
73061f6
Merge remote-tracking branch 'origin/development' into Neeraj_Job_Pos…
Neeraj-Kondaveeti Dec 12, 2025
007e231
Fix duplicate WeeklySummaryPage import after merge
Neeraj-Kondaveeti Dec 12, 2025
7001713
fix: resolve linting errors - prettier formatting and console statements
kanishkagarwal6101 Dec 12, 2025
0dc5b97
Merge branch 'development' into kanishk_implement_registration_feedba…
kanishkagarwal6101 Dec 12, 2025
3552187
Resolve merge conflicts and sonarqube issues
Neeraj-Kondaveeti Dec 12, 2025
8c5b8d1
Fix: sonarqube props validation
Neeraj-Kondaveeti Dec 13, 2025
d671d0e
Fix: sonarqube props validation
Neeraj-Kondaveeti Dec 13, 2025
bdda66b
Fix:SonarQube Issues, prop validation
Neeraj-Kondaveeti Dec 13, 2025
158d788
Fix:SonarQube Issues
Neeraj-Kondaveeti Dec 13, 2025
4d627cc
Fix:SonarQube duplicate lines issue
Neeraj-Kondaveeti Dec 13, 2025
00aabf2
Fix:SonarQube duplicate lines issue
Neeraj-Kondaveeti Dec 13, 2025
f1c090d
Fix:SonarQube duplicate lines issue
Neeraj-Kondaveeti Dec 13, 2025
ffb63db
fix:Resolved Dark Mode issues-1
boppanapraveen Dec 13, 2025
70fcded
chore: merged development to resolve merge conflict
AnthonyWeathers Dec 13, 2025
335f69c
Merge branch 'development' into DurgaVenkataPraveen-ResolvingDarkMode…
boppanapraveen Dec 14, 2025
6f26c75
Merge branch 'development' into DurgaVenkataPraveen-StudentEvaluation…
boppanapraveen Dec 14, 2025
d1f141f
fix:Merge Conflicts
boppanapraveen Dec 14, 2025
1caf038
Fixed Header console error
ChiragBellara Dec 15, 2025
4c0d84a
Fixed the dark mode issue on Tools table
ChiragBellara Dec 15, 2025
eb69592
Merge branch 'development' into chirag-tool-status-filter-and-sort-dr…
ChiragBellara Dec 15, 2025
f82bc53
Venkataramanan Center one community global logo in header
Dec 15, 2025
9779b81
Resolve merge conflicts with development
naiduajaykumar Dec 15, 2025
f33955c
Merge pull request #4561 from OneCommunityGlobal/venkataramanan_cente…
one-community Dec 15, 2025
0964200
Merge pull request #4010 from OneCommunityGlobal/Neeraj_Job_Posting_M…
one-community Dec 15, 2025
7fe6661
Merge pull request #4291 from OneCommunityGlobal/Neeraj_Fix_Being_Abl…
one-community Dec 15, 2025
ab07a8f
Venkataramanan fix white space in the progress column of tasks and ti…
Dec 15, 2025
6b001fd
Merge pull request #4562 from OneCommunityGlobal/venkataramanan_fix_w…
one-community Dec 15, 2025
da34ffd
yarn.lock
naiduajaykumar Dec 15, 2025
5c22db2
Resolve: Lock file conflicts
Neeraj-Kondaveeti Dec 16, 2025
3b44e3b
Merge pull request #4502 from OneCommunityGlobal/Anthony/Warning-Trac…
one-community Dec 16, 2025
b851533
Merge pull request #3985 from OneCommunityGlobal/kanishk_fix_for_time…
one-community Dec 16, 2025
ad032e6
Merge pull request #4349 from OneCommunityGlobal/kanishk_implement_re…
one-community Dec 16, 2025
fe06d00
refactor: merged development to resolve merge conflicts and imported …
AnthonyWeathers Dec 16, 2025
24932ff
refactor: imported module css on timelog.jsx to fix width of tasks an…
AnthonyWeathers Dec 16, 2025
c508819
Merge pull request #4359 from OneCommunityGlobal/Ajay-Implemented-the…
one-community Dec 16, 2025
daa3668
Merge pull request #4548 from OneCommunityGlobal/DurgaVenkataPraveen-…
one-community Dec 16, 2025
9e26f96
Merge pull request #4127 from OneCommunityGlobal/DurgaVenkataPraveen-…
one-community Dec 16, 2025
c2dbc22
Venkataramanan fix: Team member tasks content wrap
Dec 16, 2025
f2d9257
Merge pull request #4567 from OneCommunityGlobal/venkataramanan_fix_t…
one-community Dec 16, 2025
44484ba
feat(student-tasks): display list of current tasks
Neeraj-Kondaveeti Oct 23, 2025
83df44b
chore:fix sonarqube analysis
Neeraj-Kondaveeti Oct 23, 2025
54a848c
chore: remove package-lock and sync yarn.lock
Neeraj-Kondaveeti Dec 17, 2025
b830d8e
Resolve merge conflicts
Neeraj-Kondaveeti Dec 17, 2025
406cb56
Merge development into kanishk_database_design_frontend
kanishkagarwal6101 Dec 17, 2025
fe7111b
Venkataramanan fix: committed hrs to always be positive in user manag…
Dec 17, 2025
f86acfe
Merge pull request #4571 from OneCommunityGlobal/venkataramanan_fix_c…
one-community Dec 17, 2025
d3eed17
Merge pull request #4470 from OneCommunityGlobal/Neeraj_Fix_Multi_Cat…
one-community Dec 17, 2025
1b9b81b
Merge pull request #4246 from OneCommunityGlobal/Neeraj_Display_List_…
one-community Dec 17, 2025
9ec8333
Merge pull request #4414 from OneCommunityGlobal/Neeraj_Add_Unsaved_C…
one-community Dec 17, 2025
f185c5a
Merge pull request #4535 from OneCommunityGlobal/chirag-tool-status-f…
one-community Dec 19, 2025
bf4a56d
Merge pull request #4452 from OneCommunityGlobal/kanishk_database_des…
one-community Dec 19, 2025
4ef852f
chore: resolved merge conflict
AnthonyWeathers Dec 19, 2025
858d345
Merge pull request #3846 from OneCommunityGlobal/Anthony/Fix-Timelog-…
one-community Dec 19, 2025
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
26,296 changes: 0 additions & 26,296 deletions package-lock.json

This file was deleted.

10 changes: 9 additions & 1 deletion public/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,21 @@ body.bm-dashboard-dark .table {
}

body.dark-mode .table th,
body.dark-mode .table td,
body.dark-mode .table td {
color: #ffffff !important;
border-color: #3a506b;
}

body.bm-dashboard-dark .table th,
body.bm-dashboard-dark .table td {
color: #ffffff !important;
border-color: #3a506b;
}

body.bm-dashboard-dark .table th{
background-color: #2e5061 !important;
}

body.dark-mode .table-striped > tbody > tr:nth-of-type(odd),
body.bm-dashboard-dark .table-striped > tbody > tr:nth-of-type(odd) {
background-color: rgba(46, 80, 97, 0.5);
Expand Down
1 change: 0 additions & 1 deletion src/actions/allTeamsAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ export const getAllUserTeams = () => {
.then(res => {
dispatch(teamMembersFectchACtion(res.data));
return res.data;
// console.log("getAllUserTeams: res:", res.data)
})
.catch(() => {
dispatch(teamMembersFectchACtion(undefined));
Expand Down
70 changes: 70 additions & 0 deletions src/actions/eventActions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
import axios from 'axios';
import { ENDPOINTS } from '~/utils/URL';

/**
* Fetch events with optional filtering
* @param {Object} params - Query parameters
* @param {string} params.type - Filter by event type
* @param {string} params.location - Filter by location
* @param {number} params.page - Page number
* @param {number} params.limit - Items per page
* @param {string} params.sortBy - Sort field
* @returns {Promise} API response
*/
export async function getEvents(params = {}) {
try {
const { type = '', location = '', page = 1, limit = 9, sortBy = 'date' } = params;
const queryParams = new URLSearchParams();
if (type) queryParams.append('type', type);
if (location) queryParams.append('location', location);
queryParams.append('page', page);
queryParams.append('limit', limit);
queryParams.append('sortBy', sortBy);

const url = `${ENDPOINTS.EVENTS}?${queryParams.toString()}`;
const response = await axios.get(url);
return Promise.resolve(response);
} catch (error) {
return {
message: error.response?.data?.error || error.message,
errorCode: error.response?.status,
status: error.response?.status || 500,
};
}
}

/**
* Fetch available event types
* @returns {Promise} API response
*/
export async function getEventTypes() {
try {
const url = ENDPOINTS.EVENT_TYPES;
const response = await axios.get(url);
return Promise.resolve(response);
} catch (error) {
return {
message: error.response?.data?.error || error.message,
errorCode: error.response?.status,
status: error.response?.status || 500,
};
}
}

/**
* Fetch available event locations
* @returns {Promise} API response
*/
export async function getEventLocations() {
try {
const url = ENDPOINTS.EVENT_LOCATIONS;
const response = await axios.get(url);
return Promise.resolve(response);
} catch (error) {
return {
message: error.response?.data?.error || error.message,
errorCode: error.response?.status,
status: error.response?.status || 500,
};
}
}
13 changes: 10 additions & 3 deletions src/components/BMDashboard/ItemList/ItemListView.module.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
table thead th, table td {
vertical-align: middle !important;
}

.itemsListContainer {
width: 100%;
max-width: 1536px;
Expand All @@ -24,6 +28,10 @@
height: 2rem;
}

.itemsCell td{
vertical-align: middle;
}

.itemsCell button {
cursor: pointer;
}
Expand Down Expand Up @@ -52,8 +60,7 @@

.selectInput label {
font-weight: bold;
text-align: right;
min-width: 100px;
text-align: center;
white-space: nowrap;
margin-bottom: 8px;
}
Expand All @@ -62,7 +69,7 @@
.selectInput select {
height: 38px;
width: 100%;
min-width: 220px;
min-width: 180px;
max-width: 240px;
padding: 5px;
border: 1px solid #ccc;
Expand Down
10 changes: 9 additions & 1 deletion src/components/BMDashboard/ItemList/SelectForm.jsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
import { Form, FormGroup, Label, Input } from 'reactstrap';
import styles from './ItemListView.module.css';

export default function SelectForm({ items, setSelectedProject, setSelectedItem }) {
export default function SelectForm({
items,
setSelectedProject,
setSelectedItem,
setSelectedCondition,
setSelectedToolStatus,
}) {
let projectsSet = [];
if (items.length) {
projectsSet = [...new Set(items.map(el => el.project?.name))];
}

const handleChange = event => {
setSelectedItem('all');
setSelectedCondition('all');
setSelectedToolStatus('all');
setSelectedProject(event.target.value);
};

Expand Down
76 changes: 52 additions & 24 deletions src/components/BMDashboard/ItemList/SelectItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,44 +6,72 @@ export default function SelectItem({
selectedProject,
selectedItem,
setSelectedItem,
selectedToolStatus,
setSelectedToolStatus,
selectedCondition,
setSelectedCondition,
label,
}) {
let itemSet = [];
if (items?.length) {
if (selectedProject === 'all') {
itemSet = [
...new Set(
items
.filter(m => m.itemType?.name) // Filter out items with null/undefined names
.map(m => m.itemType.name),
),
];
} else {
itemSet = [
...new Set(
items
.filter(mat => mat.project?.name === selectedProject && mat.itemType?.name)
.map(m => m.itemType.name),
),
];
if (label === 'Tool') {
if (selectedProject === 'all') {
itemSet = [...new Set(items.filter(m => m.itemType?.name).map(m => m.itemType.name))];
} else {
itemSet = [
...new Set(
items
.filter(mat => mat.project?.name === selectedProject && mat.itemType?.name)
.map(m => m.itemType.name),
),
];
}
} else if (label === 'Tool Status') {
itemSet = ['Using', 'Available', 'Under Maintenance'];
} else if (label === 'Condition') {
if (selectedProject === 'all') {
itemSet = [...new Set(items.filter(m => m.condition).map(m => m.condition))];
} else {
itemSet = [
...new Set(
items
.filter(mat => mat.project?.name === selectedProject && mat.condition)
.map(m => m.condition),
),
];
}
}
}

return (
<Form>
<FormGroup className={`${styles.selectInput}`}>
<Label htmlFor="select-material" style={{ marginLeft: '10px' }}>
{label ? `${label}:` : 'Material:'}
</Label>
<FormGroup className={styles.selectInput}>
<Label htmlFor="select-material">{label ? `${label}:` : 'Material:'}</Label>

<Input
id="select-item"
name="select-item"
type="select"
value={selectedItem}
onChange={e => setSelectedItem(e.target.value)}
disabled={!items.length}
value={
label === 'Condition'
? selectedCondition
: label === 'Tool Status'
? selectedToolStatus
: selectedItem
}
onChange={e => {
const val = e.target.value;
if (label === 'Tool Status') {
setSelectedToolStatus(val);
} else if (label === 'Condition') {
setSelectedCondition(val);
} else {
setSelectedItem(val);
}
}}
disabled={!itemSet.length}
>
{items.length ? (
{itemSet.length ? (
<>
<option value="all" key="all-option">
All
Expand Down
Loading
Loading