Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for node 22.x on backend and shared folder, wip #931

Draft
wants to merge 164 commits into
base: upgrade/backend
Choose a base branch
from

Conversation

wickathou
Copy link
Collaborator

No description provided.

wickathou and others added 20 commits April 16, 2024 13:01
modified pipeline with variable
…th node 22

Debugged multiple version conflicts
Modified event edit changed comparison to use lodash isEqual to compare objects too
Modified MUI to use latest stable instead of next version
Added @redux/toolkit to replace redux core with latest
Added @babel/core and removed depreciated babel-eslint
Temporarily disabled or commented code for debugging
Updated App.js to use BrowserRouter
Started migration of routes to new react router
Removed browser history sync between react router and redux while migrating
Started removing makeStyles
Added multiple console logs for debugging
Replaced push from connected-react-router with navigate
@wickathou wickathou changed the title Added support for node 14.x on backend and shared folder, wip Added support for node 22.x on backend and shared folder, wip Jul 10, 2024
wickathou and others added 9 commits July 11, 2024 15:23
Added quote remover using replace to prevent string escape and unintended comma separation when exporting CSV files from participant and project organizer views
…oject-export-project-details

Hotfix - Modified project and participant CSV export as organizer to prevent comma string escape and updated ProjectDetail rendering to remove repeated code
Modified getRegistrationForEvent controller logic to shorten strings from custom registration questions
Added additional fields to escape quote marks for Participants and Projects organizer views
…oject-export-project-details

Fix - Modified string shortening logic for registrations and added more fields to escape quote marks to prevent CSV file misalignment
…oject-export-project-details

Hotfix - Added improved key logic for elements rendered in the ProjectDetail
Modified rendering of source code for ProjectDetail to display the right content and use the appropiate html tags
…oject-export-project-details

Hotfix - Fixed ProjectDetail source code rendering and minor update to pipeline
wickathou and others added 30 commits November 9, 2024 14:40
…teams

Removed commented code
Updated pagination frontend for teams to reset page number when the filter changes
Updated styling of join by code button to stack vertically on smaller viewports
… of a method to delete participants from team
…issues-found

Hotfix - Complete list of teams not showing for participants
…issues-found

Hotfix - Fixed issue with boolean custom field interpretting string true and false values
Renabled organizer router and dashboard
Updated tailwind classes missing tw- suffix
Updated contact us page to prefill fields if user is logged in
Added multiple debugging console logs
Renabled organise dashboard for edit, manage and alerts
Disabled all organise/edit routes for refactoring
Modified redux store to test RTK queries
Modified async actions to use asyncThunk
Modified reducer logic to use asyncThunk statuses with the handleBuilder logic
Updated multiple tailwind classes missing tw- prefix
Renabled markdown to render styles properly\
Removed multiple instances makeStyle and withStyles
Renabled all organiser tabs
Renabled all organiser/edit tabs
Renabled all organiser/participants tabs
Updated all organiser redux async actions to use createAsyncThunk
Disabled junctionStyle theme to remove makeStyles errors when using theme
Updated RequiresRole hoc to work with react-router-dom and react 18
Removed defaultProps from Footer layout component
Updated EventPriority to use Grid item and use keys
Updated use of push to useNavigate on multiple components
Removed useStyles from OrganizationList
Modified organise route to requirePermissions
Removed multiple instances of dispatch(push for useNavigate hook instead
Fix createEventCard redirect when new event is created
Update context.js on events pages to get slug from useParams instead of match
Removed useStyle from multiple components
Removed useStyle from register
Renabled SlugPage for participant dashboard routes
Moved selectors from renderDashboard that are passed as props for the participant dashboard to now be called inside of the participant dashboard from the redux store
Removed or disabled multiple instances of makeStyles
Temporarily disabled multiple blocks that are displayed on the root event dashboard for participants
Disabled most social sharing options, only Linkedin is enabled for now
Removed use of fetchBaseQuery in favor of redux thunk
Updated dashboard actions and reducer to use redux thunk
Removed custom useStyle instances from multiple files
Created SpinnerLoader component to work a way to render loading states
Added testing comments in multiple files
Modified Apply component to get team data from selectedTeam selector instead to replace the use of props
Modified teamRoles rendering logic on Apply component to prevent modifying state directly
Renabled all working blocks rendered on the participant dashboard
Modified AlertBlock component to use Grid correctly
Replace multiple instances of push with useNavigate
Renabled team and project pages for participants
Modified Dashboard actions instances of non-serializable functions to use Thunks
Replaced instances of match to useResolvedPath
Modified teams page rendering logic to implement loaders
Created new CANDIDATE_APPLY action type to handle candidate applications to a team
Created new util function addTeamCodeToProjectAndFilterNoTeam to reduced repeated code on ProjectTable component and Projects by challenge page and prevent direct edit of the store
Renabled EventIDPage for participants
Disabled instance of makeStyles in eventid qr page
…ewing pages

Renabled all base pages for participants
Removed loading and error using annotator loading and error selectors from  props for Reviewing page
Fix issue with Skill schema not working properly
Added new onClickPath to routes generated from sidebarLayout to prevent mixing the path route enabled by react router with the path that must be visited onClick for each defined route
Removed exact from sidebarLayout generated routes
Renabled all partner routes
Replaced instances of push with useNavigate
Refactored pagination component to prevent navigation to non-existing pages
Removed the use of useCallback in components where it was being used inapropiately
Modified ResultCard to use styled() to apply styling to favorite indicator on card
Modified SkillRating to use styled() with theme object
Modified detail page for participants to use userId got from useParams
Added asyncThunkModifier to redux utils to modify promise based actions and keep code DRY
Added asyncThunkModifier to dashboard, organiser and recruitment reducers
Added createAsyncThunk to all promise redux actions in recruitment
Removed meta and head tags from App.js
Disabled analytics service
Renabled all routes avaiable on production
Modified PricingItem component to take content text internally instead of prop
Removed unnused and commented code from multiple files
Replaced dispatch+push with useNavigate
Fix issue on ProjectGrid modifying state in favor of using a copy of the state to prevent direct mutation
Fix issue with team view modal url not working as organizer on the participants/teams page
Modified memberCount variable on AdminTeamEdit component to default to zero in case there are no members
Fixed UserAvatar redirect paths
Refactored RequiresPermission to be DRY
Disabled multiple instances of useStyles
Removed shownPages and lockedPages props from renderDashboard components
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants