feat(account-setup): enhance account setup process with new survey and task management features

- Expanded localization files to include additional text for account setup steps in multiple languages.
- Introduced new components for the survey step, allowing users to provide feedback on their needs and preferences.
- Implemented task management features, enabling users to add and manage tasks during the account setup process.
- Enhanced the organization step with suggestions for organization names based on industry categories.
- Improved UI/UX with new design elements and transitions for a smoother user experience.
- Updated Redux state management to handle new survey and task data effectively.
- Added language switcher functionality to support multilingual users during the setup process.
This commit is contained in:
chamikaJ
2025-07-25 10:52:07 +05:30
parent fe7c15ced1
commit b688f8e114
15 changed files with 2107 additions and 471 deletions

View File

@@ -19,6 +19,7 @@ interface AccountSetupState {
teamMembers: Email[];
currentStep: number;
surveyData: IAccountSetupSurveyData;
surveySubStep: number;
}
const initialState: AccountSetupState = {
@@ -29,6 +30,7 @@ const initialState: AccountSetupState = {
teamMembers: [{ id: 0, value: '' }],
currentStep: 0,
surveyData: {},
surveySubStep: 0,
};
const accountSetupSlice = createSlice({
@@ -56,6 +58,9 @@ const accountSetupSlice = createSlice({
setSurveyData: (state, action: PayloadAction<Partial<IAccountSetupSurveyData>>) => {
state.surveyData = { ...state.surveyData, ...action.payload };
},
setSurveySubStep: (state, action: PayloadAction<number>) => {
state.surveySubStep = action.payload;
},
resetAccountSetup: () => initialState,
},
});
@@ -68,6 +73,7 @@ export const {
setTeamMembers,
setCurrentStep,
setSurveyData,
setSurveySubStep,
resetAccountSetup,
} = accountSetupSlice.actions;