feat(hubspot-integration): refine HubSpot widget styling and add account setup skip functionality
- Enhanced CSS targeting for HubSpot widget elements to prevent interference with the Worklenz app UI. - Introduced a new function to allow users to bypass team member validation during account setup, improving user experience. - Updated the button click handler to utilize the new skip functionality for a smoother setup process.
This commit is contained in:
@@ -214,6 +214,11 @@ const AccountSetup: React.FC = () => {
|
||||
}
|
||||
};
|
||||
|
||||
const handleSkipMembers = async () => {
|
||||
// Bypass all validation and complete setup without team members
|
||||
await completeAccountSetup(true);
|
||||
};
|
||||
|
||||
const completeAccountSetupWithTemplate = async () => {
|
||||
try {
|
||||
await saveSurveyData(); // Save survey data first
|
||||
@@ -592,7 +597,7 @@ const AccountSetup: React.FC = () => {
|
||||
type="link"
|
||||
className="p-0 font-medium"
|
||||
style={{ color: token.colorTextTertiary }}
|
||||
onClick={() => completeAccountSetup(true)}
|
||||
onClick={handleSkipMembers}
|
||||
>
|
||||
{t('skipForNow')}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user