A full-featured CRM built with React, shadcn/ui, and Supabase.
Onboarding adjustments
François Zaninotto7dedb72aeade
diff --git a/src/companies/CompanyAvatar.tsx b/src/companies/CompanyAvatar.tsxindex 0b8b28fc..bc758880 100644--- a/src/companies/CompanyAvatar.tsx+++ b/src/companies/CompanyAvatar.tsx@@ -20,6 +20,7 @@ export const CompanyAvatar = (props: {'& img': { objectFit: 'contain' },width,height,+ fontSize: height !== 40 ? '0.6rem' : undefined,}}>{record.name.charAt(0)}diff --git a/src/dashboard/DashboardStepper.tsx b/src/dashboard/DashboardStepper.tsxindex 0bfa10ca..ebd4914b 100644--- a/src/dashboard/DashboardStepper.tsx+++ b/src/dashboard/DashboardStepper.tsx@@ -52,15 +52,13 @@ export const DashboardStepper = ({value={(step / 3) * 100}color="success"/>- <Typography variant="body2" align="right">- {step}/3 done- </Typography>+ <Typography align="right">{step}/3 done</Typography></Box></Stack><Stack gap={3}><Stack gap={2} direction="row"><CheckCircleIcon color="success" fontSize="small" />- <Typography variant="body2" fontWeight="bold">+ <Typography fontWeight="bold">Install Atomic CRM</Typography></Stack>@@ -78,12 +76,10 @@ export const DashboardStepper = ({)}<Stack gap={1}>- <Typography variant="body2" fontWeight="bold">+ <Typography fontWeight="bold">Add your first contact</Typography>- <Typography variant="body2">- Create or import your contacts- </Typography>+<Stack spacing={2} direction="row"><CreateButtonvariant="contained"@@ -101,11 +97,11 @@ export const DashboardStepper = ({color="disabled"/><Stack gap={1}>- <Typography variant="body2" fontWeight="bold">+ <Typography fontWeight="bold">Add your first note</Typography>- <Typography variant="body2">- Got to a contact page and add a note+ <Typography>+ Go to a contact page and add a note</Typography><Buttoncomponent={Link}diff --git a/src/login/SignupPage.tsx b/src/login/SignupPage.tsxindex 274571df..1b87938a 100644--- a/src/login/SignupPage.tsx+++ b/src/login/SignupPage.tsx@@ -37,9 +37,7 @@ export const SignupPage = () => {redirectTo: '/contacts',});setTimeout(() => {- notify(- 'Welcome! You can now start entering contacts, write notes and plan deals'- );+ notify('Initial user successfully created');}, 0);},onError: () => {@@ -90,28 +88,23 @@ export const SignupPage = () => {gap: 1,}}>- <Typography variant="h3" component="h1" gutterBottom>- Welcome!+ <Typography variant="h4" component="h1" gutterBottom>+ Welcome to Atomic CRM</Typography><Typography variant="body1" gutterBottom>- Create your account to manage your contacts, companies,- and deals.+ Create the first user account to complete the setup.</Typography><form onSubmit={handleSubmit(onSubmit)}><TextField{...register('first_name', { required: true })}label="First name"variant="outlined"- helperText={false}- InputLabelProps={{ shrink: true }}required/><TextField{...register('last_name', { required: true })}label="Last name"variant="outlined"- helperText={false}- InputLabelProps={{ shrink: true }}required/><TextField@@ -119,8 +112,6 @@ export const SignupPage = () => {label="Email"type="email"variant="outlined"- helperText={false}- InputLabelProps={{ shrink: true }}required/><TextField@@ -128,7 +119,6 @@ export const SignupPage = () => {label="Password"type="password"variant="outlined"- InputLabelProps={{ shrink: true }}required/><Stack@@ -141,6 +131,7 @@ export const SignupPage = () => {type="submit"variant="contained"disabled={!isValid || isSignUpPending}+ fullWidth>{isSignUpPending ? (<CircularProgress />diff --git a/src/notes/NoteCreate.tsx b/src/notes/NoteCreate.tsxindex 86b389c1..02e5b665 100644--- a/src/notes/NoteCreate.tsx+++ b/src/notes/NoteCreate.tsx@@ -85,7 +85,7 @@ const NoteCreateButton = ({data: { last_seen: data.date, status: data.status },previousData: record,});- notify('Note added', { type: 'success' });+ notify('Note added');};return (<SaveButton