Skip to content

Replace welcome steps with a chat and pitch reach after connect - #294

Open
paulocastellano wants to merge 7 commits into
mainfrom
feature/welcome-chat
Open

Replace welcome steps with a chat and pitch reach after connect#294
paulocastellano wants to merge 7 commits into
mainfrom
feature/welcome-chat

Conversation

@paulocastellano

Copy link
Copy Markdown
Contributor

The four welcome pages (persona, goals, referral, connect) are now one scripted chat. POSTs, Stripe checkout, and the connect-required gate are unchanged.

What changed

  • All welcome GETs render welcome/Chat with step + history reconstructed from the user.
  • Connect asks which network they use most, then shows only that network’s connect button.
  • After a connected analytics-capable account, latestPost is deferred from the platform API (not the TryPost posts table).
  • Chat shows the latest post plus a reach pitch (bars for the current network vs two others), then Continue → Stripe.
  • Token refresh is not run on this GET. Fetch failures return null.
  • Pitch others respect isEnabled(), and each_views never undershoots real impressions.

Test plan

  • Walk persona → goals → referral → connect as a new owner.
  • Pick a network, connect it, confirm the latest-post card and reach pitch appear without hanging the page.
  • Use Change network and confirm chips return and the pitch hides.
  • Continue to Stripe; cancel should land back on connect.
  • Connect a network without impression analytics (e.g. LinkedIn personal / Discord) and confirm no pitch.
  • Feature: WelcomeControllerTest, FetchLatestSocialPostTest, PlatformTest.
  • Browser: tests/Browser/WelcomeConnectTest.php.

Made with Cursor

paulocastellano and others added 7 commits August 17, 2026 20:50
The four welcome pages become one scripted chat. After a network
connects, the latest post is deferred from the platform API and a
reach pitch is shown before Stripe. POSTs, checkout, and the
connect-required gate stay the same.

Co-authored-by: Cursor <cursoragent@cursor.com>
Auto-select the network that owns the latest-post fetch, pluralize the missed-reach line for 0/1/2+ others, and reuse getPlatformLogo on the reach bars.

Co-authored-by: Cursor <cursoragent@cursor.com>
Restore the brand badge behind white referral icons, and drop the connect-grid disconnect action once the selected network is already connected.

Co-authored-by: Cursor <cursoragent@cursor.com>
Ask whether posts will be scheduled manually or with AI after connect,
then show MCP setup for AI. Collapse welcome to a single page and
tighten the copy.

Co-authored-by: Cursor <cursoragent@cursor.com>
Advance without a page reload, type the next question, open the
connect dialog when a network is picked, and always scroll new
messages to the bottom. Allow the MCP handshake before checkout.

Co-authored-by: Cursor <cursoragent@cursor.com>
Move the signup chat onto /onboarding and drop the WelcomeController, welcome i18n, and welcome Vue entry points.

Co-authored-by: Cursor <cursoragent@cursor.com>
Point signup and billing at /onboarding, remove the old checklist, and keep the welcome.* PostHog funnel. Add a /chat skeleton with persistent Browse/Chat sidebar tabs.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant