Skip to content

Commit b2cc647

Browse files
committed
agent picker: drop the step 03 sign-up CTA, and fix bold colour inside callouts
Step 03 describes what happens once you are connected, which teams the agent may act on and whether it may edit. A sign-up button under that was answering a question the step does not ask, and on the blog post it was the third copy of the same next step on one screen. Gone for every client and every surface. That leaves the signup prop and the Expert tab's noStep3Cta flag with nothing to gate, so both go too rather than sitting there as dead switches. The Expert tab keeps its own step 01 sign-up, which is a different CTA for a different step. The docs page in FlowFuse/flowfuse still passes :signup="false"; it is inert now and worth removing there. Separately: .prose pins --tw-prose-bold to gray-500 and Tailwind Typography's strong rule reads that token, so bold text inside a callout rendered grey against the callout's own colour, two colours in one sentence. Extended the callout theme in app.config the same way its own [&_code]: rule works, rather than overriding it from the stylesheet. Fixes the handbook's callouts too.
1 parent eaaf57b commit b2cc647

2 files changed

Lines changed: 15 additions & 8 deletions

File tree

nuxt/app.config.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,19 @@ export default defineAppConfig({
1515
label: 'text-[color:var(--ui-primary)] pr-4 pt-4 pb-2',
1616
},
1717
},
18+
prose: {
19+
// .prose pins --tw-prose-bold to gray-500, and Tailwind Typography's
20+
// strong rule reads that token, so bold text inside a callout came out
21+
// grey while the callout's own body kept its colour: two colours in one
22+
// sentence. Callout's theme already carries a [&_code]: rule for the same
23+
// class of problem, so this extends it the same way rather than adding a
24+
// stylesheet override. Applies to ::note, ::tip, ::warning and ::caution,
25+
// and so to the handbook's callouts too, which had the same mismatch.
26+
callout: {
27+
slots: {
28+
base: '[&_strong]:text-inherit',
29+
},
30+
},
31+
},
1832
},
1933
})

nuxt/components/content/AgentSetupTabs.vue

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,10 @@ const props = withDefaults(defineProps<{
1515
// Drops the FlowFuse Expert tab. For surfaces that are specifically about
1616
// connecting your own agent, where Expert is not one of the options.
1717
excludeExpert?: boolean
18-
// Whether step 03 ends on a sign-up CTA. Off for documentation, where the
19-
// reader already has an account.
20-
signup?: boolean
2118
// Distinguishes this instance in PostHog. 'ai' keeps the positions the /ai
2219
// page already reports, so its existing numbers stay comparable.
2320
surface?: string
24-
}>(), { excludeExpert: false, signup: true, surface: 'ai' })
21+
}>(), { excludeExpert: false, surface: 'ai' })
2522
2623
const capture = useCapture()
2724
@@ -56,7 +53,6 @@ const CLIENTS = [
5653
step2Url: '/docs/device-agent/quickstart/',
5754
step3Title: 'Ask for what you need',
5855
step3Body: 'Build a flow, explain one you inherited, write the Function node, or ask what is running on the floor. Every write waits for you to approve, edit or reject.',
59-
noStep3Cta: true,
6056
},
6157
{
6258
id: 'copilot',
@@ -187,9 +183,6 @@ function selectClient (id: string) {
187183
<p class="ff-agent-step__title">{{ client.step3Title || STEP3.title }}</p>
188184
</div>
189185
<p class="ff-agent-step__body">{{ client.step3Body || STEP3.description }}</p>
190-
<div v-if="signup && !client.noStep3Cta" class="ff-agent-step__cta">
191-
<CtaSignUp variant="primary" :position="`${surface}-connect-step3`" class="w-full" />
192-
</div>
193186
</div>
194187
</div>
195188
</div>

0 commit comments

Comments
 (0)