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 Developer persona option

Paulo Castellanodeea4564e297
diff --git a/app/Enums/User/Persona.php b/app/Enums/User/Persona.php
index 4b1f6cb6e..78949d104 100644
--- a/app/Enums/User/Persona.php
+++ b/app/Enums/User/Persona.php
@@ -8,6 +8,7 @@ enum Persona: string
{
case Creator = 'creator';
case Freelancer = 'freelancer';
+ case Developer = 'developer';
case Startup = 'startup';
case Agency = 'agency';
case SmallBusiness = 'small_business';
diff --git a/lang/en/onboarding.php b/lang/en/onboarding.php
index 071288cfd..1c1e8a7e1 100644
--- a/lang/en/onboarding.php
+++ b/lang/en/onboarding.php
@@ -9,6 +9,7 @@ return [
'personas' => [
'creator' => 'Creator',
'freelancer' => 'Freelancer',
+ 'developer' => 'Developer',
'startup' => 'Startup',
'agency' => 'Agency',
'small_business' => 'Small business',
diff --git a/lang/es/onboarding.php b/lang/es/onboarding.php
index eed12c9c8..f1189a316 100644
--- a/lang/es/onboarding.php
+++ b/lang/es/onboarding.php
@@ -9,6 +9,7 @@ return [
'personas' => [
'creator' => 'Creador',
'freelancer' => 'Freelancer',
+ 'developer' => 'Desarrollador',
'startup' => 'Startup',
'agency' => 'Agencia',
'small_business' => 'Pequeña empresa',
diff --git a/lang/pt-BR/onboarding.php b/lang/pt-BR/onboarding.php
index 408270a8a..e1a5f5fc6 100644
--- a/lang/pt-BR/onboarding.php
+++ b/lang/pt-BR/onboarding.php
@@ -9,6 +9,7 @@ return [
'personas' => [
'creator' => 'Criador',
'freelancer' => 'Freelancer',
+ 'developer' => 'Desenvolvedor',
'startup' => 'Startup',
'agency' => 'Agência',
'small_business' => 'Pequena empresa',
diff --git a/resources/js/pages/onboarding/Index.vue b/resources/js/pages/onboarding/Index.vue
index 1041930cb..fdca63d28 100644
--- a/resources/js/pages/onboarding/Index.vue
+++ b/resources/js/pages/onboarding/Index.vue
@@ -6,6 +6,7 @@ import {
IconBuildingSkyscraper,
IconBuildingStore,
IconCheck,
+ IconCode,
IconDots,
IconRocket,
IconUser,
@@ -26,6 +27,7 @@ const form = useForm({ persona: props.selected ?? '' });
const personaMeta: Record<string, { icon: FunctionalComponent; color: string }> = {
creator: { icon: IconUser, color: 'text-rose-600' },
freelancer: { icon: IconBriefcase, color: 'text-amber-600' },
+ developer: { icon: IconCode, color: 'text-cyan-600' },
startup: { icon: IconRocket, color: 'text-violet-700' },
agency: { icon: IconBuildingSkyscraper, color: 'text-blue-700' },
small_business: { icon: IconBuildingStore, color: 'text-emerald-600' },
diff --git a/tests/Unit/Enums/PersonaTest.php b/tests/Unit/Enums/PersonaTest.php
index e73e907af..47bafc00c 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', 'startup', 'agency', 'small_business', 'other']);
+ ->toBe(['creator', 'freelancer', 'developer', 'startup', 'agency', 'small_business', 'other']);
});
test('every persona has an onboarding label in every locale', function (string $locale) {