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.
PHP ai-agentsblueskyfacebookinstagramlaravellinkedinmastodonmcpmcp-serveropen-sourcerest-apiself-hostedsocial-mediasocial-media-managementsocial-media-schedulerthreadstiktokvuejsxyoutube
Show competitor logos on the Welcome software step (#453)
Paulo Castellanocbd6244b7f9a
diff --git a/AGENTS.md b/AGENTS.mdindex 4f32723a0..d7df3c329 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -830,6 +830,7 @@ view turns a forgotten variable into a runtime-only failure.- This project uses `@tabler/icons-vue` for all icons. NEVER use `lucide-vue-next`.- Brand logos come from `@thesvg/vue`, one import per logo (`import Canva from '@thesvg/vue/canva'`). A one-color logo that must follow the theme goes through `inTextColor()` (`resources/js/lib/brandLogos.ts`).- **Exception — card brand logos on billing** (owner decision October 2026): the full-color card artwork lives in `public/images/card-brands/*.svg`, mapped by Stripe's `card.brand` in `resources/js/lib/cardBrands.ts` (a brand without its own art uses `generic.svg`).+- **Exception — competitor logos on the Welcome software step** (owner decision October 2026): each tool's symbol is a static SVG in `public/images/competitors/<PreviousSoftware value>.svg`, drawn by `logo()` in `resources/js/lib/welcomeOptions.ts`. Logos and the Tabler icons of "none" and "other" (`icon()`) sit on a white tile, selected or not, so dark logos stay readable in dark mode. A new `PreviousSoftware` brand needs its file (`PreviousSoftwareTest` fails without it).- All Tabler icons are prefixed with `Icon`, e.g. `IconCheck`, `IconChevronRight`, `IconMail`.- Import icons from `@tabler/icons-vue`: `import { IconCheck, IconX } from '@tabler/icons-vue'`.- Browse available icons at https://tabler.io/iconsdiff --git a/public/images/competitors/buffer.svg b/public/images/competitors/buffer.svgnew file mode 100644index 000000000..e3c7b41fd--- /dev/null+++ b/public/images/competitors/buffer.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#231F20" d="M1.371 5.476L11.943 0l10.686 5.476-10.686 5.495zm3.36 4.81l7.212 3.547 7.288-3.547 3.398 1.655-10.686 5.202L1.371 11.94zm0 6.171l7.212 3.911 7.288-3.91 3.398 1.815L11.943 24 1.371 18.273z"/></svg>diff --git a/public/images/competitors/hootsuite.svg b/public/images/competitors/hootsuite.svgnew file mode 100644index 000000000..f6e4caa48--- /dev/null+++ b/public/images/competitors/hootsuite.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#FF4C46" d="M11.417 11.14c.505.75.28 1.572-.38 2.017-.66.444-1.505.343-2.01-.407-.506-.75-.282-1.572.378-2.017.66-.444 1.506-.343 2.012.407zm5.017-.274c-.66.444-.884 1.266-.379 2.016.506.75 1.352.852 2.012.407.66-.444.884-1.266.379-2.016-.506-.75-1.352-.852-2.012-.407zm7.422-7.086L19.03 6.638l.236.272c2.224 2.613 3.591 6.409 4.247 8.606a4.362 4.362 0 0 1-.638 3.8C21.449 21.295 18.398 24 12.369 24c-6.58 0-10-3.25-11.644-5.251a3.117 3.117 0 0 1-.51-3.067c.909-2.444 2.766-7.126 4.257-8.825a13.158 13.158 0 0 1 2.897-2.478L2.4.534c-.27-.208-.034-.632.285-.513l8.077 3.006c.38-.066.758-.1 1.13-.1 1.407 0 2.737.307 4.074 1.084l7.744-.695c.266-.024.378.331.147.464zm-8.218 13.656a4.126 4.126 0 0 1-3.316-.232c-.073-.037-.143.055-.087.115.457.49 1.273 1.35 1.766 1.775.102.088.259.077.35-.023l1.369-1.512c.053-.059-.008-.15-.082-.123zm.24-1.156-1.796-2.018a.34.34 0 0 0-.513.008l-1.44 1.716a.18.18 0 0 0 .031.262c.333.239 1.148.76 1.942.76.734 0 1.402-.285 1.724-.447a.18.18 0 0 0 .052-.281zm1.616-8.409c-.3-.034-.603.035-.862.188l-1.808 1.07c-.45.268-1.02.231-1.432-.091L11.819 7.82a4.669 4.669 0 0 0-1.776-.858c-2.698-.638-4.532.78-5.914 3.44-1.32 2.539-.583 6.184 2.672 7.05 3.438.914 5.71-2.903 6.618-4.175a.439.439 0 0 1 .712-.002c1.408 1.916 3.306 3.968 5.34 3.557 2.656-.535 2.342-3.905 1.512-5.7-.735-1.588-1.83-3.074-3.49-3.262z"/></svg>diff --git a/public/images/competitors/hypefury.svg b/public/images/competitors/hypefury.svgnew file mode 100644index 000000000..ec5198072--- /dev/null+++ b/public/images/competitors/hypefury.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="58 57 410 410"><path fill="#0179fb" fill-rule="evenodd" d="M68 89 290 171 322 250 429 297 458 337 448 372 440 344 399 326 393 326 347 362 381 406 386 407 399 395 412 408 399 405 395 413 404 422 392 419 393 426 406 428 386 434 383 421 354 418 288 357 173 403 194 360 124 347 223 328 227 324 161 162Z M313 186 446 188 377 258 333 238Z"/></svg>diff --git a/public/images/competitors/later.svg b/public/images/competitors/later.svgnew file mode 100644index 000000000..fd0d1e38a--- /dev/null+++ b/public/images/competitors/later.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 1.87 32 32"><path fill="#000" d="M0 1.87h9.29L40 36.65V40H15.4L0 22.37z"/><path fill="#f8f2ea" d="M20.1 15.51v5.74H1.12V2.98h7.06v12.53z"/></svg>diff --git a/public/images/competitors/metricool.svg b/public/images/competitors/metricool.svgnew file mode 100644index 000000000..7821ee927--- /dev/null+++ b/public/images/competitors/metricool.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#3d3d3d" transform="matrix(4.19378 0 0 4.19378 390.302 202.777)" d="M0,25.382C-6.369,25.382 -12.151,20.384 -12.151,12.642C-12.151,4.998 -6.369,-0.098 0,-0.098C6.076,-0.098 11.858,4.998 11.858,12.642C11.858,20.384 6.076,25.382 0,25.382M-63.755,25.382C-70.125,25.382 -75.906,20.384 -75.906,12.642C-75.906,4.998 -70.125,-0.098 -63.755,-0.098C-57.679,-0.098 -51.897,4.998 -51.897,12.642C-51.897,20.384 -57.679,25.382 -63.755,25.382M0,-13.23C-6.579,-13.23 -12.656,-11.198 -17.397,-7.6L-37.591,6.218C-40.486,-5.639 -51.285,-13.23 -63.755,-13.23C-78.651,-13.23 -90.999,-2.843 -90.999,12.642C-90.999,28.224 -78.651,38.612 -63.755,38.612C-57.06,38.612 -50.855,36.407 -46.08,32.539L-26.455,19.109C-23.552,31.023 -12.719,38.612 0,38.612C14.603,38.612 26.951,28.224 26.951,12.642C26.951,-2.843 14.603,-13.23 0,-13.23"/></svg>diff --git a/public/images/competitors/postiz.svg b/public/images/competitors/postiz.svgnew file mode 100644index 000000000..384cd212a--- /dev/null+++ b/public/images/competitors/postiz.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#612BD3" d="M19.902 0a15 15 0 0 0-1.123.063L8.165.886C7.21.96 6.731.996 6.38 1.21a1.72 1.72 0 0 0-.69.805c-.157.38-.12.857-.046 1.814l1.049 13.546c.074.956.111 1.435.326 1.786.188.308.469.55.803.688.38.158.859.121 1.815.047l10.613-.82c.957-.075 1.434-.112 1.785-.327.308-.188.55-.469.688-.803.158-.38.122-.859.047-1.815L21.722 2.585c-.074-.957-.11-1.435-.325-1.786a1.7 1.7 0 0 0-.804-.689c-.19-.079-.404-.109-.69-.11M4.852 3.472l-.293.067c-1.37.316-2.054.474-2.516.86a2.5 2.5 0 0 0-.822 1.317c-.146.584.013 1.27.329 2.639l2.825 12.252c.316 1.37.474 2.054.86 2.516.341.406.802.694 1.317.822.584.146 1.269-.011 2.639-.327l9.384-2.165c1.37-.316 2.054-.475 2.515-.862.305-.255.542-.577.697-.938-.46.11-1.073.157-1.982.227l-9.603.743c-1.4.109-2.101.163-2.658-.069a2.5 2.5 0 0 1-1.178-1.009c-.314-.514-.368-1.214-.477-2.615L4.92 4.393c-.026-.348-.05-.652-.067-.921m7.976.277.091 1.188q.247-.306.645-.528.395-.238.981-.282.538-.043 1.03.126.506.168.907.6.414.412.693 1.14.28.728.361 1.789a8.3 8.3 0 0 1-.024 1.532q-.069.77-.354 1.398-.287.627-.827 1.051-.526.408-1.366.472-.601.045-.962-.085a1.5 1.5 0 0 1-.554-.356l.299 3.85-2.237.745-.963-12.463zm1.077 1.573a.9.9 0 0 0-.538.25q-.255.21-.35.617l.341 4.417q.09.121.272.235a.85.85 0 0 0 .469.075.98.98 0 0 0 .675-.323q.264-.308.388-.764.14-.457.161-1 .037-.56-.006-1.098-.066-.871-.264-1.366-.182-.496-.405-.717-.225-.237-.436-.285a1 1 0 0 0-.307-.04"/></svg>diff --git a/public/images/competitors/publer.svg b/public/images/competitors/publer.svgnew file mode 100644index 000000000..c19bbe1f8--- /dev/null+++ b/public/images/competitors/publer.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -8 205.4 205.4"><path fill="#00cec7" d="m166.6 173.5 37.6-147c1.6-6.1.2-12.2-3.1-16.9-3.7-5.3-9.8-8.9-17-8.9H21.2C14 .7 7.8 4.4 4.1 9.8.9 14.5-.3 20.4 1.2 26.5l37.6 147c1.1 4.2 3.4 7.9 6.6 10.6 3.6 3.1 8.4 5 13.4 5h87.8c4.5 0 8.7-1.4 12.1-3.9 3.8-2.9 6.7-6.9 7.9-11.7"/><path fill="#fff" d="M164.2 26.2h-123c-3.6 0-6.7 1.6-8.8 4.1-2.2 2.7-3.3 6.4-2.3 10.2L59.4 155c.3 1.3.9 2.4 1.5 3.5 2.1 3.1 5.6 5.1 9.6 5.1H84c3.5 0 6.6-1.5 8.6-3.9 2.4-2.7 3.5-6.6 2.4-10.4L89.7 126 77 117.8v-.1h69.6c2.6 0 5.1-.9 7-2.4 2-1.5 3.4-3.7 4.1-6.2l17.5-68.5c.9-3.6 0-7.2-2-9.9s-5.3-4.5-9-4.5"/><path fill="#00cec7" d="m60.9 58.9 12.7 9.9 2.9 11c.7 2.9 3.4 5 6.4 5h45.6c3 0 5.6-2 6.4-5l3.5-20.9z"/></svg>diff --git a/public/images/competitors/socialbee.svg b/public/images/competitors/socialbee.svgnew file mode 100644index 000000000..0abf42a89--- /dev/null+++ b/public/images/competitors/socialbee.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -1.5 33 33" fill="none"><path d="M7.45828 1.59056L0.288353 14.0792C-0.0961181 14.7489 -0.0961175 15.5723 0.288354 16.242L7.45828 28.7306C7.84557 29.4051 8.56402 29.8211 9.34186 29.8211L23.6581 29.8211C24.436 29.8211 25.1544 29.4052 25.5417 28.7306L32.7116 16.2419C33.0961 15.5723 33.0961 14.7488 32.7116 14.0792L25.5417 1.59054C25.1544 0.915963 24.436 0.499999 23.6581 0.5L9.34186 0.500024C8.56402 0.500025 7.84557 0.915988 7.45828 1.59056Z" fill="#212533"/><path d="M15.2439 22.756C14.8645 22.2328 15.2383 21.5 15.8846 21.5H16.6876C17.318 21.5 17.6954 22.2012 17.348 22.7274L16.9998 23.255C16.8533 23.4769 16.6052 23.6104 16.3393 23.6104H16.2672C16.0136 23.6104 15.7754 23.4889 15.6265 23.2836L15.2439 22.756Z" fill="#F5C300"/><path d="M21.2229 12.3037C21.7329 12.3037 22.154 11.8875 22.0738 11.3839C21.633 8.61572 19.2349 6.5 16.3426 6.5C13.4503 6.5 11.0522 8.61572 10.6114 11.3839C10.5312 11.8875 10.9523 12.3037 11.4622 12.3037H21.2229Z" fill="#F5C300"/><path d="M14.2322 14.8098C14.2322 14.3727 14.5865 14.0184 15.0236 14.0184H17.6616C18.0987 14.0184 18.453 14.3727 18.453 14.8098V15.3374C18.453 15.7745 18.0987 16.1288 17.6616 16.1288H15.0236C14.5865 16.1288 14.2322 15.7745 14.2322 15.3374V14.8098Z" fill="#F5C300"/><path d="M12.219 19.0544C11.8896 18.5272 12.2685 17.8435 12.8901 17.8435H19.949C20.5016 17.8435 20.8841 18.3954 20.6901 18.9128L20.4922 19.4404C20.3764 19.7493 20.0811 19.9539 19.7512 19.9539H13.2199C12.947 19.9539 12.6934 19.8134 12.5488 19.582L12.219 19.0544Z" fill="#F5C300"/><path d="M7.07081 14.1787H11.5192C12.3617 14.1787 12.764 15.2147 12.1423 15.7833L9.48822 18.2109C8.84529 18.7989 8.00555 19.125 7.13426 19.125H7.07081C5.70492 19.125 4.59766 18.0177 4.59766 16.6519C4.59766 15.286 5.70492 14.1787 7.07081 14.1787Z" fill="white"/><path d="M25.9399 14.1787H21.4916C20.649 14.1787 20.2467 15.2147 20.8684 15.7833L23.5225 18.2109C24.1654 18.7989 25.0052 19.125 25.8765 19.125H25.9399C27.3058 19.125 28.4131 18.0177 28.4131 16.6519C28.4131 15.286 27.3058 14.1787 25.9399 14.1787Z" fill="white"/></svg>\ No newline at end of filediff --git a/public/images/competitors/sprout_social.svg b/public/images/competitors/sprout_social.svgnew file mode 100644index 000000000..0c185b49a--- /dev/null+++ b/public/images/competitors/sprout_social.svg@@ -0,0 +1 @@+<svg viewBox="2 2.5 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.29021 2.5C5.00991 2.5 3.16138 4.34853 3.16138 6.62915V14.2266C3.16138 14.4698 3.45571 14.5915 3.62798 14.4193L5.87095 12.1773H8.70948C10.9901 12.1773 12.8386 10.3287 12.8386 8.04842V2.5H7.29021Z" fill="#2BB656"/><path fill-rule="evenodd" clip-rule="evenodd" d="M5.87088 12.1774H3.80615L5.09614 12.9518L5.87088 12.1774Z" fill="#006B40"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12.8387 2.5H7.29028V8.04842L12.8387 2.5Z" fill="#0CA750"/><path fill-rule="evenodd" clip-rule="evenodd" d="M7.29021 2.5V2.5C5.00991 2.5 3.16138 4.34885 3.16138 6.62915V12.1773L7.29021 8.04842V2.5Z" fill="#006B40"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12.8387 2.5L7.29028 8.04842H12.8387V2.5Z" fill="#75DD66"/></svg>\ No newline at end of filediff --git a/public/images/competitors/typefully.svg b/public/images/competitors/typefully.svgnew file mode 100644index 000000000..b4187e870--- /dev/null+++ b/public/images/competitors/typefully.svg@@ -0,0 +1 @@+<svg fill="none" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="m22.0781 28.9919c1.3619 0 2.4613-1.0884 2.4613-2.4368 0-1.3483-1.0994-2.4367-2.4613-2.4367-1.362 0-2.4613 1.0884-2.4613 2.4367 0 1.3484 1.0993 2.4368 2.4613 2.4368zm-3.0356-11.5745c.3117-.0894.402 0 .2871.3086-.5825 1.6326-1.9855 3.647-4.7175 4.3699-1.2963.3412-2.5516.3087-3.5607.5767-.599.1543-1.08302.4549-1.56708 1.0965-1.21426 1.6002-2.65823 5.2228-4.0858 5.2309-.28715 0-.42663-.1949-.39381-.4305.04923-.3817.40202-.9828.7466-1.7138 7.00659-14.7667 9.41869-23.8557 19.08349-23.8557 1.8624 0 1.0173.60106.6727.99094-3.3802 3.87441-3.1505 8.37426-5.4969 10.75416-1.7886 1.8275-5.5134 2.2824-7.0722 2.388-.3364.0244-.3774.2355-.0575.3655 1.9855.8122 4.8078.2924 6.1616-.0894z" fill="#000"/></svg>\ No newline at end of filediff --git a/resources/js/components/welcome/WelcomeChoiceCard.vue b/resources/js/components/welcome/WelcomeChoiceCard.vueindex dded6baad..b23a298a7 100644--- a/resources/js/components/welcome/WelcomeChoiceCard.vue+++ b/resources/js/components/welcome/WelcomeChoiceCard.vue@@ -39,11 +39,24 @@ const select = (): void => {<span:class="['inline-flex size-9 shrink-0 items-center justify-center rounded-lg transition-control',- selected ? 'bg-card' : art.tint,+ selected && art.emoji ? 'bg-card' : art.tint,]"aria-hidden="true">- <span class="text-xl leading-none">{{ art.emoji }}</span>+ <img+ v-if="art.logo"+ :src="art.logo"+ alt=""+ class="size-5"+ :data-testid="`${testid}-logo`"+ />+ <component+ :is="art.icon"+ v-else-if="art.icon"+ class="size-5 text-neutral-500"+ :data-testid="`${testid}-icon`"+ />+ <span v-else class="text-xl leading-none">{{ art.emoji }}</span></span><spanclass="min-w-0 flex-1 text-sm font-medium text-foreground"diff --git a/resources/js/lib/welcomeOptions.ts b/resources/js/lib/welcomeOptions.tsindex 389cd3eae..252cdc3a7 100644--- a/resources/js/lib/welcomeOptions.ts+++ b/resources/js/lib/welcomeOptions.ts@@ -1,6 +1,15 @@-/** A welcome option is drawn as an emoji on a soft tint in a 36px tile. */+import { IconCircleOff, IconDots } from '@tabler/icons-vue';+import type { Component } from 'vue';++/**+ * A welcome option is drawn in a 36px tile: an emoji on a soft tint, or a+ * brand logo or a muted icon on a white tile that keeps its colors readable+ * in dark mode.+ */export interface WelcomeOptionArt {- emoji: string;+ emoji?: string;+ logo?: string;+ icon?: Component;tint: string;}@@ -23,6 +32,18 @@ const emoji = (character: string, tint: Tint): WelcomeOptionArt => ({tint: TINTS[tint],});+const WHITE_TILE = 'bg-white ring-1 ring-border';++const logo = (name: string): WelcomeOptionArt => ({+ logo: `/images/competitors/${name}.svg`,+ tint: WHITE_TILE,+});++const icon = (component: Component): WelcomeOptionArt => ({+ icon: component,+ tint: WHITE_TILE,+});+const FALLBACK = emoji('✨', 'slate');export const personaArt: Record<string, WelcomeOptionArt> = {@@ -49,18 +70,18 @@ export const goalArt: Record<string, WelcomeOptionArt> = {};export const softwareArt: Record<string, WelcomeOptionArt> = {- buffer: emoji('B', 'slate'),- hootsuite: emoji('H', 'amber'),- later: emoji('L', 'violet'),- metricool: emoji('M', 'sky'),- typefully: emoji('T', 'teal'),- hypefury: emoji('H', 'orange'),- publer: emoji('P', 'sky'),- postiz: emoji('P', 'violet'),- sprout_social: emoji('S', 'emerald'),- socialbee: emoji('S', 'amber'),- none: emoji('🌱', 'emerald'),- other: FALLBACK,+ buffer: logo('buffer'),+ hootsuite: logo('hootsuite'),+ later: logo('later'),+ metricool: logo('metricool'),+ typefully: logo('typefully'),+ hypefury: logo('hypefury'),+ publer: logo('publer'),+ postiz: logo('postiz'),+ sprout_social: logo('sprout_social'),+ socialbee: logo('socialbee'),+ none: icon(IconCircleOff),+ other: icon(IconDots),};export const welcomeOptionArt = (diff --git a/tests/Browser/WelcomeHeaderTest.php b/tests/Browser/WelcomeHeaderTest.phpindex 00014cec0..081ed6989 100644--- a/tests/Browser/WelcomeHeaderTest.php+++ b/tests/Browser/WelcomeHeaderTest.php@@ -87,6 +87,29 @@ test('the software step goes back to goals, the step right before it', function->assertNoJavaScriptErrors();});+test('the software step shows each competitor by its logo and the other options by an icon', function () {+ config(['trypost.self_hosted' => false]);++ $this->actingAs(welcomeHeaderOwner());++ $page = visit(route('app.welcome.software'));++ foreach (PreviousSoftware::cases() as $software) {+ if (blank($software->brandName())) {+ continue;+ }++ waitForState($page, "@welcome-software-{$software->value}-logo", 'element.complete && element.naturalWidth > 0');+ $page->assertScript("document.querySelector('[data-testid=\"welcome-software-{$software->value}-logo\"]').naturalWidth > 0");+ }++ $page->assertMissing('@welcome-software-none-logo')+ ->assertMissing('@welcome-software-other-logo')+ ->assertVisible('@welcome-software-none-icon')+ ->assertVisible('@welcome-software-other-icon')+ ->assertNoJavaScriptErrors();+});+test('the plan step goes back to software, the step right before it', function () {config(['trypost.self_hosted' => false]);diff --git a/tests/Unit/Enums/PreviousSoftwareTest.php b/tests/Unit/Enums/PreviousSoftwareTest.phpindex 0758c8807..8c1ea8529 100644--- a/tests/Unit/Enums/PreviousSoftwareTest.php+++ b/tests/Unit/Enums/PreviousSoftwareTest.php@@ -23,3 +23,11 @@ test('the options without a brand name have a welcome label in every locale', fuexpect(__($key, [], $locale))->not->toBe($key);}})->with(Locale::values());++test('every branded option has its logo in the competitors folder', function () {+ $branded = array_filter(PreviousSoftware::cases(), fn (PreviousSoftware $software): bool => filled($software->brandName()));++ foreach ($branded as $software) {+ expect(public_path("images/competitors/{$software->value}.svg"))->toBeFile();+ }+});