Skip to content

Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.

feat(onboarding): add Marketer and Online store personas

Paulo Castellanoea2d3d86c841
diff --git a/app/Enums/User/Persona.php b/app/Enums/User/Persona.php
index 78949d104..00c5c62e7 100644
--- a/app/Enums/User/Persona.php
+++ b/app/Enums/User/Persona.php
@@ -12,5 +12,7 @@ enum Persona: string
case Startup = 'startup';
case Agency = 'agency';
case SmallBusiness = 'small_business';
+ case Marketer = 'marketer';
+ case OnlineStore = 'online_store';
case Other = 'other';
}
diff --git a/lang/en/onboarding.php b/lang/en/onboarding.php
index 1c1e8a7e1..7a41f12e1 100644
--- a/lang/en/onboarding.php
+++ b/lang/en/onboarding.php
@@ -13,6 +13,8 @@ return [
'startup' => 'Startup',
'agency' => 'Agency',
'small_business' => 'Small business',
+ 'marketer' => 'Marketer',
+ 'online_store' => 'Online store',
'other' => 'Other',
],
'connect' => [
diff --git a/lang/es/onboarding.php b/lang/es/onboarding.php
index f1189a316..cb9b3fc30 100644
--- a/lang/es/onboarding.php
+++ b/lang/es/onboarding.php
@@ -13,6 +13,8 @@ return [
'startup' => 'Startup',
'agency' => 'Agencia',
'small_business' => 'Pequeña empresa',
+ 'marketer' => 'Marketing',
+ 'online_store' => 'Tienda online',
'other' => 'Otro',
],
'connect' => [
diff --git a/lang/pt-BR/onboarding.php b/lang/pt-BR/onboarding.php
index e1a5f5fc6..8e1694ffd 100644
--- a/lang/pt-BR/onboarding.php
+++ b/lang/pt-BR/onboarding.php
@@ -13,6 +13,8 @@ return [
'startup' => 'Startup',
'agency' => 'Agência',
'small_business' => 'Pequena empresa',
+ 'marketer' => 'Marketing',
+ 'online_store' => 'Loja online',
'other' => 'Outro',
],
'connect' => [
diff --git a/resources/js/pages/onboarding/Index.vue b/resources/js/pages/onboarding/Index.vue
index fdca63d28..376c9d09c 100644
--- a/resources/js/pages/onboarding/Index.vue
+++ b/resources/js/pages/onboarding/Index.vue
@@ -9,6 +9,8 @@ import {
IconCode,
IconDots,
IconRocket,
+ IconShoppingBag,
+ IconSpeakerphone,
IconUser,
} from '@tabler/icons-vue';
import { trans } from 'laravel-vue-i18n';
@@ -31,6 +33,8 @@ const personaMeta: Record<string, { icon: FunctionalComponent; color: string }>
startup: { icon: IconRocket, color: 'text-violet-700' },
agency: { icon: IconBuildingSkyscraper, color: 'text-blue-700' },
small_business: { icon: IconBuildingStore, color: 'text-emerald-600' },
+ marketer: { icon: IconSpeakerphone, color: 'text-fuchsia-600' },
+ online_store: { icon: IconShoppingBag, color: 'text-teal-600' },
other: { icon: IconDots, color: 'text-sky-600' },
};
diff --git a/tests/Unit/Enums/PersonaTest.php b/tests/Unit/Enums/PersonaTest.php
index 47bafc00c..b0eb2c382 100644
--- a/tests/Unit/Enums/PersonaTest.php
+++ b/tests/Unit/Enums/PersonaTest.php
@@ -6,7 +6,7 @@ use App\Enums\User\Persona;
test('persona values are stable', function () {
expect(array_map(fn (Persona $persona): string => $persona->value, Persona::cases()))
- ->toBe(['creator', 'freelancer', 'developer', 'startup', 'agency', 'small_business', 'other']);
+ ->toBe(['creator', 'freelancer', 'developer', 'startup', 'agency', 'small_business', 'marketer', 'online_store', 'other']);
});
test('every persona has an onboarding label in every locale', function (string $locale) {